From: r.bogacki Date: Mon, 22 Jul 2019 09:28:57 +0000 (+0200) Subject: Vulnerability fixes in ServicePluginFactory X-Git-Tag: 1.5.2~199 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F98%2F91798%2F1;p=so.git Vulnerability fixes in ServicePluginFactory Sonar vulnerability fixes in ServicePluginFactory: -Added logger. Issue-ID: SO-2139 Signed-off-by: Robert Bogacki Change-Id: Id1752ea35db970b20d02e730dac9900c411958ca --- diff --git a/bpmn/so-bpmn-infrastructure-common/src/main/java/org/onap/so/bpmn/infrastructure/workflow/service/ServicePluginFactory.java b/bpmn/so-bpmn-infrastructure-common/src/main/java/org/onap/so/bpmn/infrastructure/workflow/service/ServicePluginFactory.java index 8fe7e4f868..9319353e5a 100644 --- a/bpmn/so-bpmn-infrastructure-common/src/main/java/org/onap/so/bpmn/infrastructure/workflow/service/ServicePluginFactory.java +++ b/bpmn/so-bpmn-infrastructure-common/src/main/java/org/onap/so/bpmn/infrastructure/workflow/service/ServicePluginFactory.java @@ -94,7 +94,7 @@ public class ServicePluginFactory { THIRD_SP_DEFAULT_ENDPOINT = prop.getProperty("third.sp.default.endpoint"); INVENTORY_OSS_DEFAULT_ENDPOINT = prop.getProperty("inventory.oss.default.endpoint"); } catch (IOException e) { - e.printStackTrace(); + logger.error("Failed to load property file!"); } }