From 8d49d940823c9d0d653c9793a3d92a707f0862a9 Mon Sep 17 00:00:00 2001 From: Konrad Bańka Date: Thu, 4 Jul 2019 08:49:12 +0200 Subject: Provide connection info for plugin testcase MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plugin.sh testcase was unable to instantiate VNF as it was missing k8s backend configuration. This configuration is now provided before instantiation and torn down on test end. Issue-ID: MULTICLOUD-639 Signed-off-by: Konrad Bańka Change-Id: I7ffaa3d4e2df84b38b50e11900406b55f94c6de8 --- kud/tests/plugin.sh | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'kud/tests') diff --git a/kud/tests/plugin.sh b/kud/tests/plugin.sh index 59daa1c3..0d786f9f 100755 --- a/kud/tests/plugin.sh +++ b/kud/tests/plugin.sh @@ -20,6 +20,7 @@ source _functions.sh base_url="http://localhost:9015" #Will resolve to file $KUBE_CONFIG_DIR/kud cloud_region_id="kud" +cloud_region_owner="test_owner" namespace="testns" csar_id="94e414f6-9ca4-11e8-bb6a-52540067263b" rb_name="test-rbdef" @@ -121,6 +122,21 @@ if [[ "$rbp_ret" != *"${profile_name}"* ]]; then exit 1 fi +print_msg "Setup cloud data" +payload="$(cat <