|
Ran
|
Jobs
1
|
Files
186
|
Run time
10s
|
Badge
README BADGES
|
push
travis-ci
<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">">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 'Create' but only on 'Import'. 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
| 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 |
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 1 |
100.0 |
lemur/certificates/service.py | |
| 1 |
100.0 |
lemur/certificates/views.py | |
| 1 |
100.0 |
lemur/manage.py |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 2005.1 (TOXENV=py35) | 0 |
61.51 |
Travis Job 2005.1 |