X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fcommon%2Fricsimulator_api_functions.sh;h=0df800fd6e46e38f72b8d631e952e463e4783375;hb=84ffd4a403baee1b7aa86f9986f0c1659a5a0881;hp=a83521878a1e257a513a2abecb163f41b73ed5b7;hpb=a54915769edaaf1c0989d4857d17e6f8ac19cb89;p=nonrtric.git diff --git a/test/common/ricsimulator_api_functions.sh b/test/common/ricsimulator_api_functions.sh index a8352187..0df800fd 100644 --- a/test/common/ricsimulator_api_functions.sh +++ b/test/common/ricsimulator_api_functions.sh @@ -351,7 +351,11 @@ __execute_curl_to_sim() { proxyflag="" if [ $RUNMODE == "KUBE" ]; then if [ ! -z "$KUBE_PROXY_PATH" ]; then - proxyflag=" --proxy $KUBE_PROXY_PATH" + if [ $KUBE_PROXY_HTTPX == "http" ]; then + proxyflag=" --proxy $KUBE_PROXY_PATH" + else + proxyflag=" --proxy-insecure --proxy $KUBE_PROXY_PATH" + fi fi fi echo " CMD: $2 $proxyflag" >> $HTTPLOG