Code Review
/
ric-app
/
mc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Added support for publishing metrics using RMR and new descriptor file format
[ric-app/mc.git]
/
mc-core
/
container_start.sh
diff --git
a/mc-core/container_start.sh
b/mc-core/container_start.sh
index
1d4d271
..
a2195ea
100755
(executable)
--- a/
mc-core/container_start.sh
+++ b/
mc-core/container_start.sh
@@
-42,6
+42,7
@@
set -e
SIMULATOR_MODE=`python /mc/extract_params.py ${XAPP_DESCRIPTOR_PATH}/config-file.json simulator_mode`
set -e
SIMULATOR_MODE=`python /mc/extract_params.py ${XAPP_DESCRIPTOR_PATH}/config-file.json simulator_mode`
+RMR_PORT=`python /mc/extract_rmr_port.py ${XAPP_DESCRIPTOR_PATH}/config-file.json rmr_data_in`
if [ "$SIMULATOR_MODE" != "true" ]
then
if [ "$SIMULATOR_MODE" != "true" ]
then
@@
-49,7
+50,12
@@
then
(
cd /playpen
(
cd /playpen
- bin/mc_listener
+ if [ "$RMR_PORT" != "" ]
+ then
+ bin/mc_listener -p $RMR_PORT
+ else
+ bin/mc_listener
+ fi
)
echo "listener was started" >&2
)
echo "listener was started" >&2