From 94b43bebf72f60d9cfd67b0abce8a0c5619c0012 Mon Sep 17 00:00:00 2001 From: Filip Krzywka Date: Tue, 26 Mar 2019 14:30:01 +0100 Subject: Redefine Routing This change follows related changes in DCAEGEN2-1347 - routing is no longer read from configuration file - routing format kept in CBS have been adjusted to platform definitions Change-Id: I5f6c53325d5ea04d2f5ab13a7ff134932f7edeb0 Issue-ID: DCAEGEN2-1347 Signed-off-by: Filip Krzywka --- tests/dcaegen2-collectors-hv-ves/testcases/__init__.robot | 2 +- .../testcases/resources/hv-ves-configuration.json | 12 ++++++++++++ .../testcases/resources/ves-hv-configuration.json | 9 --------- 3 files changed, 13 insertions(+), 10 deletions(-) create mode 100644 tests/dcaegen2-collectors-hv-ves/testcases/resources/hv-ves-configuration.json delete mode 100644 tests/dcaegen2-collectors-hv-ves/testcases/resources/ves-hv-configuration.json (limited to 'tests') diff --git a/tests/dcaegen2-collectors-hv-ves/testcases/__init__.robot b/tests/dcaegen2-collectors-hv-ves/testcases/__init__.robot index 1ac91504..1e574b0e 100644 --- a/tests/dcaegen2-collectors-hv-ves/testcases/__init__.robot +++ b/tests/dcaegen2-collectors-hv-ves/testcases/__init__.robot @@ -71,4 +71,4 @@ ${DCAE_APP_API_MESSAGES_VALIDATION_PATH} ${DCAE_APP_API_MESSAGES_PATH}/val ${ROUTED_MESSAGES_TOPIC} TEST_HV_VES_PERF3GPP ${HV_VES_RESOURCES} %{WORKSPACE}/tests/dcaegen2-collectors-hv-ves/testcases/resources -${HV_VES_CONFIGURATION_JSON_FILEPATH} ${HV_VES_RESOURCES}/ves-hv-configuration.json +${HV_VES_CONFIGURATION_JSON_FILEPATH} ${HV_VES_RESOURCES}/hv-ves-configuration.json diff --git a/tests/dcaegen2-collectors-hv-ves/testcases/resources/hv-ves-configuration.json b/tests/dcaegen2-collectors-hv-ves/testcases/resources/hv-ves-configuration.json new file mode 100644 index 00000000..1c4e3439 --- /dev/null +++ b/tests/dcaegen2-collectors-hv-ves/testcases/resources/hv-ves-configuration.json @@ -0,0 +1,12 @@ +{ + "streams_publishes": { + "perf3gpp": { + "type": "kafka", + "kafka_info": { + "bootstrap_servers": "kafka:9092", + "topic_name": "TEST_HV_VES_PERF3GPP" + } + } + } +} + diff --git a/tests/dcaegen2-collectors-hv-ves/testcases/resources/ves-hv-configuration.json b/tests/dcaegen2-collectors-hv-ves/testcases/resources/ves-hv-configuration.json deleted file mode 100644 index 1a65cf1b..00000000 --- a/tests/dcaegen2-collectors-hv-ves/testcases/resources/ves-hv-configuration.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "collector.routing": [ - { - "fromDomain": "perf3gpp", - "toTopic": "TEST_HV_VES_PERF3GPP" - } - ] -} - -- cgit 1.2.3-korg