summaryrefslogtreecommitdiffstats
path: root/csit/plans/default/setup.sh
diff options
context:
space:
mode:
authorputhuparambil.aditya <aditya.puthuparambil@bell.ca>2021-07-09 12:51:10 +0100
committerputhuparambil.aditya <aditya.puthuparambil@bell.ca>2021-07-14 15:54:48 +0100
commitb46d137c04a78f62d097f680e016558b815bd915 (patch)
treed20f0ca020ff6f49ad518ac0539b8143cbf14afd /csit/plans/default/setup.sh
parent0190d0246ab18311fe12cdebb808d9f6e4b131c1 (diff)
Expose Prometheus metrics for monitoring
Issue-ID: CPS-492 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: I264066bd543daf2a45f2ec9a6b8cdf8012927828
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"