diff options
-rw-r--r-- | pom.xml | 2 | ||||
-rw-r--r-- | rulemgt-standalone/src/main/assembly/bin/run.sh | 10 |
2 files changed, 5 insertions, 7 deletions
@@ -130,7 +130,7 @@ <dependency> <groupId>org.onap.holmes.common</groupId> <artifactId>holmes-actions</artifactId> - <version>1.3.7</version> + <version>1.3.8</version> <exclusions> <exclusion> <groupId>org.glassfish.jersey.containers</groupId> diff --git a/rulemgt-standalone/src/main/assembly/bin/run.sh b/rulemgt-standalone/src/main/assembly/bin/run.sh index d1b80ab..1db65ca 100644 --- a/rulemgt-standalone/src/main/assembly/bin/run.sh +++ b/rulemgt-standalone/src/main/assembly/bin/run.sh @@ -60,12 +60,10 @@ fi export SERVICE_IP=`hostname -i | awk '{print $1}'` echo SERVICE_IP=${SERVICE_IP} -if [ ! -z ${TESTING} ] && [ ${TESTING} = 1 ]; then - if [ ! -z ${HOST_IP} ]; then - export HOSTNAME=${HOST_IP}:9101 - else - export HOSTNAME=${SERVICE_IP}:9101 - fi +if [ ! -z ${HOST_IP} ]; then + export HOSTNAME=${HOST_IP}:9101 +else + export HOSTNAME=${SERVICE_IP}:9101 fi export DB_PORT=5432 |