Change the defaut username and password for MQ topics
Change-Id: I244a8229a4cacae439975a3245da3625639408fa
Issue-ID: HOLMES-43
Signed-off-by: Guangrong Fu <fu.guangrong@zte.com.cn>
class_path="$main_path/:$main_path/holmes-engine-d.jar"
echo @class_path@ $class_path
+sed -i "s/activemq.username=.*/activemq.username=activemq/" /home/activemq/apache-activemq-5.9.0/conf/credentials.properties
+sed -i "s/activemq.password=.*/activemq.password=v1/" /home/activemq/apache-activemq-5.9.0/conf/credentials.properties
/home/activemq/apache-activemq-5.9.0/bin/activemq start
sed -i "s|url:.*|url: jdbc:mysql://$URL_JDBC/holmes|" "$main_path/conf/engine-d.yml"