aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-11-25[OOM-CERT-SERVICE] Update documentation with new Sans typesPiotr Marcinkiewicz3-22/+24
- Update documentation - Update "How to run" CertService client Issue-ID: OOM-2559 Signed-off-by: Piotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com> Change-Id: I0ae26661bd695accb884ba9e56946197052bc535
2020-11-24[OOM-CertService] Missing release_notes: tag in rst docs:deen19851-2/+4
docs/release-notes.rst updated to include ".. _release_notes:" after the license. Now if can be referred properly in ONAP docs "project release notes" Change-Id: Ie84243fbf67be5e70a6e1a02176a3991b63f70f5 Signed-off-by: Damian Nowak <damian.nowak@nokia.com> Issue-ID: OOM-2637
2020-11-23Merge "[OOM CERT-SERVICE-API] Add support for URI, IP, E-mail in SANs"Pawel Baniewski8-150/+145
2020-11-20[OOM CERT-SERVICE-CLIENT] Improve readability of URI regexTomasz Wrobel2-17/+36
Issue-ID: OOM-2632 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: Ic016c788d4dfde95ecd5eca955508385cd144bb4
2020-11-20[OOM CERT-SERVICE-API] Add support for URI, IP, E-mail in SANsTomasz Wrobel8-150/+145
Issue-ID: OOM-2632 Change-Id: I903c31ebe05521e281753cb847001ba99275f758 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com>
2020-11-19Merge "[OOM CERT-SERVICE-CLIENT] Add URI validator (RFC 3986)"Bogumil Zebek3-0/+215
2020-11-19[OOM CERT-SERVICE-CLIENT] Add URI validator (RFC 3986)Tomasz Wrobel3-0/+215
Issue-ID: OOM-2632 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: Ia71d413a56f65b0a51ff5c2e7522035f41e06faf
2020-11-19Merge "Update ejbca config to allow emails, uris and ip addresses"Bogumil Zebek1-4/+175
2020-11-18Update ejbca config to allow emails, uris and ip addressesRemigiusz Janeczek1-4/+175
Issue-ID: OOM-2632 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: Iba089c85afb8b6cbb37c9257e9d57916970855b6
2020-11-18[OOM-K8S-CERT-EXTERNAL-PROVIDER] Extend SANs supportPiotr Marcinkiewicz9-73/+71
- Extend support SANs: email, ip, uri - Fix logging filtered Csr issue Issue-ID: OOM-2559 Signed-off-by: Piotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com> Change-Id: Ib3f2ff2a6383ca46629e457df76c6a70f549ac1b
2020-11-18Merge "[CLIENT] Change certService client to use comma as SANS delimiter"Bogumil Zebek12-17/+18
2020-11-18[OOM-K8S-CERT-EXTERNAL-PROVIDER] Add coverage reportRemigiusz Janeczek1-0/+23
Issue-ID: OOM-2559 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I484a2b38ef40b60f879c2067b39329073db030af
2020-11-18[CLIENT] Change certService client to use comma as SANS delimiterRemigiusz Janeczek12-17/+18
Issue-ID: OOM-2632 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I12a39cd514261a555081addb333ef1a99a481424
2020-11-13Merge "[OOM ext-cert-provider] Refacor in validation (intermediate solution)"Pawel Baniewski14-164/+283
2020-11-13[OOM ext-cert-provider] Refacor in validation (intermediate solution)kjaniak14-164/+283
Atomic validation function moved to BasicValidationFunctions More complex validation is served by ValidatorsFactory Sans property class object changed to List<String> Signed-off-by: kjaniak <kornel.janiak@nokia.com> Issue-ID: OOM-2559 Change-Id: I4719499dde969db95e2caa172f767674690c40e1
2020-11-12[OOM-K8S-CERT-EXTERNAL-PROVIDER] Release 2.2.0Jan Malkiewicz1-0/+16
Issue-ID: OOM-2559 Signed-off-by: Jan Malkiewicz <jan.malkiewicz@nokia.com> Change-Id: I385cbd12a6c342e5ebaeebeca7bfba2e16f7aa29
2020-11-12[OOM-K8S-CERT-EXTERNAL-PROVIDER] Version properties 2.1.0 -> 2.2.02.2.0Jan Malkiewicz3-4/+4
Issue-ID: OOM-2559 Signed-off-by: Jan Malkiewicz <jan.malkiewicz@nokia.com> Change-Id: Ib04e7f081c06e973b7489bb0e1bf26d038a40241
2020-11-10[OOM-K8S-CERT-EXTERNAL-PROVIDER] Update version 2.1.1 -> 2.2.0Jan Malkiewicz6-8/+53
Issue-ID: OOM-2559 Signed-off-by: Jan Malkiewicz <jan.malkiewicz@nokia.com> Change-Id: Ia2bcf542daa863ef41022e016382b4b96bbbc971
2020-11-10[OOM-K8S-CERT-EXTERNAL-PROVIDER] Refactoring & code improvementsJan Malkiewicz12-123/+349
Issue-ID: OOM-2559 Signed-off-by: Jan Malkiewicz <jan.malkiewicz@nokia.com> Change-Id: I52c38aacf064682f0018ac37b1400893bd9e53fc
2020-11-05Merge "[OOM-K8S-CERT-EXTERNAL-PROVIDER] Change logger implementation provider"Pawel Baniewski20-111/+390
2020-11-05[OOM-K8S-CERT-EXTERNAL-PROVIDER] Change logger implementation providerJoanna Jeremicz20-111/+390
Issue-ID: OOM-2559 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com> Change-Id: I717dfcfd74a01ccb81b2eb03c52be2c90fc3a9c5
2020-11-05[OOM-K8S-CERT-EXTERNAL-PROVIDER] Add API exceptions handlingPiotr Marcinkiewicz2-12/+41
- Added handling exceptions from CertService API Issue-ID: OOM-2559 Signed-off-by: Piotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com> Change-Id: I18f00fd7e17f96b2e73b81370b54fe33f10039c3
2020-11-05[OOM-K8S-CERT-EXTERNAL-PROVIDER] Add CertificateRequest controller testPiotr Marcinkiewicz5-99/+227
- Add CertificateRequest controller test with fake K8s API Issue-ID: OOM-2559 Signed-off-by: Piotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com> Change-Id: I4e32c2d28f5c4ea35dd013119dfc31acb1646582
2020-11-05Merge "[OOM-K8S-CERT-EXTERNAL-PROVIDER] Configuration for local development"Pawel Baniewski5-11/+66
2020-11-05[OOM-K8S-CERT-EXTERNAL-PROVIDER] Configuration for local developmentJan Malkiewicz5-11/+66
Issue-ID: OOM-2559 Signed-off-by: Jan Malkiewicz <jan.malkiewicz@nokia.com> Change-Id: I5ee38593cff665dc7d0e0d17f4df569be129d778
2020-11-04[OOM-K8S-CERT-EXTERNAL-PROVIDER] Add CMPv2IssuerController testPiotr Marcinkiewicz9-81/+274
- Add Reconcile test in CMPv2IssuerController Issue-ID: OOM-2559 Signed-off-by: Piotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com> Change-Id: I49aff7bc36f7da4df7eeaebaca144ee5a5bb9853
2020-11-02[OOM-K8S-CERT-EXTERNAL-PROVIDER] Filter not supported CSR propertiesRemigiusz Janeczek15-26/+1906
Align EJBCA config with OOM Issue-ID: OOM-2559 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I8ab73c84415e1ea1b09b6210ffbf84386315f9eb
2020-10-29[OOM-K8S-CERT-EXTERNAL-PROVIDER] Save CertService response as PEM artifactsTomasz Wrobel9-52/+320
Issue-ID: OOM-2559 Change-Id: I86ce277396f87fdde5ffafa4ca8f8fe9853daa3c Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com>
2020-10-29[OOM-K8S-CERT-EXTERNAL-PROVIDER] Add logging of supported CSR propertiesJan Malkiewicz7-70/+271
Issue-ID: OOM-2559 Signed-off-by: Jan Malkiewicz <jan.malkiewicz@nokia.com> Change-Id: I8e6a55eea3d87b6bb5f3a26ca9a11d618bb61a77
2020-10-27Merge "[OOM-K8S-CERT-EXTERNAL-PROVIDER] Add logging of not ↵Pawel Baniewski7-64/+401
supported/overridden CSR info"
2020-10-26[OOM-K8S-CERT-EXTERNAL-PROVIDER] Add logging of not supported/overridden CSR ↵Tomasz Wrobel7-64/+401
info Issue-ID: OOM-2559 Change-Id: I0199712e70d65650dd7ce0c0b95537373f94f7a4 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com>
2020-10-26[OOM-K8S-CERT-EXTERNAL-PROVIDER] Add health check of CMPv2 provisioner ↵Jan Malkiewicz13-64/+204
(cert-service-api) Issue-ID: OOM-2559 Signed-off-by: Jan Malkiewicz <jan.malkiewicz@nokia.com> Change-Id: I81d4dcfcb10f71182ea667770bafb9556817b793
2020-10-22[OOM-K8S-CERT-EXTERNAL-PROVIDER] Add client for CertService APIRemigiusz Janeczek15-68/+471
Issue-ID: OOM-2559 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I3bf6c36b9eec7a661202b18eb7765e332ccfbc07
2020-10-21Fix docker image name.Jan Malkiewicz2-2/+2
Issue-ID: OOM-2559 Signed-off-by: Jan Malkiewicz <jan.malkiewicz@nokia.com> Change-Id: Ib2130563379e6160ab7c29592b5d4428d6550b48
2020-10-20[OOM-K8S-CERT-EXTERNAL-PROVIDER] Fix failing buildRemigiusz Janeczek1-21/+27
Adjust cmpv2_provisioner_test to use cmpv2provisioner.New(...) with updated signature Issue-ID: OOM-2559 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I4ebc91326ddf189660991c65f1727338c7eae5fb
2020-10-20Merge "[OOM-K8S-CERT-EXTERNAL-PROVIDER] Provide certs to CMPv2 Issuer"Bogumil Zebek29-137/+548
2020-10-20[OOM-K8S-CERT-EXTERNAL-PROVIDER] Provide certs to CMPv2 IssuerRemigiusz Janeczek29-137/+548
Format code Issue-ID: OOM-2559 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I88346b96657606b010aa8d7da0f8b86d1844f9d7
2020-10-20[OOM-K8S-CERT-EXTERNAL-PROVIDER] Add unit tests to cmpv2_provisionerJoanna Jeremicz5-2/+181
Add tests with input and output .pem files Tests should be adjusted to future implementation when possible Issue-ID: OOM-2559 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com> Change-Id: I39952c2cb0bd35bfd8337b22ca6e95c86509b4f7
2020-10-19[OOM-K8S-CERT-EXTERNAL-PROVIDER] Mock implementaion enhanced (part III)Jan Malkiewicz13-129/+473
Code refactoring Added unit tests Issue-ID: OOM-2559 Signed-off-by: Jan Malkiewicz <jan.malkiewicz@nokia.com> Change-Id: I3f3b7b39d739818fa82842993f621c6134816079
2020-10-15[OOM-K8S-CERT-EXTERNAL-PROVIDER] Mock implementaion enhanced (part II)Jan Malkiewicz15-205/+266
Rename CertServiceIssuer -> CMPv2Issuer Checking for Issuer.Kind (has to be CMPv2Issuer) Introduced exit codes Refactoring file names and packages Moved tests to main package (according to GOlang convention) Issue-ID: OOM-2559 Signed-off-by: Jan Malkiewicz <jan.malkiewicz@nokia.com> Change-Id: I710d9f6c9bd22318e5152e5215b78d5a9e7b4540
2020-10-14[OOM-K8S-CERT-EXTERNAL-PROVIDER] Mock implementaion enhancedJan Malkiewicz15-677/+381
Libs upgraded. Use v1 version of the resources. Issue-ID: OOM-2559 Signed-off-by: Jan Malkiewicz <jan.malkiewicz@nokia.com> Change-Id: I009ff3ca8c3e84863dcf5cea290c8968280ca8ec
2020-10-13[OOM-K8S-CERT-EXTERNAL-PROVIDER] Rename variables to readable.Tomasz Wrobel8-149/+142
Issue-ID: OOM-2559 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: I1da11dcc12e97f6997a409106e90f6000a6102d0
2020-10-09Merge "[OOM-K8S-CERT-EXTERNAL-PROVIDER] Create mock implementation"Pawel Baniewski20-38/+2755
2020-10-08[OOM-K8S-CERT-EXTERNAL-PROVIDER] Create mock implementationJan Malkiewicz20-38/+2755
This project is a GOlang implementation of an external provider for kubernetes cert-manager. External provider will use OOM CertService as backend signing CA. Mock implementation only logs intent of certificate signing. In order to provide the ultimate implemenatation please extend file 'certservice-provisioner.go'. Issue-ID: OOM-2559 Signed-off-by: Jan Malkiewicz <jan.malkiewicz@nokia.com> Change-Id: Ib3de4ca4c54424042ddaa50507375815cc3da7f4
2020-10-08[OOM-CPMv2] Move LICENSE.txt to root directoryTomasz Wrobel1-0/+0
Issue-ID: OOM-2559 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: I79f6bb83ee120bd30384e64cc850e54bf8114ce9
2020-09-30[OOM-K8S-CERT-EXTERNAL-PROVIDER] Fix pom.xml - deploy phaseJan Malkiewicz1-7/+0
Issue-ID: OOM-2559 Signed-off-by: Jan Malkiewicz <jan.malkiewicz@nokia.com> Change-Id: I33437adae136a8b8a3678afbef5ec4632908834f
2020-09-30[OOM-K8S-CERT-EXTERNAL-PROVIDER] Fix pom.xmlJan Malkiewicz1-0/+1
Issue-ID: OOM-2559 Signed-off-by: Jan Malkiewicz <jan.malkiewicz@nokia.com> Change-Id: I5891bd40a5b97c14c537438c74bd706b23800216
2020-09-30[OOM-K8S-CERT-EXTERNAL-PROVIDER] Fix DockerfileJan Malkiewicz2-0/+4
Issue-ID: OOM-2559 Signed-off-by: Jan Malkiewicz <jan.malkiewicz@nokia.com> Change-Id: Ie957e9f5deb5cc5f934765bee8e612bb9e517c2c
2020-09-30[OOM-K8S-CERT-EXTERNAL-PROVIDER] Add projectJan Malkiewicz11-0/+256
This project is a GOlang implementation of an external provider for kubernetes cert-manager. External provider will use OOM CertService as backend signing CA. Issue-ID: OOM-2559 Signed-off-by: Jan Malkiewicz <jan.malkiewicz@nokia.com> Change-Id: Ide31ca64c29763c9d4e9bdf58d8f50ffddcaaf5d
2020-09-24Merge "[OOM-CMPv2] Update version to 2.1.1"Bogumil Zebek5-8/+8