diff options
-rw-r--r-- | engine-d/src/main/java/org/onap/holmes/engine/EngineDActiveApp.java | 2 | ||||
-rw-r--r-- | engine-d/src/test/java/org/onap/holmes/engine/EngineDActiveAppTest.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engine-d/src/main/java/org/onap/holmes/engine/EngineDActiveApp.java b/engine-d/src/main/java/org/onap/holmes/engine/EngineDActiveApp.java index 67ea418..c045050 100644 --- a/engine-d/src/main/java/org/onap/holmes/engine/EngineDActiveApp.java +++ b/engine-d/src/main/java/org/onap/holmes/engine/EngineDActiveApp.java @@ -77,7 +77,7 @@ public class EngineDActiveApp extends IOCApplication<EngineDAppConfig> { Set<Node> nodes = new HashSet<>(); Node node = new Node(); node.setIp(serviceAddrInfo[0]); - node.setPort(serviceAddrInfo[1]); + node.setPort("9102"); node.setCheckType("HTTP"); node.setCheckUrl(String.format("https://%s:%s/api/holmes-engine-mgmt/v1/healthcheck", serviceAddrInfo[0], "9102")); node.setCheckTimeOut("60s"); diff --git a/engine-d/src/test/java/org/onap/holmes/engine/EngineDActiveAppTest.java b/engine-d/src/test/java/org/onap/holmes/engine/EngineDActiveAppTest.java index 4f8aa2b..1a5795a 100644 --- a/engine-d/src/test/java/org/onap/holmes/engine/EngineDActiveAppTest.java +++ b/engine-d/src/test/java/org/onap/holmes/engine/EngineDActiveAppTest.java @@ -61,6 +61,6 @@ public class EngineDActiveAppTest { assertThat(msinfo.getVisualRange(), equalTo("0|1"));
assertThat(msinfo.isEnable_ssl(), is(true));
assertThat(msinfo.getNodes().toArray(new Node[0])[0].getIp(), equalTo(serviceAddrInfo[0]));
- assertThat(msinfo.getNodes().toArray(new Node[0])[0].getPort(), equalTo(serviceAddrInfo[1]));
+ assertThat(msinfo.getNodes().toArray(new Node[0])[0].getPort(), equalTo("9102"));
}
}
|