X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=inline;f=test%2Fauto-test%2FFTC850.sh;h=b5c991c3043d6fa1316ff028bcfa2f75f4a3a422;hb=caf750c05d1fdac7165b2368f5cc6882517c6390;hp=f45246d1381e9b999fdb8c241c82779dbee42926;hpb=a26055e5007e75a5aa9551305ea4da211e80df14;p=nonrtric.git diff --git a/test/auto-test/FTC850.sh b/test/auto-test/FTC850.sh index f45246d1..b5c991c3 100755 --- a/test/auto-test/FTC850.sh +++ b/test/auto-test/FTC850.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" @@ -42,6 +40,8 @@ TESTED_PROTOCOLS="HTTP HTTPS" NUM_RICS=20 NUM_POLICIES_PER_RIC=500 +generate_uuid + for __httpx in $TESTED_PROTOCOLS ; do for interface in $TESTED_VARIANTS ; do @@ -51,6 +51,18 @@ for __httpx in $TESTED_PROTOCOLS ; do echo "#####################################################################" echo "#####################################################################" + #Local vars in test script + ########################## + + if [ $__httpx == "HTTPS" ]; then + # Path to callback receiver + CR_PATH="https://$CR_APP_NAME:$CR_EXTERNAL_SECURE_PORT/callbacks" + use_cr_https + else + # Path to callback receiver + CR_PATH="http://$CR_APP_NAME:$CR_EXTERNAL_PORT/callbacks" + use_cr_http + fi # Clean container and start all needed containers # clean_containers @@ -80,6 +92,8 @@ for __httpx in $TESTED_PROTOCOLS ; do start_mr # Not used, but removes error messages from the agent log + start_control_panel + start_policy_agent set_agent_debug