X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fcommon%2Fdmaapmed_api_functions.sh;h=5188a454a9bf2386aef04a7b02d85bf2a1657d0a;hb=afe34e22e0be919b8e054826c23c551b4e493f79;hp=16e1ad70195f988794a62f0064c63e737cfffdd5;hpb=6f48adb69090799c74c29204dd2cd1737cc9d6ac;p=nonrtric.git diff --git a/test/common/dmaapmed_api_functions.sh b/test/common/dmaapmed_api_functions.sh index 16e1ad70..5188a454 100644 --- a/test/common/dmaapmed_api_functions.sh +++ b/test/common/dmaapmed_api_functions.sh @@ -92,6 +92,18 @@ __DMAAPMED_initial_setup() { use_dmaapmed_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: - +__DMAAPMED_statisics_setup() { + if [ $RUNMODE == "KUBE" ]; then + echo "DMAAPMED $DMAAP_MED_APP_NAME $KUBE_NONRTRIC_NAMESPACE" + else + echo "DMAAPMED $DMAAP_MED_APP_NAME" + fi +} + ####################################################### # Set http as the protocol to use for all communication to the Dmaap mediator