Add Consul health check support for MSO
[oom.git] / kubernetes / config / docker / init / src / config / consul / consul-agent-config / mso-health.json
diff --git a/kubernetes/config/docker/init/src/config/consul/consul-agent-config/mso-health.json b/kubernetes/config/docker/init/src/config/consul/consul-agent-config/mso-health.json
new file mode 100644 (file)
index 0000000..354cd9e
--- /dev/null
@@ -0,0 +1,28 @@
+{
+  "service": {
+    "name": "Health Check: MSO",
+    "checks": [
+      {
+        "id": "mso-api-healthcheck",
+        "name": "MSO API Health Check",
+        "script": "/consul/config/scripts/mso-api-script.sh",
+        "interval": "10s",
+        "timeout": "1s"
+      },
+      {
+        "id": "mso-camunda-healthcheck",
+        "name": "MSO Camunda Health Check",
+        "script": "/consul/config/scripts/mso-camunda-script.sh",
+        "interval": "10s",
+        "timeout": "1s"
+      },
+      {
+        "id": "mso-jra-healthcheck",
+        "name": "MSO JRA Health Check",
+        "script": "/consul/config/scripts/mso-jra-script.sh",
+        "interval": "10s",
+        "timeout": "1s"
+      }
+    ]
+  }
+}