• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Netflix / lemur / 2005
75%
main: 61%

Build:
Build:
LAST BUILD BRANCH: enable-autorotate-filter
DEFAULT BRANCH: main
Ran 22 Feb 2018 04:17PM UTC
Jobs 1
Files 186
Run time 10s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
2005

push

travis-ci

kevgliss
<a href="https://github.com/Netflix/lemur/commit/<a class=hub.com/Netflix/lemur/commit/2578970f7d06a7bfadf4a6c43602f784f87d7a91">2578970f7<a href="https://github.com/Netflix/lemur/commit/2578970f7d06a7bfadf4a6c43602f784f87d7a91">&quot;&gt;Async Certificate Issuing using Pending Certificates (#1037)

* Add PendingCertificate model

This change creates a DB table called pending_certificates and
associated mapping relationship tables from pending certificate to
roles, rotation policy, destination, sources, etc.

The table is generated on initialization of Lemur. A pending
certificate holds most of the information of a Certificate, while it has
not be issued so that it can later backfill the information when the CA
has issued the certificate.

Change-Id: I</a><a class="double-link" href="https://github.com/Netflix/lemur/commit/<a class="double-link" href="https://github.com/Netflix/lemur/commit/277c16b776a71fe5edaf0fa0e76bbedc88924db0">277c16b77</a>">277c16b77</a><a href="https://github.com/Netflix/lemur/commit/2578970f7d06a7bfadf4a6c43602f784f87d7a91">
Tickets: PBL-36499

* Create a PendingCertificate if cert is empty

IssuePlugins should return empty cert bodies if the request failed to
complete immediately (such as Digicert).  This way, we can immediately
return the certificate, or if not just place into PendingCertificates
for later processing.

+ Fix relation from Certificate to Pending Certificate, as view only.
There is no real need for anything more than that since Pending cert
only needs to know the cert to replace when it is issued later.

+ Made PendingCertificate private key be empty: UI does not allow
private key on &#39;Create&#39; but only on &#39;Import&#39;.  For Instart, we require
the private key but upstream does not necessarily need it.  Thus, if
someone at Instart wants to create a CSR / key combo, they should
manually issue the cert themselves and import later.  Otherwise you
should let Lemur generate that.  This keeps the workflow transparent for
upstream Lemur users.

Change-Id: Ib74722a5e">b74722a5e</a><a href="https://git... (continued)

413 of 413 new or added lines in 19 files covered. (100.0%)

4343 of 7061 relevant lines covered (61.51%)

0.62 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
100.0
lemur/certificates/service.py
2
100.0
lemur/certificates/views.py
2
100.0
lemur/plugins/bases/issuer.py
3
100.0
lemur/manage.py
4
100.0
lemur/pending_certificates/schemas.py
11
100.0
lemur/plugins/lemur_digicert/plugin.py
20
100.0
lemur/pending_certificates/cli.py
43
100.0
lemur/pending_certificates/views.py
53
100.0
lemur/pending_certificates/service.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
lemur/certificates/service.py
1
100.0
lemur/certificates/views.py
1
100.0
lemur/manage.py
Jobs
ID Job ID Ran Files Coverage
1 2005.1 (TOXENV=py35) 22 Feb 2018 04:17PM UTC 0
61.51
Travis Job 2005.1
Source Files on build 2005
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2005
  • 2578970f on github
  • Prev Build on master (#1996)
  • Next Build on master (#2007)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc