mayankg2703 | 3261523 | 2018-05-15 16:31:41 +0000 | [diff] [blame] | 1 | { |
| 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", |
| 15 | "http": "http://nexus:8081/nexus/service/local/status?pretty", |
| 16 | "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", |
| 30 | "http": "http://nexus:8081/nexus/internal/metrics?pretty", |
| 31 | "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", |
| 45 | "http": "http://nexus:8081/nexus/internal/healthcheck?pretty", |
| 46 | "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", |
| 67 | "http": "http://drools:6969/healthcheck?pretty", |
| 68 | "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", |
| 82 | "http": "http://pap:9091/pap/test?pretty", |
| 83 | "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", |
| 97 | "http": "http://pdp:8081/pdp/test?pretty", |
| 98 | "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 | } |