X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fcommon%2Fngw_api_functions.sh;h=bb37799bad828a35e0ee449393c7b4ab7a295a0a;hb=1b732d17463fad74721391b3a87a2a12172da63c;hp=d8f1707bacbd5e467ed16163773757abfff4b3df;hpb=98ce5dc75fc222dadaf26a8a148788b0367bf6ca;p=nonrtric.git diff --git a/test/common/ngw_api_functions.sh b/test/common/ngw_api_functions.sh index d8f1707b..bb37799b 100644 --- a/test/common/ngw_api_functions.sh +++ b/test/common/ngw_api_functions.sh @@ -104,6 +104,12 @@ __NGW_statisics_setup() { fi } +# Check application requirements, e.g. helm, the the test needs. Exit 1 if req not satisfied +# args: - +__NGW_test_requirements() { + : +} + ####################################################### @@ -128,7 +134,7 @@ use_gateway_https() { # args: __gateway_set_protocoll() { echo -e $BOLD"$NRT_GATEWAY_DISPLAY_NAME protocol setting"$EBOLD - echo -e " Using $BOLD http $EBOLD towards $NRT_GATEWAY_DISPLAY_NAME" + echo -e " Using $BOLD $1 $EBOLD towards $NRT_GATEWAY_DISPLAY_NAME" ## Access to nonrtric gateway @@ -199,12 +205,12 @@ __gateway_export_vars() { if [ $RUNMODE == "KUBE" ]; then export POLICY_AGENT_EXTERNAL_SECURE_PORT - export ECS_EXTERNAL_SECURE_PORT + export ICS_EXTERNAL_SECURE_PORT export POLICY_AGENT_DOMAIN_NAME=$POLICY_AGENT_APP_NAME.$KUBE_NONRTRIC_NAMESPACE - export ECS_DOMAIN_NAME=$ECS_APP_NAME.$KUBE_NONRTRIC_NAMESPACE + export ICS_DOMAIN_NAME=$ICS_APP_NAME.$KUBE_NONRTRIC_NAMESPACE else export POLICY_AGENT_DOMAIN_NAME=$POLICY_AGENT_APP_NAME - export ECS_DOMAIN_NAME=$ECS_APP_NAME + export ICS_DOMAIN_NAME=$ICS_APP_NAME fi } @@ -319,11 +325,11 @@ gateway_pms_get_status() { return 0 } -# API Test function: GET /ei-producer/v1/eitypes towards ECS +# API Test function: GET /ei-producer/v1/eitypes towards ICS # Note: This is just to test service response # args: # (Function for test scripts) -gateway_ecs_get_types() { +gateway_ics_get_types() { __log_test_start $@ if [ $# -ne 1 ]; then __print_err "" $@