Add DB information before starting the service
Change-Id: I3b289719e2c9a7124e03b14a272ce583ef6de55a
Issue-ID: HOLMES-39
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|url:.*|url: jdbc:mysql://$URL_JDBC/holmes|" "$main_path/conf/engine-d.yml"
+
+#ActiveMQ IP Configurtion
+#sed -i "s|brokerIp:.*|brokerIp: $BROKER_IP|" "$main_path/conf/engine-d.yml"
+
"$JAVA" $JAVA_OPTS -classpath "$class_path" org.onap.holmes.engine.EngineDActiveApp server "$main_path/conf/engine-d.yml"