aboutsummaryrefslogtreecommitdiffstats
path: root/certService/src/main
AgeCommit message (Collapse)AuthorFilesLines
2020-03-04Fix reload endpoint to return statusawudzins8-36/+134
Signed-off-by: Adam Wudzinski <adam.wudzinski@nokia.com> Issue-ID: AAF-997 wChange-Id: I4563428ef407b4dc8c84c3efc8ec213145806b32 Change-Id: Iee33a26feb5cc1acd39d91ee9f34a49183040e06
2020-03-04Authenticate response from CMP serverEmmettCox7-32/+365
Issue-ID: AAF-1037 Signed-off-by: EmmettCox <emmett.cox@est.tech> Change-Id: I6f52627a169359067ddd928d1e895e8d6237c7b5
2020-02-28Merge "Refactor tests for configuration"Bogumil Zebek1-2/+1
2020-02-27Merge "Verifying certchain and returning certchain and TrustStore"Bogumil Zebek10-76/+528
2020-02-27Verifying certchain and returning certchain and TrustStoreEmmettCox10-76/+528
Issue-ID: AAF-1037 Signed-off-by: EmmettCox <emmett.cox@est.tech> Change-Id: Iaab754ff5f568b2f2e1aeac8dbed279e20b09b3b
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 Gardziejewski7-6/+125
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-24Align loggingawudzins1-8/+7
Signed-off-by: Adam Wudzinski <adam.wudzinski@nokia.com> Issue-ID: AAF-997 Change-Id: I35719fcc69c5227e65e273451a52c3c29cf11cfc
2020-02-24Added validation of configurationMichal Banka11-14/+304
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 Golabek2-4/+28
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 Zebek13-0/+1439
2020-02-20Refactoring of Cmpv2Client code for sending CertRequestEmmettCox13-0/+1439
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 Zebek4-48/+32
2020-02-20Load CMP Servers config from volumeawudzins4-48/+32
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 packageawudzins8-12/+13
Issue-ID: AAF-997 Signed-off-by: adamwudzinski <adam.wudzinski@nokia.com> Change-Id: Ib7a7da43ac616c74945490fd727c9ac7d7fc7cdd
2020-02-18Add configuration reading mechanism for CMP Serverawudzins7-0/+304
Issue-ID: AAF-997 Signed-off-by: adamwudzinski <adam.wudzinski@nokia.com> Change-Id: I66ca48b019544f970fb1db18236a093cae28b2aa
2020-02-17Merge "Created docker-compose with ejbca and certservice"Bogumil Zebek1-0/+22
2020-02-17Created docker-compose with ejbca and certserviceMichal Banka1-0/+22
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-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-14Merge "Suppress irrelevant Sonar warnings"Bogumil Zebek1-1/+3
2020-02-14Suppress irrelevant Sonar warningsBartosz Gardziejewski1-1/+3
Issue-ID: AAF-995 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: Id9181ccbf2e3e534f5f9c808924b174c1c86ce2f
2020-02-13Improve exception flowBartosz Gardziejewski8-51/+148
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 Gardziejewski10-10/+346
Issue-ID: AAF-995 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I38b498c4deeedc4ea4323065c5f7b5ddd137209f
2020-02-12Generate openAPI 3.0 specification.Bartosz Gardziejewski3-4/+5
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 Gardziejewski6-61/+308
Issue-ID: AAF-995 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I7c868f4835397f58ae4e6fad0e764e21d886d3d3
2020-02-07Add endpoint for CSR, that will log received data.Bartosz Gardziejewski3-3/+67
Issue-ID: AAF-995 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I6f2ab981669158c3b4c8d8c26fa829f7967aa712
2020-02-07Create logger for trace, audit, errorPawel Kasperkiewicz1-0/+58
Issue-ID: AAF-995 Signed-off-by: Pawel <pawel.kasperkiewicz@nokia.com> Change-Id: Icda76509e23315910a52645d746ad4c7b80bf01e
2020-02-05Create healthcheck WSPawel1-0/+3
Issue-ID: AAF-995 Signed-off-by: Pawel Kasperkiewicz <pawel.kasperkiewicz@nokia.com> Change-Id: Ie356ccaa583bcbdcafffb4b15a5db43a1d01ed95
2020-02-04Create project structurePawel Kasperkiewicz2-0/+33
Issue-ID: AAF-995 Signed-off-by: Pawel Kasperkiewicz <pawel.kasperkiewicz@nokia.com> Change-Id: Ib9e2314e96e3d3e1bdae8fccbab3f8047cec1329