summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorr.bogacki <r.bogacki@samsung.com>2019-07-22 11:28:57 +0200
committerr.bogacki <r.bogacki@samsung.com>2019-07-22 11:30:24 +0200
commit3042cd9564c0d40d6e9296287d6779fa01b9d98b (patch)
tree7c783202fcfb8c5cec849fb8927c8b9da6673b14
parent62c38de2cff81eea39a20fcb0826be9113d75b00 (diff)
Vulnerability fixes in ServicePluginFactory
Sonar vulnerability fixes in ServicePluginFactory: -Added logger. Issue-ID: SO-2139 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com> Change-Id: Id1752ea35db970b20d02e730dac9900c411958ca
-rw-r--r--bpmn/so-bpmn-infrastructure-common/src/main/java/org/onap/so/bpmn/infrastructure/workflow/service/ServicePluginFactory.java2
1 files changed, 1 insertions, 1 deletions
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!");
}
}