diff options
author | yufei_zhou <yufei.zhou@nokia-sbell.com> | 2017-10-14 22:16:45 +0800 |
---|---|---|
committer | yufei_zhou <yufei.zhou@nokia-sbell.com> | 2017-10-14 22:24:01 +0800 |
commit | 926bbb113ad6b993d0bc252d777e48af23f500da (patch) | |
tree | 1f64f190cc3396dc1a413f0dcc89bf95681350f2 /nokia/vnfmdriver/vfcadaptorservice | |
parent | ab5c4b66233f7574af81a1e8f751ba70d538a8db (diff) |
Process sonar check issues
Change-Id: I5f0f3fa3dab890f500cb1f51c3b61ce15d4b23b3
Issue-ID: VFC-53
Signed-off-by: yufei_zhou <yufei.zhou@nokia-sbell.com>
Diffstat (limited to 'nokia/vnfmdriver/vfcadaptorservice')
2 files changed, 1 insertions, 1 deletions
diff --git a/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/VfcadaptorApplication.java b/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/VfcadaptorApplication.java index a7cab38a..c93b107b 100644 --- a/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/VfcadaptorApplication.java +++ b/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/VfcadaptorApplication.java @@ -26,6 +26,7 @@ import org.springframework.context.support.PropertySourcesPlaceholderConfigurer; @Configuration @SpringBootApplication @ComponentScan +@SuppressWarnings(value="all") public class VfcadaptorApplication { public final static void main(String[] args) { diff --git a/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/msb/impl/MsbMgmrImpl.java b/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/msb/impl/MsbMgmrImpl.java index 5d488854..7738b2f2 100644 --- a/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/msb/impl/MsbMgmrImpl.java +++ b/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/msb/impl/MsbMgmrImpl.java @@ -47,7 +47,6 @@ public class MsbMgmrImpl implements IMsbMgmr { public void register() { try { String vfcAdaptorInfoJsonStr = readVfcAdaptorInfoFromJsonFile(); -// MicroServiceInfo msinfo = gson.fromJson(vfcAdaptorInfoJsonStr, MicroServiceInfo.class); JSON json = com.alibaba.fastjson.JSON.parseObject(vfcAdaptorInfoJsonStr); MicroServiceInfo msinfo = com.alibaba.fastjson.JSON.toJavaObject(json , MicroServiceInfo.class); |