aboutsummaryrefslogtreecommitdiffstats
path: root/certService/src/main/java
diff options
context:
space:
mode:
authorBartosz Gardziejewski <bartosz.gardziejewski@nokia.com>2020-02-27 08:14:24 +0100
committerBartosz Gardziejewski <bartosz.gardziejewski@nokia.com>2020-02-27 08:14:24 +0100
commit15e8c3bd2bbe5ee32f2ff041450cbc276863d0d0 (patch)
tree3aa9b671f92baf15ccf755779390a71eac2189c5 /certService/src/main/java
parent628ed81f0e56f7163b08b57a8d54833b646239d5 (diff)
Refactor tests for configuration
Issue-ID: AAF-997 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I91129fdf70263bd5821feb4482ca116ae9a68747
Diffstat (limited to 'certService/src/main/java')
-rw-r--r--certService/src/main/java/org/onap/aaf/certservice/certification/configuration/CmpServersConfigLoader.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/certService/src/main/java/org/onap/aaf/certservice/certification/configuration/CmpServersConfigLoader.java b/certService/src/main/java/org/onap/aaf/certservice/certification/configuration/CmpServersConfigLoader.java
index a6dd5fcf..94530100 100644
--- a/certService/src/main/java/org/onap/aaf/certservice/certification/configuration/CmpServersConfigLoader.java
+++ b/certService/src/main/java/org/onap/aaf/certservice/certification/configuration/CmpServersConfigLoader.java
@@ -51,12 +51,11 @@ class CmpServersConfigLoader {
try {
servers = loadConfigFromFile(path).getCmpv2Servers();
servers.forEach(validator::validate);
- LOGGER.info(String.format("CMP Servers configuration successfully loaded from file '%s'", path));
+ LOGGER.info("CMP Servers configuration successfully loaded from file {}", path);
} catch (IOException e) {
LOGGER.error("Exception occurred during CMP Servers configuration loading: ", e);
} catch (InvalidParameterException e) {
LOGGER.error("Validation of CMPv2 servers configuration failed:", e);
- throw e;
}
return servers;