X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=test%2Fauto-test%2FFTC850.sh;h=7391331b536639e6d0de1457175cba81a45d1ab6;hb=045a1503113be9e0ff6e0747c94d23e06ddb263f;hp=32e450f2f111fe4d0072b18a2197a068403616bf;hpb=ad0477833fe6a8270f274e17f73022a2d881f074;p=nonrtric.git diff --git a/test/auto-test/FTC850.sh b/test/auto-test/FTC850.sh index 32e450f2..7391331b 100755 --- a/test/auto-test/FTC850.sh +++ b/test/auto-test/FTC850.sh @@ -19,8 +19,8 @@ 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" +#App names to include in the test, space separated list +INCLUDED_IMAGES="CBS CONSUL, CP, CR, MR, PA, RICSIM, SDNC" . ../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++))