Add message in info level (Received pm-mapper configuration from ConfigBinding Servic... 15/110815/1
authormarcinrzepeckiwroc <marcin.rzepecki@nokia.com>
Fri, 31 Jul 2020 14:40:30 +0000 (16:40 +0200)
committermarcinrzepeckiwroc <marcin.rzepecki@nokia.com>
Fri, 31 Jul 2020 14:40:30 +0000 (16:40 +0200)
Issue-ID: DCAEGEN2-2343
Signed-off-by: marcinrzepeckiwroc <marcin.rzepecki@nokia.com>
Change-Id: I71bb9f3208d9f1a36c88cb917e5ec7fa861791ce

src/main/java/org/onap/dcaegen2/services/pmmapper/config/ConfigHandler.java

index 31fa145..ae185f4 100644 (file)
@@ -74,7 +74,6 @@ public class ConfigHandler {
         } catch (Exception exception) {
             throw new CBSServerError("Error connecting to Configbinding Service: ", exception);
         }
-
         return convertMapperConfigToObject(mapperConfigJson);
     }
 
@@ -90,7 +89,7 @@ public class ConfigHandler {
             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;
     }