Merge "AAF Service Health Check"
authorMandeep Khinda <Mandeep.Khinda@amdocs.com>
Fri, 3 Aug 2018 19:10:50 +0000 (19:10 +0000)
committerGerrit Code Review <gerrit@onap.org>
Fri, 3 Aug 2018 19:10:50 +0000 (19:10 +0000)
kubernetes/consul/resources/config/consul-agent-config/aaf-service-health.json [new file with mode: 0755]

diff --git a/kubernetes/consul/resources/config/consul-agent-config/aaf-service-health.json b/kubernetes/consul/resources/config/consul-agent-config/aaf-service-health.json
new file mode 100755 (executable)
index 0000000..cd715f8
--- /dev/null
@@ -0,0 +1,20 @@
+{
+  "service": {
+    "name": "Health Check: Application Authorization Framework",
+    "checks": [
+      {
+        "id": "aaf-service",
+        "name": "AAF Service Health Check",
+        "http": "https://aaf-service:8100/authz/perms/user/demo@people.osaaf.org",
+        "header": {
+          "Authorization": ["Basic ZGVtb0BwZW9wbGUub3NhYWYub3JnOmRlbW8xMjM0NTYh"],
+          "X-TransactionId": ["ConsulHealthCheck"],
+          "X-FromAppId": ["healthcheck"]
+        },
+        "tls_skip_verify": true,
+        "interval": "20s",
+        "timeout": "5s"
+      }
+    ]
+  }
+}