blob: d6d8d4c03dcb67db2da6725bfcd3bf9a002e031c [file] [log] [blame]
mayankg2703c5a02352017-12-18 09:54:42 +00001{
2 "service": {
3 "name": "Health Check: VID",
4 "checks": [
5 {
6 "id": "vid-server",
7 "name": "VID Server Health Check",
Priyanka Jainc07e1d12018-05-03 12:52:04 +00008 "http": "http://vid:8080/vid/healthCheck",
mayankg2703c5a02352017-12-18 09:54:42 +00009 "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",
jasmineWen85d9d732018-03-06 16:13:35 +000023 "script": "/consul/scripts/vid-mariadb-script.sh",
mayankg2703c5a02352017-12-18 09:54:42 +000024 "interval": "10s",
25 "timeout": "1s"
26 }
27 ]
28 }
29}