X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fauto-test%2FFTC850.sh;h=b5c991c3043d6fa1316ff028bcfa2f75f4a3a422;hb=caf750c05d1fdac7165b2368f5cc6882517c6390;hp=32e450f2f111fe4d0072b18a2197a068403616bf;hpb=4681b7e887f4b49608737f0ffe2a04052d2e43a4;p=nonrtric.git diff --git a/test/auto-test/FTC850.sh b/test/auto-test/FTC850.sh index 32e450f2..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" @@ -53,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