File tree Expand file tree Collapse file tree 3 files changed +1063
-1062
lines changed
src/main/scala/code/bankconnectors Expand file tree Collapse file tree 3 files changed +1063
-1062
lines changed Original file line number Diff line number Diff line change 209209 <artifactId >signpost-commonshttp4</artifactId >
210210 <version >1.2.1.2</version >
211211 </dependency >
212- <dependency >
213- <groupId >com.tesobe.obp</groupId >
214- <artifactId >obp-ri-kafka</artifactId >
215- <version >2016.0-SNAPSHOT</version >
216- </dependency >
217212 </dependencies >
218213
219214 <build >
Original file line number Diff line number Diff line change @@ -40,15 +40,21 @@ object Connector extends SimpleInjector {
4040 def buildOne : Connector = {
4141 val connectorProps = Props .get(" connector" ).openOrThrowException(" no connector set" )
4242
43- if (connectorProps.startsWith(" kafka_lib" )) {
44- KafkaLibMappedConnector
45- } else {
46- connectorProps match {
47- case " mapped" => LocalMappedConnector
48- case " mongodb" => LocalConnector
49- case " kafka" => KafkaMappedConnector
50- }
43+ connectorProps match {
44+ case " mapped" => LocalMappedConnector
45+ case " mongodb" => LocalConnector
46+ case " kafka" => KafkaMappedConnector
5147 }
48+ //
49+ // if (connectorProps.startsWith("kafka_lib")) {
50+ // KafkaLibMappedConnector
51+ // } else {
52+ // connectorProps match {
53+ // case "mapped" => LocalMappedConnector
54+ // case "mongodb" => LocalConnector
55+ // case "kafka" => KafkaMappedConnector
56+ // }
57+ // }
5258 }
5359
5460}
You can’t perform that action at this time.
0 commit comments