diff options
author | 2018-10-01 07:54:26 +0200 | |
---|---|---|
committer | 2018-10-01 08:16:05 +0200 | |
commit | fd44b433ac9825be6cc654e8a566f9d0bfc70166 (patch) | |
tree | f720c9d891bc43ee1abbb4662a72d1b942f31d47 /hv-collector-core/src/test | |
parent | 069dcc194fd049e1c52e60d03ce2a9c0553289a7 (diff) |
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 <piotr.jaszczyk@nokia.com>
Diffstat (limited to 'hv-collector-core/src/test')
-rw-r--r-- | hv-collector-core/src/test/kotlin/org/onap/dcae/collectors/veshv/impl/RouterTest.kt | 6 |
1 files changed, 3 insertions, 3 deletions
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") { |