summaryrefslogtreecommitdiffstats
path: root/kubernetes/config/docker
diff options
context:
space:
mode:
authormayankg2703 <mayank.gupta@amdocs.com>2018-01-04 18:45:37 +0000
committerAlexis de Talhouƫt <alexis.de_talhouet@bell.ca>2018-01-09 13:13:11 +0000
commita60ad60c31feea094461170b12e68d1a9e10d36b (patch)
tree8c92fd230aeb16faf082964c8d1388409fb99efa /kubernetes/config/docker
parent678ae0eba6bde06c04b9ae9f889713285f6061df (diff)
health check hbase aai
Issue-ID: OOM-35 Change-Id: I19efe476a791f3c9fce64cd933738eca7fb77ffb Signed-off-by: mayankg2703 <mayank.gupta@amdocs.com>
Diffstat (limited to 'kubernetes/config/docker')
-rw-r--r--kubernetes/config/docker/init/src/config/consul/consul-agent-config/aai-hbase-health.json21
1 files changed, 21 insertions, 0 deletions
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
index 0000000000..07828431fc
--- /dev/null
+++ b/kubernetes/config/docker/init/src/config/consul/consul-agent-config/aai-hbase-health.json
@@ -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"
+ }
+ ]
+ }
+}