From 8e362d5feaf5535bb59bacc1be677d8f10d08f86 Mon Sep 17 00:00:00 2001 From: Christof Rabensteiner Date: Wed, 17 Apr 2019 15:22:18 +0200 Subject: Add Redis and InMemory Implementation of DeliveryRequestRepository - Deployer can choose which implementation to use (by activating - corresponding profile) - Add guava dependency - Extract DeliveryRequestRepository to Interface - Implement InMemory Repository using guava's cache --- src/main/resources/application.properties | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main/resources') diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 7cf70bd..7bd66e2 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,2 +1,4 @@ spring.redis.host=172.17.0.2 spring.redis.port=6379 +## activate cluster mode +# spring.profiles.active=cluster -- cgit v1.2.3