aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Maierhofer <cmaierhofer@iaik.tugraz.at>2016-05-03 13:39:09 +0200
committerChristian Maierhofer <cmaierhofer@iaik.tugraz.at>2016-05-03 13:39:09 +0200
commit33da825e528c4b04bba9de09ed386bcf606aec39 (patch)
treea597d822e0025b400c384d247d193bc09719456f
parent42e40bb58ec9b4c6b7a474e058e79d366548a520 (diff)
downloadmoa-id-spss-33da825e528c4b04bba9de09ed386bcf606aec39.tar.gz
moa-id-spss-33da825e528c4b04bba9de09ed386bcf606aec39.tar.bz2
moa-id-spss-33da825e528c4b04bba9de09ed386bcf606aec39.zip
added redis config parameters
-rw-r--r--id/server/idserverlib/src/main/resources/session.redis.beans.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/id/server/idserverlib/src/main/resources/session.redis.beans.xml b/id/server/idserverlib/src/main/resources/session.redis.beans.xml
index 421159d08..9caf5fc6a 100644
--- a/id/server/idserverlib/src/main/resources/session.redis.beans.xml
+++ b/id/server/idserverlib/src/main/resources/session.redis.beans.xml
@@ -18,7 +18,9 @@
<!-- Redis Beans -->
<bean id="jedisConnFactory"
class="org.springframework.data.redis.connection.jedis.JedisConnectionFactory"
- p:use-pool="true"/>
+ p:use-pool="${redis.use-pool}"
+ p:host-name="${redis.host-name}"
+ p:port="${redis.port}"/>
<bean id="RedisStringSerializer" class="org.springframework.data.redis.serializer.StringRedisSerializer" />
<bean id="assertionStoreSerializer" class="org.springframework.data.redis.serializer.JacksonJsonRedisSerializer">