X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fcommon%2Frapp_catalogue_api_functions.sh;h=537bc0c2c326358f6c56919dd1e0fdda4657c5ce;hb=6fc58fd020514c2afce1fc240828bf23f53d8fb6;hp=52416d34be94312eb10bb01d731033ad0e2581c2;hpb=036962c60e1cfa18a689dffa1a8b92d335e6063e;p=nonrtric.git diff --git a/test/common/rapp_catalogue_api_functions.sh b/test/common/rapp_catalogue_api_functions.sh index 52416d34..537bc0c2 100644 --- a/test/common/rapp_catalogue_api_functions.sh +++ b/test/common/rapp_catalogue_api_functions.sh @@ -84,6 +84,18 @@ __RC_initial_setup() { use_rapp_catalogue_http } +# Set app short-name, app name and namespace for logging runtime statistics of kubernets pods or docker containers +# For docker, the namespace shall be excluded +# This function is called for apps managed by the test script as well as for prestarted apps. +# args: - +__RC_statisics_setup() { + if [ $RUNMODE == "KUBE" ]; then + echo "RC $RAPP_CAT_APP_NAME $KUBE_NONRTRIC_NAMESPACE" + else + echo "RC $RAPP_CAT_APP_NAME" + fi +} + ####################################################### # Set http as the protocol to use for all communication to the Rapp catalogue