X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fcommon%2Fdmaapadp_api_functions.sh;h=9b7571f36ee15649a45b90969978d5260fa4994b;hb=6fc58fd020514c2afce1fc240828bf23f53d8fb6;hp=26da2d08aa0568c083083d808c5de4079c12c6cc;hpb=663566c28930429775ea9921f0e32ddf5253da28;p=nonrtric.git diff --git a/test/common/dmaapadp_api_functions.sh b/test/common/dmaapadp_api_functions.sh index 26da2d08..9b7571f3 100644 --- a/test/common/dmaapadp_api_functions.sh +++ b/test/common/dmaapadp_api_functions.sh @@ -92,6 +92,18 @@ __DMAAPADP_initial_setup() { use_dmaapadp_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: - +__DMAAPADP_statisics_setup() { + if [ $RUNMODE == "KUBE" ]; then + echo "DMAAPADP $DMAAP_ADP_APP_NAME $KUBE_NONRTRIC_NAMESPACE" + else + echo "DMAAPADP $DMAAP_ADP_APP_NAME" + fi +} + ####################################################### # Set http as the protocol to use for all communication to the Dmaap adapter