aboutsummaryrefslogtreecommitdiffstats
path: root/certService
AgeCommit message (Collapse)AuthorFilesLines
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
2020-02-17Created docker-compose with ejbca and certserviceMichal Banka3-1/+62
Docker-compose should run configured EJBCA and certservice. Signed-off-by: Michal Banka <michal.banka@nokia.com> Issue-ID: AAF-997 Change-Id: I2c815c7a97636e31cc07d8a6d7a172a3895523b7
2020-02-17Merge "Add of dummy test"Bogumil Zebek1-18/+0
2020-02-17Add of dummy testkjaniak1-18/+0
pluginManagement section moved to parent pom.xml Rename of package to follow conventions. Issue-ID: AAF-996 Signed-off-by: kjaniak <kornel.janiak@nokia.com> Change-Id: Id0e011408b149270da88157d1568a23b4709514b
2020-02-16Merge "Add more logs and handling DecoderException"Bogumil Zebek4-4/+24
2020-02-14Adding certServerClient module to repokjaniak1-42/+4
Issue-ID: AAF-996 Signed-off-by: kjaniak <kornel.janiak@nokia.com> Change-Id: I787c9a15bb2f9a63084eb3663368d5b707dc2452
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-14Merge "Handle exception thrown during base64 decoding"Bogumil Zebek2-11/+53
2020-02-14Handle exception thrown during base64 decodingBartosz Gardziejewski2-11/+53
Issue-ID: AAF-995 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I37e47382dc998bead008c47e34e3de417312fefb
2020-02-14Merge "Add Helm Chart"Bogumil Zebek5-0/+96
2020-02-14Add Helm Chartawudzins5-0/+96
Issue-ID: AAF-995 Signed-off-by: Adam Wudzinski <adam.wudzinski@nokia.com> Change-Id: I251cd76b34a4bca96056bddc50f272ecd9114ea2
2020-02-14Merge "Add docker nexus image to README"Bogumil Zebek1-1/+7
2020-02-14Merge "Cleaned repo after work with CI"Bogumil Zebek3-34/+17
2020-02-14Cleaned repo after work with CITomasz Golabek3-34/+17
Information added to readme, pom clean-up, etc. Issue-ID: AAF-997 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com> Change-Id: Ie1324bf4f4a27a580f5b3c041f62ba704add2638
2020-02-14Add docker nexus image to READMEBartosz Gardziejewski1-1/+7
Issue-ID: AAF-995 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: Idec7bad9a1751eb53093608e0e0689bb92e3331a
2020-02-14Merge "Suppress irrelevant Sonar warnings"Bogumil Zebek2-3/+6
2020-02-14Suppress irrelevant Sonar warningsBartosz Gardziejewski2-3/+6
Issue-ID: AAF-995 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: Id9181ccbf2e3e534f5f9c808924b174c1c86ce2f
2020-02-13Improve exception flowBartosz Gardziejewski14-98/+305
Issue-ID: AAF-995 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I4d690fbe27364bc50b97ab42e64e610566d93ca0
2020-02-13Modified configuration of docker buildTomasz Golabek1-57/+30
Configuration of docker profile taken from hv-ves Issue-ID: AAF-997 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com> Change-Id: I37311477214b2f50b516fa64e951ae37d24137ce
2020-02-13Merge "Updated readme to hold nexus info"Bogumil Zebek1-0/+6
2020-02-13Merge "Adjust README"Bogumil Zebek1-4/+4
2020-02-13Adjust READMEBartosz Gardziejewski1-4/+4
Issue-ID: AAF-995 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I1ac2ef149408850f8ed2963dd361b2e0adaaa486
2020-02-13Return hardcoded CA certs and certification chain.Bartosz Gardziejewski17-27/+475
Issue-ID: AAF-995 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I38b498c4deeedc4ea4323065c5f7b5ddd137209f
2020-02-13Adjust docker versions and namesBartosz Gardziejewski2-7/+9
Issue-ID: AAF-995 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: If9f9bd19b34c655d8277b2d981d357812c3371b2
2020-02-13Updated readme to hold nexus infoTomasz Golabek1-0/+6
Information about nexus repository added into the readme file Issue-ID: AAF-997 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com> Change-Id: If0113f71602ad58072180abdc61df8b9f9e6dc4e
2020-02-13Adjust versions in poms.Bartosz Gardziejewski2-3/+3
Issue-ID: AAF-995 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: Ibb7680ff623164620a902a87f4f2323550ebef66
2020-02-13Adjust naming in poms.Bartosz Gardziejewski1-5/+4
Issue-ID: AAF-995 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I5000958af20de776992398aa0be324a562d8b4c7
2020-02-13Change groupId in parent pom.Bartosz Gardziejewski1-1/+1
Issue-ID: AAF-995 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I22923eb903ec2f02c0b8e7ac59273802cd0074e9
2020-02-12Removed SNAPHOTS from artifact versionTomasz Golabek1-2/+2
Should fix broken merge-java build Issue-ID: AAF-995 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com> Change-Id: I8940e2648060110c8afd4cd70c1f90e53268bb35