summaryrefslogtreecommitdiffstats
path: root/test/sch
diff options
context:
space:
mode:
authorMichael Hwang <mhwang@research.att.com>2018-04-05 14:20:44 -0400
committerMichael Hwang <mhwang@research.att.com>2018-04-05 14:25:25 -0400
commitd73e0d5ba6a2b3968f57cf474832c6e32fa683bf (patch)
tree4a340054a8447caa9f7ccfac3afc4677748838b0 /test/sch
parent97b39b1577063aea01bf35abb849503626164ce0 (diff)
Update IConfiguration impl
v1.3.0 of distribution client changed the IConfiguration interface Change-Id: I29164aea59cdfd1273f1b7652d828d62d804b5f5 Issue-ID: DCAEGEN2-431 Signed-off-by: Michael Hwang <mhwang@research.att.com>
Diffstat (limited to 'test/sch')
-rw-r--r--test/sch/core_test.clj3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/sch/core_test.clj b/test/sch/core_test.clj
index c615f5d..4d0ee2b 100644
--- a/test/sch/core_test.clj
+++ b/test/sch/core_test.clj
@@ -50,6 +50,7 @@
(deftest test-create-distribution-client-config
(let [config { :asdcDistributionClient { :environmentName "ONAP-AMDOCS"
:asdcAddress "10.0.3.1:8443"
+ :msgBusAddress "message-router-hostname"
:keyStorePassword nil
:pollingInterval 20
:consumerGroup "dcae"
@@ -66,5 +67,7 @@
dcc (create-distribution-client-config config)
]
(is (= (. dcc isUseHttpsWithDmaap) true))
+ (is (= (. dcc getMsgBusAddress) ["message-router-hostname"]))
+ (is (= (. dcc isConsumeProduceStatusTopic) false))
)
)