diff options
author | Seshu Kumar M <seshu.kumar.m@huawei.com> | 2018-04-23 08:43:18 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-04-23 08:43:18 +0000 |
commit | b38bdc6dfe05d2a233a63cf21784864fae3fb818 (patch) | |
tree | c82e15e9d691aa418a2218abf3cdb500aea096db /asdc-controller | |
parent | 8fa2659ec0f0b94f22f5caa5d7e61048be18068c (diff) | |
parent | eaa905031e1e0b9905060b213be8b6dc8b439168 (diff) |
Merge "Sonar-Critical Bug Fixing"
Diffstat (limited to 'asdc-controller')
-rw-r--r-- | asdc-controller/src/main/java/org/openecomp/mso/asdc/client/ASDCConfiguration.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/asdc-controller/src/main/java/org/openecomp/mso/asdc/client/ASDCConfiguration.java b/asdc-controller/src/main/java/org/openecomp/mso/asdc/client/ASDCConfiguration.java index a151b5dae7..7cc6ab8a89 100644 --- a/asdc-controller/src/main/java/org/openecomp/mso/asdc/client/ASDCConfiguration.java +++ b/asdc-controller/src/main/java/org/openecomp/mso/asdc/client/ASDCConfiguration.java @@ -31,6 +31,7 @@ import java.util.Map.Entry; import java.util.Properties; import org.openecomp.mso.asdc.client.exceptions.ASDCParametersException; +import org.openecomp.mso.logger.MsoLogger; import org.openecomp.mso.properties.MsoJsonProperties; import org.openecomp.mso.properties.MsoPropertiesException; import org.openecomp.mso.properties.MsoPropertiesFactory; @@ -80,7 +81,8 @@ public class ASDCConfiguration implements IConfiguration { public static final String TOSCA_CSAR="TOSCA_CSAR"; public static final String VF_MODULES_METADATA="VF_MODULES_METADATA"; - + private static MsoLogger msoLogger = MsoLogger.getMsoLogger (MsoLogger.Catalog.GENERAL); + private static final String[] SUPPORTED_ARTIFACT_TYPES = {HEAT, HEAT_ARTIFACT, HEAT_ENV, @@ -284,6 +286,7 @@ public class ASDCConfiguration implements IConfiguration { return null; } } catch (IOException e) { + msoLogger.debug("IOException occured", e); return null; } } @@ -376,6 +379,7 @@ public class ASDCConfiguration implements IConfiguration { return null; } } catch (IOException e) { + msoLogger.debug("IOException occured", e); return null; } } |