From 5c5b9d9c60467d6f2d2c6a99d111045b8aea94f1 Mon Sep 17 00:00:00 2001 From: pceicicd Date: Mon, 25 Sep 2023 22:57:38 +0000 Subject: [PATCH] get the version number from config.json instead of hard coding it Change-Id: Ibd7c9a8a4d50f5ef6b2708347d44e865f7aa9aa3 Signed-off-by: pceicicd --- XTesting/xapp/deploy.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/XTesting/xapp/deploy.sh b/XTesting/xapp/deploy.sh index 2da0d59..b85dfc8 100644 --- a/XTesting/xapp/deploy.sh +++ b/XTesting/xapp/deploy.sh @@ -50,5 +50,6 @@ cd ../../../.. # use dms_cli to install the kpimon-go xApp git clone "https://gerrit.o-ran-sc.org/r/ric-app/kpimon-go" cd kpimon-go/deploy/ +export XAPP_VERSION=`grep version config.json | cut -f2 -d: | cut -f2 -d\"` dms_cli onboard config.json schema.json -dms_cli install kpimon-go 2.0.1 ricxapp +dms_cli install kpimon-go ${XAPP_VERSION} ricxapp -- 2.16.6