From 3042cd9564c0d40d6e9296287d6779fa01b9d98b Mon Sep 17 00:00:00 2001 From: "r.bogacki" Date: Mon, 22 Jul 2019 11:28:57 +0200 Subject: Vulnerability fixes in ServicePluginFactory Sonar vulnerability fixes in ServicePluginFactory: -Added logger. Issue-ID: SO-2139 Signed-off-by: Robert Bogacki Change-Id: Id1752ea35db970b20d02e730dac9900c411958ca --- .../so/bpmn/infrastructure/workflow/service/ServicePluginFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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!"); } } -- cgit 1.2.3-korg