aboutsummaryrefslogtreecommitdiffstats
path: root/hv-collector-ct
diff options
context:
space:
mode:
authorPiotr Jaszczyk <piotr.jaszczyk@nokia.com>2018-10-03 10:33:40 +0200
committerPiotr Jaszczyk <piotr.jaszczyk@nokia.com>2018-10-03 13:23:36 +0200
commitde8e834e2bfc714e7a588f7470fe2ef7ba368275 (patch)
tree91c8f15bb5e4c5817a78c966da16a7717675b6c0 /hv-collector-ct
parentfd44b433ac9825be6cc654e8a566f9d0bfc70166 (diff)
Change domain to lower case
Change-Id: I097def2ba720fafe0a1e1a88e87f8c03663627c9 Issue-ID: DCAEGEN2-847 Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
Diffstat (limited to 'hv-collector-ct')
-rw-r--r--hv-collector-ct/src/test/kotlin/org/onap/dcae/collectors/veshv/tests/fakes/configuration.kt10
1 files changed, 5 insertions, 5 deletions
diff --git a/hv-collector-ct/src/test/kotlin/org/onap/dcae/collectors/veshv/tests/fakes/configuration.kt b/hv-collector-ct/src/test/kotlin/org/onap/dcae/collectors/veshv/tests/fakes/configuration.kt
index 432b6976..3770913a 100644
--- a/hv-collector-ct/src/test/kotlin/org/onap/dcae/collectors/veshv/tests/fakes/configuration.kt
+++ b/hv-collector-ct/src/test/kotlin/org/onap/dcae/collectors/veshv/tests/fakes/configuration.kt
@@ -39,7 +39,7 @@ val basicConfiguration: CollectorConfiguration = CollectorConfiguration(
kafkaBootstrapServers = "localhost:9969",
routing = routing {
defineRoute {
- fromDomain(PERF3GPP.name)
+ fromDomain(PERF3GPP.domainName)
toTopic(PERF3GPP_TOPIC)
withFixedPartitioning()
}
@@ -50,17 +50,17 @@ val twoDomainsToOneTopicConfiguration: CollectorConfiguration = CollectorConfigu
kafkaBootstrapServers = "localhost:9969",
routing = routing {
defineRoute {
- fromDomain(PERF3GPP.name)
+ fromDomain(PERF3GPP.domainName)
toTopic(PERF3GPP_TOPIC)
withFixedPartitioning()
}
defineRoute {
- fromDomain(HEARTBEAT.name)
+ fromDomain(HEARTBEAT.domainName)
toTopic(PERF3GPP_TOPIC)
withFixedPartitioning()
}
defineRoute {
- fromDomain(MEASUREMENT.name)
+ fromDomain(MEASUREMENT.domainName)
toTopic(MEASUREMENTS_FOR_VF_SCALING_TOPIC)
withFixedPartitioning()
}
@@ -72,7 +72,7 @@ val configurationWithDifferentRouting: CollectorConfiguration = CollectorConfigu
kafkaBootstrapServers = "localhost:9969",
routing = routing {
defineRoute {
- fromDomain(PERF3GPP.name)
+ fromDomain(PERF3GPP.domainName)
toTopic(ALTERNATE_PERF3GPP_TOPIC)
withFixedPartitioning()
}