diff options
author | 2019-04-02 11:14:30 -0700 | |
---|---|---|
committer | 2019-04-02 11:14:35 -0700 | |
commit | d356432b9aa63b3a49d5a9d0eac5d49bc2eae488 (patch) | |
tree | 0c98af49da4522d00eb7282ad7f5d7030eeb0629 | |
parent | 3875fc254bbc877384eddd34082e4ac449b263ae (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>
-rw-r--r-- | tests/multicloud-k8s/data/create_rbprofile.json | 11 | ||||
-rw-r--r-- | tests/multicloud-k8s/multicloud-k8s-test.robot | 12 |
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 |