Merge "Added tests and improvements"
[nonrtric.git] / test / common / gateway_api_functions.sh
index ee617ef..d8f1707 100644 (file)
@@ -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
+}
+
 #######################################################