X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fcommon%2Fecs_api_functions.sh;h=b28c061c43853bf0a9ee462d12c3b8f8a58dcfd0;hb=afe34e22e0be919b8e054826c23c551b4e493f79;hp=2b434f192b7a3a2e2c63f7c84c45bd024a34ee70;hpb=6f48adb69090799c74c29204dd2cd1737cc9d6ac;p=nonrtric.git diff --git a/test/common/ecs_api_functions.sh b/test/common/ecs_api_functions.sh index 2b434f19..b28c061c 100644 --- a/test/common/ecs_api_functions.sh +++ b/test/common/ecs_api_functions.sh @@ -91,6 +91,18 @@ __ECS_initial_setup() { use_ecs_rest_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: - +__ECS_statisics_setup() { + if [ $RUNMODE == "KUBE" ]; then + echo "ECS $ECS_APP_NAME $KUBE_NONRTRIC_NAMESPACE" + else + echo "ECS $ECS_APP_NAME" + fi +} + #######################################################