From 113c44304d2dd52f7966284787560f3347fee0ff Mon Sep 17 00:00:00 2001 From: Petar Bozin Date: Tue, 24 Jan 2017 16:54:24 +0100 Subject: [PATCH] Temp fix for missing OBP-JVM props for socgen2 jenkins build --- .../code/bankconnectors/ObpJvmMappedConnector.scala | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/scala/code/bankconnectors/ObpJvmMappedConnector.scala b/src/main/scala/code/bankconnectors/ObpJvmMappedConnector.scala index 8c2705c86..260f6bd76 100644 --- a/src/main/scala/code/bankconnectors/ObpJvmMappedConnector.scala +++ b/src/main/scala/code/bankconnectors/ObpJvmMappedConnector.scala @@ -53,14 +53,14 @@ object ObpJvmMappedConnector extends Connector with Loggable { var jvmNorth : JConnector = null - val responseTopic = Props.get("kafka.response_topic").openOr("Response") - val requestTopic = Props.get("kafka.request_topic").openOr("Request") + val responseTopic = "Response" //Props.get("kafka.response_topic").openOr("Response") + val requestTopic = "Request" ///Props.get("kafka.request_topic").openOr("Request") val cfg: Configuration = new SimpleConfiguration( this, - "/props/default.props", + "/props/production.default.props", responseTopic, - "/props/default.props", + "/props/production.default.props", requestTopic ) val north = new SimpleNorth( cfg ) @@ -72,7 +72,7 @@ object ObpJvmMappedConnector extends Connector with Loggable { logger.info(s"ObpJvmMappedConnector running") // Local TTL Cache - val cacheTTL = Props.get("connector.cache.ttl.seconds", "0").toInt + val cacheTTL = 0 //Props.get("connector.cache.ttl.seconds", "0").toInt val cachedUser = TTLCache[ObpJvmInboundValidatedUser](cacheTTL) val cachedBank = TTLCache[ObpJvmInboundBank](cacheTTL) val cachedAccount = TTLCache[ObpJvmInboundAccount](cacheTTL)