X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=tests%2Fdcaegen2-collectors-hv-ves%2Ftestcases%2F__init__.robot;h=5c8258f3e9a1dcb28f24dc04a211c69706c298b9;hb=refs%2Fchanges%2F63%2F123763%2F3;hp=92b65cd633b43f824ff9fc4fe2c281fd52353d63;hpb=fd233ed2f898323e769c5bb1d976d4e2c91156e0;p=integration%2Fcsit.git diff --git a/tests/dcaegen2-collectors-hv-ves/testcases/__init__.robot b/tests/dcaegen2-collectors-hv-ves/testcases/__init__.robot index 92b65cd6..5c8258f3 100644 --- a/tests/dcaegen2-collectors-hv-ves/testcases/__init__.robot +++ b/tests/dcaegen2-collectors-hv-ves/testcases/__init__.robot @@ -1,7 +1,7 @@ # ============LICENSE_START======================================================= # csit-dcaegen2-collectors-hv-ves # ================================================================================ -# Copyright (C) 2018-2019 NOKIA +# Copyright (C) 2018-2021 NOKIA # ================================================================================ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -18,9 +18,10 @@ *** Settings *** Library DcaeAppSimulatorLibrary -Library ConsulLibrary Library VesHvContainersUtilsLibrary +Resource resources/common-keywords.robot + Suite Setup HV-VES Collector Suites Setup *** Keywords *** @@ -32,16 +33,15 @@ HV-VES Collector Suites Setup Configure collector - ${CONSUL_API_ACCESS}= Get Consul Api Access Url ${HTTP_METHOD_URL} ${CONSUL_CONTAINER_HOST} ${CONSUL_CONTAINER_PORT} - ${CONSUL_API_URL}= Catenate SEPARATOR= ${CONSUL_API_ACCESS} ${CONSUL_HV_VES_CONFIGURATION_KEY_PATH} - Set Suite Variable ${CONSUL_API_URL} children=True - Publish HV VES Configuration In Consul ${CONSUL_API_URL} ${HV_VES_CONFIGURATION_JSON_FILEPATH} + Set New Mounted Configuration ${HV_VES_CONFIGURATION_JSON_FILEPATH} Configure Dcae App Wait until keyword succeeds 10 sec 5 sec - ... Configure Dcae App Simulator To Consume Messages From Topics ${DEFAULT_PERF3GPP_TOPIC},${SECOND_PERF3GPP_TOPIC} + ... Configure Dcae App Simulator To Consume Messages From Topics + ... ${DEFAULT_PERF3GPP_TOPIC},${SECOND_PERF3GPP_TOPIC},${DEFAULT_STNDDEFINED_3GPP_HEARTBEAT_TOPIC} Set Suite Variable ${DEFAULT_PERF3GPP_TOPIC} children=True Set Suite Variable ${SECOND_PERF3GPP_TOPIC} children=True + Set Suite Variable ${DEFAULT_STNDDEFINED_3GPP_HEARTBEAT_TOPIC} children=True *** Variables *** @@ -53,6 +53,7 @@ ${CONSUL_HV_VES_CONFIGURATION_KEY_PATH} /v1/kv/dcae-hv-ves-collector ${DEFAULT_PERF3GPP_TOPIC} TEST_HV_VES_PERF3GPP ${SECOND_PERF3GPP_TOPIC} TEST_HV_VES_PERF3GPP_BUT_WITH_EXTRA_WORDS +${DEFAULT_STNDDEFINED_3GPP_HEARTBEAT_TOPIC} TEST_SEC_3GPP_HEARTBEAT_OUTPUT ${HV_VES_RESOURCES} %{WORKSPACE}/tests/dcaegen2-collectors-hv-ves/testcases/resources -${HV_VES_CONFIGURATION_JSON_FILEPATH} ${HV_VES_RESOURCES}/hv-ves-configuration.json +${HV_VES_CONFIGURATION_JSON_FILEPATH} ${HV_VES_RESOURCES}/hv-ves-configuration.yaml