parent
96d01d6791
commit
0cfcbeb40e
|
@ -69,6 +69,7 @@
|
|||
<dom4j.version>1.6.1</dom4j.version>
|
||||
<dropwizard-metrics.version>3.1.2</dropwizard-metrics.version>
|
||||
<ehcache.version>2.10.1</ehcache.version>
|
||||
<ehcache3.version>3.0.0</ehcache3.version>
|
||||
<embedded-mongo.version>1.50.2</embedded-mongo.version>
|
||||
<flyway.version>3.2.1</flyway.version>
|
||||
<freemarker.version>2.3.23</freemarker.version>
|
||||
|
@ -1564,6 +1565,11 @@
|
|||
<artifactId>websocket-server</artifactId>
|
||||
<version>${jetty.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.ehcache</groupId>
|
||||
<artifactId>ehcache</artifactId>
|
||||
<version>${ehcache3.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.elasticsearch</groupId>
|
||||
<artifactId>elasticsearch</artifactId>
|
||||
|
|
|
@ -49,6 +49,12 @@
|
|||
</dependency>
|
||||
-->
|
||||
<!--
|
||||
<dependency>
|
||||
<groupId>org.ehcache</groupId>
|
||||
<artifactId>ehcache</artifactId>
|
||||
</dependency>
|
||||
-->
|
||||
<!--
|
||||
<dependency>
|
||||
<groupId>com.hazelcast</groupId>
|
||||
<artifactId>hazelcast</artifactId>
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
<config xmlns='http://www.ehcache.org/v3'
|
||||
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
|
||||
xsi:schemaLocation="http://www.ehcache.org/v3 http://www.ehcache.org/schema/ehcache-core-3.0.xsd">
|
||||
|
||||
<cache alias="countries">
|
||||
<expiry>
|
||||
<ttl unit="seconds">600</ttl>
|
||||
</expiry>
|
||||
<heap unit="entries">200</heap>
|
||||
</cache>
|
||||
|
||||
</config>
|
Loading…
Reference in New Issue