From: kiranya Date: Tue, 19 Dec 2017 11:01:37 +0000 (+0000) Subject: APPC - DGBuilder health check using consul X-Git-Tag: 2.0.0-ONAP~527^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=c10c3f29dddd52707e4fd295a4ef928a199c4b6c;p=oom.git APPC - DGBuilder health check using consul Issue-ID: OOM-37 Change-Id: I12f05016130cdf2a2e4938071b5fffa389520c48 Signed-off-by: kiranya --- 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" + } + ] + } +}