From 1678d932c02a37955e17e1ca883907e2b01b5380 Mon Sep 17 00:00:00 2001 From: hieplq Date: Sun, 25 Nov 2018 10:21:34 +0700 Subject: [PATCH] IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (hazelcast) https://docs.hazelcast.org/docs/rn/index.html#3-11 keep default configruation copy from release, make separate commit about change from idempiere --- .../hazelcast-template.xml | 185 +++++++++++++----- .../hazelcast.xml | 174 ++++++++++++---- org.idempiere.hazelcast.service/pom.xml | 2 +- 3 files changed, 270 insertions(+), 91 deletions(-) diff --git a/org.adempiere.server-feature/hazelcast-template.xml b/org.adempiere.server-feature/hazelcast-template.xml index 90e8c53bc0..7def213cf7 100644 --- a/org.adempiere.server-feature/hazelcast-template.xml +++ b/org.adempiere.server-feature/hazelcast-template.xml @@ -1,6 +1,6 @@ + - + + - @ADEMPIERE_DB_USER@.@ADEMPIERE_DB_NAME@/@ADEMPIERE_DB_SERVER@ - @ADEMPIERE_DB_PASSWORD@ + dev + dev-pass - http://localhost:8080/mancenter - - false - + http://localhost:8080/hazelcast-mancenter 5701 @@ -42,7 +46,7 @@ 0 - + 224.2.2.3 54327 @@ -52,22 +56,40 @@ 127.0.0.1 - + + my-access-key + my-secret-key + + us-west-1 + + ec2.amazonaws.com + + hazelcast-sg + type + hz-nodes + + + us-east1-b,us-east1-c + + + CLIENT_ID + CLIENT_SECRET + TENANT_ID + SUB_ID + HZLCAST001 + GROUP-NAME + + + MY-KUBERNETES-NAMESPACE + MY-SERVICE-NAME + MY-SERVICE-LABEL-NAME + MY-SERVICE-LABEL-VALUE + + + true + hazelcast + - - - my-access-key - my-secret-key - - us-east-1 - ec2.amazonaws.com - - hazelcast-sg - type - hz-nodes - 30 - - @@ -92,6 +114,9 @@ 19 + + + @@ -99,6 +124,9 @@ 0 + + true + - 0 + 1 0 + Maximum number of seconds for each entry to stay in the map. Entries that are + older than and not updated for + will get automatically evicted from the map. + Any integer between 0 and Integer.MAX_VALUE. 0 means infinite. Default is 0 + --> 0 - 1800 + Maximum number of seconds for each entry to stay idle in the map. Entries that are + idle(not touched) for more than will get + automatically evicted from the map. Entry is touched if get, put or containsKey is called. + Any integer between 0 and Integer.MAX_VALUE. 0 means infinite. Default is 0. + --> + 0 - LRU + NONE - 1000 + 0 - com.hazelcast.map.merge.PutIfAbsentMapMergePolicy + com.hazelcast.spi.merge.PutIfAbsentMergePolicy INDEX-ONLY - - OBJECT - true - - + + mapName + 10 + + 1 SET + com.hazelcast.spi.merge.PutIfAbsentMergePolicy + + OBJECT + true + true + com.hazelcast.spi.merge.PutIfAbsentMergePolicy + + 1 + com.hazelcast.spi.merge.PutIfAbsentMergePolicy 1 + com.hazelcast.spi.merge.PutIfAbsentMergePolicy @@ -276,8 +322,27 @@ 0 0 BINARY + com.hazelcast.spi.merge.PutIfAbsentMergePolicy + + 100 + 600000 + 0 + 0 + true + + + + com.hazelcast.spi.merge.PutIfAbsentMergePolicy + + + + com.hazelcast.spi.merge.PutIfAbsentMergePolicy + + + + 0 @@ -286,4 +351,26 @@ + + 1 + 0 + HyperLogLogMergePolicy + + + + 100 + 1 + 16 + com.hazelcast.spi.merge.PutIfAbsentMergePolicy + + + + 1000 + 1 + + + + 2147483647 + true + diff --git a/org.idempiere.hazelcast.service.config/hazelcast.xml b/org.idempiere.hazelcast.service.config/hazelcast.xml index c101dfabb4..7def213cf7 100644 --- a/org.idempiere.hazelcast.service.config/hazelcast.xml +++ b/org.idempiere.hazelcast.service.config/hazelcast.xml @@ -1,6 +1,6 @@ + - + + dev dev-pass - http://localhost:8080/mancenter - - false - + http://localhost:8080/hazelcast-mancenter 5701 @@ -52,22 +56,40 @@ 127.0.0.1 - + + my-access-key + my-secret-key + + us-west-1 + + ec2.amazonaws.com + + hazelcast-sg + type + hz-nodes + + + us-east1-b,us-east1-c + + + CLIENT_ID + CLIENT_SECRET + TENANT_ID + SUB_ID + HZLCAST001 + GROUP-NAME + + + MY-KUBERNETES-NAMESPACE + MY-SERVICE-NAME + MY-SERVICE-LABEL-NAME + MY-SERVICE-LABEL-VALUE + + + true + hazelcast + - - - my-access-key - my-secret-key - - us-east-1 - ec2.amazonaws.com - - hazelcast-sg - type - hz-nodes - 30 - - @@ -92,6 +114,9 @@ 19 + + + @@ -99,6 +124,9 @@ 0 + + true + - 0 + 1 0 + Maximum number of seconds for each entry to stay in the map. Entries that are + older than and not updated for + will get automatically evicted from the map. + Any integer between 0 and Integer.MAX_VALUE. 0 means infinite. Default is 0 + --> 0 - 1800 + Maximum number of seconds for each entry to stay idle in the map. Entries that are + idle(not touched) for more than will get + automatically evicted from the map. Entry is touched if get, put or containsKey is called. + Any integer between 0 and Integer.MAX_VALUE. 0 means infinite. Default is 0. + --> + 0 - LRU + NONE - 1000 + 0 - com.hazelcast.map.merge.PutIfAbsentMapMergePolicy + com.hazelcast.spi.merge.PutIfAbsentMergePolicy + + mapName + 10 + + 1 SET + com.hazelcast.spi.merge.PutIfAbsentMergePolicy + + OBJECT + true + true + com.hazelcast.spi.merge.PutIfAbsentMergePolicy + + 1 + com.hazelcast.spi.merge.PutIfAbsentMergePolicy 1 + com.hazelcast.spi.merge.PutIfAbsentMergePolicy @@ -271,8 +322,27 @@ 0 0 BINARY + com.hazelcast.spi.merge.PutIfAbsentMergePolicy + + 100 + 600000 + 0 + 0 + true + + + + com.hazelcast.spi.merge.PutIfAbsentMergePolicy + + + + com.hazelcast.spi.merge.PutIfAbsentMergePolicy + + + + 0 @@ -281,4 +351,26 @@ + + 1 + 0 + HyperLogLogMergePolicy + + + + 100 + 1 + 16 + com.hazelcast.spi.merge.PutIfAbsentMergePolicy + + + + 1000 + 1 + + + + 2147483647 + true + diff --git a/org.idempiere.hazelcast.service/pom.xml b/org.idempiere.hazelcast.service/pom.xml index f609fa56b9..1c95de7dcb 100644 --- a/org.idempiere.hazelcast.service/pom.xml +++ b/org.idempiere.hazelcast.service/pom.xml @@ -26,7 +26,7 @@ com.hazelcast hazelcast - 3.10.6 + 3.11 com.hazelcast