X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fcommon%2Fhttp_proxy_api_functions.sh;h=3378a1dd63e4d755a8a8152871f32a5b71e95f98;hb=afe34e22e0be919b8e054826c23c551b4e493f79;hp=56ce6d43412f464cd9e3808f7239bed40ac6ff30;hpb=663566c28930429775ea9921f0e32ddf5253da28;p=nonrtric.git diff --git a/test/common/http_proxy_api_functions.sh b/test/common/http_proxy_api_functions.sh index 56ce6d43..3378a1dd 100644 --- a/test/common/http_proxy_api_functions.sh +++ b/test/common/http_proxy_api_functions.sh @@ -106,6 +106,18 @@ __HTTPPROXY_initial_setup() { : } +# 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: - +__HTTPPROXY_statisics_setup() { + if [ $RUNMODE == "KUBE" ]; then + echo "HTTPPROXY $HTTP_PROXY_APP_NAME $KUBE_SIM_NAMESPACE" + else + echo "HTTPPROXY $HTTP_PROXY_APP_NAME" + fi +} + #######################################################