+#!/bin/bash
+
#
# Copyright 2017 ZTE Corporation.
#
export SERVICE_IP=`hostname -i`
echo SERVICE_IP=${SERVICE_IP}
+if [ ${TESTING}==1 ]; then
+ export HOSTNAME=${SERVICE_IP}:9102
+fi
+
#ActiveMQ IP Configurations
sed -i "s|brokerIp:.*|brokerIp: $SERVICE_IP|" "$main_path/conf/engine-d.yml"