aboutsummaryrefslogtreecommitdiffstats
path: root/csit/apex-pdp/plans/setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'csit/apex-pdp/plans/setup.sh')
-rw-r--r--csit/apex-pdp/plans/setup.sh11
1 files changed, 7 insertions, 4 deletions
diff --git a/csit/apex-pdp/plans/setup.sh b/csit/apex-pdp/plans/setup.sh
index 7876e90d..2bde0eae 100644
--- a/csit/apex-pdp/plans/setup.sh
+++ b/csit/apex-pdp/plans/setup.sh
@@ -2,9 +2,9 @@
# ============LICENSE_START=======================================================
# Copyright (C) 2018 Ericsson. All rights reserved.
#
-# Modifications copyright (c) 2019 Nordix Foundation.
+# Modifications copyright (c) 2019, 2021 Nordix Foundation.
# Modifications Copyright (C) 2020-2021 AT&T Intellectual Property.
-# Modification Copyright 2021. Nordix Foundation.
+# Modifications Copyright (C) 2021 Bell Canada. All rights reserved.
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -39,18 +39,21 @@ POLICY_API_IP=`get-instance-ip.sh policy-api`
POLICY_PAP_IP=`get-instance-ip.sh policy-pap`
MARIADB_IP=`get-instance-ip.sh mariadb`
APEX_IP=`get-instance-ip.sh policy-apex-pdp`
-DMAAP_IP=`get-instance-ip.sh simulator`
+SIM_IP=`get-instance-ip.sh simulator`
+export SIM_IP
echo PAP IP IS ${POLICY_PAP_IP}
echo MARIADB IP IS ${MARIADB_IP}
echo API IP IS ${POLICY_API_IP}
echo APEX IP IS ${APEX_IP}
-echo DMAAP_IP IS ${DMAAP_IP}
+echo DMAAP_IP IS ${SIM_IP}
# wait for the app to start up
${SCRIPTS}/wait_for_port.sh ${APEX_IP} 6969
ROBOT_VARIABLES=""
+ROBOT_VARIABLES="${ROBOT_VARIABLES} -v SCRIPTS:${SCRIPTS}"
ROBOT_VARIABLES="${ROBOT_VARIABLES} -v APEX_IP:${APEX_IP}"
ROBOT_VARIABLES="${ROBOT_VARIABLES} -v POLICY_API_IP:${POLICY_API_IP}"
ROBOT_VARIABLES="${ROBOT_VARIABLES} -v POLICY_PAP_IP:${POLICY_PAP_IP}"
+ROBOT_VARIABLES="${ROBOT_VARIABLES} -v DMAAP_IP:${SIM_IP}"