From fd44b433ac9825be6cc654e8a566f9d0bfc70166 Mon Sep 17 00:00:00 2001 From: Piotr Jaszczyk Date: Mon, 1 Oct 2018 07:54:26 +0200 Subject: HV-VES Domain update Change domain name. In this project this yields following changes: * Comment change in VesEvent proto * Updated measurements proto (kept as documentation only, ie. not used in the collector) * Update name in test scenarios for unit and component scope Change-Id: I719077b5fcb642c067d25b7aa174a2e629404689 Issue-ID: DCAEGEN2-847 Signed-off-by: Piotr Jaszczyk --- .../test/kotlin/org/onap/dcae/collectors/veshv/impl/RouterTest.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'hv-collector-core/src') diff --git a/hv-collector-core/src/test/kotlin/org/onap/dcae/collectors/veshv/impl/RouterTest.kt b/hv-collector-core/src/test/kotlin/org/onap/dcae/collectors/veshv/impl/RouterTest.kt index c2fe1cc5..5195948e 100644 --- a/hv-collector-core/src/test/kotlin/org/onap/dcae/collectors/veshv/impl/RouterTest.kt +++ b/hv-collector-core/src/test/kotlin/org/onap/dcae/collectors/veshv/impl/RouterTest.kt @@ -27,7 +27,7 @@ import org.jetbrains.spek.api.dsl.given import org.jetbrains.spek.api.dsl.it import org.jetbrains.spek.api.dsl.on import org.onap.dcae.collectors.veshv.domain.ByteData -import org.onap.dcae.collectors.veshv.domain.VesEventDomain.HVMEAS +import org.onap.dcae.collectors.veshv.domain.VesEventDomain.PERF3GPP import org.onap.dcae.collectors.veshv.domain.VesEventDomain.HEARTBEAT import org.onap.dcae.collectors.veshv.domain.VesEventDomain.SYSLOG import org.onap.dcae.collectors.veshv.model.RoutedMessage @@ -45,7 +45,7 @@ object RouterTest : Spek({ val config = routing { defineRoute { - fromDomain(HVMEAS.name) + fromDomain(PERF3GPP.name) toTopic("ves_rtpm") withFixedPartitioning(2) } @@ -59,7 +59,7 @@ object RouterTest : Spek({ val cut = Router(config) on("message with existing route (rtpm)") { - val message = VesMessage(commonHeader(HVMEAS), ByteData.EMPTY) + val message = VesMessage(commonHeader(PERF3GPP), ByteData.EMPTY) val result = cut.findDestination(message) it("should have route available") { -- cgit 1.2.3-korg