From: Konrad Bańka Date: Thu, 4 Jul 2019 07:10:25 +0000 (+0200) Subject: Correct k8splugin endpoint configuration in KUD test X-Git-Tag: 0.5.0~31^2~2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=c9a8ac4b9a1a08e59f993edcec3148af56cb7c47;p=multicloud%2Fk8s.git Correct k8splugin endpoint configuration in KUD test Plugin.sh was misconfigured to connect at wrong port of k8splugin service. Issue-ID: MULTICLOUD-686 Signed-off-by: Konrad Bańka Change-Id: I53e7e4d6fdb727adc755318012ee262dbec811ef --- diff --git a/kud/tests/plugin.sh b/kud/tests/plugin.sh index af74af5f..59daa1c3 100755 --- a/kud/tests/plugin.sh +++ b/kud/tests/plugin.sh @@ -17,7 +17,7 @@ source _common.sh source _common_test.sh source _functions.sh -base_url="http://localhost:8081" +base_url="http://localhost:9015" #Will resolve to file $KUBE_CONFIG_DIR/kud cloud_region_id="kud" namespace="testns" @@ -34,10 +34,10 @@ function _build_generic_sim { return fi BUILD_ARGS="--no-cache" - if [ $HTTP_PROXY ]; then + if [ ${HTTP_PROXY:-} ]; then BUILD_ARGS+=" --build-arg HTTP_PROXY=${HTTP_PROXY}" fi - if [ $HTTPS_PROXY ]; then + if [ ${HTTPS_PROXY:-} ]; then BUILD_ARGS+=" --build-arg HTTPS_PROXY=${HTTPS_PROXY}" fi