Fix multicloud-k8s csit
Multicloud-k8s csit is broken
This patch fixes it.
Issue-ID: MULTICLOUD-562
Change-Id: Ia1933d030c358b2b7ead67a53c0372a537339765
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
diff --git a/tests/multicloud-k8s/data/create_rbdefinition.json b/tests/multicloud-k8s/data/create_rbdefinition.json
index 370c3c7..0373113 100644
--- a/tests/multicloud-k8s/data/create_rbdefinition.json
+++ b/tests/multicloud-k8s/data/create_rbdefinition.json
@@ -1,7 +1,9 @@
{
- "uuid": "7eb09e38-4363-9942-1234-3beb2e95fd85",
- "name": "test-rbdef",
+ "rb-name": "test-rbdef",
+ "rb-version": "v1",
"chart-name": "testchart",
"description": "testing resource bundle definition api",
- "service-type": "firewall"
+ "labels": {
+ "vnf_customization_module_uuid": "7eb09e38-4363-9942-1234-3beb2e95fd85"
+ }
}
\ No newline at end of file
diff --git a/tests/multicloud-k8s/multicloud-k8s-test.robot b/tests/multicloud-k8s/multicloud-k8s-test.robot
index 36d4e66..0cb91d4 100644
--- a/tests/multicloud-k8s/multicloud-k8s-test.robot
+++ b/tests/multicloud-k8s/multicloud-k8s-test.robot
@@ -12,12 +12,12 @@
Get Definition
[Template] Get template
- /v1/rb/definition
- /v1/rb/definition/7eb09e38-4363-9942-1234-3beb2e95fd85
+ /v1/rb/definition/test-rbdef
+ /v1/rb/definition/test-rbdef/v1
Delete Definition
[Template] Delete template
- /v1/rb/definition/7eb09e38-4363-9942-1234-3beb2e95fd85
+ /v1/rb/definition/test-rbdef/v1
*** Keywords ***
Created session