summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Elliott <mike.elliott@amdocs.com>2017-09-25 13:52:21 +0000
committerGerrit Code Review <gerrit@onap.org>2017-09-25 13:52:21 +0000
commit67162aaf08703e895b6b093aa64978d5eaa12124 (patch)
tree0a002b1ec5e3c0d5485db2974193912f82d03005
parent270a717ecd7e5a5ed83418efc8007eff92d9b7fd (diff)
parent38835affc720c0718d6c5183826f5c777c01770d (diff)
Merge "Add Consul health check support for SDNC"
-rw-r--r--kubernetes/config/docker/init/src/config/consul/consul-agent-config/sdnc-health.json22
1 files changed, 22 insertions, 0 deletions
diff --git a/kubernetes/config/docker/init/src/config/consul/consul-agent-config/sdnc-health.json b/kubernetes/config/docker/init/src/config/consul/consul-agent-config/sdnc-health.json
new file mode 100644
index 0000000000..fc26d2e192
--- /dev/null
+++ b/kubernetes/config/docker/init/src/config/consul/consul-agent-config/sdnc-health.json
@@ -0,0 +1,22 @@
+{
+ "service": {
+ "name": "Health Check: SDNC",
+ "checks": [
+ {
+ "id": "odl-api-healthcheck",
+ "name": "SDNC API Health Check",
+ "http": "http://sdnhost.onap-sdnc:8282/restconf/operations/SLI-API:healthcheck",
+ "method": "POST",
+ "header": {
+ "Authorization": ["Basic YWRtaW46S3A4Yko0U1hzek0wV1hsaGFrM2VIbGNzZTJnQXc4NHZhb0dHbUp2VXkyVQ=="],
+ "Cache-Control": ["no-cache"],
+ "Content-Type": ["application/json"],
+ "Accept": ["application/json"]
+ },
+ "tls_skip_verify": true,
+ "interval": "15s",
+ "timeout": "1s"
+ }
+ ]
+ }
+}