AAF Service Health Check 95/49095/1
authorPriyanka <Priyanka.Jain3@amdocs.com>
Fri, 25 May 2018 10:20:04 +0000 (10:20 +0000)
committerPriyanka <Priyanka.Jain3@amdocs.com>
Fri, 25 May 2018 10:23:46 +0000 (10:23 +0000)
Issue-ID: OOM-27

Change-Id: I507bd7ae8f80a536c7e412ca924376750bcd54e2
Signed-off-by: Priyanka <Priyanka.Jain3@amdocs.com>
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"
+      }
+    ]
+  }
+}