diff --git a/gateleen-cache/pom.xml b/gateleen-cache/pom.xml index 70714321..a198fcd3 100644 --- a/gateleen-cache/pom.xml +++ b/gateleen-cache/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.3-SNAPSHOT + 2.1.4-SNAPSHOT gateleen-cache diff --git a/gateleen-core/pom.xml b/gateleen-core/pom.xml index ac25dc07..07e32e2b 100644 --- a/gateleen-core/pom.xml +++ b/gateleen-core/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.3-SNAPSHOT + 2.1.4-SNAPSHOT gateleen-core diff --git a/gateleen-core/src/main/java/org/swisspush/gateleen/core/http/LocalHttpClientRequest.java b/gateleen-core/src/main/java/org/swisspush/gateleen/core/http/LocalHttpClientRequest.java index 4bc9060c..fb152839 100644 --- a/gateleen-core/src/main/java/org/swisspush/gateleen/core/http/LocalHttpClientRequest.java +++ b/gateleen-core/src/main/java/org/swisspush/gateleen/core/http/LocalHttpClientRequest.java @@ -825,7 +825,11 @@ public boolean reset(long code, Throwable cause) { @Override public HttpConnection connection() { - throw new UnsupportedOperationException(); + // Cited from API specification: + // @return the {@link HttpConnection} associated with this request + // As "no connection" is associated with this request, we return "no connection". + log.debug("There's no connection associated with this request."); + return null; } @Override diff --git a/gateleen-delegate/pom.xml b/gateleen-delegate/pom.xml index 80f8ab32..931e3047 100644 --- a/gateleen-delegate/pom.xml +++ b/gateleen-delegate/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.3-SNAPSHOT + 2.1.4-SNAPSHOT gateleen-delegate diff --git a/gateleen-delta/pom.xml b/gateleen-delta/pom.xml index 6827f7e9..27ab6941 100644 --- a/gateleen-delta/pom.xml +++ b/gateleen-delta/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.3-SNAPSHOT + 2.1.4-SNAPSHOT gateleen-delta diff --git a/gateleen-expansion/pom.xml b/gateleen-expansion/pom.xml index 87f58a81..84e879c3 100644 --- a/gateleen-expansion/pom.xml +++ b/gateleen-expansion/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.3-SNAPSHOT + 2.1.4-SNAPSHOT gateleen-expansion diff --git a/gateleen-hook-js/pom.xml b/gateleen-hook-js/pom.xml index 3f47a679..c2c4c210 100644 --- a/gateleen-hook-js/pom.xml +++ b/gateleen-hook-js/pom.xml @@ -4,7 +4,7 @@ org.swisspush.gateleen gateleen - 2.1.3-SNAPSHOT + 2.1.4-SNAPSHOT gateleen-hook-js jar diff --git a/gateleen-hook/pom.xml b/gateleen-hook/pom.xml index 719dd8cf..d9ee5afc 100644 --- a/gateleen-hook/pom.xml +++ b/gateleen-hook/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.3-SNAPSHOT + 2.1.4-SNAPSHOT gateleen-hook diff --git a/gateleen-kafka/pom.xml b/gateleen-kafka/pom.xml index 1f303fb4..09ef6787 100644 --- a/gateleen-kafka/pom.xml +++ b/gateleen-kafka/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.3-SNAPSHOT + 2.1.4-SNAPSHOT gateleen-kafka diff --git a/gateleen-logging/pom.xml b/gateleen-logging/pom.xml index fa0c73c3..ad1f692d 100644 --- a/gateleen-logging/pom.xml +++ b/gateleen-logging/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.3-SNAPSHOT + 2.1.4-SNAPSHOT gateleen-logging diff --git a/gateleen-merge/pom.xml b/gateleen-merge/pom.xml index 6b027504..3e117188 100644 --- a/gateleen-merge/pom.xml +++ b/gateleen-merge/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.3-SNAPSHOT + 2.1.4-SNAPSHOT gateleen-merge diff --git a/gateleen-monitoring/pom.xml b/gateleen-monitoring/pom.xml index c0acd69c..9330ab73 100644 --- a/gateleen-monitoring/pom.xml +++ b/gateleen-monitoring/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.3-SNAPSHOT + 2.1.4-SNAPSHOT gateleen-monitoring diff --git a/gateleen-monitoring/src/main/java/org/swisspush/gateleen/monitoring/RedisMonitor.java b/gateleen-monitoring/src/main/java/org/swisspush/gateleen/monitoring/RedisMonitor.java index e0f8c214..c5e2b4e2 100644 --- a/gateleen-monitoring/src/main/java/org/swisspush/gateleen/monitoring/RedisMonitor.java +++ b/gateleen-monitoring/src/main/java/org/swisspush/gateleen/monitoring/RedisMonitor.java @@ -135,7 +135,7 @@ private void collectMetrics(Buffer buffer) { publisher.publishMetric(key, value); } } catch (NumberFormatException e) { - // ignore this field + log.trace("ignore field '{}' because '{}' doesnt look number-ish enough", key, valueStr); } }); } diff --git a/gateleen-packing/pom.xml b/gateleen-packing/pom.xml index cc1b8b56..8caa2a77 100644 --- a/gateleen-packing/pom.xml +++ b/gateleen-packing/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.3-SNAPSHOT + 2.1.4-SNAPSHOT gateleen-packing diff --git a/gateleen-player/pom.xml b/gateleen-player/pom.xml index d4943687..f8007ece 100644 --- a/gateleen-player/pom.xml +++ b/gateleen-player/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.3-SNAPSHOT + 2.1.4-SNAPSHOT gateleen-player diff --git a/gateleen-playground/pom.xml b/gateleen-playground/pom.xml index 7ebce794..46000613 100644 --- a/gateleen-playground/pom.xml +++ b/gateleen-playground/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.3-SNAPSHOT + 2.1.4-SNAPSHOT gateleen-playground diff --git a/gateleen-qos/pom.xml b/gateleen-qos/pom.xml index 691b98b9..0436bc81 100644 --- a/gateleen-qos/pom.xml +++ b/gateleen-qos/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.3-SNAPSHOT + 2.1.4-SNAPSHOT gateleen-qos diff --git a/gateleen-queue/pom.xml b/gateleen-queue/pom.xml index 0724a190..e6216802 100644 --- a/gateleen-queue/pom.xml +++ b/gateleen-queue/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.3-SNAPSHOT + 2.1.4-SNAPSHOT gateleen-queue diff --git a/gateleen-routing/pom.xml b/gateleen-routing/pom.xml index 08ba6d86..a3278757 100644 --- a/gateleen-routing/pom.xml +++ b/gateleen-routing/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.3-SNAPSHOT + 2.1.4-SNAPSHOT gateleen-routing diff --git a/gateleen-routing/src/main/java/org/swisspush/gateleen/routing/Forwarder.java b/gateleen-routing/src/main/java/org/swisspush/gateleen/routing/Forwarder.java index 17114f6d..c2e0dded 100755 --- a/gateleen-routing/src/main/java/org/swisspush/gateleen/routing/Forwarder.java +++ b/gateleen-routing/src/main/java/org/swisspush/gateleen/routing/Forwarder.java @@ -371,12 +371,13 @@ public WriteStream drainHandler(@Nullable Handler handler) { }; req.exceptionHandler(t -> { - RequestLoggerFactory - .getLogger(Forwarder.class, req) - .warn("Exception during forwarding - closing (forwarding) client connection", t); + log.info("Exception during forwarding - closing (forwarding) client connection", t); HttpConnection connection = cReq.connection(); if (connection != null) { connection.close(); + } else { + log.warn("There's no connection we could close in {}, gateleen wishes your request a happy timeout ({})", + cReq.getClass(), req.uri()); } }); diff --git a/gateleen-runconfig/pom.xml b/gateleen-runconfig/pom.xml index 96406796..18817fb8 100644 --- a/gateleen-runconfig/pom.xml +++ b/gateleen-runconfig/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.3-SNAPSHOT + 2.1.4-SNAPSHOT gateleen-runconfig diff --git a/gateleen-scheduler/pom.xml b/gateleen-scheduler/pom.xml index d43fb41a..56b80e7f 100644 --- a/gateleen-scheduler/pom.xml +++ b/gateleen-scheduler/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.3-SNAPSHOT + 2.1.4-SNAPSHOT gateleen-scheduler diff --git a/gateleen-security/pom.xml b/gateleen-security/pom.xml index 20d1c625..2ade1783 100644 --- a/gateleen-security/pom.xml +++ b/gateleen-security/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.3-SNAPSHOT + 2.1.4-SNAPSHOT gateleen-security diff --git a/gateleen-test/pom.xml b/gateleen-test/pom.xml index a3fe34dd..93589a23 100644 --- a/gateleen-test/pom.xml +++ b/gateleen-test/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.3-SNAPSHOT + 2.1.4-SNAPSHOT gateleen-test jar diff --git a/gateleen-testhelper/pom.xml b/gateleen-testhelper/pom.xml index 122e9385..cd5f28a1 100644 --- a/gateleen-testhelper/pom.xml +++ b/gateleen-testhelper/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.3-SNAPSHOT + 2.1.4-SNAPSHOT gateleen-testhelper diff --git a/gateleen-user/pom.xml b/gateleen-user/pom.xml index f27b93e1..7a4c07c9 100644 --- a/gateleen-user/pom.xml +++ b/gateleen-user/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.3-SNAPSHOT + 2.1.4-SNAPSHOT gateleen-user diff --git a/gateleen-validation/pom.xml b/gateleen-validation/pom.xml index 86ba033e..a7714e64 100644 --- a/gateleen-validation/pom.xml +++ b/gateleen-validation/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.3-SNAPSHOT + 2.1.4-SNAPSHOT gateleen-validation diff --git a/pom.xml b/pom.xml index 9ad78e21..e0d3e8d3 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.3-SNAPSHOT + 2.1.4-SNAPSHOT pom gateleen Middleware library based on Vert.x to build advanced JSON/REST communication servers