X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fcommon%2Fgateway_api_functions.sh;h=d8f1707bacbd5e467ed16163773757abfff4b3df;hb=afe34e22e0be919b8e054826c23c551b4e493f79;hp=ee617ef31a2649ec5410278640a1fb9ecec14459;hpb=6f48adb69090799c74c29204dd2cd1737cc9d6ac;p=nonrtric.git diff --git a/test/common/gateway_api_functions.sh b/test/common/gateway_api_functions.sh index ee617ef3..d8f1707b 100644 --- a/test/common/gateway_api_functions.sh +++ b/test/common/gateway_api_functions.sh @@ -92,6 +92,18 @@ __NGW_initial_setup() { use_gateway_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: - +__NGW_statisics_setup() { + if [ $RUNMODE == "KUBE" ]; then + echo "NGW $NRT_GATEWAY_APP_NAME $KUBE_NONRTRIC_NAMESPACE" + else + echo "NGW $NRT_GATEWAY_APP_NAME" + fi +} + #######################################################