aboutsummaryrefslogtreecommitdiffstats
path: root/csit/plans/default/setup.sh
diff options
context:
space:
mode:
authorToine Siebelink <toine.siebelink@est.tech>2021-07-15 07:40:15 +0000
committerGerrit Code Review <gerrit@onap.org>2021-07-15 07:40:15 +0000
commitb0c2031e8d546336685c84cfccef8d515144dfc6 (patch)
treef17c7fc5e9c35c554c879c2343a29b038ef95061 /csit/plans/default/setup.sh
parentd9fe3582c963209a2841b2ec2ca0e5cfe17ea887 (diff)
parentb46d137c04a78f62d097f680e016558b815bd915 (diff)
Merge "Expose Prometheus metrics for monitoring"
Diffstat (limited to 'csit/plans/default/setup.sh')
-rwxr-xr-xcsit/plans/default/setup.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/csit/plans/default/setup.sh b/csit/plans/default/setup.sh
index 4d5d1c85c4..cf29b53ac5 100755
--- a/csit/plans/default/setup.sh
+++ b/csit/plans/default/setup.sh
@@ -17,6 +17,7 @@
# Modifications copyright (c) 2017 AT&T Intellectual Property
# Modifications copyright (c) 2020-2021 Samsung Electronics Co., Ltd.
# Modifications Copyright (C) 2021 Pantheon.tech
+# Modifications Copyright (C) 2021 Bell Canada.
#
# Branched from ccsdk/distribution to this repository Feb 23, 2021
#
@@ -66,8 +67,11 @@ if [ "$TIME" -gt "$TIME_OUT" ]; then
fi
# The CPS host according to docker-compose.yml
-CPS_HOST="http://localhost:8883"
+CPS_HOST="localhost"
+CPS_PORT="8883"
+
+MANAGEMENT_PORT="8887"
# Pass variables required for Robot test suites in ROBOT_VARIABLES
-ROBOT_VARIABLES="-v CPS_HOST:$CPS_HOST -v DATADIR:$WORKSPACE/data"
+ROBOT_VARIABLES="-v CPS_HOST:$CPS_HOST -v CPS_PORT:$CPS_PORT -v MANAGEMENT_PORT:$MANAGEMENT_PORT -v DATADIR:$WORKSPACE/data"