From 942ce2677d26169697f75f136e2b6f4c0e6ab147 Mon Sep 17 00:00:00 2001 From: Guangrong Fu Date: Thu, 2 Dec 2021 20:04:47 +0800 Subject: Fixed some bugs Issue-ID: HOLMES-488 Signed-off-by: Guangrong Fu Change-Id: I7c1e848d3ee8225e8240da7528c8410fe9ad7efe --- pom.xml | 2 +- rulemgt-standalone/src/main/assembly/bin/run.sh | 10 ++++------ 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/pom.xml b/pom.xml index b3d917c..9655fcc 100644 --- a/pom.xml +++ b/pom.xml @@ -130,7 +130,7 @@ org.onap.holmes.common holmes-actions - 1.3.7 + 1.3.8 org.glassfish.jersey.containers 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 -- cgit 1.2.3-korg