X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fauto-test%2FFTC850.sh;h=d6cc0013236e524cf36c4b82a40a1384d77571e5;hb=bf3700b1064ec3526af205cab454bd1964ce8650;hp=32e450f2f111fe4d0072b18a2197a068403616bf;hpb=8d10bf1fee8093ec4c2a3d3530fded002daf83b6;p=nonrtric.git diff --git a/test/auto-test/FTC850.sh b/test/auto-test/FTC850.sh index 32e450f2..d6cc0013 100755 --- a/test/auto-test/FTC850.sh +++ b/test/auto-test/FTC850.sh @@ -20,7 +20,7 @@ TC_ONELINE_DESCR="Create/delete policies in parallel over a number of ric using a number of child process" #App names to exclude checking pulling images for, space separated list -EXCLUDED_IMAGES="SDNC_ONAP" +EXCLUDED_IMAGES="ECS" . ../common/testcase_common.sh $@ . ../common/agent_api_functions.sh @@ -30,8 +30,6 @@ EXCLUDED_IMAGES="SDNC_ONAP" #Local vars in test script ########################## -# Path to callback receiver -CR_PATH="http://$CR_APP_NAME:$CR_EXTERNAL_PORT/callbacks" # Tested variants of REST/DMAAP/SDNC config TESTED_VARIANTS="REST REST+SDNC" @@ -53,20 +51,29 @@ for __httpx in $TESTED_PROTOCOLS ; do echo "#####################################################################" echo "#####################################################################" - - # Clean container and start all needed containers # - clean_containers - if [ $__httpx == "HTTPS" ]; then - echo "Using secure ports towards simulators and sdnc" + CR_PATH="https://$CR_APP_NAME:$CR_EXTERNAL_SECURE_PORT/callbacks" + use_cr_https use_simulator_https - use_sdnc_https + use_mr_https + if [[ $interface = *"SDNC"* ]]; then + use_sdnc_https + fi + use_agent_rest_https else - echo "Using non-secure ports towards simulators and sdnc" + CR_PATH="http://$CR_APP_NAME:$CR_EXTERNAL_PORT/callbacks" + use_cr_http use_simulator_http - use_sdnc_http + use_mr_http + if [[ $interface = *"SDNC"* ]]; then + use_sdnc_http + fi + use_agent_rest_http fi + # Clean container and start all needed containers # + clean_containers + start_ric_simulators ricsim_g1 $NUM_RICS OSC_2.1.0 start_consul_cbs @@ -88,14 +95,6 @@ for __httpx in $TESTED_PROTOCOLS ; do set_agent_debug - if [ $__httpx == "HTTPS" ]; then - echo "Using secure ports towards the agent" - use_agent_rest_https - else - echo "Using non-secure ports towards the agent" - use_agent_rest_http - fi - api_get_status 200 for ((i=1; i<=$NUM_RICS; i++))