Get service information via DCAE CBS
Change-Id: Iba5fc4dd52553e7da909adf50ed9d40e04adc5bc
Issue-ID: HOLMES-45
Signed-off-by: Guangrong Fu <fu.guangrong@zte.com.cn>
export SERVICE_IP=`hostname -i`
echo SERVICE_IP=${SERVICE_IP}
export SERVICE_IP=`hostname -i`
echo SERVICE_IP=${SERVICE_IP}
+if [ ${TESTING} == 1 ]
+ export HOSTNAME=${SERVICE_IP}:9102
+fi
+
#ActiveMQ IP Configurations
sed -i "s|brokerIp:.*|brokerIp: $SERVICE_IP|" "$main_path/conf/engine-d.yml"
#ActiveMQ IP Configurations
sed -i "s|brokerIp:.*|brokerIp: $SERVICE_IP|" "$main_path/conf/engine-d.yml"