From: Mandeep Khinda Date: Fri, 3 Aug 2018 19:10:50 +0000 (+0000) Subject: Merge "AAF Service Health Check" X-Git-Tag: 3.0.0-ONAP~469 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=08d21a6ca52580338c7d1eda328870e831c8d61c;hp=9a6c76b47fb97b7b1b8d446128f450acd3a5f872;p=oom.git Merge "AAF Service Health Check" --- 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" + } + ] + } +}