diff options
author | 2018-09-21 18:20:04 +0800 | |
---|---|---|
committer | 2018-09-21 18:20:20 +0800 | |
commit | aac14610b3c437a82bb21ea9f742f824f9689376 (patch) | |
tree | 9814f6e456eb55b6fa870dd23db6d4121b2e4aee | |
parent | 650e6f9840ac8e55abf0624e3e6314e5fce06d3b (diff) |
modify oss data
Change-Id: I879e435566328c62b0e5cac8ef7dfe7ce04a991e
Issue-ID: USECASEUI-141
Signed-off-by: guochuyicmri <guochuyi@chinamobile.com>
-rw-r--r-- | server/src/main/java/org/onap/usecaseui/server/controller/sotn/SotnController.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/main/java/org/onap/usecaseui/server/controller/sotn/SotnController.java b/server/src/main/java/org/onap/usecaseui/server/controller/sotn/SotnController.java index fb10faad..a3d750d9 100644 --- a/server/src/main/java/org/onap/usecaseui/server/controller/sotn/SotnController.java +++ b/server/src/main/java/org/onap/usecaseui/server/controller/sotn/SotnController.java @@ -57,7 +57,7 @@ public class SotnController { public List<NetWorkResource> getNetWorkResources(){ List<NetWorkResource> result = new ArrayList<NetWorkResource>(); String json = sotnService.getNetWorkResources(); - if(json.indexOf("FAILED")==-1){ + if(json.indexOf("FAILED")!=-1){ return result; } createJson(json,result); @@ -163,7 +163,7 @@ public class SotnController { @RequestMapping(value = {"/getOssInvenory"}, method = RequestMethod.GET) public String getData(){ - String result = HttpUtil.sendGet("http://172.19.44.221:8099/oss/inventory", ""); + String result = HttpUtil.sendGet("http://172.60.3.45:8099/oss/inventory", ""); return result; } private void createJson(String json,List<NetWorkResource> list){ |