Merge "[DMAAP] DMaaP ServiceMesh compatibility"
[oom.git] / kubernetes / consul / resources / config / consul-agent-config / vid-health.json
1 {
2   "service": {
3     "name": "Health Check: VID",
4     "checks": [
5       {
6         "id": "vid-server",
7         "name": "VID Server Health Check",
8         "http": "http://vid:8080/vid/healthCheck",
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",
23           "script": "/consul/scripts/vid-mariadb-script.sh",
24           "interval": "10s",
25           "timeout": "1s"
26       }
27     ]
28   }
29 }