Add testcases for profile
Add 3 more tests for profile
Issue-ID: MULTICLOUD-562
Change-Id: I0971cce76c5f442857fb67cc60a983a7724b70bf
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
diff --git a/tests/multicloud-k8s/data/create_rbprofile.json b/tests/multicloud-k8s/data/create_rbprofile.json
new file mode 100644
index 0000000..72111a4
--- /dev/null
+++ b/tests/multicloud-k8s/data/create_rbprofile.json
@@ -0,0 +1,11 @@
+{
+ "rb-name": "test-rbdef",
+ "rb-version": "v1",
+ "profile-name": "profile1",
+ "release-name": "testrelease",
+ "namespace": "testnamespace",
+ "kubernetes-version": "1.12.3",
+ "labels": {
+ "vnf_customization_module_uuid": "7eb09e38-4363-9942-1234-3beb2e95fd85"
+ }
+}
diff --git a/tests/multicloud-k8s/multicloud-k8s-test.robot b/tests/multicloud-k8s/multicloud-k8s-test.robot
index 0cb91d4..f81ef01 100644
--- a/tests/multicloud-k8s/multicloud-k8s-test.robot
+++ b/tests/multicloud-k8s/multicloud-k8s-test.robot
@@ -15,6 +15,18 @@
/v1/rb/definition/test-rbdef
/v1/rb/definition/test-rbdef/v1
+Create Profile
+ [Template] Post template
+ /v1/rb/definition/test-rbdef/v1/profile create_rbprofile.json
+
+Get Profile
+ [Template] Get template
+ /v1/rb/definition/test-rbdef/v1/profile/profile1
+
+Delete Profile
+ [Template] Delete template
+ /v1/rb/definition/test-rbdef/v1/profile/profile1
+
Delete Definition
[Template] Delete template
/v1/rb/definition/test-rbdef/v1