From b5ccaabd6c3b06286cc845bfb910fc2bd1ab6419 Mon Sep 17 00:00:00 2001 From: Konrad Bańka Date: Fri, 25 Sep 2020 16:35:02 +0200 Subject: Fix Status API to actually provide instance status MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Provide information about instance resources and Pods inside status response. Issue-ID: MULTICLOUD-1177 Signed-off-by: Konrad Bańka Change-Id: Iee6fd56120d091dddfa6b6d0e4aa7eb36d40e888 --- kud/tests/plugin_fw.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'kud/tests') diff --git a/kud/tests/plugin_fw.sh b/kud/tests/plugin_fw.sh index 28df372c..a503d661 100755 --- a/kud/tests/plugin_fw.sh +++ b/kud/tests/plugin_fw.sh @@ -2,6 +2,7 @@ # SPDX-license-identifier: Apache-2.0 ############################################################################## # Copyright (c) 2018 +# Copyright © 2020 Samsung Electronics # All rights reserved. This program and the accompanying materials # are made available under the terms of the Apache License, Version 2.0 # which accompanies this distribution, and is available at @@ -116,6 +117,9 @@ print_msg "Not waiting for vFW to fully install as no further checks are impleme #sleep 8m print_msg "[END] Basic checks for instantiated resource" +print_msg "Retrieving VNF status (this will result with long output)" +call_api "${base_url}/instance/${vnf_id}/status" + print_msg "Retrieving VNF details" response="$(call_api "${base_url}/instance/${vnf_id}")" echo "$response" @@ -136,3 +140,5 @@ delete_resource "${base_url}/rb/definition/${rb_name}/${rb_version}" print_msg "Deleting ${cloud_region_id} cloud region connection" delete_resource "${base_url}/connectivity-info/${cloud_region_id}" + +print_msg "Test finished successfully" -- cgit 1.2.3-korg