aboutsummaryrefslogtreecommitdiffstats
path: root/certServiceClient/src/main
AgeCommit message (Collapse)AuthorFilesLines
2020-03-23Improve readability of logs for positive pathmharazin10-20/+57
Issue-ID: AAF-1107 Signed-off-by: Mateusz Harazin <mateusz.harazin@nokia.com> Change-Id: If6501ad59955cac6611bc233d3fcd4ef95829b66
2020-03-23Improve exceptions logging in certservice clientTomasz Wrobel19-98/+99
Issue-ID: AAF-1107 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: I94a6477a7b1f086b698be4f0388e7a3ded0cd0f3
2020-03-19Improve validation of country code (2)pwielebs1-7/+4
Issue-ID: AAF-1107 Signed-off-by: pwielebs <piotr.wielebski@nokia.com> Change-Id: I2de9d1ddb01212d6953699c82556a342ab8c70cd
2020-03-18Improve validation of country codepwielebs1-4/+9
Issue-ID: AAF-1107 Signed-off-by: pwielebs <piotr.wielebski@nokia.com> Change-Id: Id8c1ca149fd65746a02ee480cfc8abbb6b9f7b5c
2020-03-12Removal of EnvValidationUtils class and cleanupkjaniak4-81/+47
Issue-ID: AAF-996 Change-Id: Iccbbf5d746ed5772a0327a30fa8bdbc57bc8fe46 Signed-off-by: kjaniak <kornel.janiak@nokia.com>
2020-03-11Add docker-compose with certservice-client container succesful runRemigiusz Janeczek1-1/+1
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
2020-03-10Fix sonar issue.Tomasz Wrobel6-10/+5
Issue-ID: AAF-996 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: Iecac5c31b7c7177abe3ef7e598d8cec3262c8d34
2020-03-04Merge "Improve paths validation and creation in certServiceClient, improve ↵Bogumil Zebek2-5/+7
coverage"
2020-03-04Improve paths validation and creation in certServiceClient, improve coverageRemigiusz Janeczek2-5/+7
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
2020-03-04Fix PrivateKey encoding in certservice-client, refactor CsrFactoryRemigiusz Janeczek6-20/+103
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>
2020-03-04Merge "Transform pem files into pkcs12"Bogumil Zebek11-10/+477
2020-03-03Transform pem files into pkcs12Joanna Jeremicz11-10/+477
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
2020-03-03Refactor logger messageTomasz Wrobel1-4/+4
Issue-ID: AAF-996 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: Ifc3ff60b8b5da15bdc904a80b6e80195b7bca0ce
2020-03-03Add tests to HttpClientTomasz Wrobel1-7/+15
Issue-ID: AAF-996 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: I2d8883552421d055622d5d9ca55b437647c36da4
2020-03-02Merge "Add HttpClient"Bogumil Zebek10-3/+358
2020-02-28Add HttpClientTomasz Wrobel10-3/+358
Issue-ID: AAF-996 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: I3ebb0ea88ef1a72c16064fd9a1931943b57410d8
2020-02-28Merge "Refactor access to env variables in certservice-client"Bogumil Zebek6-63/+54
2020-02-28Refactor access to env variables in certservice-clientRemigiusz Janeczek6-63/+54
Issue-ID: AAF-996 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: Ib11998a72e3addefd16587cda5e10fb787e99a62
2020-02-27Implementation of CSR procedurepwielebs6-7/+216
Issue-ID: AAF-996 Signed-off-by: pwielebs <piotr.wielebski@nokia.com> Change-Id: Id294259b292e2d355be9c70ab4f7eb7017c8c150
2020-02-27Replacement of RuntimeException with Exception classkjaniak6-22/+13
Clean up in tests and run method. Issue-ID: AAF-996 Signed-off-by: kjaniak <kornel.janiak@nokia.com> Change-Id: I2abbfa9af4a77960cb65e9b9ecfcb058eb69cf12
2020-02-26Implementation of KeyPair generationkjaniak22-75/+326
Issue-ID: AAF-996 Change-Id: I97626d122033127d5bb234d134c20d0b5a6d7c03 Signed-off-by: kjaniak <kornel.janiak@nokia.com>
2020-02-21Add of logging for certservice-clientkjaniak3-1/+40
Issue-ID: AAF-996 Signed-off-by: kjaniak <kornel.janiak@nokia.com> Change-Id: I8bed44937da32fff863df724adc023f546b5e12e
2020-02-20Add functionality for reading ENV variablespwielebs15-0/+697
Issue-ID: AAF-996 Signed-off-by: pwielebs <piotr.wielebski@nokia.com> Change-Id: If216040d59390f0956bae7f747c8cb6bce2a7f9f
2020-02-18Add first test of System.exitkjaniak2-1/+32
Issue-ID: AAF-996 Signed-off-by: kjaniak <kornel.janiak@nokia.com> Change-Id: Id0ee4d6a08e7050ef080f0e1fadea8c07459571c
2020-02-18Fix for not running testskjaniak1-1/+0
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-17Add of dummy testkjaniak1-1/+3
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-14Adding certServerClient module to repokjaniak1-0/+26
Issue-ID: AAF-996 Signed-off-by: kjaniak <kornel.janiak@nokia.com> Change-Id: I787c9a15bb2f9a63084eb3663368d5b707dc2452