namespace adaptation
Change-Id: Id8441fa1a9984e73d8c3a9ab75713ee0ca493008
Signed-off-by: rangajal <ranjit.angajala@nokia.com>
diff --git a/build/run_local.sh b/build/run_local.sh
index 24fdd1a..55cc162 100755
--- a/build/run_local.sh
+++ b/build/run_local.sh
@@ -23,7 +23,12 @@
# Date: 10 March 2020
#
export RMR_SEED_RT=$PWD/config/uta_rtg.rt
-export RMR_SRC_ID="service-ricplt-alarmmanager-rmr.ricplt"
+namespace=$(env | grep PLT_NAMESPACE | grep -oe '[^=]*$')
+if [ -z "$namespace" ]
+then
+ namespace="ricplt"
+fi
+export RMR_SRC_ID="service-"$namespace"-alarmmanager-rmr."$namespace
export DEF_FILE=$PWD/definitions/alarm-definition.json
export PERF_DEF_FILE=$PWD/testresources/perf-alarm-definition.json
export PERF_OBJ_FILE=$PWD/testresources/perf-alarm-object.json