summaryrefslogtreecommitdiffstats
path: root/scripts/dmaap-buscontroller
diff options
context:
space:
mode:
authorpkaras <piotr.karas@nokia.com>2019-04-02 08:45:29 +0200
committerpkaras <piotr.karas@nokia.com>2019-04-02 08:45:29 +0200
commit4cb0ffb3b9fb22b0b3773d9663908c3cbf0ed568 (patch)
treef99f32340255c4021a236e8cc074742f40d333df /scripts/dmaap-buscontroller
parent0937239c445e93e7ceabd27bcef313e0acfcd59b (diff)
fix for proxy setup
Change-Id: Ia0cdc93b30dc8fff08542a1884d72e06cc7f633a Issue-ID: DMAAP-1141 Signed-off-by: piotr.karas <piotr.karas@nokia.com>
Diffstat (limited to 'scripts/dmaap-buscontroller')
-rwxr-xr-xscripts/dmaap-buscontroller/dmaapbc-launch.sh3
-rwxr-xr-xscripts/dmaap-buscontroller/start-mock.sh3
2 files changed, 6 insertions, 0 deletions
diff --git a/scripts/dmaap-buscontroller/dmaapbc-launch.sh b/scripts/dmaap-buscontroller/dmaapbc-launch.sh
index 079b6644..0a653fa1 100755
--- a/scripts/dmaap-buscontroller/dmaapbc-launch.sh
+++ b/scripts/dmaap-buscontroller/dmaapbc-launch.sh
@@ -24,6 +24,9 @@ function dmaapbc_launch() {
docker run -d $ADDHOSTS --name $CONTAINER_NAME -v $TMP_CFG:/opt/app/config/conf $TAG
IP=`get-instance-ip.sh ${CONTAINER_NAME}`
+ source ${SCRIPTS}/common_functions.sh
+ bypass_ip_adress ${IP}
+
# Wait for initialization
for i in {1..10}; do
curl -sS ${IP}:8080 && break
diff --git a/scripts/dmaap-buscontroller/start-mock.sh b/scripts/dmaap-buscontroller/start-mock.sh
index d50125a4..cd986061 100755
--- a/scripts/dmaap-buscontroller/start-mock.sh
+++ b/scripts/dmaap-buscontroller/start-mock.sh
@@ -31,6 +31,9 @@ function start_mock() {
docker run --name ${app}-mock -d jamesdbloom/mockserver /opt/mockserver/run_mockserver.sh -logLevel INFO -serverPort ${port} -proxyPort 1090
IP=`get-instance-ip.sh ${app}-mock`
+ source ${SCRIPTS}/common_functions.sh
+ bypass_ip_adress ${IP}
+
# Wait for initialization
for i in {1..10}; do
curl -sS ${IP}:${port} && break