diff options
author | tang peng <tang.peng5@zte.com.cn> | 2017-09-18 00:22:34 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-09-18 00:22:34 +0000 |
commit | 23f77c744404f67cb59bcc838deef6ced7007ded (patch) | |
tree | ca306bbda5ff601118f46c7e3b4a828ee54b91e6 /rulemgt-standalone/src/main/assembly/bin | |
parent | 7679c72d932dd610931a3b82697d84c09cb2f1dd (diff) | |
parent | d436373af82f24d22ec1aecba24d3dd6adaec113 (diff) |
Merge "Integrate Holmes with DCAE"
Diffstat (limited to 'rulemgt-standalone/src/main/assembly/bin')
-rw-r--r-- | rulemgt-standalone/src/main/assembly/bin/run.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rulemgt-standalone/src/main/assembly/bin/run.sh b/rulemgt-standalone/src/main/assembly/bin/run.sh index 2142059..3779e31 100644 --- 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%:*}" |