From fa7e85de3fe04f400d6086a69dd84ada69d3d325 Mon Sep 17 00:00:00 2001 From: Rahul Sharma Date: Thu, 25 Jun 2020 10:49:56 -0400 Subject: [PATCH] TW-0630: Remove the externalHost and InternalHost variables. They will get defaulted to the podIP/name --- opensync-gateway-cloud-docker/src/main/docker/app/run.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/opensync-gateway-cloud-docker/src/main/docker/app/run.sh b/opensync-gateway-cloud-docker/src/main/docker/app/run.sh index f15c59d..6c51b75 100755 --- a/opensync-gateway-cloud-docker/src/main/docker/app/run.sh +++ b/opensync-gateway-cloud-docker/src/main/docker/app/run.sh @@ -38,13 +38,12 @@ RESTAPI_PROPS+=" -Dserver.port=443 -Dtip.wlan.secondaryPort=444" SPRING_EXTRA_PROPS=" --add-opens java.base/java.lang=ALL-UNNAMED" HOST_PROPS=" " +HOST_PROPS+=" -Dtip.wlan.introspectTokenApi.host=${OVSDB_MANAGER_HOST}:444" + if [[ -n $BACKEND_SERVER ]] then echo Use specifed local host - HOST_PROPS+=" -Dtip.wlan.externalHostName=$BACKEND_SERVER" - HOST_PROPS+=" -Dtip.wlan.internalHostName=$BACKEND_SERVER" - HOST_PROPS+=" -Dtip.wlan.introspectTokenApi.host=${BACKEND_SERVER}:444" - + HOST_URL=https://${BACKEND_SERVER}:9092 HOST_PROPS+=" -Dtip.wlan.cloudEventDispatcherBaseUrl=$HOST_URL" HOST_PROPS+=" -Dtip.wlan.statusServiceBaseUrl=$HOST_URL"