aboutsummaryrefslogtreecommitdiffstats
path: root/certServiceK8sExternalProvider/src/cmpv2provisioner/cmpv2_provisioner_test.go
AgeCommit message (Collapse)AuthorFilesLines
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-20[OOM-K8S-CERT-EXTERNAL-PROVIDER] Add unit tests to cmpv2_provisionerJoanna Jeremicz1-2/+127
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-15[OOM-K8S-CERT-EXTERNAL-PROVIDER] Mock implementaion enhanced (part II)Jan Malkiewicz1-0/+30
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