response=$(curl -X POST -H"Content-Type: application/json"-d"{\"namespace\":\"$NAMESPACE\"}""http://eos.quantgroups.com/api/etcd/init_env_rabbitmq_config")
echo"init rabbit with eos server"
# echo "get definitions from 172.16.1.231"
# response=$(curl -X GET -H "Authorization: Basic cmFiYml0X2FkbWluOmFiYzEyMzQ=" "http://172.16.1.231:15672/api/definitions")
response=$(curl -X POST -H"Content-Type: application/json"-d"{\"namespace\":\"$NAMESPACE\"}""http://eos.quantgroups.com/api/etcd/init_env_rabbitmq_config")
echo$response
else
else
echo"rabbitmq is not running!!! Do not execution sync job"