From 26a1f97520dd81489f5909b926e4dc468d041069 Mon Sep 17 00:00:00 2001 From: Krzysztof Kuzmicki Date: Tue, 15 Jun 2021 15:46:54 +0200 Subject: 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 Change-Id: I049e7b1111f9d142fff1348e2e2f901a0f2e926e --- robot/resources/test_templates/cmpv2.robot | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'robot/resources/test_templates') 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} -- cgit 1.2.3-korg