summaryrefslogtreecommitdiffstats
path: root/certServiceClient/src/main/java/org/onap/aaf/certservice/client/certification
AgeCommit message (Collapse)AuthorFilesLines
2020-08-05Removing AAF references from Cert-Service in OOM repo.baniewsk19-1096/+0
Certificates regenerated External files (from legacy AAF) removed Still left: * Sonar link, * Link to documentation, * Names of K8s resources in RTD documentation, * Link to CSITs Issue-ID: OOM-2526 Signed-off-by: Pawel Baniewski <pawel.baniewski@nokia.com> Change-Id: I675f7485160b9b8e46e9ea573550e62ed28ca607
2020-07-13Add subfolders creationkjaniak3-3/+17
Added new not existing subfolders creation in output path to allow CMPv2 integration. Top up version to 1.2.0 Issue-ID: DCAEGEN2-2252 Change-Id: I59f8dfa7fddc5eb3a3fdd80ce18eb3e2272e1bfb Signed-off-by: kjaniak <kornel.janiak@nokia.com>
2020-06-25Fix sonar issuesPiotr Marcinkiewicz1-4/+8
Issue-ID: AAF-1152 Signed-off-by: Piotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com> Change-Id: I6e6ec500720204af32b8581e97fc563ac5c81acb
2020-06-25Fix checkstyle warnings1.1.0Piotr Marcinkiewicz5-12/+12
Issue-ID: AAF-1152 Signed-off-by: Piotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com> Change-Id: I77777db7080000c22ef3db9ff8e755dac8258c9e
2020-06-23Move ArtifcatsCreationProvider one level higherkjaniak16-56/+67
Code style cleanup (warnings from checkstyle). Issue-ID: AAF-1152 Signed-off-by: kjaniak <kornel.janiak@nokia.com> Change-Id: I0a8bbd998cd6aed4cf818ffe10c7fbffe99e9d22
2020-06-19Add creation JKS artifactPiotr Marcinkiewicz5-59/+112
Issue-ID: AAF-1152 Signed-off-by: Piotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com> Change-Id: I8b38dc07ddbf6758e0c4c036100572b350dceab9
2020-06-18Add PEM artifacts creationJoanna Jeremicz6-104/+191
with unit tests Issue-ID: AAF-1152 Change-Id: I95afd62330f3111f916507d628d142262ff951cc Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2020-06-18Add validation for OUTPUT_TYPE parameter (2)pwielebs1-5/+14
Issue-ID: AAF-1152 Signed-off-by: pwielebs <piotr.wielebski@nokia.com> Change-Id: I026d7979dcb35ccd3c953217b2eccf376cfaf85b
2020-06-16Remove unnecessary exceptionsTomasz Wrobel3-86/+1
Issue-ID: AAF-1152 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: Ie343cd2e3006f9217db5b8454c060eb8c1d3e9e3
2020-06-16Refactor flow of cert files generation, based on OUTPUT_TYPE parameterTomasz Wrobel4-17/+118
-Add artifacts creator provider (strategy pattern) -Refactor KeystoreTruststoreCreator -Add new exception: CertOutputTypeNotSupported -Change Unit tests Issue-ID: AAF-1152 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: If2b2fa50d551e72f19319d781bfb6079d07c7b83
2020-06-10Added new status code and exception for input parameter validation.Jan Malkiewicz1-0/+34
- new exit code OUTPUT_TYPE_PARAMETER_VALIDATION_EXCEPTION - new exception OutputTypeParameterValidationException Issue-ID: AAF-1152 Signed-off-by: Jan Malkiewicz <jan.malkiewicz@nokia.com> Change-Id: I3b76c05057250dd86651fa30828a977a8fa1cd2d
2020-04-06Fix sonar issue RandomPasswordGeneratoredyta1-2/+3
Issue-ID: AAF-1118 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: Idfd7e957b6dda043d7343ddffe334c5400620217
2020-04-03Fix sonar issue with nosonar annotationedyta2-10/+9
Issue-ID: AAF-1118 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: Ibcde00c211e3ab1965c576c7d2436d2d9869482b
2020-04-02Merge "Fix sonar issue Password"Bogumil Zebek2-9/+13
2020-04-02Fix sonar secure issue RandomPasswordGeneratoredyta1-0/+4
Issue-ID: AAF-1118 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: I687b4af22ae07ce6d0bbbc5abfdf53635f30f54f
2020-04-02Fix sonar issue Passwordedyta2-9/+13
Issue-ID: AAF-1118 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: I07b50976f57c97c17ae5ffcd36775c7aba089c4f
2020-04-02Merge "Fix sonar issue KeyPairFactory"Paweł Baniewski1-1/+1
2020-04-01Fix sonar issue KeyPairFactoryedyta1-1/+1
Issue-ID: AAF-1118 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: Ic52bb4f32ac1fb694222ad6f6895430cecb676d4
2020-04-01Merge "Fix sonar issue Password"Bogumil Zebek1-1/+1
2020-03-31Fix sonar issue KeyPairFactoryedyta2-4/+5
Issue-ID: AAF-1118 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: I61d714f30c2f4d21b3b4c538e0d85da55b9b322c
2020-03-31Fix sonar issue Passwordedyta1-1/+1
Issue-ID: AAF-1118 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: I762d04feda617f84c558860c7ac37b73c50d9fdf
2020-03-31Fix sonar issue KeyPairFactoryedyta1-2/+2
Issue-ID: AAF-1118 Signed-off-by: edyta <edyta.krukowska@nokia.com> Change-Id: Ie9512a772c64a4217539eb80c3b31f90054fab33
2020-03-23Improve readability of logs for positive pathmharazin5-17/+20
Issue-ID: AAF-1107 Signed-off-by: Mateusz Harazin <mateusz.harazin@nokia.com> Change-Id: If6501ad59955cac6611bc233d3fcd4ef95829b66
2020-03-23Improve exceptions logging in certservice clientTomasz Wrobel9-23/+21
Issue-ID: AAF-1107 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: I94a6477a7b1f086b698be4f0388e7a3ded0cd0f3
2020-03-04Merge "Improve paths validation and creation in certServiceClient, improve ↵Bogumil Zebek1-4/+6
coverage"
2020-03-04Improve paths validation and creation in certServiceClient, improve coverageRemigiusz Janeczek1-4/+6
Add tests for path validation Add tests for CsrConfigurationFactory Ensure path from env can end with "/" Ensure path built in file creator is not dependent on representation of root path Issue-ID: AAF-996 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I3d6a7f534d49ff64177917989727a7330e3f6869
2020-03-04Fix PrivateKey encoding in certservice-client, refactor CsrFactoryRemigiusz Janeczek3-6/+88
Add PrivateKeyToPemEncoder with tests Refactor CsrFactory to return not encoded PEM string (less responsibility and easier to test later) Issue-ID: AAF-996 Change-Id: Ia8124d43ef7fb8b1d3077c98929c52f30b6512c6 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com>
2020-03-03Transform pem files into pkcs12Joanna Jeremicz8-0/+456
Transform from received from CertService pem files into pkcs12 Issue-ID: AAF-996 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com> Change-Id: I39b71cf3f267c5ca701b3d4cf456fc6d81ae5f81
2020-02-27Implementation of CSR procedurepwielebs3-1/+207
Issue-ID: AAF-996 Signed-off-by: pwielebs <piotr.wielebski@nokia.com> Change-Id: Id294259b292e2d355be9c70ab4f7eb7017c8c150
2020-02-27Replacement of RuntimeException with Exception classkjaniak1-1/+1
Clean up in tests and run method. Issue-ID: AAF-996 Signed-off-by: kjaniak <kornel.janiak@nokia.com> Change-Id: I2abbfa9af4a77960cb65e9b9ecfcb058eb69cf12
2020-02-26Implementation of KeyPair generationkjaniak3-0/+112
Issue-ID: AAF-996 Change-Id: I97626d122033127d5bb234d134c20d0b5a6d7c03 Signed-off-by: kjaniak <kornel.janiak@nokia.com>