summaryrefslogtreecommitdiffstats
path: root/engine-d-standalone/src/main/assembly/bin/run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'engine-d-standalone/src/main/assembly/bin/run.sh')
-rw-r--r--engine-d-standalone/src/main/assembly/bin/run.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/engine-d-standalone/src/main/assembly/bin/run.sh b/engine-d-standalone/src/main/assembly/bin/run.sh
index a1aa671..7a2a120 100644
--- a/engine-d-standalone/src/main/assembly/bin/run.sh
+++ b/engine-d-standalone/src/main/assembly/bin/run.sh
@@ -31,5 +31,10 @@ echo @JAVA_OPTS@ $JAVA_OPTS
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"