summaryrefslogtreecommitdiffstats
path: root/certServiceClient
AgeCommit message (Collapse)AuthorFilesLines
2020-06-26Change docker images latest tagTomasz Wrobel1-1/+1
Change 'latest' tag to 'frankfurt-latest' to avoid overriding master and frankfurt images Issue-ID: AAF-1152 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: I4100a4b98f50680fb33a699b9790ef9fa0d69d86
2020-05-20Improve code coverage for CertServiceClientpwielebs4-2/+325
Issue-ID: AAF-996 Signed-off-by: pwielebs <piotr.wielebski@nokia.com> Change-Id: I2d9c5143446be73e3576f006359e734f5f2300d4
2020-04-24Fix wrong ExitStatus for TLS ExceptionAdam Wudzinski2-1/+48
Issue-ID: AAF-1132 Signed-off-by: Adam Wudzinski <adam.wudzinski@nokia.com> Change-Id: I4c7039416277a8cf9eb31e149a91c44e06367308
2020-04-20Update documentationAleksandra Maciaga1-0/+1
Signed-off-by: Aleksandra Maciaga <aleksandra.maciaga@nokia.com> Issue-ID: AAF-1091 Change-Id: I7b9b4211dc8f2a191dfc7b4249e74a42902b2b01
2020-04-16Set a new versionBogumil Zebek1-2/+2
Configure project to next release Issue-ID: AAF-1083 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com> Change-Id: Ie4f00fef951c90ee314cd767581101dc3a6bb9bd
2020-04-06Fix sonar issue RandomPasswordGeneratoredyta1-2/+3
Issue-ID: AAF-1118 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: Idfd7e957b6dda043d7343ddffe334c5400620217
2020-04-03Merge "Fix sonar issue with nosonar annotation"Bogumil Zebek2-10/+9
2020-04-03Switch client and server to communicate over TLSawudzins16-17/+427
Issue-ID: AAF-1084 Signed-off-by: Adam Wudziński <adam.wudzinski@nokia.com> Change-Id: I7f11b27c7dcdf4fc3eba2d5e64b6dc775c80dd74
2020-04-03Fix sonar issue with nosonar annotationedyta2-10/+9
Issue-ID: AAF-1118 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: Ibcde00c211e3ab1965c576c7d2436d2d9869482b
2020-04-02Merge "Fix sonar issue Password"Bogumil Zebek3-11/+15
2020-04-02Fix sonar secure issue RandomPasswordGeneratoredyta1-0/+4
Issue-ID: AAF-1118 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: I687b4af22ae07ce6d0bbbc5abfdf53635f30f54f
2020-04-02Fix sonar issue Passwordedyta3-11/+15
Issue-ID: AAF-1118 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: I07b50976f57c97c17ae5ffcd36775c7aba089c4f
2020-04-02Merge "Fix sonar issue KeyPairFactory"Paweł Baniewski1-1/+1
2020-04-01Fix sonar issue KeyPairFactoryedyta1-1/+1
Issue-ID: AAF-1118 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: Ic52bb4f32ac1fb694222ad6f6895430cecb676d4
2020-04-01Merge "Fix sonar issue Password"Bogumil Zebek1-1/+1
2020-04-01Merge "Fix sonar issue AppExitHandler"Bogumil Zebek1-2/+2
2020-03-31Fix sonar issue KeyPairFactoryedyta2-4/+5
Issue-ID: AAF-1118 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: I61d714f30c2f4d21b3b4c538e0d85da55b9b322c
2020-03-31Fix sonar issue AppExitHandleredyta1-2/+2
Issue-ID: AAF-1118 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: I9ed1b206dd0f8130aee11d453f1cdd6eaa534a58
2020-03-31Fix sonar issue Passwordedyta1-1/+1
Issue-ID: AAF-1118 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: I762d04feda617f84c558860c7ac37b73c50d9fdf
2020-03-31Fix sonar issue KeyPairFactoryedyta1-2/+2
Issue-ID: AAF-1118 Signed-off-by: edyta <edyta.krukowska@nokia.com> Change-Id: Ie9512a772c64a4217539eb80c3b31f90054fab33
2020-03-27Update READMETomasz Wrobel1-15/+5
Issue-ID: AAF-1107 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: I333a55688cd1c5350fb50e967639123272637e33
2020-03-24Merge "Improve code coverage"Paweł Baniewski2-1/+68
2020-03-23Improve code coverageBogumil Zebek2-1/+68
Issue-ID: AAF-1107 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com> Change-Id: I117eefc86867f388509b56e19e6b1d0d78df9d0b
2020-03-23Merge "Improve readability of logs for positive path"Bogumil Zebek11-21/+57
2020-03-23Improve readability of logs for positive pathmharazin11-21/+57
Issue-ID: AAF-1107 Signed-off-by: Mateusz Harazin <mateusz.harazin@nokia.com> Change-Id: If6501ad59955cac6611bc233d3fcd4ef95829b66
2020-03-23Merge "Fix timeout issue when cert service is unavailable"Bogumil Zebek1-1/+5
2020-03-23Merge "Fix docker image tags"Paweł Baniewski1-3/+1
2020-03-23Fix timeout issue when cert service is unavailableTomasz Wrobel1-1/+5
Issue-ID: AAF-1107 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: I0fd5f2615345e9d018af766b665971b90de6c3a0
2020-03-23Improve exceptions logging in certservice clientTomasz Wrobel24-184/+136
Issue-ID: AAF-1107 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: I94a6477a7b1f086b698be4f0388e7a3ded0cd0f3
2020-03-20Merge "Add certservice client to Makefile (local run)"Bogumil Zebek2-73/+0
2020-03-20Fix docker image tagsBogumil Zebek1-3/+1
Remove doubled tag and tag without postfix. Issue-ID: AAF-1107 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com> Change-Id: I5a172af1c88fe5c1b00c89c5091fa6639b68868b
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-19Add certservice client to Makefile (local run)Remigiusz Janeczek2-73/+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-18Improve validation of country codepwielebs2-7/+12
Issue-ID: AAF-1107 Signed-off-by: pwielebs <piotr.wielebski@nokia.com> Change-Id: Id8c1ca149fd65746a02ee480cfc8abbb6b9f7b5c
2020-03-12Removal of EnvValidationUtils class and cleanupkjaniak5-103/+72
Issue-ID: AAF-996 Change-Id: Iccbbf5d746ed5772a0327a30fa8bdbc57bc8fe46 Signed-off-by: kjaniak <kornel.janiak@nokia.com>
2020-03-12Merge "Add UTs for remaining methods"Bogumil Zebek1-0/+36
2020-03-11Add UTs for remaining methodspwielebs1-0/+36
Issue-ID: AAF-996 Signed-off-by: pwielebs <piotr.wielebski@nokia.com> Change-Id: Id2407e66d012dce2b067a9ac3eaeb424bcf58095
2020-03-11Add docker-compose with certservice-client container succesful runRemigiusz Janeczek4-2/+76
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-10Merge "Fix sonar issue."Bogumil Zebek6-10/+5
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-09Add descrption of usage client containerTomasz Wrobel1-0/+36
Issue-ID: AAF-996 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: I34cafe8c7ad917a66a251692910d5f6188444c92
2020-03-04Merge "Improve paths validation and creation in certServiceClient, improve ↵Bogumil Zebek5-37/+151
coverage"
2020-03-04Improve paths validation and creation in certServiceClient, improve coverageRemigiusz Janeczek5-37/+151
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 Janeczek9-21/+198
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 Zebek21-10/+944
2020-03-03Transform pem files into pkcs12Joanna Jeremicz21-10/+944
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 Wrobel2-7/+47
Issue-ID: AAF-996 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: I2d8883552421d055622d5d9ca55b437647c36da4
2020-03-02Merge "Add HttpClient"Bogumil Zebek19-3/+642
2020-02-28Add HttpClientTomasz Wrobel19-3/+642
Issue-ID: AAF-996 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: I3ebb0ea88ef1a72c16064fd9a1931943b57410d8