From 6c0d57eeaa87ac1d2a4a808a93963a5c3c78d68a Mon Sep 17 00:00:00 2001 From: GuangrongFu Date: Mon, 19 Jul 2021 20:30:03 +0800 Subject: [PATCH] Removed Problematic MSB Health Check Change-Id: I0347ac2263f1df2114421e72841798795a34ae56 Issue-ID: HOLMES-461 Signed-off-by: GuangrongFu --- rulemgt/src/main/java/org/onap/holmes/rulemgt/Initializer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rulemgt/src/main/java/org/onap/holmes/rulemgt/Initializer.java b/rulemgt/src/main/java/org/onap/holmes/rulemgt/Initializer.java index 2a618a7..c39de60 100644 --- a/rulemgt/src/main/java/org/onap/holmes/rulemgt/Initializer.java +++ b/rulemgt/src/main/java/org/onap/holmes/rulemgt/Initializer.java @@ -68,13 +68,13 @@ public class Initializer { Node node = new Node(); node.setIp(isIpAddress(serviceIpAndPort[0]) ? serviceIpAndPort[0] : getEnv("HOLMES_RULE_MGMT_SERVICE_HOST")); node.setPort("9101"); - /* Following codes will cause an unregistration from MSB (due to MSB malfunction), comment them for now*/ + /* Following codes will cause an unregistration from MSB (due to MSB malfunction), comment them for now String msbAddrTemplate = (CommonUtils.isHttpsEnabled() ? "https" : "http") + "://%s:%s/api/holmes-rule-mgmt/v1/healthcheck"; node.setCheckType("HTTP"); node.setCheckUrl(String.format(msbAddrTemplate, serviceIpAndPort[0], "9101")); node.setCheckTimeOut("60s"); - node.setCheckInterval("60s"); + node.setCheckInterval("60s");*/ nodes.add(node); msinfo.setNodes(nodes); -- 2.16.6