summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-03-10Merge "Add descrption of usage client container"Bogumil Zebek1-0/+36
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
2020-02-26Create logic responsible for selecting server based on CANameBartosz Gardziejewski10-12/+280
Issue-ID: AAF-995 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I2d3b931862ecca7c1edc52fb61aa8c4dcd29e3ec
2020-02-26Fix fat jar creation of certservice-clientRemigiusz Janeczek1-0/+11
Exclude signed manifest files from dependencies Issue-ID: AAF-996 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I3a3bcd0e35c9b57cee96b132a5f2ac9924735e6d
2020-02-26Merge "Implementation of KeyPair generation"Bogumil Zebek29-123/+466
2020-02-26Implementation of KeyPair generationkjaniak29-123/+466
Issue-ID: AAF-996 Change-Id: I97626d122033127d5bb234d134c20d0b5a6d7c03 Signed-off-by: kjaniak <kornel.janiak@nokia.com>
2020-02-25Add OpenAPI documentation in yamlBartosz Gardziejewski1-0/+92
Issue-ID: AAF-995 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I4ebae5f7eea441d7dac45c18fc565482c2ea322a
2020-02-25Remove re-constructing CmpServersConfigBartosz Gardziejewski1-1/+0
Issue-ID: AAF-995 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: Iedda06c0fc074b026d92b6c08ef7dc4c2946e9e4
2020-02-24Align loggingawudzins2-10/+9
Signed-off-by: Adam Wudzinski <adam.wudzinski@nokia.com> Issue-ID: AAF-997 Change-Id: I35719fcc69c5227e65e273451a52c3c29cf11cfc