blob: 832b25a23707c023036a99a9d1ff6c6a963063b8 [file] [log] [blame]
Michael Lando451a3402017-02-19 10:28:42 +02001#!/bin/bash
2
3curl localhost:9200/_cluster/health?pretty=true
4
5echo "BE health-Check:"
6curl http://localhost:8080/sdc2/rest/healthCheck
7
8echo ""
9echo ""
10echo "FE health-Check:"
11curl http://localhost:8181/sdc1/rest/healthCheck
12
13
14echo ""
15echo ""
16res=`curl -s -X GET -H "Accept: application/json" -H "Content-Type: application/json" -H "USER_ID: jh0003" "http://localhost:8080/sdc2/rest/v1/user/demo" | wc -l`
17if [[ ${res} != 0 ]]
18then
19 echo "Error [${res}] while user existance check"
20 exit ${res}
21fi
22echo "check user existance: OK"
ml636r0649e652017-02-20 21:10:54 +020023