summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLusheng Ji <lji@research.att.com>2018-05-01 11:28:58 -0400
committerLusheng Ji <lji@research.att.com>2018-05-01 11:29:06 -0400
commita68c6a05004b2e0ed826228d8130daa03e1fd3f3 (patch)
tree4406b9ed3d507bf8089487dc92ab1972f2d0f9a4
parent2415db85de74d22609307525290a320619f9508b (diff)
Remove Consul service deregister timer
Issue-ID: DCAEGEN2-481 Change-Id: I5086cd181d4c83f7c7e49cd0eb0b6942d12990d0 Signed-off-by: Lusheng Ji <lji@research.att.com>
-rwxr-xr-xheat/register.sh9
1 files changed, 3 insertions, 6 deletions
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 @@ REGREQ="
\"Name\" : \"${SVC_NAME}_health\",
\"Interval\" : \"15s\",
\"HTTP\" : \"http://${SVC_IP}:2376/containers/registrator/json\",
- \"Status\" : \"passing\",
- \"DeregisterCriticalServiceAfter\" : \"30m\"
+ \"Status\" : \"passing\"
}
}
"
@@ -91,8 +90,7 @@ REGREQ="
\"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 @@ REGREQ="
\"Interval\" : \"15s\",
\"HTTP\" : \"https://${SVC_IP}:9102/api/holmes-engine-mgmt/v1/healthcheck\",
\"tls_skip_verify\": true,
- \"Status\" : \"passing\",
- \"DeregisterCriticalServiceAfter\" : \"30m\"
+ \"Status\" : \"passing\"
}
}
"