Merge "Add schemas for input events of ODU slice assurance usecase"
[nonrtric.git] / test / common / ecs_api_functions.sh
index 2b434f1..b28c061 100644 (file)
@@ -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
+}
+
 #######################################################