aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/application.properties
diff options
context:
space:
mode:
authorChristof Rabensteiner <christof.rabensteiner@iaik.tugraz.at>2019-04-16 11:49:56 +0200
committerChristof Rabensteiner <christof.rabensteiner@iaik.tugraz.at>2019-04-16 12:43:06 +0200
commit5ee2fdd40732aa8eca29e89b14fa5238385868e8 (patch)
tree40d62cdb51232d07375048cd0850e0e806407b6c /src/main/resources/application.properties
parentc8271e5684e26b57880de7f1b8a3b0195ad6f68e (diff)
downloadmoa-zs-5ee2fdd40732aa8eca29e89b14fa5238385868e8.tar.gz
moa-zs-5ee2fdd40732aa8eca29e89b14fa5238385868e8.tar.bz2
moa-zs-5ee2fdd40732aa8eca29e89b14fa5238385868e8.zip
Store incoming delivery request on redis server
- Connect to Redis server and implement RedisRepository - Add redis dependencies (spring-boot-starter, jedis, apache commons io). Latter dependencies are apparently needed and not included in the sprint-boot-starter; See https://github.com/spring-projects/spring-boot/issues/5718 and https://www.concretepage.com/questions/599 - Connect DeliveryRequestHandler to RedisRepository - Rewrote Marshalling: replace JaxbContext with spring-oxm JaxbMarshaller - Catch and log all exceptions in App2MZSService; Former: certain exceptions would go unnoticed, e.g. ConnectionRefused
Diffstat (limited to 'src/main/resources/application.properties')
-rw-r--r--src/main/resources/application.properties2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties
new file mode 100644
index 0000000..7cf70bd
--- /dev/null
+++ b/src/main/resources/application.properties
@@ -0,0 +1,2 @@
+spring.redis.host=172.17.0.2
+spring.redis.port=6379