diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index adad66b44..b41d4d73d 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -33,7 +33,10 @@ jobs:
- name: Install chromedriver
uses: nanasess/setup-chromedriver@v1.1.0
-
+ with:
+ # Optional: do not specify to match Chrome's version
+ chromedriver-version: '114.0.5735.90'
+
- name: Install, unit test
run: mvn install -Dmaven.javadoc.skip=true -PpublicRepos -B -V
diff --git a/gateleen-cache/pom.xml b/gateleen-cache/pom.xml
index c5b5fe06a..efef2d97d 100644
--- a/gateleen-cache/pom.xml
+++ b/gateleen-cache/pom.xml
@@ -6,7 +6,7 @@
org.swisspush.gateleen
gateleen
- 2.0.0-SNAPSHOT
+ 2.0.1-SNAPSHOT
gateleen-cache
diff --git a/gateleen-core/pom.xml b/gateleen-core/pom.xml
index 0090f1723..2dab10247 100644
--- a/gateleen-core/pom.xml
+++ b/gateleen-core/pom.xml
@@ -6,7 +6,7 @@
org.swisspush.gateleen
gateleen
- 2.0.0-SNAPSHOT
+ 2.0.1-SNAPSHOT
gateleen-core
diff --git a/gateleen-delegate/pom.xml b/gateleen-delegate/pom.xml
index ca38b1bf0..1b22b46fd 100644
--- a/gateleen-delegate/pom.xml
+++ b/gateleen-delegate/pom.xml
@@ -6,7 +6,7 @@
org.swisspush.gateleen
gateleen
- 2.0.0-SNAPSHOT
+ 2.0.1-SNAPSHOT
gateleen-delegate
diff --git a/gateleen-delta/pom.xml b/gateleen-delta/pom.xml
index 69993167b..8d3462f5b 100644
--- a/gateleen-delta/pom.xml
+++ b/gateleen-delta/pom.xml
@@ -6,7 +6,7 @@
org.swisspush.gateleen
gateleen
- 2.0.0-SNAPSHOT
+ 2.0.1-SNAPSHOT
gateleen-delta
diff --git a/gateleen-expansion/pom.xml b/gateleen-expansion/pom.xml
index 09f9a0e1f..dca6aff82 100644
--- a/gateleen-expansion/pom.xml
+++ b/gateleen-expansion/pom.xml
@@ -6,7 +6,7 @@
org.swisspush.gateleen
gateleen
- 2.0.0-SNAPSHOT
+ 2.0.1-SNAPSHOT
gateleen-expansion
diff --git a/gateleen-hook-js/pom.xml b/gateleen-hook-js/pom.xml
index 56cebdeae..44f853758 100644
--- a/gateleen-hook-js/pom.xml
+++ b/gateleen-hook-js/pom.xml
@@ -4,7 +4,7 @@
org.swisspush.gateleen
gateleen
- 2.0.0-SNAPSHOT
+ 2.0.1-SNAPSHOT
gateleen-hook-js
jar
diff --git a/gateleen-hook/pom.xml b/gateleen-hook/pom.xml
index cca67361b..800e093dd 100644
--- a/gateleen-hook/pom.xml
+++ b/gateleen-hook/pom.xml
@@ -6,7 +6,7 @@
org.swisspush.gateleen
gateleen
- 2.0.0-SNAPSHOT
+ 2.0.1-SNAPSHOT
gateleen-hook
diff --git a/gateleen-kafka/pom.xml b/gateleen-kafka/pom.xml
index f61f5813a..4f17e5273 100644
--- a/gateleen-kafka/pom.xml
+++ b/gateleen-kafka/pom.xml
@@ -6,7 +6,7 @@
org.swisspush.gateleen
gateleen
- 2.0.0-SNAPSHOT
+ 2.0.1-SNAPSHOT
gateleen-kafka
diff --git a/gateleen-logging/pom.xml b/gateleen-logging/pom.xml
index 88ee2628a..bd5ac45be 100644
--- a/gateleen-logging/pom.xml
+++ b/gateleen-logging/pom.xml
@@ -6,7 +6,7 @@
org.swisspush.gateleen
gateleen
- 2.0.0-SNAPSHOT
+ 2.0.1-SNAPSHOT
gateleen-logging
diff --git a/gateleen-merge/pom.xml b/gateleen-merge/pom.xml
index ee2c46fa0..d7ec3fc0a 100644
--- a/gateleen-merge/pom.xml
+++ b/gateleen-merge/pom.xml
@@ -6,7 +6,7 @@
org.swisspush.gateleen
gateleen
- 2.0.0-SNAPSHOT
+ 2.0.1-SNAPSHOT
gateleen-merge
diff --git a/gateleen-monitoring/pom.xml b/gateleen-monitoring/pom.xml
index 68e574658..1ebeae398 100644
--- a/gateleen-monitoring/pom.xml
+++ b/gateleen-monitoring/pom.xml
@@ -6,7 +6,7 @@
org.swisspush.gateleen
gateleen
- 2.0.0-SNAPSHOT
+ 2.0.1-SNAPSHOT
gateleen-monitoring
diff --git a/gateleen-packing/pom.xml b/gateleen-packing/pom.xml
index 129eaff1a..68749242b 100644
--- a/gateleen-packing/pom.xml
+++ b/gateleen-packing/pom.xml
@@ -6,7 +6,7 @@
org.swisspush.gateleen
gateleen
- 2.0.0-SNAPSHOT
+ 2.0.1-SNAPSHOT
gateleen-packing
diff --git a/gateleen-player/pom.xml b/gateleen-player/pom.xml
index 8e21f036e..8a744cf69 100644
--- a/gateleen-player/pom.xml
+++ b/gateleen-player/pom.xml
@@ -6,7 +6,7 @@
org.swisspush.gateleen
gateleen
- 2.0.0-SNAPSHOT
+ 2.0.1-SNAPSHOT
gateleen-player
diff --git a/gateleen-playground/pom.xml b/gateleen-playground/pom.xml
index 9fd92b728..6e10b3ed0 100644
--- a/gateleen-playground/pom.xml
+++ b/gateleen-playground/pom.xml
@@ -6,7 +6,7 @@
org.swisspush.gateleen
gateleen
- 2.0.0-SNAPSHOT
+ 2.0.1-SNAPSHOT
gateleen-playground
diff --git a/gateleen-playground/src/main/java/org/swisspush/gateleen/playground/Server.java b/gateleen-playground/src/main/java/org/swisspush/gateleen/playground/Server.java
index 80759ecd9..426357ec4 100755
--- a/gateleen-playground/src/main/java/org/swisspush/gateleen/playground/Server.java
+++ b/gateleen-playground/src/main/java/org/swisspush/gateleen/playground/Server.java
@@ -181,13 +181,15 @@ public void start() {
String redisHost = (String) props.get("redis.host");
Integer redisPort = (Integer) props.get("redis.port");
+ boolean redisEnableTls = props.get("redis.enableTls") != null ? (Boolean) props.get("redis.enableTls") : false;
props.put(ExpansionHandler.MAX_EXPANSION_LEVEL_HARD_PROPERTY, "100");
props.put(ExpansionHandler.MAX_EXPANSION_LEVEL_SOFT_PROPERTY, "50");
RunConfig.deployModules(vertx, Server.class, props, success -> {
if (success) {
- redisClient = new RedisClient(vertx, new RedisOptions().setConnectionString("redis://" + redisHost + ":" + redisPort));
+ String protocol = redisEnableTls ? "rediss://" : "redis://";
+ redisClient = new RedisClient(vertx, new RedisOptions().setConnectionString(protocol + redisHost + ":" + redisPort));
redisApi = RedisAPI.api(redisClient);
RedisProvider redisProvider = () -> Future.succeededFuture(redisApi);
diff --git a/gateleen-qos/pom.xml b/gateleen-qos/pom.xml
index c60bfbcff..a1bf212ee 100644
--- a/gateleen-qos/pom.xml
+++ b/gateleen-qos/pom.xml
@@ -6,7 +6,7 @@
org.swisspush.gateleen
gateleen
- 2.0.0-SNAPSHOT
+ 2.0.1-SNAPSHOT
gateleen-qos
diff --git a/gateleen-queue/pom.xml b/gateleen-queue/pom.xml
index c55e052cd..b3ca5c7f9 100644
--- a/gateleen-queue/pom.xml
+++ b/gateleen-queue/pom.xml
@@ -6,7 +6,7 @@
org.swisspush.gateleen
gateleen
- 2.0.0-SNAPSHOT
+ 2.0.1-SNAPSHOT
gateleen-queue
diff --git a/gateleen-routing/pom.xml b/gateleen-routing/pom.xml
index 50933a516..336f7d114 100644
--- a/gateleen-routing/pom.xml
+++ b/gateleen-routing/pom.xml
@@ -6,7 +6,7 @@
org.swisspush.gateleen
gateleen
- 2.0.0-SNAPSHOT
+ 2.0.1-SNAPSHOT
gateleen-routing
diff --git a/gateleen-runconfig/pom.xml b/gateleen-runconfig/pom.xml
index 52abc9e73..49efaac20 100644
--- a/gateleen-runconfig/pom.xml
+++ b/gateleen-runconfig/pom.xml
@@ -6,7 +6,7 @@
org.swisspush.gateleen
gateleen
- 2.0.0-SNAPSHOT
+ 2.0.1-SNAPSHOT
gateleen-runconfig
diff --git a/gateleen-runconfig/src/main/java/org/swisspush/gateleen/runconfig/RunConfig.java b/gateleen-runconfig/src/main/java/org/swisspush/gateleen/runconfig/RunConfig.java
index 4d6e273ba..c5e9c593d 100755
--- a/gateleen-runconfig/src/main/java/org/swisspush/gateleen/runconfig/RunConfig.java
+++ b/gateleen-runconfig/src/main/java/org/swisspush/gateleen/runconfig/RunConfig.java
@@ -382,9 +382,17 @@ public RunConfig build(Vertx vertx, RedisProvider redisProvider, Class verticleC
* Builds redis properties configuration.
*/
public static Map buildRedisProps(String redisHost, int redisPort) {
+ return buildRedisProps(redisHost, redisPort, false);
+ }
+
+ /**
+ * Builds redis properties configuration.
+ */
+ public static Map buildRedisProps(String redisHost, int redisPort, boolean redisEnableTls) {
final Map props = new HashMap<>();
props.put("redis.host", redisHost);
props.put("redis.port", redisPort);
+ props.put("redis.enableTls", redisEnableTls);
props.put("redis.encoding", "UTF-8");
return props;
}
@@ -393,9 +401,17 @@ public static Map buildRedisProps(String redisHost, int redisPor
* Builds a standard mod redis configuration.
*/
public static JsonObject buildModRedisConfig(String redisHost, int redisPort) {
+ return buildModRedisConfig(redisHost, redisPort, false);
+ }
+
+ /**
+ * Builds a standard mod redis configuration.
+ */
+ public static JsonObject buildModRedisConfig(String redisHost, int redisPort, boolean redisEnableTls) {
JsonObject config = new JsonObject();
config.put("host", redisHost);
config.put("port", redisPort);
+ config.put("enableTls", redisEnableTls);
config.put("encoding", "UTF-8");
return config;
}
@@ -480,7 +496,8 @@ public static void deployModules(final Vertx vertx, Class verticleClass, Map {
diff --git a/gateleen-scheduler/pom.xml b/gateleen-scheduler/pom.xml
index 80f144a68..e786e0b45 100644
--- a/gateleen-scheduler/pom.xml
+++ b/gateleen-scheduler/pom.xml
@@ -6,7 +6,7 @@
org.swisspush.gateleen
gateleen
- 2.0.0-SNAPSHOT
+ 2.0.1-SNAPSHOT
gateleen-scheduler
diff --git a/gateleen-security/pom.xml b/gateleen-security/pom.xml
index dcc5fdffb..43a9b97a9 100644
--- a/gateleen-security/pom.xml
+++ b/gateleen-security/pom.xml
@@ -6,7 +6,7 @@
org.swisspush.gateleen
gateleen
- 2.0.0-SNAPSHOT
+ 2.0.1-SNAPSHOT
gateleen-security
diff --git a/gateleen-test/pom.xml b/gateleen-test/pom.xml
index 154884fd9..f0f26fbbd 100644
--- a/gateleen-test/pom.xml
+++ b/gateleen-test/pom.xml
@@ -6,7 +6,7 @@
org.swisspush.gateleen
gateleen
- 2.0.0-SNAPSHOT
+ 2.0.1-SNAPSHOT
gateleen-test
jar
diff --git a/gateleen-test/src/test/java/org/swisspush/gateleen/AbstractTest.java b/gateleen-test/src/test/java/org/swisspush/gateleen/AbstractTest.java
index 5aea9381a..93a3562fd 100755
--- a/gateleen-test/src/test/java/org/swisspush/gateleen/AbstractTest.java
+++ b/gateleen-test/src/test/java/org/swisspush/gateleen/AbstractTest.java
@@ -135,13 +135,15 @@ public static void setupBeforeClass(TestContext context) {
String redisHost = (String) props.get("redis.host");
Integer redisPort = (Integer) props.get("redis.port");
+ boolean redisEnableTls = props.get("redis.enableTls") != null ? (Boolean) props.get("redis.enableTls") : false;
props.put(ExpansionHandler.MAX_EXPANSION_LEVEL_HARD_PROPERTY, "100");
props.put(ExpansionHandler.MAX_EXPANSION_LEVEL_SOFT_PROPERTY, "4");
RunConfig.deployModules(vertx, AbstractTest.class, props, success -> {
if (success) {
- RedisClient redisClient = new RedisClient(vertx, new RedisOptions().setConnectionString("redis://" + redisHost + ":" + redisPort));
+ String protocol = redisEnableTls ? "rediss://" : "redis://";
+ RedisClient redisClient = new RedisClient(vertx, new RedisOptions().setConnectionString(protocol + redisHost + ":" + redisPort));
RedisAPI redisAPI = RedisAPI.api(redisClient);
RedisProvider redisProvider = () -> Future.succeededFuture(redisAPI);
diff --git a/gateleen-testhelper/pom.xml b/gateleen-testhelper/pom.xml
index 57d7a186b..4c91f2f05 100644
--- a/gateleen-testhelper/pom.xml
+++ b/gateleen-testhelper/pom.xml
@@ -6,7 +6,7 @@
org.swisspush.gateleen
gateleen
- 2.0.0-SNAPSHOT
+ 2.0.1-SNAPSHOT
gateleen-testhelper
diff --git a/gateleen-user/pom.xml b/gateleen-user/pom.xml
index 3612c6d8c..8c59f9515 100644
--- a/gateleen-user/pom.xml
+++ b/gateleen-user/pom.xml
@@ -6,7 +6,7 @@
org.swisspush.gateleen
gateleen
- 2.0.0-SNAPSHOT
+ 2.0.1-SNAPSHOT
gateleen-user
diff --git a/gateleen-validation/pom.xml b/gateleen-validation/pom.xml
index a73e09f4b..fa7eba32b 100644
--- a/gateleen-validation/pom.xml
+++ b/gateleen-validation/pom.xml
@@ -6,7 +6,7 @@
org.swisspush.gateleen
gateleen
- 2.0.0-SNAPSHOT
+ 2.0.1-SNAPSHOT
gateleen-validation
diff --git a/pom.xml b/pom.xml
index 444729712..db1870316 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
org.swisspush.gateleen
gateleen
- 2.0.0-SNAPSHOT
+ 2.0.1-SNAPSHOT
pom
gateleen
Middleware library based on Vert.x to build advanced JSON/REST communication servers
@@ -325,12 +325,12 @@
org.swisspush
redisques
- 3.0.24
+ 3.0.29
org.swisspush
rest-storage
- 3.0.5
+ 3.0.15
org.quartz-scheduler