From bad41756c627c14cc63ba1ec5c0eafcd801b7e6c Mon Sep 17 00:00:00 2001 From: Guangrong Fu Date: Thu, 2 Dec 2021 20:05:22 +0800 Subject: Fixed some bugs Issue-ID: HOLMES-488 Signed-off-by: Guangrong Fu Change-Id: Iba20c7f3ab9bffe75169ee16b38629290df1211f --- engine-d-standalone/src/main/assembly/bin/run.sh | 10 ++++------ pom.xml | 2 +- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/engine-d-standalone/src/main/assembly/bin/run.sh b/engine-d-standalone/src/main/assembly/bin/run.sh index e5a09df..55f58dd 100644 --- a/engine-d-standalone/src/main/assembly/bin/run.sh +++ b/engine-d-standalone/src/main/assembly/bin/run.sh @@ -59,12 +59,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}:9102 - else - export HOSTNAME=${SERVICE_IP}:9102 - fi +if [ ! -z ${HOST_IP} ]; then + export HOSTNAME=${HOST_IP}:9102 +else + export HOSTNAME=${SERVICE_IP}:9102 fi export DB_PORT=5432 diff --git a/pom.xml b/pom.xml index fa6b755..34a7194 100644 --- a/pom.xml +++ b/pom.xml @@ -168,7 +168,7 @@ org.onap.holmes.common holmes-actions - 1.3.7 + 1.3.8 io.dropwizard -- cgit 1.2.3-korg