summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortang peng <tang.peng5@zte.com.cn>2021-12-02 12:10:56 +0000
committerGerrit Code Review <gerrit@onap.org>2021-12-02 12:10:56 +0000
commitce6bb949b7277479d85c6d36c19d126d7eb0ba67 (patch)
treeaf89a7c76cec230f6366c76e69ae9d033fb494dc
parentf20e60d194f99d8b675972eb1e27a0a454696ea9 (diff)
parentbad41756c627c14cc63ba1ec5c0eafcd801b7e6c (diff)
Merge "Fixed some bugs"
-rw-r--r--engine-d-standalone/src/main/assembly/bin/run.sh10
-rw-r--r--pom.xml2
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 @@
<dependency>
<groupId>org.onap.holmes.common</groupId>
<artifactId>holmes-actions</artifactId>
- <version>1.3.7</version>
+ <version>1.3.8</version>
<exclusions>
<exclusion>
<groupId>io.dropwizard</groupId>