aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/consul
diff options
context:
space:
mode:
authorMandeep Khinda <Mandeep.Khinda@amdocs.com>2018-08-03 19:10:50 +0000
committerGerrit Code Review <gerrit@onap.org>2018-08-03 19:10:50 +0000
commit08d21a6ca52580338c7d1eda328870e831c8d61c (patch)
tree224570259eb89d85cbfcbca0d5b906154088f15f /kubernetes/consul
parent9a6c76b47fb97b7b1b8d446128f450acd3a5f872 (diff)
parent0f4ba91f002892a2092e40ca830c155dc68e9d66 (diff)
Merge "AAF Service Health Check"
Diffstat (limited to 'kubernetes/consul')
-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"
+ }
+ ]
+ }
+}