summaryrefslogtreecommitdiffstats
path: root/huawei/vnfmadapter/VnfmadapterService/service
diff options
context:
space:
mode:
authorThamlurRaju <thamlurraju468@gmail.com>2018-08-21 18:09:57 +0530
committerThamlurRaju <thamlurraju468@gmail.com>2018-08-21 18:09:57 +0530
commit74137c1b57511f4303f80a15c3dae9b1be364ba9 (patch)
tree06084debb4eaf239f6881059a211d66717db2a6f /huawei/vnfmadapter/VnfmadapterService/service
parente169f2ee9beb3e98cafcb6d657f9b3ed536b6c12 (diff)
Logger usage Issue In ScaleManager
Either log or rethrow this exception Sonar Link: https://sonar.onap.org/project/issues?assignees=ThamlurRaju&id=org.onap.vfc.nfvo.driver.vnfm.svnfm.huawei%3Avfc-nfvo-driver-vnfm-svnfm-huawei&open=AWOMyzufwGn37Jfbp59i&resolved=false&severities=CRITICAL Location: src/main/java/org/onap/vfc/nfvo/vnfm/svnfm/vnfmadapter/service/csm/vnf/ScaleManager.java Line No- 140 Change-Id: I3a77fa185d332abf36c8c3acd2082c70965a6fea Issue-ID: VFC-1047 Signed-off-by: ThamlurRaju <thamlurraju468@gmail.com>
Diffstat (limited to 'huawei/vnfmadapter/VnfmadapterService/service')
-rw-r--r--huawei/vnfmadapter/VnfmadapterService/service/src/main/java/org/onap/vfc/nfvo/vnfm/svnfm/vnfmadapter/service/csm/vnf/ScaleManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/huawei/vnfmadapter/VnfmadapterService/service/src/main/java/org/onap/vfc/nfvo/vnfm/svnfm/vnfmadapter/service/csm/vnf/ScaleManager.java b/huawei/vnfmadapter/VnfmadapterService/service/src/main/java/org/onap/vfc/nfvo/vnfm/svnfm/vnfmadapter/service/csm/vnf/ScaleManager.java
index cec4ba39..ce4e29b0 100644
--- a/huawei/vnfmadapter/VnfmadapterService/service/src/main/java/org/onap/vfc/nfvo/vnfm/svnfm/vnfmadapter/service/csm/vnf/ScaleManager.java
+++ b/huawei/vnfmadapter/VnfmadapterService/service/src/main/java/org/onap/vfc/nfvo/vnfm/svnfm/vnfmadapter/service/csm/vnf/ScaleManager.java
@@ -138,7 +138,7 @@ public abstract class ScaleManager {
} catch(IOException e) {
LOG.error("function=readVmIdsFile, msg=read vms from file IOException, filePath : {}" + filePath, " Load File Exception : " + e);
} catch(JSONException e) {
- LOG.error("function=readVmIdsFile, msg=read vms from file JSONException, fileContent : {}", fileContent);
+ LOG.error("function=readVmIdsFile, msg=read vms from file JSONException, fileContent : {}", fileContent, " JSON Exception : " + e);
}
return new JSONArray();
}