gfraboni | d076951 | 2017-09-22 15:31:48 -0400 | [diff] [blame] | 1 | { |
| 2 | "service": { |
| 3 | "name": "Health Check: SDC", |
| 4 | "checks": [ |
| 5 | { |
| 6 | "id": "sdc-fe-healthcheck", |
| 7 | "name": "SDC Front End Health Check", |
jasmineWen | 85d9d73 | 2018-03-06 16:13:35 +0000 | [diff] [blame] | 8 | "script": "/consul/scripts/sdc-fe-script.sh", |
gfraboni | d076951 | 2017-09-22 15:31:48 -0400 | [diff] [blame] | 9 | "interval": "10s", |
| 10 | "timeout": "1s" |
| 11 | }, |
| 12 | { |
| 13 | "id": "sdc-be-healthcheck", |
| 14 | "name": "SDC Back End Health Check", |
jasmineWen | 85d9d73 | 2018-03-06 16:13:35 +0000 | [diff] [blame] | 15 | "script": "/consul/scripts/sdc-be-script.sh", |
gfraboni | d076951 | 2017-09-22 15:31:48 -0400 | [diff] [blame] | 16 | "interval": "10s", |
| 17 | "timeout": "1s" |
| 18 | }, |
| 19 | { |
| 20 | "id": "sdc-titan-healthcheck", |
| 21 | "name": "SDC Titan Health Check", |
jasmineWen | 85d9d73 | 2018-03-06 16:13:35 +0000 | [diff] [blame] | 22 | "script": "/consul/scripts/sdc-titan-script.sh", |
gfraboni | d076951 | 2017-09-22 15:31:48 -0400 | [diff] [blame] | 23 | "interval": "10s", |
| 24 | "timeout": "1s" |
| 25 | }, |
| 26 | { |
| 27 | "id": "sdc-cs-healthcheck", |
| 28 | "name": "SDC Cassandra Health Check", |
jasmineWen | 85d9d73 | 2018-03-06 16:13:35 +0000 | [diff] [blame] | 29 | "script": "/consul/scripts/sdc-cs-script.sh", |
gfraboni | d076951 | 2017-09-22 15:31:48 -0400 | [diff] [blame] | 30 | "interval": "10s", |
| 31 | "timeout": "1s" |
| 32 | }, |
| 33 | { |
| 34 | "id": "sdc-catalog-healthcheck", |
| 35 | "name": "SDC Catalog Health Check", |
Priyanka Jain | c07e1d1 | 2018-05-03 12:52:04 +0000 | [diff] [blame] | 36 | "http": "https://sdc-be:8443/asdc/v1/catalog/services", |
gfraboni | d076951 | 2017-09-22 15:31:48 -0400 | [diff] [blame] | 37 | "header": { |
| 38 | "Authorization": ["Basic dmlkOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU="], |
| 39 | "X-ECOMP-InstanceID": ["VID"], |
| 40 | "Content-Type": ["application/json"], |
| 41 | "Accept": ["application/json"] |
| 42 | }, |
| 43 | "tls_skip_verify": true, |
| 44 | "interval": "15s", |
| 45 | "timeout": "1s" |
| 46 | } |
| 47 | ] |
| 48 | } |
| 49 | } |