Add message in info level (Received pm-mapper configuration from ConfigBinding Service) - log needed to validate CSIT tests
Issue-ID: DCAEGEN2-2343
Signed-off-by: marcinrzepeckiwroc <marcin.rzepecki@nokia.com>
Change-Id: I71bb9f3208d9f1a36c88cb917e5ec7fa861791ce
diff --git a/src/main/java/org/onap/dcaegen2/services/pmmapper/config/ConfigHandler.java b/src/main/java/org/onap/dcaegen2/services/pmmapper/config/ConfigHandler.java
index 31fa145..ae185f4 100644
--- a/src/main/java/org/onap/dcaegen2/services/pmmapper/config/ConfigHandler.java
+++ b/src/main/java/org/onap/dcaegen2/services/pmmapper/config/ConfigHandler.java
@@ -74,7 +74,6 @@
} catch (Exception exception) {
throw new CBSServerError("Error connecting to Configbinding Service: ", exception);
}
-
return convertMapperConfigToObject(mapperConfigJson);
}
@@ -90,7 +89,7 @@
String exceptionMessage = "Error parsing configuration, mapper config:\n" + mapperConfigJson;
throw new MapperConfigException(exceptionMessage, exception);
}
-
+ logger.unwrap().info("Received pm-mapper configuration from ConfigBinding Service");
logger.unwrap().debug("Mapper configuration:\n{}", mapperConfig);
return mapperConfig;
}