aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-03-11Merge "Add docker-compose with certservice-client container succesful run"Paweł Baniewski5-2/+77
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
2020-02-28Merge "Update README.md"Paweł Baniewski1-4/+12
2020-02-28Merge "Refactor tests for configuration"Bogumil Zebek3-26/+87
2020-02-28Refactor access to env variables in certservice-clientRemigiusz Janeczek8-110/+105
Issue-ID: AAF-996 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: Ib11998a72e3addefd16587cda5e10fb787e99a62
2020-02-28Update README.mdBogumil Zebek1-4/+12
Issue-ID: AAF-997 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com> Change-Id: Ic3b662a593cabc8d9d75e474a894ea1329ea8a89
2020-02-27Implementation of CSR procedurepwielebs8-8/+275
Issue-ID: AAF-996 Signed-off-by: pwielebs <piotr.wielebski@nokia.com> Change-Id: Id294259b292e2d355be9c70ab4f7eb7017c8c150
2020-02-27Merge "Verifying certchain and returning certchain and TrustStore"Bogumil Zebek11-87/+615
2020-02-27Verifying certchain and returning certchain and TrustStoreEmmettCox11-87/+615
Issue-ID: AAF-1037 Signed-off-by: EmmettCox <emmett.cox@est.tech> Change-Id: Iaab754ff5f568b2f2e1aeac8dbed279e20b09b3b
2020-02-27Replacement of RuntimeException with Exception classkjaniak10-57/+26
Clean up in tests and run method. Issue-ID: AAF-996 Signed-off-by: kjaniak <kornel.janiak@nokia.com> Change-Id: I2abbfa9af4a77960cb65e9b9ecfcb058eb69cf12
2020-02-27Refactor tests for configurationBartosz Gardziejewski3-26/+87
Issue-ID: AAF-997 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I91129fdf70263bd5821feb4482ca116ae9a68747
2020-02-27Refactor CSR model to be POJOBartosz Gardziejewski7-63/+198
Issue-ID: AAF-997 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: Ia06dd580a64e56dcf1d8bf5f3db6fe6394cdb1c8
2020-02-26Merge "Fix fat jar creation of certservice-client"Bogumil Zebek1-0/+11
2020-02-26Merge "Create logic responsible for selecting server based on CAName"Bogumil Zebek10-12/+280