health check hbase aai 65/27465/2
authormayankg2703 <mayank.gupta@amdocs.com>
Thu, 4 Jan 2018 18:45:37 +0000 (18:45 +0000)
committerAlexis de Talhouët <alexis.de_talhouet@bell.ca>
Tue, 9 Jan 2018 13:13:11 +0000 (13:13 +0000)
Issue-ID: OOM-35

Change-Id: I19efe476a791f3c9fce64cd933738eca7fb77ffb
Signed-off-by: mayankg2703 <mayank.gupta@amdocs.com>
kubernetes/config/docker/init/src/config/consul/consul-agent-config/aai-hbase-health.json [new file with mode: 0644]

diff --git a/kubernetes/config/docker/init/src/config/consul/consul-agent-config/aai-hbase-health.json b/kubernetes/config/docker/init/src/config/consul/consul-agent-config/aai-hbase-health.json
new file mode 100644 (file)
index 0000000..0782843
--- /dev/null
@@ -0,0 +1,21 @@
+{
+  "service": {
+    "name": "A&AI HBase Health Check",
+    "checks": [
+      {
+        "id": "hbase-aai",
+        "name": "HBase Health Check",
+        "http": "http://hbase.onap-aai:8080/status/cluster",
+        "method": "GET",
+        "header": {
+          "Cache-Control": ["no-cache"],
+          "Content-Type": ["application/json"],
+          "Accept": ["application/json"]
+        },
+        "tls_skip_verify": true,
+        "interval": "15s",
+        "timeout": "1s"
+      }
+    ]
+  }
+}