Remove Consul service deregister timer
Issue-ID: DCAEGEN2-481
Change-Id: I5086cd181d4c83f7c7e49cd0eb0b6942d12990d0
Signed-off-by: Lusheng Ji <lji@research.att.com>
diff --git a/heat/register.sh b/heat/register.sh
index bdf6814..d13b925 100755
--- a/heat/register.sh
+++ b/heat/register.sh
@@ -52,8 +52,7 @@
\"Name\" : \"${SVC_NAME}_health\",
\"Interval\" : \"15s\",
\"HTTP\" : \"http://${SVC_IP}:2376/containers/registrator/json\",
- \"Status\" : \"passing\",
- \"DeregisterCriticalServiceAfter\" : \"30m\"
+ \"Status\" : \"passing\"
}
}
"
@@ -91,8 +90,7 @@
\"Interval\" : \"15s\",
\"HTTP\" : \"https://${SVC_IP}:9101/api/holmes-rule-mgmt/v1/healthcheck\",
\"tls_skip_verify\": true,
- \"Status\" : \"passing\",
- \"DeregisterCriticalServiceAfter\" : \"30m\"
+ \"Status\" : \"passing\"
}
}
"
@@ -114,8 +112,7 @@
\"Interval\" : \"15s\",
\"HTTP\" : \"https://${SVC_IP}:9102/api/holmes-engine-mgmt/v1/healthcheck\",
\"tls_skip_verify\": true,
- \"Status\" : \"passing\",
- \"DeregisterCriticalServiceAfter\" : \"30m\"
+ \"Status\" : \"passing\"
}
}
"