diff options
Diffstat (limited to 'engine-d/src/main/java/org/onap')
-rw-r--r-- | engine-d/src/main/java/org/onap/holmes/engine/EngineDActiveApp.java | 4 |
1 files changed, 4 insertions, 0 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 7ac4642..afaf755 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 @@ -78,6 +78,10 @@ public class EngineDActiveApp extends IOCApplication<EngineDAppConfig> { Node node = new Node(); node.setIp(serviceAddrInfo[0]); node.setPort(serviceAddrInfo[1]); + node.setCheckType("HTTP"); + node.setCheckUrl(String.format("https://%s:%s/api/holmes-engine-mgmt/v1/healthcheck", serviceAddrInfo[0], serviceAddrInfo[1])); + node.setCheckTimeOut("60s"); + node.setCheckInterval("60s"); nodes.add(node); msinfo.setNodes(nodes); return msinfo; |