mayankg2703 | c5a0235 | 2017-12-18 09:54:42 +0000 | [diff] [blame] | 1 | { |
| 2 | "service": { |
| 3 | "name": "Health Check: VID", |
| 4 | "checks": [ |
| 5 | { |
| 6 | "id": "vid-server", |
| 7 | "name": "VID Server Health Check", |
Priyanka Jain | c07e1d1 | 2018-05-03 12:52:04 +0000 | [diff] [blame] | 8 | "http": "http://vid:8080/vid/healthCheck", |
mayankg2703 | c5a0235 | 2017-12-18 09:54:42 +0000 | [diff] [blame] | 9 | "method": "GET", |
| 10 | "header": { |
| 11 | "Authorization": ["Basic YWRtaW46S3A4Yko0U1hzek0wV1hsaGFrM2VIbGNzZTJnQXc4NHZhb0dHbUp2VXkyVQ=="], |
| 12 | "Cache-Control": ["no-cache"], |
| 13 | "Content-Type": ["application/json"], |
| 14 | "Accept": ["application/json"] |
| 15 | }, |
| 16 | "tls_skip_verify": true, |
| 17 | "interval": "15s", |
| 18 | "timeout": "1s" |
| 19 | }, |
| 20 | { |
| 21 | "id": "vid-mariadb", |
| 22 | "name": "Vid Mariadb Health Check", |
jasmineWen | 85d9d73 | 2018-03-06 16:13:35 +0000 | [diff] [blame] | 23 | "script": "/consul/scripts/vid-mariadb-script.sh", |
mayankg2703 | c5a0235 | 2017-12-18 09:54:42 +0000 | [diff] [blame] | 24 | "interval": "10s", |
| 25 | "timeout": "1s" |
| 26 | } |
| 27 | ] |
| 28 | } |
| 29 | } |