oom/platform/cert-service.git
4 years agoImprove code coverage
Bogumil Zebek [Mon, 23 Mar 2020 10:59:21 +0000 (11:59 +0100)]
Improve code coverage

Issue-ID: AAF-1107
Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
Change-Id: I117eefc86867f388509b56e19e6b1d0d78df9d0b

4 years agoMerge "Removed usage of RegTokenPwd when generating cert request"
Bogumil Zebek [Mon, 23 Mar 2020 11:57:46 +0000 (11:57 +0000)]
Merge "Removed usage of RegTokenPwd when generating cert request"

4 years agoRemoved dependency to cmpv2client adapter
Michal Banka [Fri, 20 Mar 2020 12:18:50 +0000 (13:18 +0100)]
Removed dependency to cmpv2client adapter

Signed-off-by: Michal Banka <michal.banka@nokia.com>
Change-Id: I14aea91ee910354e898ea1e011a2ff27df54e93c
Issue-ID: AAF-1107

4 years agoMerge "Removed unused parameters when creating certificate"
Bogumil Zebek [Mon, 23 Mar 2020 10:13:59 +0000 (10:13 +0000)]
Merge "Removed unused parameters when creating certificate"

4 years agoMerge "Improve readability of logs for positive path"
Bogumil Zebek [Mon, 23 Mar 2020 09:44:24 +0000 (09:44 +0000)]
Merge "Improve readability of logs for positive path"

4 years agoImprove readability of logs for positive path
mharazin [Wed, 18 Mar 2020 09:06:22 +0000 (10:06 +0100)]
Improve readability of logs for positive path

Issue-ID: AAF-1107
Signed-off-by: Mateusz Harazin <mateusz.harazin@nokia.com>
Change-Id: If6501ad59955cac6611bc233d3fcd4ef95829b66

4 years agoMerge "Fix timeout issue when cert service is unavailable"
Bogumil Zebek [Mon, 23 Mar 2020 08:21:05 +0000 (08:21 +0000)]
Merge "Fix timeout issue when cert service is unavailable"

4 years agoMerge "Fix docker image tags"
Paweł Baniewski [Mon, 23 Mar 2020 08:01:24 +0000 (08:01 +0000)]
Merge "Fix docker image tags"

4 years agoFix timeout issue when cert service is unavailable
Tomasz Wrobel [Thu, 19 Mar 2020 13:59:03 +0000 (14:59 +0100)]
Fix timeout issue when cert service is unavailable

Issue-ID: AAF-1107
Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com>
Change-Id: I0fd5f2615345e9d018af766b665971b90de6c3a0

4 years agoImprove exceptions logging in certservice client
Tomasz Wrobel [Wed, 18 Mar 2020 13:35:36 +0000 (14:35 +0100)]
Improve exceptions logging in certservice client

Issue-ID: AAF-1107
Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com>
Change-Id: I94a6477a7b1f086b698be4f0388e7a3ded0cd0f3

4 years agoRemoved usage of RegTokenPwd when generating cert request
Michal Banka [Fri, 20 Mar 2020 15:51:04 +0000 (16:51 +0100)]
Removed usage of RegTokenPwd when generating cert request

Signed-off-by: Michal Banka <michal.banka@nokia.com>
Change-Id: I94069e1ab6ac63191f86746763596d5897e9b31f
Issue-ID: AAF-1107

4 years agoRemoved unused parameters when creating certificate
Michal Banka [Wed, 18 Mar 2020 11:40:13 +0000 (12:40 +0100)]
Removed unused parameters when creating certificate

Signed-off-by: Michal Banka <michal.banka@nokia.com>
Change-Id: I72d9e3ea30d3c2ba8e4e6c7e5afa0cfad2508bc5
Issue-ID: AAF-1107

4 years agoMerge "Add certservice client to Makefile (local run)"
Bogumil Zebek [Fri, 20 Mar 2020 08:16:09 +0000 (08:16 +0000)]
Merge "Add certservice client to Makefile (local run)"

4 years agoFix docker image tags
Bogumil Zebek [Fri, 20 Mar 2020 07:36:13 +0000 (08:36 +0100)]
Fix docker image tags

Remove doubled tag and tag without postfix.

Issue-ID: AAF-1107
Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
Change-Id: I5a172af1c88fe5c1b00c89c5091fa6639b68868b

4 years agoImprove validation of country code (2)
pwielebs [Wed, 18 Mar 2020 14:40:44 +0000 (15:40 +0100)]
Improve validation of country code (2)

Issue-ID: AAF-1107

Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
Change-Id: I2de9d1ddb01212d6953699c82556a342ab8c70cd

4 years agoAdd certservice client to Makefile (local run)
Remigiusz Janeczek [Wed, 18 Mar 2020 12:21:35 +0000 (13:21 +0100)]
Add certservice client to Makefile (local run)

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

4 years agoImprove validation of country code
pwielebs [Wed, 18 Mar 2020 06:59:14 +0000 (07:59 +0100)]
Improve validation of country code

Issue-ID: AAF-1107

Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
Change-Id: Id8c1ca149fd65746a02ee480cfc8abbb6b9f7b5c

4 years agoMerge "Move checkstyle suppressions to project root pom"
Bogumil Zebek [Wed, 18 Mar 2020 11:35:44 +0000 (11:35 +0000)]
Merge "Move checkstyle suppressions to project root pom"

4 years agoMove checkstyle suppressions to project root pom
Bartosz Gardziejewski [Wed, 18 Mar 2020 10:31:45 +0000 (11:31 +0100)]
Move checkstyle suppressions to project root pom

Issue-ID: AAF-1107
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: I966059cce6a26bdb9c993efbc16aa86887cccbbf

4 years agoRemove CSRMeta class dependency
Michal Banka [Tue, 17 Mar 2020 15:46:56 +0000 (16:46 +0100)]
Remove CSRMeta class dependency

Signed-off-by: Michal Banka <michal.banka@nokia.com>
Change-Id: If3458612629dd84f95bf9ba1e0778e65696bb13d
Issue-ID: AAF-1107

4 years agoResolve all checkstyle warnings
Bartosz Gardziejewski [Wed, 18 Mar 2020 08:38:27 +0000 (09:38 +0100)]
Resolve all checkstyle warnings

Issue-ID: AAF-1107
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: I28cfc2b82f1a4800a984e30f59ff36fe90bebb38

4 years agoMerge "CertService local starter"
Paweł Baniewski [Wed, 18 Mar 2020 08:22:30 +0000 (08:22 +0000)]
Merge "CertService local starter"

4 years agoRelease Cert Service 0.0.1
Bogumil Zebek [Tue, 17 Mar 2020 11:59:56 +0000 (12:59 +0100)]
Release Cert Service 0.0.1

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

4 years agoCertService local starter
Bogumil Zebek [Wed, 18 Mar 2020 06:09:48 +0000 (07:09 +0100)]
CertService local starter

Issue-ID: AAF-1107
Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
Change-Id: I7742fa622bd8acf4764137d98cad581781487103

4 years agoFixed sonar issues in Split class and refactor it 0.0.1
Michal Banka [Thu, 12 Mar 2020 13:00:51 +0000 (14:00 +0100)]
Fixed sonar issues in Split class and refactor it

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

4 years agoMerge "Removal of EnvValidationUtils class and cleanup"
Bogumil Zebek [Thu, 12 Mar 2020 13:42:34 +0000 (13:42 +0000)]
Merge "Removal of EnvValidationUtils class and cleanup"

4 years agoMerge "Fixed sonar issues in ReloadConfigController class"
Bogumil Zebek [Thu, 12 Mar 2020 13:31:31 +0000 (13:31 +0000)]
Merge "Fixed sonar issues in ReloadConfigController class"

4 years agoRemoval of EnvValidationUtils class and cleanup
kjaniak [Thu, 12 Mar 2020 11:16:46 +0000 (12:16 +0100)]
Removal of EnvValidationUtils class and cleanup

Issue-ID: AAF-996
Change-Id: Iccbbf5d746ed5772a0327a30fa8bdbc57bc8fe46
Signed-off-by: kjaniak <kornel.janiak@nokia.com>
4 years agoFixed sonar issues in CertificationModelFactory class
Michal Banka [Thu, 12 Mar 2020 10:34:34 +0000 (11:34 +0100)]
Fixed sonar issues in CertificationModelFactory class

Change-Id: Ic7027f1778604dfaea5b3008a2b3215b0cf7beca
Signed-off-by: Michal Banka <michal.banka@nokia.com>
Issue-ID: AAF-997

4 years agoFixed sonar issues in ReloadConfigController class
Michal Banka [Thu, 12 Mar 2020 09:49:38 +0000 (10:49 +0100)]
Fixed sonar issues in ReloadConfigController class

Signed-off-by: Michal Banka <michal.banka@nokia.com>
Change-Id: I2113898aafac59e26cc1477df54133b82fb9d495
Issue-ID: AAF-997

4 years agoMerge "Fixed sonar issues in Factory class"
Bogumil Zebek [Thu, 12 Mar 2020 06:58:26 +0000 (06:58 +0000)]
Merge "Fixed sonar issues in Factory class"

4 years agoMerge "Add UTs for remaining methods"
Bogumil Zebek [Thu, 12 Mar 2020 06:34:09 +0000 (06:34 +0000)]
Merge "Add UTs for remaining methods"

4 years agoMerge "Fixed sonar issues in CSRMeta class"
Bogumil Zebek [Thu, 12 Mar 2020 06:22:36 +0000 (06:22 +0000)]
Merge "Fixed sonar issues in CSRMeta class"

4 years agoMerge "Add docker-compose with certservice-client container succesful run"
Paweł Baniewski [Wed, 11 Mar 2020 14:39:21 +0000 (14:39 +0000)]
Merge "Add docker-compose with certservice-client container succesful run"

4 years agoFixed sonar issues in CSRMeta class
Michal Banka [Fri, 28 Feb 2020 15:38:44 +0000 (16:38 +0100)]
Fixed sonar issues in CSRMeta class

Signed-off-by: Michal Banka <michal.banka@nokia.com>
Change-Id: Ia247ff2246b513521f880a55913ad92a8902aa3e
Issue-ID: AAF-997

4 years agoAdd UTs for remaining methods
pwielebs [Wed, 11 Mar 2020 11:42:39 +0000 (12:42 +0100)]
Add UTs for remaining methods

Issue-ID: AAF-996

Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
Change-Id: Id2407e66d012dce2b067a9ac3eaeb424bcf58095

4 years agoFixed sonar issues in Factory class
Michal Banka [Fri, 28 Feb 2020 15:49:52 +0000 (16:49 +0100)]
Fixed sonar issues in Factory class

Signed-off-by: Michal Banka <michal.banka@nokia.com>
Change-Id: Idde6d2d79d13d25427a8d3e516945e2fb3a7bafa
Issue-ID: AAF-997

4 years agoAdd docker-compose with certservice-client container succesful run
Remigiusz Janeczek [Tue, 10 Mar 2020 14:58:01 +0000 (15:58 +0100)]
Add docker-compose with certservice-client container succesful run

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

4 years agoAdd annotation for OpenAPI 3.0 documentation generation
Bartosz Gardziejewski [Tue, 10 Mar 2020 15:05:09 +0000 (16:05 +0100)]
Add annotation for OpenAPI 3.0 documentation generation

Issue-ID: AAF-997
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: I6dcbe2076d7e0095c210b1cae95309fe31ebf243

4 years agoMerge "Fixed sonar issues in RDN class"
Bogumil Zebek [Tue, 10 Mar 2020 13:34:56 +0000 (13:34 +0000)]
Merge "Fixed sonar issues in RDN class"

4 years agoFixed sonar issues in RDN class
Michal Banka [Fri, 28 Feb 2020 07:55:21 +0000 (08:55 +0100)]
Fixed sonar issues in RDN class

Signed-off-by: Michal Banka <michal.banka@nokia.com>
Change-Id: Ib480aac3ad754f044f5dcdc685a10e12c89bd467
Issue-ID: AAF-997

4 years agoMerge "Fix sonar issue."
Bogumil Zebek [Tue, 10 Mar 2020 12:28:39 +0000 (12:28 +0000)]
Merge "Fix sonar issue."

4 years agoMerge "Add descrption of usage client container"
Bogumil Zebek [Tue, 10 Mar 2020 12:08:28 +0000 (12:08 +0000)]
Merge "Add descrption of usage client container"

4 years agoFix sonar issue.
Tomasz Wrobel [Mon, 9 Mar 2020 13:53:43 +0000 (14:53 +0100)]
Fix sonar issue.

Issue-ID: AAF-996
Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com>
Change-Id: Iecac5c31b7c7177abe3ef7e598d8cec3262c8d34

4 years agoFix EJBCA name in configuration, due to previous change in docker-compose
Bartosz Gardziejewski [Tue, 10 Mar 2020 09:50:02 +0000 (10:50 +0100)]
Fix EJBCA name in configuration, due to previous change in docker-compose

Issue-ID: AAF-997
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: I31a02c88b448fb2adca387fdf8a3f1128c6e1889

4 years agoAdd descrption of usage client container
Tomasz Wrobel [Mon, 9 Mar 2020 12:09:57 +0000 (13:09 +0100)]
Add descrption of usage client container

Issue-ID: AAF-996
Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com>
Change-Id: I34cafe8c7ad917a66a251692910d5f6188444c92

4 years agoMerge "Set version of ejbca-ce image"
Paweł Baniewski [Mon, 9 Mar 2020 13:31:21 +0000 (13:31 +0000)]
Merge "Set version of ejbca-ce image"

4 years agoMerge "Fix README.md"
Paweł Baniewski [Mon, 9 Mar 2020 13:31:15 +0000 (13:31 +0000)]
Merge "Fix README.md"

4 years agoSet version of ejbca-ce image
Bogumil Zebek [Fri, 6 Mar 2020 13:44:28 +0000 (14:44 +0100)]
Set version of ejbca-ce image

Issue-ID: AAF-997
Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
Change-Id: Ie8e052aaa0f2821f99e89918b852401d0c7452e7

4 years agoMerge "Increase adapter test coverage"
Bogumil Zebek [Fri, 6 Mar 2020 13:58:21 +0000 (13:58 +0000)]
Merge "Increase adapter test coverage"

4 years agoMerge "Create Readiness Endpoint"
Bogumil Zebek [Fri, 6 Mar 2020 12:53:20 +0000 (12:53 +0000)]
Merge "Create Readiness Endpoint"

4 years agoIncrease adapter test coverage
Bartosz Gardziejewski [Fri, 6 Mar 2020 10:00:04 +0000 (11:00 +0100)]
Increase adapter test coverage

Issue-ID: AAF-997
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: Ifea1943f5bc2ad174bf1e8f0197526b96097a302

4 years agoRemove logging of received private key
Bartosz Gardziejewski [Fri, 6 Mar 2020 09:52:14 +0000 (10:52 +0100)]
Remove logging of received private key

Issue-ID: AAF-997
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: I3dfb64f3fe18bf99d5d0ef603cbaed436e5ad1e0

4 years agoFix README.md
Bogumil Zebek [Fri, 6 Mar 2020 07:56:20 +0000 (08:56 +0100)]
Fix README.md

Issue-ID: AAF-997
Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
Change-Id: I8da222f0c4026fbaa7426c9a0831140c7823b897

4 years agoCreate Readiness Endpoint
awudzins [Thu, 5 Mar 2020 11:23:20 +0000 (12:23 +0100)]
Create Readiness Endpoint

Signed-off-by: Adam Wudzinski <adam.wudzinski@nokia.com>
Issue-ID: AAF-997
Change-Id: Icb978fd7d4ac59d2b2968e5c0b861fba5eb616bf

4 years agoCreate adapter for Cmpv2Client
Bartosz Gardziejewski [Thu, 27 Feb 2020 09:26:32 +0000 (10:26 +0100)]
Create adapter for Cmpv2Client

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

4 years agoMerge "Authenticate response from CMP server"
Bogumil Zebek [Wed, 4 Mar 2020 16:03:36 +0000 (16:03 +0000)]
Merge "Authenticate response from CMP server"

4 years agoMerge "Fix file not found in tests"
Paweł Baniewski [Wed, 4 Mar 2020 14:10:26 +0000 (14:10 +0000)]
Merge "Fix file not found in tests"

4 years agoMerge "Fix reload endpoint to return status"
Bogumil Zebek [Wed, 4 Mar 2020 13:57:40 +0000 (13:57 +0000)]
Merge "Fix reload endpoint to return status"

4 years agoMerge "Improve paths validation and creation in certServiceClient, improve coverage"
Bogumil Zebek [Wed, 4 Mar 2020 13:52:10 +0000 (13:52 +0000)]
Merge "Improve paths validation and creation in certServiceClient, improve coverage"

4 years agoImprove paths validation and creation in certServiceClient, improve coverage
Remigiusz Janeczek [Fri, 28 Feb 2020 11:27:12 +0000 (12:27 +0100)]
Improve paths validation and creation in certServiceClient, improve coverage

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

4 years agoFix reload endpoint to return status
awudzins [Tue, 3 Mar 2020 13:51:21 +0000 (14:51 +0100)]
Fix reload endpoint to return status

Signed-off-by: Adam Wudzinski <adam.wudzinski@nokia.com>
Issue-ID: AAF-997
wChange-Id: I4563428ef407b4dc8c84c3efc8ec213145806b32
Change-Id: Iee33a26feb5cc1acd39d91ee9f34a49183040e06

4 years agoFix PrivateKey encoding in certservice-client, refactor CsrFactory
Remigiusz Janeczek [Tue, 3 Mar 2020 08:49:04 +0000 (09:49 +0100)]
Fix PrivateKey encoding in certservice-client, refactor CsrFactory

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>
4 years agoFix file not found in tests
Bogumil Zebek [Wed, 4 Mar 2020 10:04:47 +0000 (11:04 +0100)]
Fix file not found in tests

Issue-ID: AAF-997
Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
Change-Id: I0f87db39c6a14dce7568144b03587dc88f6f3a61

4 years agoAuthenticate response from CMP server
EmmettCox [Thu, 27 Feb 2020 17:19:47 +0000 (17:19 +0000)]
Authenticate response from CMP server

Issue-ID: AAF-1037
Signed-off-by: EmmettCox <emmett.cox@est.tech>
Change-Id: I6f52627a169359067ddd928d1e895e8d6237c7b5

4 years agoMerge "Transform pem files into pkcs12"
Bogumil Zebek [Wed, 4 Mar 2020 06:32:07 +0000 (06:32 +0000)]
Merge "Transform pem files into pkcs12"

4 years agoTransform pem files into pkcs12
Joanna Jeremicz [Wed, 26 Feb 2020 13:30:36 +0000 (14:30 +0100)]
Transform pem files into pkcs12

Transform from received from CertService pem files into pkcs12

Issue-ID: AAF-996
Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
Change-Id: I39b71cf3f267c5ca701b3d4cf456fc6d81ae5f81

4 years agoRefactor logger message
Tomasz Wrobel [Tue, 3 Mar 2020 13:27:07 +0000 (14:27 +0100)]
Refactor logger message

Issue-ID: AAF-996
Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com>
Change-Id: Ifc3ff60b8b5da15bdc904a80b6e80195b7bca0ce

4 years agoAdd tests to HttpClient
Tomasz Wrobel [Mon, 2 Mar 2020 12:20:50 +0000 (13:20 +0100)]
Add tests to HttpClient

Issue-ID: AAF-996
Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com>
Change-Id: I2d8883552421d055622d5d9ca55b437647c36da4

4 years agoMerge "Add HttpClient"
Bogumil Zebek [Mon, 2 Mar 2020 11:16:09 +0000 (11:16 +0000)]
Merge "Add HttpClient"

4 years agoMerge "Install curl in aaf-certservice-api container"
Bogumil Zebek [Fri, 28 Feb 2020 11:45:23 +0000 (11:45 +0000)]
Merge "Install curl in aaf-certservice-api container"

4 years agoInstall curl in aaf-certservice-api container
kjaniak [Fri, 28 Feb 2020 11:06:11 +0000 (12:06 +0100)]
Install curl in aaf-certservice-api container

Issue-ID: AAF-996
Change-Id: I4c90a76a589ccad0062c3394307e6ad64295e69f
Signed-off-by: kjaniak <kornel.janiak@nokia.com>
4 years agoAdd HttpClient
Tomasz Wrobel [Thu, 20 Feb 2020 15:45:12 +0000 (16:45 +0100)]
Add HttpClient

Issue-ID: AAF-996
Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com>
Change-Id: I3ebb0ea88ef1a72c16064fd9a1931943b57410d8

4 years agoMerge "Refactor access to env variables in certservice-client"
Bogumil Zebek [Fri, 28 Feb 2020 09:49:08 +0000 (09:49 +0000)]
Merge "Refactor access to env variables in certservice-client"

4 years agoMerge "Update README.md"
Paweł Baniewski [Fri, 28 Feb 2020 09:39:14 +0000 (09:39 +0000)]
Merge "Update README.md"

4 years agoMerge "Refactor tests for configuration"
Bogumil Zebek [Fri, 28 Feb 2020 09:35:16 +0000 (09:35 +0000)]
Merge "Refactor tests for configuration"

4 years agoRefactor access to env variables in certservice-client
Remigiusz Janeczek [Thu, 27 Feb 2020 15:15:29 +0000 (16:15 +0100)]
Refactor access to env variables in certservice-client

Issue-ID: AAF-996
Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com>
Change-Id: Ib11998a72e3addefd16587cda5e10fb787e99a62

4 years agoUpdate README.md
Bogumil Zebek [Fri, 28 Feb 2020 07:53:33 +0000 (08:53 +0100)]
Update README.md

Issue-ID: AAF-997
Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
Change-Id: Ic3b662a593cabc8d9d75e474a894ea1329ea8a89

4 years agoImplementation of CSR procedure
pwielebs [Wed, 26 Feb 2020 09:15:19 +0000 (10:15 +0100)]
Implementation of CSR procedure

Issue-ID: AAF-996

Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
Change-Id: Id294259b292e2d355be9c70ab4f7eb7017c8c150

4 years agoMerge "Verifying certchain and returning certchain and TrustStore"
Bogumil Zebek [Thu, 27 Feb 2020 13:02:01 +0000 (13:02 +0000)]
Merge "Verifying certchain and returning certchain and TrustStore"

4 years agoVerifying certchain and returning certchain and TrustStore
EmmettCox [Mon, 24 Feb 2020 13:55:34 +0000 (13:55 +0000)]
Verifying certchain and returning certchain and TrustStore

Issue-ID: AAF-1037
Signed-off-by: EmmettCox <emmett.cox@est.tech>
Change-Id: Iaab754ff5f568b2f2e1aeac8dbed279e20b09b3b

4 years agoReplacement of RuntimeException with Exception class
kjaniak [Thu, 27 Feb 2020 08:56:08 +0000 (09:56 +0100)]
Replacement of RuntimeException with Exception class

Clean up in tests and run method.

Issue-ID: AAF-996
Signed-off-by: kjaniak <kornel.janiak@nokia.com>
Change-Id: I2abbfa9af4a77960cb65e9b9ecfcb058eb69cf12

4 years agoRefactor tests for configuration
Bartosz Gardziejewski [Thu, 27 Feb 2020 07:14:24 +0000 (08:14 +0100)]
Refactor tests for configuration

Issue-ID: AAF-997
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: I91129fdf70263bd5821feb4482ca116ae9a68747

4 years agoRefactor CSR model to be POJO
Bartosz Gardziejewski [Wed, 26 Feb 2020 13:46:14 +0000 (14:46 +0100)]
Refactor CSR model to be POJO

Issue-ID: AAF-997
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: Ia06dd580a64e56dcf1d8bf5f3db6fe6394cdb1c8

4 years agoMerge "Fix fat jar creation of certservice-client"
Bogumil Zebek [Wed, 26 Feb 2020 13:27:14 +0000 (13:27 +0000)]
Merge "Fix fat jar creation of certservice-client"

4 years agoMerge "Create logic responsible for selecting server based on CAName"
Bogumil Zebek [Wed, 26 Feb 2020 13:26:25 +0000 (13:26 +0000)]
Merge "Create logic responsible for selecting server based on CAName"

4 years agoCreate logic responsible for selecting server based on CAName
Bartosz Gardziejewski [Wed, 26 Feb 2020 08:08:35 +0000 (09:08 +0100)]
Create logic responsible for selecting server based on CAName

Issue-ID: AAF-995
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: I2d3b931862ecca7c1edc52fb61aa8c4dcd29e3ec

4 years agoFix fat jar creation of certservice-client
Remigiusz Janeczek [Wed, 26 Feb 2020 11:34:08 +0000 (12:34 +0100)]
Fix fat jar creation of certservice-client

Exclude signed manifest files from dependencies

Issue-ID: AAF-996
Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com>
Change-Id: I3a3bcd0e35c9b57cee96b132a5f2ac9924735e6d

4 years agoMerge "Implementation of KeyPair generation"
Bogumil Zebek [Wed, 26 Feb 2020 08:12:24 +0000 (08:12 +0000)]
Merge "Implementation of KeyPair generation"

4 years agoImplementation of KeyPair generation
kjaniak [Wed, 19 Feb 2020 15:42:38 +0000 (16:42 +0100)]
Implementation of KeyPair generation

Issue-ID: AAF-996
Change-Id: I97626d122033127d5bb234d134c20d0b5a6d7c03
Signed-off-by: kjaniak <kornel.janiak@nokia.com>
4 years agoAdd OpenAPI documentation in yaml
Bartosz Gardziejewski [Tue, 25 Feb 2020 09:50:55 +0000 (10:50 +0100)]
Add OpenAPI documentation in yaml

Issue-ID: AAF-995
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: I4ebae5f7eea441d7dac45c18fc565482c2ea322a

4 years agoRemove re-constructing CmpServersConfig
Bartosz Gardziejewski [Tue, 25 Feb 2020 07:34:11 +0000 (08:34 +0100)]
Remove re-constructing CmpServersConfig

Issue-ID: AAF-995
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: Iedda06c0fc074b026d92b6c08ef7dc4c2946e9e4

4 years agoAlign logging
awudzins [Mon, 24 Feb 2020 13:37:52 +0000 (14:37 +0100)]
Align logging

Signed-off-by: Adam Wudzinski <adam.wudzinski@nokia.com>
Issue-ID: AAF-997
Change-Id: I35719fcc69c5227e65e273451a52c3c29cf11cfc

4 years agoAdded validation of configuration
Michal Banka [Wed, 19 Feb 2020 10:48:59 +0000 (11:48 +0100)]
Added validation of configuration

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

4 years agoMerge "Added actuator for refreshing configuration"
Bogumil Zebek [Mon, 24 Feb 2020 09:50:07 +0000 (09:50 +0000)]
Merge "Added actuator for refreshing configuration"

4 years agoAdded actuator for refreshing configuration
Tomasz Golabek [Fri, 21 Feb 2020 14:49:34 +0000 (15:49 +0100)]
Added actuator for refreshing configuration

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

4 years agoMerge "Add of logging for certservice-client"
Bogumil Zebek [Fri, 21 Feb 2020 11:18:26 +0000 (11:18 +0000)]
Merge "Add of logging for certservice-client"

4 years agoAdd of logging for certservice-client
kjaniak [Tue, 18 Feb 2020 15:13:54 +0000 (16:13 +0100)]
Add of logging for certservice-client

Issue-ID: AAF-996
Signed-off-by: kjaniak <kornel.janiak@nokia.com>
Change-Id: I8bed44937da32fff863df724adc023f546b5e12e

4 years agoMerge "Plugins reorder"
Bogumil Zebek [Fri, 21 Feb 2020 08:10:10 +0000 (08:10 +0000)]
Merge "Plugins reorder"

4 years agoPlugins reorder
Joanna Jeremicz [Thu, 20 Feb 2020 13:52:01 +0000 (14:52 +0100)]
Plugins reorder

Shade plugin should run before docker image is built

Issue-ID: AAF-996
Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
Change-Id: I212e029a8f8e1ca15fadc97232dce0205153c980