From: Priyanka Date: Fri, 25 May 2018 10:20:04 +0000 (+0000) Subject: AAF Service Health Check X-Git-Tag: 3.0.0-ONAP~469^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=0f4ba91f002892a2092e40ca830c155dc68e9d66;p=oom.git AAF Service Health Check Issue-ID: OOM-27 Change-Id: I507bd7ae8f80a536c7e412ca924376750bcd54e2 Signed-off-by: Priyanka --- 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" + } + ] + } +}