diff options
author | GuangrongFu <fu.guangrong@zte.com.cn> | 2018-10-24 08:44:31 +0800 |
---|---|---|
committer | GuangrongFu <fu.guangrong@zte.com.cn> | 2018-10-24 09:14:00 +0800 |
commit | 5f432457f7940e0051f9ca58362b97d5dc1f960c (patch) | |
tree | 31065ea57c21152328e005c4af1ea0b1c88bc5b7 /engine-d/src | |
parent | f37f55b899a47b78b78fc7814b161a50cb2b6cd6 (diff) |
Fixed MSB Reg Issues
Change-Id: Ib61fad31ccded461537a1eb840d627663c50a8e0
Issue-ID: HOLMES-175
Signed-off-by: GuangrongFu <fu.guangrong@zte.com.cn>
Diffstat (limited to 'engine-d/src')
-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"));
}
}
|