TW-0630: Remove the externalHost and InternalHost variables.

They will get defaulted to the podIP/name
This commit is contained in:
Rahul Sharma
2020-06-25 10:49:56 -04:00
parent cd15177511
commit fa7e85de3f

View File

@@ -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"