aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-03-16Fixed sonar issues in Split class and refactor it0.0.1Michal Banka4-186/+170
Removed unnecesary conversion: bouncle castle RDN -> String -> CertService RDN. Now it's: Bouncle castle RDN -> CertService RDN. Class Split rewritten on streams, tested. Signed-off-by: Michal Banka <michal.banka@nokia.com> Change-Id: I04e10fd6e4ab619124b93db7193c94f54b4b08ef Issue-ID: AAF-997
2020-03-12Merge "Removal of EnvValidationUtils class and cleanup"Bogumil Zebek5-103/+72
2020-03-12Merge "Fixed sonar issues in ReloadConfigController class"Bogumil Zebek1-4/+0
2020-03-12Removal of EnvValidationUtils class and cleanupkjaniak5-103/+72
Issue-ID: AAF-996 Change-Id: Iccbbf5d746ed5772a0327a30fa8bdbc57bc8fe46 Signed-off-by: kjaniak <kornel.janiak@nokia.com>
2020-03-12Fixed sonar issues in CertificationModelFactory classMichal Banka1-8/+0
Change-Id: Ic7027f1778604dfaea5b3008a2b3215b0cf7beca Signed-off-by: Michal Banka <michal.banka@nokia.com> Issue-ID: AAF-997
2020-03-12Fixed sonar issues in ReloadConfigController classMichal Banka1-4/+0
Signed-off-by: Michal Banka <michal.banka@nokia.com> Change-Id: I2113898aafac59e26cc1477df54133b82fb9d495 Issue-ID: AAF-997
2020-03-12Merge "Fixed sonar issues in Factory class"Bogumil Zebek1-5/+10
2020-03-12Merge "Add UTs for remaining methods"Bogumil Zebek1-0/+36
2020-03-12Merge "Fixed sonar issues in CSRMeta class"Bogumil Zebek5-89/+76
2020-03-11Merge "Add docker-compose with certservice-client container succesful run"Paweł Baniewski5-2/+77
2020-03-11Fixed sonar issues in CSRMeta classMichal Banka5-89/+76
Signed-off-by: Michal Banka <michal.banka@nokia.com> Change-Id: Ia247ff2246b513521f880a55913ad92a8902aa3e Issue-ID: AAF-997
2020-03-11Add UTs for remaining methodspwielebs1-0/+36
Issue-ID: AAF-996 Signed-off-by: pwielebs <piotr.wielebski@nokia.com> Change-Id: Id2407e66d012dce2b067a9ac3eaeb424bcf58095
2020-03-11Fixed sonar issues in Factory classMichal Banka1-5/+10
Signed-off-by: Michal Banka <michal.banka@nokia.com> Change-Id: Idde6d2d79d13d25427a8d3e516945e2fb3a7bafa Issue-ID: AAF-997
2020-03-11Add docker-compose with certservice-client container succesful runRemigiusz Janeczek5-2/+77
Fix client default request url to match default url from helm deployment of certservice-api Issue-ID: AAF-996 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: Icfaf1043b6d6583cdf663a45dabd7b46d407dd2f
2020-03-10Add annotation for OpenAPI 3.0 documentation generationBartosz Gardziejewski14-135/+356
Issue-ID: AAF-997 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I6dcbe2076d7e0095c210b1cae95309fe31ebf243
2020-03-10Merge "Fixed sonar issues in RDN class"Bogumil Zebek2-19/+16
2020-03-10Fixed sonar issues in RDN classMichal Banka2-19/+16
Signed-off-by: Michal Banka <michal.banka@nokia.com> Change-Id: Ib480aac3ad754f044f5dcdc685a10e12c89bd467 Issue-ID: AAF-997
2020-03-10Merge "Fix sonar issue."Bogumil Zebek6-10/+5
2020-03-10Merge "Add descrption of usage client container"Bogumil Zebek1-0/+36
2020-03-10Fix sonar issue.Tomasz Wrobel6-10/+5
Issue-ID: AAF-996 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: Iecac5c31b7c7177abe3ef7e598d8cec3262c8d34
2020-03-10Fix EJBCA name in configuration, due to previous change in docker-composeBartosz Gardziejewski1-3/+3
Issue-ID: AAF-997 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I31a02c88b448fb2adca387fdf8a3f1128c6e1889
2020-03-09Add descrption of usage client containerTomasz Wrobel1-0/+36
Issue-ID: AAF-996 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: I34cafe8c7ad917a66a251692910d5f6188444c92
2020-03-09Merge "Set version of ejbca-ce image"Paweł Baniewski1-3/+3
2020-03-09Merge "Fix README.md"Paweł Baniewski1-2/+3
2020-03-09Set version of ejbca-ce imageBogumil Zebek1-3/+3
Issue-ID: AAF-997 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com> Change-Id: Ie8e052aaa0f2821f99e89918b852401d0c7452e7
2020-03-06Merge "Increase adapter test coverage"Bogumil Zebek4-1/+145
2020-03-06Merge "Create Readiness Endpoint"Bogumil Zebek6-9/+170
2020-03-06Increase adapter test coverageBartosz Gardziejewski4-1/+145
Issue-ID: AAF-997 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: Ifea1943f5bc2ad174bf1e8f0197526b96097a302
2020-03-06Remove logging of received private keyBartosz Gardziejewski2-2/+0
Issue-ID: AAF-997 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I3dfb64f3fe18bf99d5d0ef603cbaed436e5ad1e0
2020-03-06Fix README.mdBogumil Zebek1-2/+3
Issue-ID: AAF-997 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com> Change-Id: I8da222f0c4026fbaa7426c9a0831140c7823b897
2020-03-05Create Readiness Endpointawudzins6-9/+170
Signed-off-by: Adam Wudzinski <adam.wudzinski@nokia.com> Issue-ID: AAF-997 Change-Id: Icb978fd7d4ac59d2b2968e5c0b861fba5eb616bf
2020-03-05Create adapter for Cmpv2ClientBartosz Gardziejewski32-162/+1317
connected-with: https://gerrit.onap.org/r/c/aaf/certservice/+/102401 Issue-ID: AAF-997 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com> Change-Id: Ieb85cd9c93f7a5470fca37a9de4bead3c543199a
2020-03-04Merge "Authenticate response from CMP server"Bogumil Zebek11-48/+417
2020-03-04Merge "Fix file not found in tests"Paweł Baniewski1-0/+2
2020-03-04Merge "Fix reload endpoint to return status"Bogumil Zebek17-122/+468
2020-03-04Merge "Improve paths validation and creation in certServiceClient, improve ↵Bogumil Zebek6-44/+152
coverage"
2020-03-04Improve paths validation and creation in certServiceClient, improve coverageRemigiusz Janeczek6-44/+152
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 reload endpoint to return statusawudzins17-122/+468
Signed-off-by: Adam Wudzinski <adam.wudzinski@nokia.com> Issue-ID: AAF-997 wChange-Id: I4563428ef407b4dc8c84c3efc8ec213145806b32 Change-Id: Iee33a26feb5cc1acd39d91ee9f34a49183040e06
2020-03-04Fix PrivateKey encoding in certservice-client, refactor CsrFactoryRemigiusz Janeczek9-21/+198
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-04Fix file not found in testsBogumil Zebek1-0/+2
Issue-ID: AAF-997 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com> Change-Id: I0f87db39c6a14dce7568144b03587dc88f6f3a61
2020-03-04Authenticate response from CMP serverEmmettCox11-48/+417
Issue-ID: AAF-1037 Signed-off-by: EmmettCox <emmett.cox@est.tech> Change-Id: I6f52627a169359067ddd928d1e895e8d6237c7b5
2020-03-04Merge "Transform pem files into pkcs12"Bogumil Zebek22-10/+950
2020-03-03Transform pem files into pkcs12Joanna Jeremicz22-10/+950
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-03-03Refactor logger messageTomasz Wrobel1-4/+4
Issue-ID: AAF-996 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: Ifc3ff60b8b5da15bdc904a80b6e80195b7bca0ce
2020-03-03Add tests to HttpClientTomasz Wrobel2-7/+47
Issue-ID: AAF-996 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: I2d8883552421d055622d5d9ca55b437647c36da4
2020-03-02Merge "Add HttpClient"Bogumil Zebek19-3/+642
2020-02-28Merge "Install curl in aaf-certservice-api container"Bogumil Zebek1-1/+1
2020-02-28Install curl in aaf-certservice-api containerkjaniak1-1/+1
Issue-ID: AAF-996 Change-Id: I4c90a76a589ccad0062c3394307e6ad64295e69f Signed-off-by: kjaniak <kornel.janiak@nokia.com>
2020-02-28Add HttpClientTomasz Wrobel19-3/+642
Issue-ID: AAF-996 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: I3ebb0ea88ef1a72c16064fd9a1931943b57410d8
2020-02-28Merge "Refactor access to env variables in certservice-client"Bogumil Zebek8-110/+105