SDNC portal heatlh check
[oom.git] / kubernetes / config / docker / init / src / config / consul / consul-agent-config / sdnc-portal-health.json
diff --git a/kubernetes/config/docker/init/src/config/consul/consul-agent-config/sdnc-portal-health.json b/kubernetes/config/docker/init/src/config/consul/consul-agent-config/sdnc-portal-health.json
new file mode 100644 (file)
index 0000000..3ecc1b3
--- /dev/null
@@ -0,0 +1,21 @@
+{
+  "service": {
+    "name": "Health Check: SDNC Portal",
+    "checks": [
+      {
+        "id": "sdnc-portal",
+        "name": "SDNC Portal Health Check",
+        "http": "http://sdnc-portal.onap-sdnc:8843/login",
+        "method": "HEAD",
+        "header": {
+          "Cache-Control": ["no-cache"],
+          "Content-Type": ["application/json"],
+          "Accept": ["application/json"]
+        },
+        "tls_skip_verify": true,
+        "interval": "15s",
+        "timeout": "1s"
+      }
+    ]
+  }
+}