X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fcommon%2Fauthsidecar_api_functions.sh;h=79755627825761518305254eab1790c4fa1b8522;hb=46f5295920d6e1909dedc056f5169c14a70f528d;hp=594aa31c717b74ff0fb6f89369f08164ce23254f;hpb=844931b62f35ce6ee2d9dc7274573fc54e14407a;p=nonrtric.git diff --git a/test/common/authsidecar_api_functions.sh b/test/common/authsidecar_api_functions.sh index 594aa31c..79755627 100644 --- a/test/common/authsidecar_api_functions.sh +++ b/test/common/authsidecar_api_functions.sh @@ -26,7 +26,7 @@ # arg: (selects staging, snapshot, release etc) # is present only for images with staging, snapshot,release tags __AUTHSIDECAR_imagesetup() { - __check_and_create_image_var AUTHSIDECAR "AUTHSIDECAR_IMAGE" "AUTHSIDECAR_IMAGE_BASE" "AUTHSIDECAR_IMAGE_TAG" $1 "$AUTHSIDECAR_DISPLAY_NAME" + __check_and_create_image_var AUTHSIDECAR "AUTHSIDECAR_IMAGE" "AUTHSIDECAR_IMAGE_BASE" "AUTHSIDECAR_IMAGE_TAG" $1 "$AUTHSIDECAR_DISPLAY_NAME" "" } # Pull image from remote repo or use locally built image @@ -63,12 +63,12 @@ __AUTHSIDECAR_kube_scale_zero() { } # Scale kubernetes resources to zero and wait until this has been accomplished, if relevant. If not relevant to scale, then do no action. -# This function is called for prestarted apps not managed by the test script. +# This function is called for pre-started apps not managed by the test script. __AUTHSIDECAR_kube_scale_zero_and_wait() { : } -# Delete all kube resouces for the app +# Delete all kube resources for the app # This function is called for apps managed by the test script. __AUTHSIDECAR_kube_delete_all() { : @@ -76,7 +76,7 @@ __AUTHSIDECAR_kube_delete_all() { # Store docker logs # This function is called for apps managed by the test script. -# args: +# args: __AUTHSIDECAR_store_docker_logs() { if [ $RUNMODE == "KUBE" ]; then kubectl $KUBECONF logs -l "autotest=AUTHSIDECAR" -A --tail=-1 > $1$2_authsidecar.log 2>&1 @@ -90,11 +90,11 @@ __AUTHSIDECAR_initial_setup() { : } -# Set app short-name, app name and namespace for logging runtime statistics of kubernets pods or docker containers +# Set app short-name, app name and namespace for logging runtime statistics of kubernetes 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. +# This function is called for apps managed by the test script as well as for pre-started apps. # args: - -__AUTHSIDECAR_statisics_setup() { +__AUTHSIDECAR_statistics_setup() { echo "" } @@ -106,4 +106,4 @@ __AUTHSIDECAR_test_requirements() { ####################################################### -# This app is intended as a sidecard container - no specific test functions \ No newline at end of file +# This app is intended as a sidecar container - no specific test functions \ No newline at end of file