blob: 2a111d66eb94246a14217e22a784a28a0cccdb0b [file] [log] [blame]
jasmineWen85d9d732018-03-06 16:13:35 +00001{
2 "service": {
3 "name": "A&AI Search Data Service",
4 "checks": [
5 {
6 "id": "elasticsearch",
7 "name": "Search Data Service Document Store",
8 "http": "http://aai-elasticsearch.{{ .Values.nsPrefix }}:9200/_cat/indices?v",
9 "interval": "15s",
10 "timeout": "1s"
11 },
12 {
13 "id": "elasticsearch-write-health",
14 "name": "Search Data Service Document Store Write Test",
15 "script": "/consul/scripts/aai-search-storage-write-script.sh",
16 "interval": "60s"
17 },
18 {
19 "id": "search-data-service-availability",
20 "name": "Search Data Service Availability",
21 "script": "curl -k --cert /consul/certs/client-cert-onap.crt.pem --cert-type PEM --key /consul/certs/client-cert-onap.key.pem --key-type PEM https://search-data-service.{{ .Values.nsPrefix }}:9509/services/search-data-service/v1/jaxrsExample/jaxrs-services/echo/up 2>&1 | grep 'Up'",
22 "interval": "15s"
23 },
24 {
25 "id": "search-data-service-api",
26 "name": "Search Data Service Operational Test",
27 "script": "/consul/scripts/search-data-service-availability.sh",
28 "interval": "15s",
29 "timeout": "1s"
30 }
31 ]
32 }
33}