aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Shen <shentao@chinamobile.com>2018-09-23 06:28:24 +0000
committerGerrit Code Review <gerrit@onap.org>2018-09-23 06:28:24 +0000
commit58fc78a26015801877ba60e8e2db12f086f257f0 (patch)
treee0950b3e09abfe0c6a886131008484d1829e4a29
parent85490c076f1304bcdf74f9c546963ddadece7701 (diff)
parentaac14610b3c437a82bb21ea9f742f824f9689376 (diff)
Merge "modify oss data"
-rw-r--r--server/src/main/java/org/onap/usecaseui/server/controller/sotn/SotnController.java4
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){