Code Review
/
nonrtric.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
NONRTRIC - ECS updates of the NBI
[nonrtric.git]
/
test
/
common
/
prodstub_api_functions.sh
diff --git
a/test/common/prodstub_api_functions.sh
b/test/common/prodstub_api_functions.sh
index
ae3f193
..
8aae95a
100644
(file)
--- a/
test/common/prodstub_api_functions.sh
+++ b/
test/common/prodstub_api_functions.sh
@@
-35,7
+35,7
@@
__PRODSTUB_imagesetup() {
# <pull-policy-original> Shall be used for images that does not allow overriding
# Both var may contain: 'remote', 'remote-remove' or 'local'
__PRODSTUB_imagepull() {
# <pull-policy-original> 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 remo
v
e repo"$ERED
+ echo -e $RED"Image for app PRODSTUB shall never be pulled from remo
t
e repo"$ERED
}
# Build image (only for simulator or interfaces stubs owned by the test environment)
}
# 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=""
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
fi
fi
echo " CMD: $3 $proxyflag" >> $HTTPLOG