Code Review
/
holmes
/
rule-management.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Integrate Holmes with DCAE
[holmes/rule-management.git]
/
rulemgt-standalone
/
src
/
main
/
assembly
/
bin
/
run.sh
diff --git
a/rulemgt-standalone/src/main/assembly/bin/run.sh
b/rulemgt-standalone/src/main/assembly/bin/run.sh
index
2142059
..
3779e31
100644
(file)
--- a/
rulemgt-standalone/src/main/assembly/bin/run.sh
+++ b/
rulemgt-standalone/src/main/assembly/bin/run.sh
@@
-37,6
+37,10
@@
sed -i "s|msbServerAddr:.*|msbServerAddr: http://$MSB_ADDR|" "$main_path/conf/ru
export SERVICE_IP=`hostname -i`
echo SERVICE_IP=${SERVICE_IP}
+if [ ${TESTING} == 1 ]
+ export HOSTNAME=${SERVICE_IP}:9101
+fi
+
./bin/initDB.sh holmes holmespwd 5432 "${URL_JDBC%:*}"