From 0f4ba91f002892a2092e40ca830c155dc68e9d66 Mon Sep 17 00:00:00 2001 From: Priyanka Date: Fri, 25 May 2018 10:20:04 +0000 Subject: AAF Service Health Check Issue-ID: OOM-27 Change-Id: I507bd7ae8f80a536c7e412ca924376750bcd54e2 Signed-off-by: Priyanka --- .../consul-agent-config/aaf-service-health.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 kubernetes/consul/resources/config/consul-agent-config/aaf-service-health.json (limited to 'kubernetes/consul/resources/config/consul-agent-config') 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 index 0000000000..cd715f8b6a --- /dev/null +++ b/kubernetes/consul/resources/config/consul-agent-config/aaf-service-health.json @@ -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" + } + ] + } +} -- cgit 1.2.3-korg