diff options
author | pwielebs <piotr.wielebski@nokia.com> | 2020-05-20 13:29:16 +0200 |
---|---|---|
committer | pwielebs <piotr.wielebski@nokia.com> | 2020-05-20 13:32:51 +0200 |
commit | 25d1822ef48ead8672d9ded900a475c427290037 (patch) | |
tree | be3dba235972166bf55fd67d329f7a6b216e97e5 /certServiceClient/src/main | |
parent | 0c3c68ba16c8c1953247776e48072ff7668a7b02 (diff) |
Improve code coverage for CertServiceClient
Issue-ID: AAF-996
Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
Change-Id: I2d9c5143446be73e3576f006359e734f5f2300d4
Diffstat (limited to 'certServiceClient/src/main')
2 files changed, 2 insertions, 2 deletions
diff --git a/certServiceClient/src/main/java/org/onap/aaf/certservice/client/configuration/EnvsForCsr.java b/certServiceClient/src/main/java/org/onap/aaf/certservice/client/configuration/EnvsForCsr.java index 5a1d33bd..06225d68 100644 --- a/certServiceClient/src/main/java/org/onap/aaf/certservice/client/configuration/EnvsForCsr.java +++ b/certServiceClient/src/main/java/org/onap/aaf/certservice/client/configuration/EnvsForCsr.java @@ -52,7 +52,7 @@ public class EnvsForCsr { return readEnv(CsrConfigurationEnvs.SANS); } - private Optional<String> readEnv(CsrConfigurationEnvs envName) { + Optional<String> readEnv(CsrConfigurationEnvs envName) { return envProvider.readEnvVariable(envName.toString()); } } diff --git a/certServiceClient/src/main/java/org/onap/aaf/certservice/client/configuration/EnvsForTls.java b/certServiceClient/src/main/java/org/onap/aaf/certservice/client/configuration/EnvsForTls.java index b2f782c2..55b536a7 100644 --- a/certServiceClient/src/main/java/org/onap/aaf/certservice/client/configuration/EnvsForTls.java +++ b/certServiceClient/src/main/java/org/onap/aaf/certservice/client/configuration/EnvsForTls.java @@ -41,7 +41,7 @@ public class EnvsForTls { return readEnv(TlsConfigurationEnvs.TRUSTSTORE_PASSWORD); } - private Optional<String> readEnv(TlsConfigurationEnvs envName) { + Optional<String> readEnv(TlsConfigurationEnvs envName) { return envProvider.readEnvVariable(envName.toString()); } } |