diff options
author | Gary Wu <gary.i.wu@huawei.com> | 2019-04-04 00:49:40 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-04-04 00:49:40 +0000 |
commit | 72b16a165989b1ec3706071464f0f17af5df9122 (patch) | |
tree | 37fe9394b762321e55fc28910f26315eafa997d6 | |
parent | db8bdf6ea4c82b72e3961a5f0f1659aa4b55d5f3 (diff) | |
parent | d356432b9aa63b3a49d5a9d0eac5d49bc2eae488 (diff) |
Merge "Add testcases for profile"
-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 |