Merge "SDNC DG Builder Health Check using consul"
authorAlexis de Talhouët <alexis.de_talhouet@bell.ca>
Wed, 20 Dec 2017 15:41:47 +0000 (15:41 +0000)
committerGerrit Code Review <gerrit@onap.org>
Wed, 20 Dec 2017 15:41:47 +0000 (15:41 +0000)
kubernetes/config/docker/init/src/config/consul/consul-agent-config/sdnc-dgbuilder.json [new file with mode: 0644]

diff --git a/kubernetes/config/docker/init/src/config/consul/consul-agent-config/sdnc-dgbuilder.json b/kubernetes/config/docker/init/src/config/consul/consul-agent-config/sdnc-dgbuilder.json
new file mode 100644 (file)
index 0000000..051c4ab
--- /dev/null
@@ -0,0 +1,22 @@
+{
+  "service": {
+    "name": "Health Check: SDNC - DGBuilder",
+    "checks": [
+      {
+        "id": "sdnc-dgbuilder",
+        "name": "SDNC-DGbuilder Health Check",
+        "http": "http://sdnc-dgbuilder.onap-sdnc: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"
+      }
+    ]
+  }
+}