diff options
author | Christof Rabensteiner <christof.rabensteiner@iaik.tugraz.at> | 2019-04-16 11:49:56 +0200 |
---|---|---|
committer | Christof Rabensteiner <christof.rabensteiner@iaik.tugraz.at> | 2019-04-16 12:43:06 +0200 |
commit | 5ee2fdd40732aa8eca29e89b14fa5238385868e8 (patch) | |
tree | 40d62cdb51232d07375048cd0850e0e806407b6c /pom.xml | |
parent | c8271e5684e26b57880de7f1b8a3b0195ad6f68e (diff) | |
download | moa-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 'pom.xml')
-rw-r--r-- | pom.xml | 33 |
1 files changed, 28 insertions, 5 deletions
@@ -21,6 +21,10 @@ <java.version>11</java.version> <cxf.version>3.3.0</cxf.version> <springboot.version>2.1.3.RELEASE</springboot.version> + <commonspool2.version>2.6.2</commonspool2.version> + <jaxwsapi.version>2.3.1</jaxwsapi.version> + <jwsapi.version>1.1</jwsapi.version> + <jedisclient.version>2.9.3</jedisclient.version> </properties> <dependencies> @@ -37,20 +41,39 @@ <artifactId>cxf-spring-boot-starter-jaxws</artifactId> <version>${cxf.version}</version> </dependency> - + <!-- redis --> + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-data-redis</artifactId> + <version>${springboot.version}</version> + <exclusions> + <exclusion> + <groupId>io.lettuce</groupId> + <artifactId>lettuce-core</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.apache.commons</groupId> + <artifactId>commons-pool2</artifactId> + <version>${commonspool2.version}</version> + </dependency> + <dependency> + <groupId>redis.clients</groupId> + <artifactId>jedis</artifactId> + <version>${jedisclient.version}</version> + </dependency> <!-- needed by cxf-codegen-plugin's generated code --> <dependency> <groupId>javax.xml.ws</groupId> <artifactId>jaxws-api</artifactId> - <version>2.3.1</version> + <version>${jaxwsapi.version}</version> </dependency> - <dependency> <groupId>javax.jws</groupId> <artifactId>javax.jws-api</artifactId> - <version>1.1</version> + <version>${jwsapi.version}</version> </dependency> - </dependencies> <build> |