summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-03-20Fix docker image tagsBogumil Zebek2-5/+1
Remove doubled tag and tag without postfix. Issue-ID: AAF-1107 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com> Change-Id: I5a172af1c88fe5c1b00c89c5091fa6639b68868b
2020-03-19Improve validation of country code (2)pwielebs1-7/+4
Issue-ID: AAF-1107 Signed-off-by: pwielebs <piotr.wielebski@nokia.com> Change-Id: I2de9d1ddb01212d6953699c82556a342ab8c70cd
2020-03-19Add certservice client to Makefile (local run)Remigiusz Janeczek9-159/+132
Move files used only in local run from submodules to base dir Issue-ID: AAF-1107 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: Ia027bfb5859fb2b316215b3f2633b51666d06280
2020-03-18Improve validation of country codepwielebs2-7/+12
Issue-ID: AAF-1107 Signed-off-by: pwielebs <piotr.wielebski@nokia.com> Change-Id: Id8c1ca149fd65746a02ee480cfc8abbb6b9f7b5c
2020-03-18Merge "Move checkstyle suppressions to project root pom"Bogumil Zebek3-7/+6
2020-03-18Move checkstyle suppressions to project root pomBartosz Gardziejewski3-7/+6
Issue-ID: AAF-1107 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I966059cce6a26bdb9c993efbc16aa86887cccbbf
2020-03-18Remove CSRMeta class dependencyMichal Banka9-573/+137
Signed-off-by: Michal Banka <michal.banka@nokia.com> Change-Id: If3458612629dd84f95bf9ba1e0778e65696bb13d Issue-ID: AAF-1107
2020-03-18Resolve all checkstyle warningsBartosz Gardziejewski64-1688/+1805
Issue-ID: AAF-1107 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I28cfc2b82f1a4800a984e30f59ff36fe90bebb38
2020-03-18Merge "CertService local starter"Paweł Baniewski4-9/+41
2020-03-18Release Cert Service 0.0.1Bogumil Zebek1-0/+10
We used 0.0.1 as version, because it is a PoC release. Issue-ID: AAF-1107 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com> Change-Id: I607cf2db3d925fa499774ba5874fbf5138d28045
2020-03-18CertService local starterBogumil Zebek4-9/+41
Issue-ID: AAF-1107 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com> Change-Id: I7742fa622bd8acf4764137d98cad581781487103
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>