blob: 62a6f31223c6cbde5e18b9c220f55639f05d13e7 [file] [log] [blame]
mayankg270332615232018-05-15 16:31:41 +00001{
2 "service": {
3 "name": "Health Check: Policy",
4 "checks": [
5 {
6 "id": "Policy-mariadb-healthcheck",
7 "name": "Policy Mariadb Health Check",
8 "script": "/consul/scripts/policy-mariadb-script.sh",
9 "interval": "10s",
10 "timeout": "1s"
11 },
12 {
13 "id": "policy-nexus-local-status",
14 "name": "Policy Nexus Local Status",
Jorge Hernandezf30d5c22018-09-12 07:30:36 -050015 "http": "http://nexus:8081/nexus/service/local/status",
mayankg270332615232018-05-15 16:31:41 +000016 "method": "GET",
17 "header": {
18 "Authorization": ["Basic YWRtaW46YWRtaW4xMjM="],
19 "Cache-Control": ["no-cache"],
20 "Content-Type": ["application/json"],
21 "Accept": ["application/json"]
22 },
23 "tls_skip_verify": true,
24 "interval": "15s",
25 "timeout": "1s"
26 },
27 {
28 "id": "policy-nexus-internal-metrics",
29 "name": "Policy Nexus Internal Metrics",
Jorge Hernandezf30d5c22018-09-12 07:30:36 -050030 "http": "http://nexus:8081/nexus/internal/metrics",
mayankg270332615232018-05-15 16:31:41 +000031 "method": "GET",
32 "header": {
33 "Authorization": ["Basic YWRtaW46YWRtaW4xMjM="],
34 "Cache-Control": ["no-cache"],
35 "Content-Type": ["application/json"],
36 "Accept": ["application/json"]
37 },
38 "tls_skip_verify": true,
39 "interval": "15s",
40 "timeout": "1s"
41 },
42 {
43 "id": "policy-nexus-internal-healthcheck",
44 "name": "Policy Nexus Internal Healthcheck",
Jorge Hernandezf30d5c22018-09-12 07:30:36 -050045 "http": "http://nexus:8081/nexus/internal/healthcheck",
mayankg270332615232018-05-15 16:31:41 +000046 "method": "GET",
47 "header": {
48 "Authorization": ["Basic YWRtaW46YWRtaW4xMjM="],
49 "Cache-Control": ["no-cache"],
50 "Content-Type": ["application/json"],
51 "Accept": ["application/json"]
52 },
53 "tls_skip_verify": true,
54 "interval": "15s",
55 "timeout": "1s"
56 },
57 {
58 "id": "brmsgw-tcp",
59 "name": "BRMSGW Health Check",
60 "tcp": "brmsgw:9989",
61 "interval": "15s",
62 "timeout": "1s"
63 },
64 {
65 "id": "drools",
66 "name": "Drools Health Check",
Jorge Hernandezf30d5c22018-09-12 07:30:36 -050067 "http": "https://drools:6969/healthcheck",
mayankg270332615232018-05-15 16:31:41 +000068 "method": "GET",
69 "header": {
70 "Authorization": ["Basic aGVhbHRoY2hlY2s6emIhWHp0RzM0"],
71 "Cache-Control": ["no-cache"],
72 "Content-Type": ["application/json"],
73 "Accept": ["application/json"]
74 },
75 "tls_skip_verify": true,
76 "interval": "15s",
77 "timeout": "1s"
78 },
79 {
80 "id": "pap",
81 "name": "PAP Health Check",
Jorge Hernandezf30d5c22018-09-12 07:30:36 -050082 "http": "https://pap:9091/pap/test",
mayankg270332615232018-05-15 16:31:41 +000083 "method": "GET",
84 "header": {
85 "Authorization": ["Basic dGVzdHBhcDphbHBoYTEyMw=="],
86 "Cache-Control": ["no-cache"],
87 "Content-Type": ["application/json"],
88 "Accept": ["application/json"]
89 },
90 "tls_skip_verify": true,
91 "interval": "15s",
92 "timeout": "1s"
93 },
94 {
95 "id": "pdp",
96 "name": "PDP Health Check",
Jorge Hernandezf30d5c22018-09-12 07:30:36 -050097 "http": "https://pdp:8081/pdp/test",
mayankg270332615232018-05-15 16:31:41 +000098 "method": "GET",
99 "header": {
100 "Authorization": ["Basic dGVzdHBkcDphbHBoYTEyMw=="],
101 "Cache-Control": ["no-cache"],
102 "Content-Type": ["application/json"],
103 "Accept": ["application/json"]
104 },
105 "tls_skip_verify": true,
106 "interval": "15s",
107 "timeout": "1s"
108 }
109 ]
110 }
111}