aboutsummaryrefslogtreecommitdiffstats
path: root/certService/src/main/java/org/onap/aaf/certservice/certification
AgeCommit message (Collapse)AuthorFilesLines
2020-08-05Removing AAF references from Cert-Service in OOM repo.baniewsk32-1814/+0
Certificates regenerated External files (from legacy AAF) removed Still left: * Sonar link, * Link to documentation, * Names of K8s resources in RTD documentation, * Link to CSITs Issue-ID: OOM-2526 Signed-off-by: Pawel Baniewski <pawel.baniewski@nokia.com> Change-Id: I675f7485160b9b8e46e9ea573550e62ed28ca607
2020-03-31Fix sonar issue CertificationModelFactoryedyta1-1/+0
Issue-ID: AAF-1118 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: Id1db506a107d2a3ebaf9b549902b66312002a9dc
2020-03-31Fix sonar issueedyta1-1/+1
Issue-ID: AAF-1118 Signed-off-by: edyta <edyta.krukowska@nokia.com> Change-Id: I70590b305264ac5084cbf51f954db22da675f746
2020-03-27Refactor CmpResponseHelper to support intermediate certificateBartosz Gardziejewski1-3/+4
Issue-ID: AAF-1107 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: Ia2e2f9ba1fbcf0482121ffb5f451c408774481ba
2020-03-24Add validation for uniqueness of CA namesMichal Banka3-8/+29
Signed-off-by: Michal Banka <michal.banka@nokia.com> Change-Id: Icfa9ee0f78d360a4f640904bb9077a10f15497ed Issue-ID: AAF-1107
2020-03-23Removed dependency to cmpv2client adapterMichal Banka5-95/+41
Signed-off-by: Michal Banka <michal.banka@nokia.com> Change-Id: I14aea91ee910354e898ea1e011a2ff27df54e93c Issue-ID: AAF-1107
2020-03-20Removed unused parameters when creating certificateMichal Banka2-39/+4
Signed-off-by: Michal Banka <michal.banka@nokia.com> Change-Id: I72d9e3ea30d3c2ba8e4e6c7e5afa0cfad2508bc5 Issue-ID: AAF-1107
2020-03-18Remove CSRMeta class dependencyMichal Banka3-99/+8
Signed-off-by: Michal Banka <michal.banka@nokia.com> Change-Id: If3458612629dd84f95bf9ba1e0778e65696bb13d Issue-ID: AAF-1107
2020-03-18Resolve all checkstyle warningsBartosz Gardziejewski19-83/+106
Issue-ID: AAF-1107 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I28cfc2b82f1a4800a984e30f59ff36fe90bebb38
2020-03-16Fixed sonar issues in Split class and refactor it0.0.1Michal Banka1-7/+10
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-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-12Merge "Fixed sonar issues in CSRMeta class"Bogumil Zebek1-5/+5
2020-03-11Fixed sonar issues in CSRMeta classMichal Banka1-5/+5
Signed-off-by: Michal Banka <michal.banka@nokia.com> Change-Id: Ia247ff2246b513521f880a55913ad92a8902aa3e Issue-ID: AAF-997
2020-03-10Add annotation for OpenAPI 3.0 documentation generationBartosz Gardziejewski2-103/+1
Issue-ID: AAF-997 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I6dcbe2076d7e0095c210b1cae95309fe31ebf243
2020-03-06Merge "Create Readiness Endpoint"Bogumil Zebek1-5/+12
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-05Create Readiness Endpointawudzins1-5/+12
Signed-off-by: Adam Wudzinski <adam.wudzinski@nokia.com> Issue-ID: AAF-997 Change-Id: Icb978fd7d4ac59d2b2968e5c0b861fba5eb616bf
2020-03-05Create adapter for Cmpv2ClientBartosz Gardziejewski14-47/+584
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-04Fix reload endpoint to return statusawudzins5-31/+72
Signed-off-by: Adam Wudzinski <adam.wudzinski@nokia.com> Issue-ID: AAF-997 wChange-Id: I4563428ef407b4dc8c84c3efc8ec213145806b32 Change-Id: Iee33a26feb5cc1acd39d91ee9f34a49183040e06
2020-02-27Refactor tests for configurationBartosz Gardziejewski1-2/+1
Issue-ID: AAF-997 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I91129fdf70263bd5821feb4482ca116ae9a68747
2020-02-27Refactor CSR model to be POJOBartosz Gardziejewski3-28/+112
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 Gardziejewski6-5/+124
Issue-ID: AAF-995 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I2d3b931862ecca7c1edc52fb61aa8c4dcd29e3ec
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-24Added validation of configurationMichal Banka10-14/+302
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 Golabek1-2/+23
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 "Load CMP Servers config from volume"Bogumil Zebek2-22/+25
2020-02-20Load CMP Servers config from volumeawudzins2-22/+25
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 packageawudzins7-11/+12
Issue-ID: AAF-997 Signed-off-by: adamwudzinski <adam.wudzinski@nokia.com> Change-Id: Ib7a7da43ac616c74945490fd727c9ac7d7fc7cdd
2020-02-18Add configuration reading mechanism for CMP Serverawudzins6-0/+280
Issue-ID: AAF-997 Signed-off-by: adamwudzinski <adam.wudzinski@nokia.com> Change-Id: I66ca48b019544f970fb1db18236a093cae28b2aa
2020-02-14Add more logs and handling DecoderExceptionBartosz Gardziejewski4-4/+24
Issue-ID: AAF-995 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I4142176b4d0125a9dd8da27d0db593a9df10b783
2020-02-14Handle exception thrown during base64 decodingBartosz Gardziejewski1-11/+15
Issue-ID: AAF-995 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I37e47382dc998bead008c47e34e3de417312fefb
2020-02-13Improve exception flowBartosz Gardziejewski7-22/+137
Issue-ID: AAF-995 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I4d690fbe27364bc50b97ab42e64e610566d93ca0
2020-02-13Return hardcoded CA certs and certification chain.Bartosz Gardziejewski9-5/+320
Issue-ID: AAF-995 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I38b498c4deeedc4ea4323065c5f7b5ddd137209f
2020-02-12Generate openAPI 3.0 specification.Bartosz Gardziejewski2-4/+4
Issue-ID: AAF-995 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I3de5dae9688d89b3bac0d86beff982247667854d
2020-02-11Add decoding CSR received from client.Bartosz Gardziejewski4-0/+226
Issue-ID: AAF-995 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I7c868f4835397f58ae4e6fad0e764e21d886d3d3