summaryrefslogtreecommitdiffstats
path: root/certService/src/main
AgeCommit message (Collapse)AuthorFilesLines
2020-11-20[OOM CERT-SERVICE-API] Add support for URI, IP, E-mail in SANsTomasz Wrobel4-41/+27
Issue-ID: OOM-2632 Change-Id: I903c31ebe05521e281753cb847001ba99275f758 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com>
2020-08-05Removing AAF references from Cert-Service in OOM repo.baniewsk55-354/+136
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-04-16Set a new versionBogumil Zebek1-1/+1
Configure project to next release Issue-ID: AAF-1083 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com> Change-Id: Ie4f00fef951c90ee314cd767581101dc3a6bb9bd
2020-04-03Switch client and server to communicate over TLSawudzins1-0/+11
Issue-ID: AAF-1084 Signed-off-by: Adam WudziƄski <adam.wudzinski@nokia.com> Change-Id: I7f11b27c7dcdf4fc3eba2d5e64b6dc775c80dd74
2020-04-02UpdateSwagger annotations and OpenAPI.yamlBartosz Gardziejewski3-13/+13
Issue-ID: AAF-1107 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I8b5981385c70a2f6c2521be500e16faee211622b
2020-04-01Merge "Fix sonar issue CertificationModelFactory"Bogumil Zebek1-1/+0
2020-03-31Fix sonar issue CertificationControlleredyta1-2/+1
Issue-ID: AAF-1118 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: Ib902b1d44abb1cf0741a10f73742014b5185d7b8
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 Gardziejewski5-180/+185
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-23Merge "Removed usage of RegTokenPwd when generating cert request"Bogumil Zebek1-9/+1
2020-03-23Removed dependency to cmpv2client adapterMichal Banka6-98/+44
Signed-off-by: Michal Banka <michal.banka@nokia.com> Change-Id: I14aea91ee910354e898ea1e011a2ff27df54e93c Issue-ID: AAF-1107
2020-03-20Removed usage of RegTokenPwd when generating cert requestMichal Banka1-9/+1
Signed-off-by: Michal Banka <michal.banka@nokia.com> Change-Id: I94069e1ab6ac63191f86746763596d5897e9b31f Issue-ID: AAF-1107
2020-03-20Removed unused parameters when creating certificateMichal Banka4-76/+15
Signed-off-by: Michal Banka <michal.banka@nokia.com> Change-Id: I72d9e3ea30d3c2ba8e4e6c7e5afa0cfad2508bc5 Issue-ID: AAF-1107
2020-03-19Add certservice client to Makefile (local run)Remigiusz Janeczek1-19/+0
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-18Remove CSRMeta class dependencyMichal Banka6-385/+96
Signed-off-by: Michal Banka <michal.banka@nokia.com> Change-Id: If3458612629dd84f95bf9ba1e0778e65696bb13d Issue-ID: AAF-1107
2020-03-18Resolve all checkstyle warningsBartosz Gardziejewski40-1242/+1301
Issue-ID: AAF-1107 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I28cfc2b82f1a4800a984e30f59ff36fe90bebb38
2020-03-18CertService local starterBogumil Zebek1-5/+0
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 Banka3-186/+75
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 "Fixed sonar issues in ReloadConfigController class"Bogumil Zebek1-4/+0
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 "Fixed sonar issues in CSRMeta class"Bogumil Zebek3-70/+58
2020-03-11Fixed sonar issues in CSRMeta classMichal Banka3-70/+58
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 Gardziejewski8-43/+167
Issue-ID: AAF-997 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I6dcbe2076d7e0095c210b1cae95309fe31ebf243
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-06Merge "Create Readiness Endpoint"Bogumil Zebek2-5/+60
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 Endpointawudzins2-5/+60
Signed-off-by: Adam Wudzinski <adam.wudzinski@nokia.com> Issue-ID: AAF-997 Change-Id: Icb978fd7d4ac59d2b2968e5c0b861fba5eb616bf
2020-03-05Create adapter for Cmpv2ClientBartosz Gardziejewski18-58/+602
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 Zebek7-32/+365
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