summaryrefslogtreecommitdiffstats
path: root/certService
AgeCommit message (Collapse)AuthorFilesLines
2020-03-12Merge "Fixed sonar issues in Factory class"Bogumil Zebek1-5/+10
2020-03-12Merge "Fixed sonar issues in CSRMeta class"Bogumil Zebek5-89/+76
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-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-10Add annotation for OpenAPI 3.0 documentation generationBartosz Gardziejewski13-133/+354
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-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-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-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 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-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-28Merge "Update README.md"Paweł Baniewski1-4/+12
2020-02-28Merge "Refactor tests for configuration"Bogumil Zebek3-26/+87
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-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-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-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-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
2020-02-24Added validation of configurationMichal Banka16-17/+630
Fields are being validated right after reading servers details from JSON (when application starts). Created own annotation to validate server URL with proper requirements. When invalid details are given application closes. Signed-off-by: Michal Banka <michal.banka@nokia.com> Change-Id: I3e476266056ec0fb637f01f9d4d4c63b1f0d1c6a Issue-ID: AAF-997
2020-02-24Added actuator for refreshing configurationTomasz Golabek5-6/+38
Cloud-config dependency is provided Event listener introduced to handle refresh call Refresh endpoint exposed Fixed docker-compose to start locally and use build images Update repositories for docker image and install vim on it Issue-ID: AAF-997 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com> Change-Id: Iee005518c901dad7730c5f48c410ec89850f1425
2020-02-20Merge "Refactoring of Cmpv2Client code for sending CertRequest"Bogumil Zebek17-1/+1662
2020-02-20Refactoring of Cmpv2Client code for sending CertRequestEmmettCox17-1/+1662
Issue-ID: AAF-1036 Signed-off-by: EmmettCox <emmett.cox@est.tech> Change-Id: Ic0d95b35abb3ca2406b77bbe6e0cd51da0968684
2020-02-20Merge "Load CMP Servers config from volume"Bogumil Zebek10-124/+255
2020-02-20Load CMP Servers config from volumeawudzins10-124/+255
Create Kubernetes secret to store Cmp Server config file and mount it to container as volume Issue-ID: AAF-997 Signed-off-by: Adam Wudzinski <adam.wudzinski@nokia.com> Change-Id: I163b720ce14729328af34dd61e6eb0108c76d58b
2020-02-19Remove cyclic dependencies and rename execeptions packageawudzins14-28/+25
Issue-ID: AAF-997 Signed-off-by: adamwudzinski <adam.wudzinski@nokia.com> Change-Id: Ib7a7da43ac616c74945490fd727c9ac7d7fc7cdd
2020-02-18Merge "Add configuration reading mechanism for CMP Server"Bogumil Zebek9-0/+375
2020-02-18Add configuration reading mechanism for CMP Serverawudzins9-0/+375
Issue-ID: AAF-997 Signed-off-by: adamwudzinski <adam.wudzinski@nokia.com> Change-Id: I66ca48b019544f970fb1db18236a093cae28b2aa
2020-02-18Merge "Add spring developer tools"Bogumil Zebek2-0/+16
2020-02-18Add spring developer toolsAleksandra Maciaga2-0/+16
Issue-ID: AAF-997 Signed-off-by: Aleksandra Maciaga <aleksandra.maciaga@nokia.com> Change-Id: I86f9b41efa4157650149290c91509325d5bad7ca
2020-02-18Merge "Fix for not running tests"Bogumil Zebek1-54/+5
2020-02-18Fix for not running testskjaniak1-54/+5
Junit5 version lowered. 5.6.0 Junit5 has issues with maven-surefire-plugin Issue-ID: AAF-996 Signed-off-by: kjaniak <kornel.janiak@nokia.com> Change-Id: I17489f106d42d4c0b66d8f68ef500fba2b68f261
2020-02-17Merge "Created docker-compose with ejbca and certservice"Bogumil Zebek3-1/+62