aboutsummaryrefslogtreecommitdiffstats
path: root/tests/multicloud-k8s
diff options
context:
space:
mode:
authorKiran Kamineni <kiran.k.kamineni@intel.com>2019-04-02 11:14:30 -0700
committerKiran Kamineni <kiran.k.kamineni@intel.com>2019-04-02 11:14:35 -0700
commitd356432b9aa63b3a49d5a9d0eac5d49bc2eae488 (patch)
tree0c98af49da4522d00eb7282ad7f5d7030eeb0629 /tests/multicloud-k8s
parent3875fc254bbc877384eddd34082e4ac449b263ae (diff)
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>
Diffstat (limited to 'tests/multicloud-k8s')
-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