diff options
author | Krzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com> | 2021-06-15 15:46:54 +0200 |
---|---|---|
committer | Krzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com> | 2021-06-15 15:46:54 +0200 |
commit | 26a1f97520dd81489f5909b926e4dc468d041069 (patch) | |
tree | c5557766f0cbef53104a3d046cb59bd98ee2d528 /robot/resources/test_templates | |
parent | ae41458ae782303026d1d89df82b3df4360f8139 (diff) |
Refactor ves client and mongo db host name usage in CMPv2 test
Refactor ves client and mongo db host name usage in CMPv2 test
Issue-ID: TEST-345
Signed-off-by: Krzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com>
Change-Id: I049e7b1111f9d142fff1348e2e2f901a0f2e926e
Diffstat (limited to 'robot/resources/test_templates')
-rw-r--r-- | robot/resources/test_templates/cmpv2.robot | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/robot/resources/test_templates/cmpv2.robot b/robot/resources/test_templates/cmpv2.robot index bc99ec29..e1fd30f7 100644 --- a/robot/resources/test_templates/cmpv2.robot +++ b/robot/resources/test_templates/cmpv2.robot @@ -21,7 +21,7 @@ ${users} ${EXECDIR}/robot/assets/cmpv2/mongo-users.json *** Keywords *** -Pnf simulator send single VES event +VES Client send single VES event [Arguments] ${event} ${ves_host} ${ves_port} ${pnf_sim_host} ${pnf_sim_port} ${http_reposnse_code}=202 ${pnf_sim_endpoint}= Set Variable http://${pnf_sim_host}:${pnf_sim_port} ${ves_url}= Set Variable ${GLOBAL_DCAE_VES_HTTPS_PROTOCOL}://${ves_host}:${ves_port}/${VES_data_path} @@ -35,11 +35,12 @@ Pnf simulator send single VES event Log PNF registration request ${data} Should Be Equal As Strings ${post_resp.status_code} ${http_reposnse_code} Log VES has accepted event with status code ${post_resp.status_code} + [Return] ${post_resp} Usecase Teardown - Undeploy Service mongo-dep - Undeploy Service pnf-simulator-dep + Undeploy Service ${mongo-dep} + Undeploy Service ${ves-client-dep} Undeploy Service ves-collector-cmpv2-dep Undeploy Service ves-collector-cmpv2-wrong-sans-dep Delete Blueprint From Inventory ${serviceTypeIdMongo} |