aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/multicloud-k8s/data/create_rbprofile.json11
-rw-r--r--tests/multicloud-k8s/multicloud-k8s-test.robot12
2 files changed, 23 insertions, 0 deletions
diff --git a/tests/multicloud-k8s/data/create_rbprofile.json b/tests/multicloud-k8s/data/create_rbprofile.json
new file mode 100644
index 00000000..72111a4d
--- /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 0cb91d41..f81ef011 100644
--- a/tests/multicloud-k8s/multicloud-k8s-test.robot
+++ b/tests/multicloud-k8s/multicloud-k8s-test.robot
@@ -15,6 +15,18 @@ Get Definition
/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