X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fcommon%2Fprodstub_api_functions.sh;h=8aae95a2b87b206f1c063fd833f7f2796219846a;hb=8fd8e9fc86a24be49d61841e381423120a41296d;hp=ae3f193ba692d6141e8ccd3f6ffad5667d6a5cf8;hpb=7682abb5a05160aeb83004a4e56c36e302eded1e;p=nonrtric.git diff --git a/test/common/prodstub_api_functions.sh b/test/common/prodstub_api_functions.sh index ae3f193b..8aae95a2 100644 --- a/test/common/prodstub_api_functions.sh +++ b/test/common/prodstub_api_functions.sh @@ -35,7 +35,7 @@ __PRODSTUB_imagesetup() { # Shall be used for images that does not allow overriding # Both var may contain: 'remote', 'remote-remove' or 'local' __PRODSTUB_imagepull() { - echo -e $RED"Image for app PRODSTUB shall never be pulled from remove repo"$ERED + echo -e $RED"Image for app PRODSTUB shall never be pulled from remote repo"$ERED } # Build image (only for simulator or interfaces stubs owned by the test environment) @@ -270,7 +270,11 @@ __execute_curl_to_prodstub() { 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: $3 $proxyflag" >> $HTTPLOG