summaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
authorkiranya <kiran.yadav@amdocs.com>2017-12-19 11:01:37 +0000
committerkiranya <kiran.yadav@amdocs.com>2017-12-19 11:03:26 +0000
commitc10c3f29dddd52707e4fd295a4ef928a199c4b6c (patch)
treec5a19c43500d54bd0e429c8a0da0a74357232c94 /kubernetes
parenta6eb9be0e091746c824b169a46242ef0943a2b05 (diff)
APPC - DGBuilder health check using consul
Issue-ID: OOM-37 Change-Id: I12f05016130cdf2a2e4938071b5fffa389520c48 Signed-off-by: kiranya <kiran.yadav@amdocs.com>
Diffstat (limited to 'kubernetes')
-rw-r--r--kubernetes/config/docker/init/src/config/consul/consul-agent-config/appc-dbbuilder.json22
1 files changed, 22 insertions, 0 deletions
diff --git a/kubernetes/config/docker/init/src/config/consul/consul-agent-config/appc-dbbuilder.json b/kubernetes/config/docker/init/src/config/consul/consul-agent-config/appc-dbbuilder.json
new file mode 100644
index 0000000000..ec5539060f
--- /dev/null
+++ b/kubernetes/config/docker/init/src/config/consul/consul-agent-config/appc-dbbuilder.json
@@ -0,0 +1,22 @@
+{
+ "service": {
+ "name": "Health Check: APPC - Dgbuilder",
+ "checks": [
+ {
+ "id": "appc-dgbuilder",
+ "name": "APPC-Dgbuilder Server Health Check",
+ "http": "http://dgbuilder.onap-appc:3000/",
+ "method": "HEAD",
+ "header": {
+ "Authorization": ["Basic ZGd1c2VyOnRlc3QxMjM="],
+ "Cache-Control": ["no-cache"],
+ "Content-Type": ["application/json"],
+ "Accept": ["application/json"]
+ },
+ "tls_skip_verify": true,
+ "interval": "15s",
+ "timeout": "1s"
+ }
+ ]
+ }
+}