aboutsummaryrefslogtreecommitdiffstats
path: root/robot/resources/dcae
diff options
context:
space:
mode:
authormprzybys <marcin.przybysz@nokia.com>2020-10-19 12:53:19 +0200
committermprzybys <marcin.przybysz@nokia.com>2020-10-19 12:53:19 +0200
commit7e3e7298b04073325a590580876c051f5eb93491 (patch)
tree97f78993bf6af58c352723bcb5e4fbdd92b71619 /robot/resources/dcae
parente3024beed447e25c419c9725ee7b8f925705b961 (diff)
Add Suite Setup to Ves Test Suite
Issue-ID: INT-1258 Signed-off-by: Marcin Przybysz <marcin.przybysz@nokia.com> Change-Id: Iaf26228a7d890faf0674b401fcaf9521947ca896
Diffstat (limited to 'robot/resources/dcae')
-rw-r--r--robot/resources/dcae/ves_interface.robot14
1 files changed, 14 insertions, 0 deletions
diff --git a/robot/resources/dcae/ves_interface.robot b/robot/resources/dcae/ves_interface.robot
index 4201a4d2..f92526b8 100644
--- a/robot/resources/dcae/ves_interface.robot
+++ b/robot/resources/dcae/ves_interface.robot
@@ -10,6 +10,11 @@ ${DR_ENDPOINT} ${GLOBAL_DMAAP_DR_PROV_SERVE
${DMAAP_BC_SERVER} ${GLOBAL_BC_SERVER_PROTOCOL}://${GLOBAL_INJECTED_BC_IP_ADDR}:${GLOBAL_BC_HTTPS_SERVER_PORT}
${VES_HEALTH_CHECK_PATH} ${GLOBAL_DCAE_VES_HTTPS_PROTOCOL}://${GLOBAL_INJECTED_DCAE_VES_HOST}:${GLOBAL_DCAE_VES_HTTPS_SERVER_PORT}
${MR_PUBLISH_TEMPLATE} mr/mr_publish.jinja
+${ves7_valid_json} ${EXECDIR}/robot/assets/dcae/ves7_valid.json
+${FaultSupervision_json} ${EXECDIR}/robot/assets/dcae/ves_stdnDefined_3GPP-FaultSupervision.json
+${Heartbeat_json} ${EXECDIR}/robot/assets/dcae/ves_stdnDefined_3GPP-Heartbeat.json
+${PerformanceAssurance_json} ${EXECDIR}/robot/assets/dcae/ves_stdnDefined_3GPP-PerformanceAssurance.json
+${Provisioning_json} ${EXECDIR}/robot/assets/dcae/ves_stdnDefined_3GPP-Provisioning.json
*** Keywords ***
@@ -39,3 +44,12 @@ Send Event to VES & Validate Topic
[Arguments] ${event} ${topic_name} ${expected_text}
Send Event to VES Collector ${event}
Wait Until Keyword Succeeds 10x 5s Topic Validate ${topic_name} ${expected_text}
+
+Activate DMAAP Topics
+ [Documentation] Currently first event routed to empty DMAAP topic is gone, so there is need to "activate" topics for testing pourposes
+ Send Event to VES Collector ${ves7_valid_json}
+ Send Event to VES Collector ${FaultSupervision_json}
+ Send Event to VES Collector ${Heartbeat_json}
+ Send Event to VES Collector ${PerformanceAssurance_json}
+ Send Event to VES Collector ${Provisioning_json}
+ Sleep 30s