blob: 0817a19cf0c651cec97c4eb3d3726746ed1466b2 [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",
Priyanka Jainc07e1d12018-05-03 12:52:04 +00008 "http": "http://aai-elasticsearch:9200/_cat/indices?v",
jasmineWen85d9d732018-03-06 16:13:35 +00009 "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",
Priyanka Jainc07e1d12018-05-03 12:52:04 +000021 "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:9509/services/search-data-service/v1/jaxrsExample/jaxrs-services/echo/up 2>&1 | grep 'Up'",
jasmineWen85d9d732018-03-06 16:13:35 +000022 "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}