aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/config/docker/init
diff options
context:
space:
mode:
authorAlexis de Talhouƫt <alexis.de_talhouet@bell.ca>2017-12-20 15:41:49 +0000
committerGerrit Code Review <gerrit@onap.org>2017-12-20 15:41:49 +0000
commitf72d1ae4a57480438cefff6ec2f19f13c8506c0a (patch)
tree7d006534183bd1b4bfdfb39826a8d4e08d873e0d /kubernetes/config/docker/init
parentb57b52d235470536771d98d6e73fb015a91f76ca (diff)
parentc10c3f29dddd52707e4fd295a4ef928a199c4b6c (diff)
Merge "APPC - DGBuilder health check using consul"
Diffstat (limited to 'kubernetes/config/docker/init')
-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"
+ }
+ ]
+ }
+}