summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPriyanka <Priyanka.Jain3@amdocs.com>2018-05-25 10:20:04 +0000
committerPriyanka <Priyanka.Jain3@amdocs.com>2018-05-25 10:23:46 +0000
commit0f4ba91f002892a2092e40ca830c155dc68e9d66 (patch)
tree8ac8e50c989713bd72ae46841dee91de5bee750c
parent8494df099dd5bb21519c9cfeaa4730cb5a94e3ef (diff)
AAF Service Health Check
Issue-ID: OOM-27 Change-Id: I507bd7ae8f80a536c7e412ca924376750bcd54e2 Signed-off-by: Priyanka <Priyanka.Jain3@amdocs.com>
-rwxr-xr-xkubernetes/consul/resources/config/consul-agent-config/aaf-service-health.json20
1 files changed, 20 insertions, 0 deletions
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"
+ }
+ ]
+ }
+}