From 24ce90693534e0579f720e11a7e7a2663a1fba4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Weber?= Date: Thu, 2 May 2024 11:02:05 +0200 Subject: [PATCH 01/14] Handle "Payload Too Large" responses from vertx-rest-storage --- .../java/org/swisspush/gateleen/core/util/StatusCode.java | 2 +- .../swisspush/gateleen/expansion/ExpansionHandler.java | 8 ++++++-- .../gateleen/expansion/RecursiveRootHandlerBase.java | 1 + 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gateleen-core/src/main/java/org/swisspush/gateleen/core/util/StatusCode.java b/gateleen-core/src/main/java/org/swisspush/gateleen/core/util/StatusCode.java index 961be9d45..cec6804ae 100644 --- a/gateleen-core/src/main/java/org/swisspush/gateleen/core/util/StatusCode.java +++ b/gateleen-core/src/main/java/org/swisspush/gateleen/core/util/StatusCode.java @@ -44,7 +44,7 @@ public enum StatusCode { GONE(410, "Gone"), LENGTH_REQUIRED(411, "Length Required"), PRECONDITION_FAILED(412, "Precondition Failed"), - CONTENT_TOO_LARGE(413, "Content Too Large"), + PAYLOAD_TOO_LARGE(413, "Payload Too Large"), URI_TOO_LONG(414, "URI Too Long"), UNSUPPORTED_MEDIA_TYPE(415, "Unsupported Media Type"), RANGE_NOT_SATISFIABLE(416, "Range Not Satisfiable"), diff --git a/gateleen-expansion/src/main/java/org/swisspush/gateleen/expansion/ExpansionHandler.java b/gateleen-expansion/src/main/java/org/swisspush/gateleen/expansion/ExpansionHandler.java index 3ffeac1b1..c13e75f56 100755 --- a/gateleen-expansion/src/main/java/org/swisspush/gateleen/expansion/ExpansionHandler.java +++ b/gateleen-expansion/src/main/java/org/swisspush/gateleen/expansion/ExpansionHandler.java @@ -34,6 +34,7 @@ import java.util.concurrent.atomic.AtomicInteger; import static org.swisspush.gateleen.core.util.StatusCode.INTERNAL_SERVER_ERROR; +import static org.swisspush.gateleen.core.util.StatusCode.PAYLOAD_TOO_LARGE; import static org.swisspush.gateleen.routing.RuleFeatures.Feature.EXPAND_ON_BACKEND; import static org.swisspush.gateleen.routing.RuleFeatures.Feature.STORAGE_EXPAND; import static org.swisspush.gateleen.routing.RuleProvider.RuleChangesObserver; @@ -544,8 +545,11 @@ private void makeStorageExpandRequest(final String targetUri, final List subReso return; } cRes.bodyHandler(data -> { - if (StatusCode.INTERNAL_SERVER_ERROR.getStatusCode() == cRes.statusCode()) { - String fullResponseBody = data.toString(); + String fullResponseBody = data.toString(); + if(StatusCode.PAYLOAD_TOO_LARGE.getStatusCode() == cRes.statusCode()) { + log.info("{}: {}: {}", PAYLOAD_TOO_LARGE, targetUri, fullResponseBody); + handler.handle(new ResourceNode(SERIOUS_EXCEPTION, new ResourceCollectionException(fullResponseBody, PAYLOAD_TOO_LARGE))); + } else if (StatusCode.INTERNAL_SERVER_ERROR.getStatusCode() == cRes.statusCode()) { log.error("{}: {}: {}", INTERNAL_SERVER_ERROR, targetUri, fullResponseBody); handler.handle(new ResourceNode(SERIOUS_EXCEPTION, new ResourceCollectionException(fullResponseBody, StatusCode.INTERNAL_SERVER_ERROR))); } else { diff --git a/gateleen-expansion/src/main/java/org/swisspush/gateleen/expansion/RecursiveRootHandlerBase.java b/gateleen-expansion/src/main/java/org/swisspush/gateleen/expansion/RecursiveRootHandlerBase.java index b09360b44..b99b45af5 100755 --- a/gateleen-expansion/src/main/java/org/swisspush/gateleen/expansion/RecursiveRootHandlerBase.java +++ b/gateleen-expansion/src/main/java/org/swisspush/gateleen/expansion/RecursiveRootHandlerBase.java @@ -34,6 +34,7 @@ void handleResponseError(final HttpServerRequest req, final ResourceCollectionEx ResponseStatusCodeLogUtil.debug(req, exception.getStatusCode(), RecursiveRootHandlerBase.class); req.response().setStatusCode(exception.getStatusCode().getStatusCode()); req.response().setStatusMessage(exception.getStatusCode().getStatusMessage()); + req.response().putHeader("Content-Type", "text/plain"); req.response().end(exception.getMessage()); } From d13969ac16e24994f09a9fa805991bf42ed5a35a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Weber?= Date: Thu, 2 May 2024 11:36:21 +0200 Subject: [PATCH 02/14] code format --- .../java/org/swisspush/gateleen/expansion/ExpansionHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gateleen-expansion/src/main/java/org/swisspush/gateleen/expansion/ExpansionHandler.java b/gateleen-expansion/src/main/java/org/swisspush/gateleen/expansion/ExpansionHandler.java index c13e75f56..b69286623 100755 --- a/gateleen-expansion/src/main/java/org/swisspush/gateleen/expansion/ExpansionHandler.java +++ b/gateleen-expansion/src/main/java/org/swisspush/gateleen/expansion/ExpansionHandler.java @@ -546,7 +546,7 @@ private void makeStorageExpandRequest(final String targetUri, final List subReso } cRes.bodyHandler(data -> { String fullResponseBody = data.toString(); - if(StatusCode.PAYLOAD_TOO_LARGE.getStatusCode() == cRes.statusCode()) { + if (StatusCode.PAYLOAD_TOO_LARGE.getStatusCode() == cRes.statusCode()) { log.info("{}: {}: {}", PAYLOAD_TOO_LARGE, targetUri, fullResponseBody); handler.handle(new ResourceNode(SERIOUS_EXCEPTION, new ResourceCollectionException(fullResponseBody, PAYLOAD_TOO_LARGE))); } else if (StatusCode.INTERNAL_SERVER_ERROR.getStatusCode() == cRes.statusCode()) { From d2ff1853705f7ff2f3a03a49cc9042c81cb52ef0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Weber?= Date: Thu, 2 May 2024 13:04:51 +0200 Subject: [PATCH 03/14] applied code review feedback --- .../org/swisspush/gateleen/expansion/ExpansionHandler.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gateleen-expansion/src/main/java/org/swisspush/gateleen/expansion/ExpansionHandler.java b/gateleen-expansion/src/main/java/org/swisspush/gateleen/expansion/ExpansionHandler.java index b69286623..59f309d43 100755 --- a/gateleen-expansion/src/main/java/org/swisspush/gateleen/expansion/ExpansionHandler.java +++ b/gateleen-expansion/src/main/java/org/swisspush/gateleen/expansion/ExpansionHandler.java @@ -545,11 +545,12 @@ private void makeStorageExpandRequest(final String targetUri, final List subReso return; } cRes.bodyHandler(data -> { - String fullResponseBody = data.toString(); if (StatusCode.PAYLOAD_TOO_LARGE.getStatusCode() == cRes.statusCode()) { + String fullResponseBody = data.toString(); log.info("{}: {}: {}", PAYLOAD_TOO_LARGE, targetUri, fullResponseBody); handler.handle(new ResourceNode(SERIOUS_EXCEPTION, new ResourceCollectionException(fullResponseBody, PAYLOAD_TOO_LARGE))); } else if (StatusCode.INTERNAL_SERVER_ERROR.getStatusCode() == cRes.statusCode()) { + String fullResponseBody = data.toString(); log.error("{}: {}: {}", INTERNAL_SERVER_ERROR, targetUri, fullResponseBody); handler.handle(new ResourceNode(SERIOUS_EXCEPTION, new ResourceCollectionException(fullResponseBody, StatusCode.INTERNAL_SERVER_ERROR))); } else { From db5da77b373fa75641aefa7627cf3b962e7b2ea1 Mon Sep 17 00:00:00 2001 From: runner Date: Thu, 2 May 2024 13:03:06 +0000 Subject: [PATCH 04/14] updating poms for 2.1.5 branch with snapshot versions From c3b3ebbb331b539902052612c578e2a727f941c1 Mon Sep 17 00:00:00 2001 From: runner Date: Thu, 2 May 2024 13:03:08 +0000 Subject: [PATCH 05/14] updating poms for 2.1.6-SNAPSHOT development --- gateleen-cache/pom.xml | 2 +- gateleen-core/pom.xml | 2 +- gateleen-delegate/pom.xml | 2 +- gateleen-delta/pom.xml | 2 +- gateleen-expansion/pom.xml | 2 +- gateleen-hook-js/pom.xml | 2 +- gateleen-hook/pom.xml | 2 +- gateleen-kafka/pom.xml | 2 +- gateleen-logging/pom.xml | 2 +- gateleen-merge/pom.xml | 2 +- gateleen-monitoring/pom.xml | 2 +- gateleen-packing/pom.xml | 2 +- gateleen-player/pom.xml | 2 +- gateleen-playground/pom.xml | 2 +- gateleen-qos/pom.xml | 2 +- gateleen-queue/pom.xml | 2 +- gateleen-routing/pom.xml | 2 +- gateleen-runconfig/pom.xml | 2 +- gateleen-scheduler/pom.xml | 2 +- gateleen-security/pom.xml | 2 +- gateleen-test/pom.xml | 2 +- gateleen-testhelper/pom.xml | 2 +- gateleen-user/pom.xml | 2 +- gateleen-validation/pom.xml | 2 +- pom.xml | 2 +- 25 files changed, 25 insertions(+), 25 deletions(-) diff --git a/gateleen-cache/pom.xml b/gateleen-cache/pom.xml index 9a3228725..13763dd85 100644 --- a/gateleen-cache/pom.xml +++ b/gateleen-cache/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5-SNAPSHOT + 2.1.6-SNAPSHOT gateleen-cache diff --git a/gateleen-core/pom.xml b/gateleen-core/pom.xml index 3c96630f1..7afe50a7e 100644 --- a/gateleen-core/pom.xml +++ b/gateleen-core/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5-SNAPSHOT + 2.1.6-SNAPSHOT gateleen-core diff --git a/gateleen-delegate/pom.xml b/gateleen-delegate/pom.xml index ed5664922..c9d18b27b 100644 --- a/gateleen-delegate/pom.xml +++ b/gateleen-delegate/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5-SNAPSHOT + 2.1.6-SNAPSHOT gateleen-delegate diff --git a/gateleen-delta/pom.xml b/gateleen-delta/pom.xml index c18f85b14..a2b585754 100644 --- a/gateleen-delta/pom.xml +++ b/gateleen-delta/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5-SNAPSHOT + 2.1.6-SNAPSHOT gateleen-delta diff --git a/gateleen-expansion/pom.xml b/gateleen-expansion/pom.xml index 9c28e553d..fe8718104 100644 --- a/gateleen-expansion/pom.xml +++ b/gateleen-expansion/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5-SNAPSHOT + 2.1.6-SNAPSHOT gateleen-expansion diff --git a/gateleen-hook-js/pom.xml b/gateleen-hook-js/pom.xml index 74aeebd7f..00d652e9a 100644 --- a/gateleen-hook-js/pom.xml +++ b/gateleen-hook-js/pom.xml @@ -4,7 +4,7 @@ org.swisspush.gateleen gateleen - 2.1.5-SNAPSHOT + 2.1.6-SNAPSHOT gateleen-hook-js jar diff --git a/gateleen-hook/pom.xml b/gateleen-hook/pom.xml index c7ffb8b86..c59c50e31 100644 --- a/gateleen-hook/pom.xml +++ b/gateleen-hook/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5-SNAPSHOT + 2.1.6-SNAPSHOT gateleen-hook diff --git a/gateleen-kafka/pom.xml b/gateleen-kafka/pom.xml index cc5d5134c..5b4c8d30d 100644 --- a/gateleen-kafka/pom.xml +++ b/gateleen-kafka/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5-SNAPSHOT + 2.1.6-SNAPSHOT gateleen-kafka diff --git a/gateleen-logging/pom.xml b/gateleen-logging/pom.xml index 52a6b8fe0..b483b33cd 100644 --- a/gateleen-logging/pom.xml +++ b/gateleen-logging/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5-SNAPSHOT + 2.1.6-SNAPSHOT gateleen-logging diff --git a/gateleen-merge/pom.xml b/gateleen-merge/pom.xml index 0ed189633..74e18cfad 100644 --- a/gateleen-merge/pom.xml +++ b/gateleen-merge/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5-SNAPSHOT + 2.1.6-SNAPSHOT gateleen-merge diff --git a/gateleen-monitoring/pom.xml b/gateleen-monitoring/pom.xml index 93721503d..bb7566345 100644 --- a/gateleen-monitoring/pom.xml +++ b/gateleen-monitoring/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5-SNAPSHOT + 2.1.6-SNAPSHOT gateleen-monitoring diff --git a/gateleen-packing/pom.xml b/gateleen-packing/pom.xml index 4f04e7d5a..99969817b 100644 --- a/gateleen-packing/pom.xml +++ b/gateleen-packing/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5-SNAPSHOT + 2.1.6-SNAPSHOT gateleen-packing diff --git a/gateleen-player/pom.xml b/gateleen-player/pom.xml index da414dbf0..39f112da0 100644 --- a/gateleen-player/pom.xml +++ b/gateleen-player/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5-SNAPSHOT + 2.1.6-SNAPSHOT gateleen-player diff --git a/gateleen-playground/pom.xml b/gateleen-playground/pom.xml index c0d308138..955d6ffbd 100644 --- a/gateleen-playground/pom.xml +++ b/gateleen-playground/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5-SNAPSHOT + 2.1.6-SNAPSHOT gateleen-playground diff --git a/gateleen-qos/pom.xml b/gateleen-qos/pom.xml index 0b4d8f8a0..d7c3852ae 100644 --- a/gateleen-qos/pom.xml +++ b/gateleen-qos/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5-SNAPSHOT + 2.1.6-SNAPSHOT gateleen-qos diff --git a/gateleen-queue/pom.xml b/gateleen-queue/pom.xml index 21d95520a..73428d8c1 100644 --- a/gateleen-queue/pom.xml +++ b/gateleen-queue/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5-SNAPSHOT + 2.1.6-SNAPSHOT gateleen-queue diff --git a/gateleen-routing/pom.xml b/gateleen-routing/pom.xml index 07d13403e..4df6aa68b 100644 --- a/gateleen-routing/pom.xml +++ b/gateleen-routing/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5-SNAPSHOT + 2.1.6-SNAPSHOT gateleen-routing diff --git a/gateleen-runconfig/pom.xml b/gateleen-runconfig/pom.xml index 8c7c34907..02cb90c5b 100644 --- a/gateleen-runconfig/pom.xml +++ b/gateleen-runconfig/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5-SNAPSHOT + 2.1.6-SNAPSHOT gateleen-runconfig diff --git a/gateleen-scheduler/pom.xml b/gateleen-scheduler/pom.xml index dfa07db25..90c22167a 100644 --- a/gateleen-scheduler/pom.xml +++ b/gateleen-scheduler/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5-SNAPSHOT + 2.1.6-SNAPSHOT gateleen-scheduler diff --git a/gateleen-security/pom.xml b/gateleen-security/pom.xml index 30e121d0e..a87659fb4 100644 --- a/gateleen-security/pom.xml +++ b/gateleen-security/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5-SNAPSHOT + 2.1.6-SNAPSHOT gateleen-security diff --git a/gateleen-test/pom.xml b/gateleen-test/pom.xml index 4beb9415e..3ec3d4351 100644 --- a/gateleen-test/pom.xml +++ b/gateleen-test/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5-SNAPSHOT + 2.1.6-SNAPSHOT gateleen-test jar diff --git a/gateleen-testhelper/pom.xml b/gateleen-testhelper/pom.xml index a10c670c2..db93a74a8 100644 --- a/gateleen-testhelper/pom.xml +++ b/gateleen-testhelper/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5-SNAPSHOT + 2.1.6-SNAPSHOT gateleen-testhelper diff --git a/gateleen-user/pom.xml b/gateleen-user/pom.xml index 69b9e5c25..323c7d57e 100644 --- a/gateleen-user/pom.xml +++ b/gateleen-user/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5-SNAPSHOT + 2.1.6-SNAPSHOT gateleen-user diff --git a/gateleen-validation/pom.xml b/gateleen-validation/pom.xml index 1a4944347..c962dbc26 100644 --- a/gateleen-validation/pom.xml +++ b/gateleen-validation/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5-SNAPSHOT + 2.1.6-SNAPSHOT gateleen-validation diff --git a/pom.xml b/pom.xml index c4da97afd..ae4e3e3ee 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5-SNAPSHOT + 2.1.6-SNAPSHOT pom gateleen Middleware library based on Vert.x to build advanced JSON/REST communication servers From 63838635aa41b417702d38fda32ada61e6182063 Mon Sep 17 00:00:00 2001 From: runner Date: Thu, 2 May 2024 13:03:10 +0000 Subject: [PATCH 06/14] updating poms for branch'release-2.1.5' with non-snapshot versions --- gateleen-cache/pom.xml | 2 +- gateleen-core/pom.xml | 2 +- gateleen-delegate/pom.xml | 2 +- gateleen-delta/pom.xml | 2 +- gateleen-expansion/pom.xml | 2 +- gateleen-hook-js/pom.xml | 2 +- gateleen-hook/pom.xml | 2 +- gateleen-kafka/pom.xml | 2 +- gateleen-logging/pom.xml | 2 +- gateleen-merge/pom.xml | 2 +- gateleen-monitoring/pom.xml | 2 +- gateleen-packing/pom.xml | 2 +- gateleen-player/pom.xml | 2 +- gateleen-playground/pom.xml | 2 +- gateleen-qos/pom.xml | 2 +- gateleen-queue/pom.xml | 2 +- gateleen-routing/pom.xml | 2 +- gateleen-runconfig/pom.xml | 2 +- gateleen-scheduler/pom.xml | 2 +- gateleen-security/pom.xml | 2 +- gateleen-test/pom.xml | 2 +- gateleen-testhelper/pom.xml | 2 +- gateleen-user/pom.xml | 2 +- gateleen-validation/pom.xml | 2 +- pom.xml | 2 +- 25 files changed, 25 insertions(+), 25 deletions(-) diff --git a/gateleen-cache/pom.xml b/gateleen-cache/pom.xml index 9a3228725..54d64f88d 100644 --- a/gateleen-cache/pom.xml +++ b/gateleen-cache/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5-SNAPSHOT + 2.1.5 gateleen-cache diff --git a/gateleen-core/pom.xml b/gateleen-core/pom.xml index 3c96630f1..79365ca67 100644 --- a/gateleen-core/pom.xml +++ b/gateleen-core/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5-SNAPSHOT + 2.1.5 gateleen-core diff --git a/gateleen-delegate/pom.xml b/gateleen-delegate/pom.xml index ed5664922..810cf3da6 100644 --- a/gateleen-delegate/pom.xml +++ b/gateleen-delegate/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5-SNAPSHOT + 2.1.5 gateleen-delegate diff --git a/gateleen-delta/pom.xml b/gateleen-delta/pom.xml index c18f85b14..3f472dfca 100644 --- a/gateleen-delta/pom.xml +++ b/gateleen-delta/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5-SNAPSHOT + 2.1.5 gateleen-delta diff --git a/gateleen-expansion/pom.xml b/gateleen-expansion/pom.xml index 9c28e553d..2046de0d9 100644 --- a/gateleen-expansion/pom.xml +++ b/gateleen-expansion/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5-SNAPSHOT + 2.1.5 gateleen-expansion diff --git a/gateleen-hook-js/pom.xml b/gateleen-hook-js/pom.xml index 74aeebd7f..a80bffe00 100644 --- a/gateleen-hook-js/pom.xml +++ b/gateleen-hook-js/pom.xml @@ -4,7 +4,7 @@ org.swisspush.gateleen gateleen - 2.1.5-SNAPSHOT + 2.1.5 gateleen-hook-js jar diff --git a/gateleen-hook/pom.xml b/gateleen-hook/pom.xml index c7ffb8b86..a043180f1 100644 --- a/gateleen-hook/pom.xml +++ b/gateleen-hook/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5-SNAPSHOT + 2.1.5 gateleen-hook diff --git a/gateleen-kafka/pom.xml b/gateleen-kafka/pom.xml index cc5d5134c..cd4fd4ff0 100644 --- a/gateleen-kafka/pom.xml +++ b/gateleen-kafka/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5-SNAPSHOT + 2.1.5 gateleen-kafka diff --git a/gateleen-logging/pom.xml b/gateleen-logging/pom.xml index 52a6b8fe0..c52a07a80 100644 --- a/gateleen-logging/pom.xml +++ b/gateleen-logging/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5-SNAPSHOT + 2.1.5 gateleen-logging diff --git a/gateleen-merge/pom.xml b/gateleen-merge/pom.xml index 0ed189633..9bc8c5b70 100644 --- a/gateleen-merge/pom.xml +++ b/gateleen-merge/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5-SNAPSHOT + 2.1.5 gateleen-merge diff --git a/gateleen-monitoring/pom.xml b/gateleen-monitoring/pom.xml index 93721503d..70203d1c7 100644 --- a/gateleen-monitoring/pom.xml +++ b/gateleen-monitoring/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5-SNAPSHOT + 2.1.5 gateleen-monitoring diff --git a/gateleen-packing/pom.xml b/gateleen-packing/pom.xml index 4f04e7d5a..6fdf0787f 100644 --- a/gateleen-packing/pom.xml +++ b/gateleen-packing/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5-SNAPSHOT + 2.1.5 gateleen-packing diff --git a/gateleen-player/pom.xml b/gateleen-player/pom.xml index da414dbf0..82448480e 100644 --- a/gateleen-player/pom.xml +++ b/gateleen-player/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5-SNAPSHOT + 2.1.5 gateleen-player diff --git a/gateleen-playground/pom.xml b/gateleen-playground/pom.xml index c0d308138..788ddbfa0 100644 --- a/gateleen-playground/pom.xml +++ b/gateleen-playground/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5-SNAPSHOT + 2.1.5 gateleen-playground diff --git a/gateleen-qos/pom.xml b/gateleen-qos/pom.xml index 0b4d8f8a0..e15574552 100644 --- a/gateleen-qos/pom.xml +++ b/gateleen-qos/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5-SNAPSHOT + 2.1.5 gateleen-qos diff --git a/gateleen-queue/pom.xml b/gateleen-queue/pom.xml index 21d95520a..2fbdcd809 100644 --- a/gateleen-queue/pom.xml +++ b/gateleen-queue/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5-SNAPSHOT + 2.1.5 gateleen-queue diff --git a/gateleen-routing/pom.xml b/gateleen-routing/pom.xml index 07d13403e..8ff703716 100644 --- a/gateleen-routing/pom.xml +++ b/gateleen-routing/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5-SNAPSHOT + 2.1.5 gateleen-routing diff --git a/gateleen-runconfig/pom.xml b/gateleen-runconfig/pom.xml index 8c7c34907..3ea1aac84 100644 --- a/gateleen-runconfig/pom.xml +++ b/gateleen-runconfig/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5-SNAPSHOT + 2.1.5 gateleen-runconfig diff --git a/gateleen-scheduler/pom.xml b/gateleen-scheduler/pom.xml index dfa07db25..50b0f372b 100644 --- a/gateleen-scheduler/pom.xml +++ b/gateleen-scheduler/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5-SNAPSHOT + 2.1.5 gateleen-scheduler diff --git a/gateleen-security/pom.xml b/gateleen-security/pom.xml index 30e121d0e..3a5ec567a 100644 --- a/gateleen-security/pom.xml +++ b/gateleen-security/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5-SNAPSHOT + 2.1.5 gateleen-security diff --git a/gateleen-test/pom.xml b/gateleen-test/pom.xml index 4beb9415e..f3f775968 100644 --- a/gateleen-test/pom.xml +++ b/gateleen-test/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5-SNAPSHOT + 2.1.5 gateleen-test jar diff --git a/gateleen-testhelper/pom.xml b/gateleen-testhelper/pom.xml index a10c670c2..5869c9227 100644 --- a/gateleen-testhelper/pom.xml +++ b/gateleen-testhelper/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5-SNAPSHOT + 2.1.5 gateleen-testhelper diff --git a/gateleen-user/pom.xml b/gateleen-user/pom.xml index 69b9e5c25..5a62a67e2 100644 --- a/gateleen-user/pom.xml +++ b/gateleen-user/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5-SNAPSHOT + 2.1.5 gateleen-user diff --git a/gateleen-validation/pom.xml b/gateleen-validation/pom.xml index 1a4944347..72e6d885f 100644 --- a/gateleen-validation/pom.xml +++ b/gateleen-validation/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5-SNAPSHOT + 2.1.5 gateleen-validation diff --git a/pom.xml b/pom.xml index c4da97afd..c69a93921 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5-SNAPSHOT + 2.1.5 pom gateleen Middleware library based on Vert.x to build advanced JSON/REST communication servers From 38e2d3f4d5f48593eb86e001c71e31fd451e2ed3 Mon Sep 17 00:00:00 2001 From: runner Date: Thu, 2 May 2024 13:07:30 +0000 Subject: [PATCH 07/14] updating develop poms to master versions to avoid merge conflicts --- gateleen-cache/pom.xml | 2 +- gateleen-core/pom.xml | 2 +- gateleen-delegate/pom.xml | 2 +- gateleen-delta/pom.xml | 2 +- gateleen-expansion/pom.xml | 2 +- gateleen-hook-js/pom.xml | 2 +- gateleen-hook/pom.xml | 2 +- gateleen-kafka/pom.xml | 2 +- gateleen-logging/pom.xml | 2 +- gateleen-merge/pom.xml | 2 +- gateleen-monitoring/pom.xml | 2 +- gateleen-packing/pom.xml | 2 +- gateleen-player/pom.xml | 2 +- gateleen-playground/pom.xml | 2 +- gateleen-qos/pom.xml | 2 +- gateleen-queue/pom.xml | 2 +- gateleen-routing/pom.xml | 2 +- gateleen-runconfig/pom.xml | 2 +- gateleen-scheduler/pom.xml | 2 +- gateleen-security/pom.xml | 2 +- gateleen-test/pom.xml | 2 +- gateleen-testhelper/pom.xml | 2 +- gateleen-user/pom.xml | 2 +- gateleen-validation/pom.xml | 2 +- pom.xml | 2 +- 25 files changed, 25 insertions(+), 25 deletions(-) diff --git a/gateleen-cache/pom.xml b/gateleen-cache/pom.xml index 13763dd85..54d64f88d 100644 --- a/gateleen-cache/pom.xml +++ b/gateleen-cache/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.5 gateleen-cache diff --git a/gateleen-core/pom.xml b/gateleen-core/pom.xml index 7afe50a7e..79365ca67 100644 --- a/gateleen-core/pom.xml +++ b/gateleen-core/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.5 gateleen-core diff --git a/gateleen-delegate/pom.xml b/gateleen-delegate/pom.xml index c9d18b27b..810cf3da6 100644 --- a/gateleen-delegate/pom.xml +++ b/gateleen-delegate/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.5 gateleen-delegate diff --git a/gateleen-delta/pom.xml b/gateleen-delta/pom.xml index a2b585754..3f472dfca 100644 --- a/gateleen-delta/pom.xml +++ b/gateleen-delta/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.5 gateleen-delta diff --git a/gateleen-expansion/pom.xml b/gateleen-expansion/pom.xml index fe8718104..2046de0d9 100644 --- a/gateleen-expansion/pom.xml +++ b/gateleen-expansion/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.5 gateleen-expansion diff --git a/gateleen-hook-js/pom.xml b/gateleen-hook-js/pom.xml index 00d652e9a..a80bffe00 100644 --- a/gateleen-hook-js/pom.xml +++ b/gateleen-hook-js/pom.xml @@ -4,7 +4,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.5 gateleen-hook-js jar diff --git a/gateleen-hook/pom.xml b/gateleen-hook/pom.xml index c59c50e31..a043180f1 100644 --- a/gateleen-hook/pom.xml +++ b/gateleen-hook/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.5 gateleen-hook diff --git a/gateleen-kafka/pom.xml b/gateleen-kafka/pom.xml index 5b4c8d30d..cd4fd4ff0 100644 --- a/gateleen-kafka/pom.xml +++ b/gateleen-kafka/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.5 gateleen-kafka diff --git a/gateleen-logging/pom.xml b/gateleen-logging/pom.xml index b483b33cd..c52a07a80 100644 --- a/gateleen-logging/pom.xml +++ b/gateleen-logging/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.5 gateleen-logging diff --git a/gateleen-merge/pom.xml b/gateleen-merge/pom.xml index 74e18cfad..9bc8c5b70 100644 --- a/gateleen-merge/pom.xml +++ b/gateleen-merge/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.5 gateleen-merge diff --git a/gateleen-monitoring/pom.xml b/gateleen-monitoring/pom.xml index bb7566345..70203d1c7 100644 --- a/gateleen-monitoring/pom.xml +++ b/gateleen-monitoring/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.5 gateleen-monitoring diff --git a/gateleen-packing/pom.xml b/gateleen-packing/pom.xml index 99969817b..6fdf0787f 100644 --- a/gateleen-packing/pom.xml +++ b/gateleen-packing/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.5 gateleen-packing diff --git a/gateleen-player/pom.xml b/gateleen-player/pom.xml index 39f112da0..82448480e 100644 --- a/gateleen-player/pom.xml +++ b/gateleen-player/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.5 gateleen-player diff --git a/gateleen-playground/pom.xml b/gateleen-playground/pom.xml index 955d6ffbd..788ddbfa0 100644 --- a/gateleen-playground/pom.xml +++ b/gateleen-playground/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.5 gateleen-playground diff --git a/gateleen-qos/pom.xml b/gateleen-qos/pom.xml index d7c3852ae..e15574552 100644 --- a/gateleen-qos/pom.xml +++ b/gateleen-qos/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.5 gateleen-qos diff --git a/gateleen-queue/pom.xml b/gateleen-queue/pom.xml index 73428d8c1..2fbdcd809 100644 --- a/gateleen-queue/pom.xml +++ b/gateleen-queue/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.5 gateleen-queue diff --git a/gateleen-routing/pom.xml b/gateleen-routing/pom.xml index 4df6aa68b..8ff703716 100644 --- a/gateleen-routing/pom.xml +++ b/gateleen-routing/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.5 gateleen-routing diff --git a/gateleen-runconfig/pom.xml b/gateleen-runconfig/pom.xml index 02cb90c5b..3ea1aac84 100644 --- a/gateleen-runconfig/pom.xml +++ b/gateleen-runconfig/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.5 gateleen-runconfig diff --git a/gateleen-scheduler/pom.xml b/gateleen-scheduler/pom.xml index 90c22167a..50b0f372b 100644 --- a/gateleen-scheduler/pom.xml +++ b/gateleen-scheduler/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.5 gateleen-scheduler diff --git a/gateleen-security/pom.xml b/gateleen-security/pom.xml index a87659fb4..3a5ec567a 100644 --- a/gateleen-security/pom.xml +++ b/gateleen-security/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.5 gateleen-security diff --git a/gateleen-test/pom.xml b/gateleen-test/pom.xml index 3ec3d4351..f3f775968 100644 --- a/gateleen-test/pom.xml +++ b/gateleen-test/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.5 gateleen-test jar diff --git a/gateleen-testhelper/pom.xml b/gateleen-testhelper/pom.xml index db93a74a8..5869c9227 100644 --- a/gateleen-testhelper/pom.xml +++ b/gateleen-testhelper/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.5 gateleen-testhelper diff --git a/gateleen-user/pom.xml b/gateleen-user/pom.xml index 323c7d57e..5a62a67e2 100644 --- a/gateleen-user/pom.xml +++ b/gateleen-user/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.5 gateleen-user diff --git a/gateleen-validation/pom.xml b/gateleen-validation/pom.xml index c962dbc26..72e6d885f 100644 --- a/gateleen-validation/pom.xml +++ b/gateleen-validation/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.5 gateleen-validation diff --git a/pom.xml b/pom.xml index ae4e3e3ee..c69a93921 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.5 pom gateleen Middleware library based on Vert.x to build advanced JSON/REST communication servers From 6df8d59a813c142f2ab5705e65cc70909cd156ea Mon Sep 17 00:00:00 2001 From: runner Date: Thu, 2 May 2024 13:07:33 +0000 Subject: [PATCH 08/14] Updating develop poms back to pre merge state --- gateleen-cache/pom.xml | 2 +- gateleen-core/pom.xml | 2 +- gateleen-delegate/pom.xml | 2 +- gateleen-delta/pom.xml | 2 +- gateleen-expansion/pom.xml | 2 +- gateleen-hook-js/pom.xml | 2 +- gateleen-hook/pom.xml | 2 +- gateleen-kafka/pom.xml | 2 +- gateleen-logging/pom.xml | 2 +- gateleen-merge/pom.xml | 2 +- gateleen-monitoring/pom.xml | 2 +- gateleen-packing/pom.xml | 2 +- gateleen-player/pom.xml | 2 +- gateleen-playground/pom.xml | 2 +- gateleen-qos/pom.xml | 2 +- gateleen-queue/pom.xml | 2 +- gateleen-routing/pom.xml | 2 +- gateleen-runconfig/pom.xml | 2 +- gateleen-scheduler/pom.xml | 2 +- gateleen-security/pom.xml | 2 +- gateleen-test/pom.xml | 2 +- gateleen-testhelper/pom.xml | 2 +- gateleen-user/pom.xml | 2 +- gateleen-validation/pom.xml | 2 +- pom.xml | 2 +- 25 files changed, 25 insertions(+), 25 deletions(-) diff --git a/gateleen-cache/pom.xml b/gateleen-cache/pom.xml index 54d64f88d..13763dd85 100644 --- a/gateleen-cache/pom.xml +++ b/gateleen-cache/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5 + 2.1.6-SNAPSHOT gateleen-cache diff --git a/gateleen-core/pom.xml b/gateleen-core/pom.xml index 79365ca67..7afe50a7e 100644 --- a/gateleen-core/pom.xml +++ b/gateleen-core/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5 + 2.1.6-SNAPSHOT gateleen-core diff --git a/gateleen-delegate/pom.xml b/gateleen-delegate/pom.xml index 810cf3da6..c9d18b27b 100644 --- a/gateleen-delegate/pom.xml +++ b/gateleen-delegate/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5 + 2.1.6-SNAPSHOT gateleen-delegate diff --git a/gateleen-delta/pom.xml b/gateleen-delta/pom.xml index 3f472dfca..a2b585754 100644 --- a/gateleen-delta/pom.xml +++ b/gateleen-delta/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5 + 2.1.6-SNAPSHOT gateleen-delta diff --git a/gateleen-expansion/pom.xml b/gateleen-expansion/pom.xml index 2046de0d9..fe8718104 100644 --- a/gateleen-expansion/pom.xml +++ b/gateleen-expansion/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5 + 2.1.6-SNAPSHOT gateleen-expansion diff --git a/gateleen-hook-js/pom.xml b/gateleen-hook-js/pom.xml index a80bffe00..00d652e9a 100644 --- a/gateleen-hook-js/pom.xml +++ b/gateleen-hook-js/pom.xml @@ -4,7 +4,7 @@ org.swisspush.gateleen gateleen - 2.1.5 + 2.1.6-SNAPSHOT gateleen-hook-js jar diff --git a/gateleen-hook/pom.xml b/gateleen-hook/pom.xml index a043180f1..c59c50e31 100644 --- a/gateleen-hook/pom.xml +++ b/gateleen-hook/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5 + 2.1.6-SNAPSHOT gateleen-hook diff --git a/gateleen-kafka/pom.xml b/gateleen-kafka/pom.xml index cd4fd4ff0..5b4c8d30d 100644 --- a/gateleen-kafka/pom.xml +++ b/gateleen-kafka/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5 + 2.1.6-SNAPSHOT gateleen-kafka diff --git a/gateleen-logging/pom.xml b/gateleen-logging/pom.xml index c52a07a80..b483b33cd 100644 --- a/gateleen-logging/pom.xml +++ b/gateleen-logging/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5 + 2.1.6-SNAPSHOT gateleen-logging diff --git a/gateleen-merge/pom.xml b/gateleen-merge/pom.xml index 9bc8c5b70..74e18cfad 100644 --- a/gateleen-merge/pom.xml +++ b/gateleen-merge/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5 + 2.1.6-SNAPSHOT gateleen-merge diff --git a/gateleen-monitoring/pom.xml b/gateleen-monitoring/pom.xml index 70203d1c7..bb7566345 100644 --- a/gateleen-monitoring/pom.xml +++ b/gateleen-monitoring/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5 + 2.1.6-SNAPSHOT gateleen-monitoring diff --git a/gateleen-packing/pom.xml b/gateleen-packing/pom.xml index 6fdf0787f..99969817b 100644 --- a/gateleen-packing/pom.xml +++ b/gateleen-packing/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5 + 2.1.6-SNAPSHOT gateleen-packing diff --git a/gateleen-player/pom.xml b/gateleen-player/pom.xml index 82448480e..39f112da0 100644 --- a/gateleen-player/pom.xml +++ b/gateleen-player/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5 + 2.1.6-SNAPSHOT gateleen-player diff --git a/gateleen-playground/pom.xml b/gateleen-playground/pom.xml index 788ddbfa0..955d6ffbd 100644 --- a/gateleen-playground/pom.xml +++ b/gateleen-playground/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5 + 2.1.6-SNAPSHOT gateleen-playground diff --git a/gateleen-qos/pom.xml b/gateleen-qos/pom.xml index e15574552..d7c3852ae 100644 --- a/gateleen-qos/pom.xml +++ b/gateleen-qos/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5 + 2.1.6-SNAPSHOT gateleen-qos diff --git a/gateleen-queue/pom.xml b/gateleen-queue/pom.xml index 2fbdcd809..73428d8c1 100644 --- a/gateleen-queue/pom.xml +++ b/gateleen-queue/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5 + 2.1.6-SNAPSHOT gateleen-queue diff --git a/gateleen-routing/pom.xml b/gateleen-routing/pom.xml index 8ff703716..4df6aa68b 100644 --- a/gateleen-routing/pom.xml +++ b/gateleen-routing/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5 + 2.1.6-SNAPSHOT gateleen-routing diff --git a/gateleen-runconfig/pom.xml b/gateleen-runconfig/pom.xml index 3ea1aac84..02cb90c5b 100644 --- a/gateleen-runconfig/pom.xml +++ b/gateleen-runconfig/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5 + 2.1.6-SNAPSHOT gateleen-runconfig diff --git a/gateleen-scheduler/pom.xml b/gateleen-scheduler/pom.xml index 50b0f372b..90c22167a 100644 --- a/gateleen-scheduler/pom.xml +++ b/gateleen-scheduler/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5 + 2.1.6-SNAPSHOT gateleen-scheduler diff --git a/gateleen-security/pom.xml b/gateleen-security/pom.xml index 3a5ec567a..a87659fb4 100644 --- a/gateleen-security/pom.xml +++ b/gateleen-security/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5 + 2.1.6-SNAPSHOT gateleen-security diff --git a/gateleen-test/pom.xml b/gateleen-test/pom.xml index f3f775968..3ec3d4351 100644 --- a/gateleen-test/pom.xml +++ b/gateleen-test/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5 + 2.1.6-SNAPSHOT gateleen-test jar diff --git a/gateleen-testhelper/pom.xml b/gateleen-testhelper/pom.xml index 5869c9227..db93a74a8 100644 --- a/gateleen-testhelper/pom.xml +++ b/gateleen-testhelper/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5 + 2.1.6-SNAPSHOT gateleen-testhelper diff --git a/gateleen-user/pom.xml b/gateleen-user/pom.xml index 5a62a67e2..323c7d57e 100644 --- a/gateleen-user/pom.xml +++ b/gateleen-user/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5 + 2.1.6-SNAPSHOT gateleen-user diff --git a/gateleen-validation/pom.xml b/gateleen-validation/pom.xml index 72e6d885f..c962dbc26 100644 --- a/gateleen-validation/pom.xml +++ b/gateleen-validation/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5 + 2.1.6-SNAPSHOT gateleen-validation diff --git a/pom.xml b/pom.xml index c69a93921..ae4e3e3ee 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.5 + 2.1.6-SNAPSHOT pom gateleen Middleware library based on Vert.x to build advanced JSON/REST communication servers From 677cc43071a044f464b08f40486e03f32dda4971 Mon Sep 17 00:00:00 2001 From: runner Date: Thu, 2 May 2024 15:01:53 +0000 Subject: [PATCH 09/14] updating poms for 2.1.6 branch with snapshot versions From 150a997681e5c563a132920b41e98de46b825d43 Mon Sep 17 00:00:00 2001 From: runner Date: Thu, 2 May 2024 15:01:55 +0000 Subject: [PATCH 10/14] updating poms for 2.1.7-SNAPSHOT development --- gateleen-cache/pom.xml | 2 +- gateleen-core/pom.xml | 2 +- gateleen-delegate/pom.xml | 2 +- gateleen-delta/pom.xml | 2 +- gateleen-expansion/pom.xml | 2 +- gateleen-hook-js/pom.xml | 2 +- gateleen-hook/pom.xml | 2 +- gateleen-kafka/pom.xml | 2 +- gateleen-logging/pom.xml | 2 +- gateleen-merge/pom.xml | 2 +- gateleen-monitoring/pom.xml | 2 +- gateleen-packing/pom.xml | 2 +- gateleen-player/pom.xml | 2 +- gateleen-playground/pom.xml | 2 +- gateleen-qos/pom.xml | 2 +- gateleen-queue/pom.xml | 2 +- gateleen-routing/pom.xml | 2 +- gateleen-runconfig/pom.xml | 2 +- gateleen-scheduler/pom.xml | 2 +- gateleen-security/pom.xml | 2 +- gateleen-test/pom.xml | 2 +- gateleen-testhelper/pom.xml | 2 +- gateleen-user/pom.xml | 2 +- gateleen-validation/pom.xml | 2 +- pom.xml | 2 +- 25 files changed, 25 insertions(+), 25 deletions(-) diff --git a/gateleen-cache/pom.xml b/gateleen-cache/pom.xml index 13763dd85..c45639810 100644 --- a/gateleen-cache/pom.xml +++ b/gateleen-cache/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.7-SNAPSHOT gateleen-cache diff --git a/gateleen-core/pom.xml b/gateleen-core/pom.xml index 7afe50a7e..c6124598c 100644 --- a/gateleen-core/pom.xml +++ b/gateleen-core/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.7-SNAPSHOT gateleen-core diff --git a/gateleen-delegate/pom.xml b/gateleen-delegate/pom.xml index c9d18b27b..3374b2244 100644 --- a/gateleen-delegate/pom.xml +++ b/gateleen-delegate/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.7-SNAPSHOT gateleen-delegate diff --git a/gateleen-delta/pom.xml b/gateleen-delta/pom.xml index a2b585754..1fecc47b8 100644 --- a/gateleen-delta/pom.xml +++ b/gateleen-delta/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.7-SNAPSHOT gateleen-delta diff --git a/gateleen-expansion/pom.xml b/gateleen-expansion/pom.xml index fe8718104..cd4fa1dd5 100644 --- a/gateleen-expansion/pom.xml +++ b/gateleen-expansion/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.7-SNAPSHOT gateleen-expansion diff --git a/gateleen-hook-js/pom.xml b/gateleen-hook-js/pom.xml index 00d652e9a..59455301d 100644 --- a/gateleen-hook-js/pom.xml +++ b/gateleen-hook-js/pom.xml @@ -4,7 +4,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.7-SNAPSHOT gateleen-hook-js jar diff --git a/gateleen-hook/pom.xml b/gateleen-hook/pom.xml index c59c50e31..d0c5e3ca2 100644 --- a/gateleen-hook/pom.xml +++ b/gateleen-hook/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.7-SNAPSHOT gateleen-hook diff --git a/gateleen-kafka/pom.xml b/gateleen-kafka/pom.xml index 5b4c8d30d..c58d33a08 100644 --- a/gateleen-kafka/pom.xml +++ b/gateleen-kafka/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.7-SNAPSHOT gateleen-kafka diff --git a/gateleen-logging/pom.xml b/gateleen-logging/pom.xml index b483b33cd..8a6ba5a5f 100644 --- a/gateleen-logging/pom.xml +++ b/gateleen-logging/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.7-SNAPSHOT gateleen-logging diff --git a/gateleen-merge/pom.xml b/gateleen-merge/pom.xml index 74e18cfad..1ac048c6e 100644 --- a/gateleen-merge/pom.xml +++ b/gateleen-merge/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.7-SNAPSHOT gateleen-merge diff --git a/gateleen-monitoring/pom.xml b/gateleen-monitoring/pom.xml index bb7566345..d5fbb3a8d 100644 --- a/gateleen-monitoring/pom.xml +++ b/gateleen-monitoring/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.7-SNAPSHOT gateleen-monitoring diff --git a/gateleen-packing/pom.xml b/gateleen-packing/pom.xml index 99969817b..5298ffb32 100644 --- a/gateleen-packing/pom.xml +++ b/gateleen-packing/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.7-SNAPSHOT gateleen-packing diff --git a/gateleen-player/pom.xml b/gateleen-player/pom.xml index 39f112da0..de137f487 100644 --- a/gateleen-player/pom.xml +++ b/gateleen-player/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.7-SNAPSHOT gateleen-player diff --git a/gateleen-playground/pom.xml b/gateleen-playground/pom.xml index 955d6ffbd..e1cf9a818 100644 --- a/gateleen-playground/pom.xml +++ b/gateleen-playground/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.7-SNAPSHOT gateleen-playground diff --git a/gateleen-qos/pom.xml b/gateleen-qos/pom.xml index d7c3852ae..7bb5aea47 100644 --- a/gateleen-qos/pom.xml +++ b/gateleen-qos/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.7-SNAPSHOT gateleen-qos diff --git a/gateleen-queue/pom.xml b/gateleen-queue/pom.xml index 73428d8c1..7cc56c55d 100644 --- a/gateleen-queue/pom.xml +++ b/gateleen-queue/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.7-SNAPSHOT gateleen-queue diff --git a/gateleen-routing/pom.xml b/gateleen-routing/pom.xml index 4df6aa68b..07b9b4dbe 100644 --- a/gateleen-routing/pom.xml +++ b/gateleen-routing/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.7-SNAPSHOT gateleen-routing diff --git a/gateleen-runconfig/pom.xml b/gateleen-runconfig/pom.xml index 02cb90c5b..8d4324df2 100644 --- a/gateleen-runconfig/pom.xml +++ b/gateleen-runconfig/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.7-SNAPSHOT gateleen-runconfig diff --git a/gateleen-scheduler/pom.xml b/gateleen-scheduler/pom.xml index 90c22167a..1fcfbf677 100644 --- a/gateleen-scheduler/pom.xml +++ b/gateleen-scheduler/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.7-SNAPSHOT gateleen-scheduler diff --git a/gateleen-security/pom.xml b/gateleen-security/pom.xml index a87659fb4..0fc3067c4 100644 --- a/gateleen-security/pom.xml +++ b/gateleen-security/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.7-SNAPSHOT gateleen-security diff --git a/gateleen-test/pom.xml b/gateleen-test/pom.xml index 3ec3d4351..8611850de 100644 --- a/gateleen-test/pom.xml +++ b/gateleen-test/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.7-SNAPSHOT gateleen-test jar diff --git a/gateleen-testhelper/pom.xml b/gateleen-testhelper/pom.xml index db93a74a8..05882f11d 100644 --- a/gateleen-testhelper/pom.xml +++ b/gateleen-testhelper/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.7-SNAPSHOT gateleen-testhelper diff --git a/gateleen-user/pom.xml b/gateleen-user/pom.xml index 323c7d57e..4f69e7b6d 100644 --- a/gateleen-user/pom.xml +++ b/gateleen-user/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.7-SNAPSHOT gateleen-user diff --git a/gateleen-validation/pom.xml b/gateleen-validation/pom.xml index c962dbc26..391d4c537 100644 --- a/gateleen-validation/pom.xml +++ b/gateleen-validation/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.7-SNAPSHOT gateleen-validation diff --git a/pom.xml b/pom.xml index ae4e3e3ee..5cecd732f 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.7-SNAPSHOT pom gateleen Middleware library based on Vert.x to build advanced JSON/REST communication servers From 86082fd3f7cd4e12fd0ad1635d17f0cdfeb50257 Mon Sep 17 00:00:00 2001 From: runner Date: Thu, 2 May 2024 15:01:58 +0000 Subject: [PATCH 11/14] updating poms for branch'release-2.1.6' with non-snapshot versions --- gateleen-cache/pom.xml | 2 +- gateleen-core/pom.xml | 2 +- gateleen-delegate/pom.xml | 2 +- gateleen-delta/pom.xml | 2 +- gateleen-expansion/pom.xml | 2 +- gateleen-hook-js/pom.xml | 2 +- gateleen-hook/pom.xml | 2 +- gateleen-kafka/pom.xml | 2 +- gateleen-logging/pom.xml | 2 +- gateleen-merge/pom.xml | 2 +- gateleen-monitoring/pom.xml | 2 +- gateleen-packing/pom.xml | 2 +- gateleen-player/pom.xml | 2 +- gateleen-playground/pom.xml | 2 +- gateleen-qos/pom.xml | 2 +- gateleen-queue/pom.xml | 2 +- gateleen-routing/pom.xml | 2 +- gateleen-runconfig/pom.xml | 2 +- gateleen-scheduler/pom.xml | 2 +- gateleen-security/pom.xml | 2 +- gateleen-test/pom.xml | 2 +- gateleen-testhelper/pom.xml | 2 +- gateleen-user/pom.xml | 2 +- gateleen-validation/pom.xml | 2 +- pom.xml | 2 +- 25 files changed, 25 insertions(+), 25 deletions(-) diff --git a/gateleen-cache/pom.xml b/gateleen-cache/pom.xml index 13763dd85..6b9302276 100644 --- a/gateleen-cache/pom.xml +++ b/gateleen-cache/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.6 gateleen-cache diff --git a/gateleen-core/pom.xml b/gateleen-core/pom.xml index 7afe50a7e..6cad15822 100644 --- a/gateleen-core/pom.xml +++ b/gateleen-core/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.6 gateleen-core diff --git a/gateleen-delegate/pom.xml b/gateleen-delegate/pom.xml index c9d18b27b..87878c9d1 100644 --- a/gateleen-delegate/pom.xml +++ b/gateleen-delegate/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.6 gateleen-delegate diff --git a/gateleen-delta/pom.xml b/gateleen-delta/pom.xml index a2b585754..ea2e0c819 100644 --- a/gateleen-delta/pom.xml +++ b/gateleen-delta/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.6 gateleen-delta diff --git a/gateleen-expansion/pom.xml b/gateleen-expansion/pom.xml index fe8718104..7370bda66 100644 --- a/gateleen-expansion/pom.xml +++ b/gateleen-expansion/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.6 gateleen-expansion diff --git a/gateleen-hook-js/pom.xml b/gateleen-hook-js/pom.xml index 00d652e9a..8ca3c36af 100644 --- a/gateleen-hook-js/pom.xml +++ b/gateleen-hook-js/pom.xml @@ -4,7 +4,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.6 gateleen-hook-js jar diff --git a/gateleen-hook/pom.xml b/gateleen-hook/pom.xml index c59c50e31..a290d6d59 100644 --- a/gateleen-hook/pom.xml +++ b/gateleen-hook/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.6 gateleen-hook diff --git a/gateleen-kafka/pom.xml b/gateleen-kafka/pom.xml index 5b4c8d30d..0825de0c9 100644 --- a/gateleen-kafka/pom.xml +++ b/gateleen-kafka/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.6 gateleen-kafka diff --git a/gateleen-logging/pom.xml b/gateleen-logging/pom.xml index b483b33cd..3001cfc74 100644 --- a/gateleen-logging/pom.xml +++ b/gateleen-logging/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.6 gateleen-logging diff --git a/gateleen-merge/pom.xml b/gateleen-merge/pom.xml index 74e18cfad..53452675d 100644 --- a/gateleen-merge/pom.xml +++ b/gateleen-merge/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.6 gateleen-merge diff --git a/gateleen-monitoring/pom.xml b/gateleen-monitoring/pom.xml index bb7566345..14891c91b 100644 --- a/gateleen-monitoring/pom.xml +++ b/gateleen-monitoring/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.6 gateleen-monitoring diff --git a/gateleen-packing/pom.xml b/gateleen-packing/pom.xml index 99969817b..7e129912d 100644 --- a/gateleen-packing/pom.xml +++ b/gateleen-packing/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.6 gateleen-packing diff --git a/gateleen-player/pom.xml b/gateleen-player/pom.xml index 39f112da0..b38679691 100644 --- a/gateleen-player/pom.xml +++ b/gateleen-player/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.6 gateleen-player diff --git a/gateleen-playground/pom.xml b/gateleen-playground/pom.xml index 955d6ffbd..844897d6d 100644 --- a/gateleen-playground/pom.xml +++ b/gateleen-playground/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.6 gateleen-playground diff --git a/gateleen-qos/pom.xml b/gateleen-qos/pom.xml index d7c3852ae..8f6b79036 100644 --- a/gateleen-qos/pom.xml +++ b/gateleen-qos/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.6 gateleen-qos diff --git a/gateleen-queue/pom.xml b/gateleen-queue/pom.xml index 73428d8c1..770745188 100644 --- a/gateleen-queue/pom.xml +++ b/gateleen-queue/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.6 gateleen-queue diff --git a/gateleen-routing/pom.xml b/gateleen-routing/pom.xml index 4df6aa68b..3b69e4924 100644 --- a/gateleen-routing/pom.xml +++ b/gateleen-routing/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.6 gateleen-routing diff --git a/gateleen-runconfig/pom.xml b/gateleen-runconfig/pom.xml index 02cb90c5b..e2dff7bf9 100644 --- a/gateleen-runconfig/pom.xml +++ b/gateleen-runconfig/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.6 gateleen-runconfig diff --git a/gateleen-scheduler/pom.xml b/gateleen-scheduler/pom.xml index 90c22167a..263b28f79 100644 --- a/gateleen-scheduler/pom.xml +++ b/gateleen-scheduler/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.6 gateleen-scheduler diff --git a/gateleen-security/pom.xml b/gateleen-security/pom.xml index a87659fb4..fb034f15f 100644 --- a/gateleen-security/pom.xml +++ b/gateleen-security/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.6 gateleen-security diff --git a/gateleen-test/pom.xml b/gateleen-test/pom.xml index 3ec3d4351..7ecb6e2dd 100644 --- a/gateleen-test/pom.xml +++ b/gateleen-test/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.6 gateleen-test jar diff --git a/gateleen-testhelper/pom.xml b/gateleen-testhelper/pom.xml index db93a74a8..45c7e76cb 100644 --- a/gateleen-testhelper/pom.xml +++ b/gateleen-testhelper/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.6 gateleen-testhelper diff --git a/gateleen-user/pom.xml b/gateleen-user/pom.xml index 323c7d57e..6629e947e 100644 --- a/gateleen-user/pom.xml +++ b/gateleen-user/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.6 gateleen-user diff --git a/gateleen-validation/pom.xml b/gateleen-validation/pom.xml index c962dbc26..7f2251024 100644 --- a/gateleen-validation/pom.xml +++ b/gateleen-validation/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.6 gateleen-validation diff --git a/pom.xml b/pom.xml index ae4e3e3ee..418073e83 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6-SNAPSHOT + 2.1.6 pom gateleen Middleware library based on Vert.x to build advanced JSON/REST communication servers From 43c3735549f52c99fe0d675a12a7d2bca09d61f0 Mon Sep 17 00:00:00 2001 From: runner Date: Thu, 2 May 2024 15:07:33 +0000 Subject: [PATCH 12/14] updating develop poms to master versions to avoid merge conflicts --- gateleen-cache/pom.xml | 2 +- gateleen-core/pom.xml | 2 +- gateleen-delegate/pom.xml | 2 +- gateleen-delta/pom.xml | 2 +- gateleen-expansion/pom.xml | 2 +- gateleen-hook-js/pom.xml | 2 +- gateleen-hook/pom.xml | 2 +- gateleen-kafka/pom.xml | 2 +- gateleen-logging/pom.xml | 2 +- gateleen-merge/pom.xml | 2 +- gateleen-monitoring/pom.xml | 2 +- gateleen-packing/pom.xml | 2 +- gateleen-player/pom.xml | 2 +- gateleen-playground/pom.xml | 2 +- gateleen-qos/pom.xml | 2 +- gateleen-queue/pom.xml | 2 +- gateleen-routing/pom.xml | 2 +- gateleen-runconfig/pom.xml | 2 +- gateleen-scheduler/pom.xml | 2 +- gateleen-security/pom.xml | 2 +- gateleen-test/pom.xml | 2 +- gateleen-testhelper/pom.xml | 2 +- gateleen-user/pom.xml | 2 +- gateleen-validation/pom.xml | 2 +- pom.xml | 2 +- 25 files changed, 25 insertions(+), 25 deletions(-) diff --git a/gateleen-cache/pom.xml b/gateleen-cache/pom.xml index c45639810..6b9302276 100644 --- a/gateleen-cache/pom.xml +++ b/gateleen-cache/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.7-SNAPSHOT + 2.1.6 gateleen-cache diff --git a/gateleen-core/pom.xml b/gateleen-core/pom.xml index c6124598c..6cad15822 100644 --- a/gateleen-core/pom.xml +++ b/gateleen-core/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.7-SNAPSHOT + 2.1.6 gateleen-core diff --git a/gateleen-delegate/pom.xml b/gateleen-delegate/pom.xml index 3374b2244..87878c9d1 100644 --- a/gateleen-delegate/pom.xml +++ b/gateleen-delegate/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.7-SNAPSHOT + 2.1.6 gateleen-delegate diff --git a/gateleen-delta/pom.xml b/gateleen-delta/pom.xml index 1fecc47b8..ea2e0c819 100644 --- a/gateleen-delta/pom.xml +++ b/gateleen-delta/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.7-SNAPSHOT + 2.1.6 gateleen-delta diff --git a/gateleen-expansion/pom.xml b/gateleen-expansion/pom.xml index cd4fa1dd5..7370bda66 100644 --- a/gateleen-expansion/pom.xml +++ b/gateleen-expansion/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.7-SNAPSHOT + 2.1.6 gateleen-expansion diff --git a/gateleen-hook-js/pom.xml b/gateleen-hook-js/pom.xml index 59455301d..8ca3c36af 100644 --- a/gateleen-hook-js/pom.xml +++ b/gateleen-hook-js/pom.xml @@ -4,7 +4,7 @@ org.swisspush.gateleen gateleen - 2.1.7-SNAPSHOT + 2.1.6 gateleen-hook-js jar diff --git a/gateleen-hook/pom.xml b/gateleen-hook/pom.xml index d0c5e3ca2..a290d6d59 100644 --- a/gateleen-hook/pom.xml +++ b/gateleen-hook/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.7-SNAPSHOT + 2.1.6 gateleen-hook diff --git a/gateleen-kafka/pom.xml b/gateleen-kafka/pom.xml index c58d33a08..0825de0c9 100644 --- a/gateleen-kafka/pom.xml +++ b/gateleen-kafka/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.7-SNAPSHOT + 2.1.6 gateleen-kafka diff --git a/gateleen-logging/pom.xml b/gateleen-logging/pom.xml index 8a6ba5a5f..3001cfc74 100644 --- a/gateleen-logging/pom.xml +++ b/gateleen-logging/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.7-SNAPSHOT + 2.1.6 gateleen-logging diff --git a/gateleen-merge/pom.xml b/gateleen-merge/pom.xml index 1ac048c6e..53452675d 100644 --- a/gateleen-merge/pom.xml +++ b/gateleen-merge/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.7-SNAPSHOT + 2.1.6 gateleen-merge diff --git a/gateleen-monitoring/pom.xml b/gateleen-monitoring/pom.xml index d5fbb3a8d..14891c91b 100644 --- a/gateleen-monitoring/pom.xml +++ b/gateleen-monitoring/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.7-SNAPSHOT + 2.1.6 gateleen-monitoring diff --git a/gateleen-packing/pom.xml b/gateleen-packing/pom.xml index 5298ffb32..7e129912d 100644 --- a/gateleen-packing/pom.xml +++ b/gateleen-packing/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.7-SNAPSHOT + 2.1.6 gateleen-packing diff --git a/gateleen-player/pom.xml b/gateleen-player/pom.xml index de137f487..b38679691 100644 --- a/gateleen-player/pom.xml +++ b/gateleen-player/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.7-SNAPSHOT + 2.1.6 gateleen-player diff --git a/gateleen-playground/pom.xml b/gateleen-playground/pom.xml index e1cf9a818..844897d6d 100644 --- a/gateleen-playground/pom.xml +++ b/gateleen-playground/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.7-SNAPSHOT + 2.1.6 gateleen-playground diff --git a/gateleen-qos/pom.xml b/gateleen-qos/pom.xml index 7bb5aea47..8f6b79036 100644 --- a/gateleen-qos/pom.xml +++ b/gateleen-qos/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.7-SNAPSHOT + 2.1.6 gateleen-qos diff --git a/gateleen-queue/pom.xml b/gateleen-queue/pom.xml index 7cc56c55d..770745188 100644 --- a/gateleen-queue/pom.xml +++ b/gateleen-queue/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.7-SNAPSHOT + 2.1.6 gateleen-queue diff --git a/gateleen-routing/pom.xml b/gateleen-routing/pom.xml index 07b9b4dbe..3b69e4924 100644 --- a/gateleen-routing/pom.xml +++ b/gateleen-routing/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.7-SNAPSHOT + 2.1.6 gateleen-routing diff --git a/gateleen-runconfig/pom.xml b/gateleen-runconfig/pom.xml index 8d4324df2..e2dff7bf9 100644 --- a/gateleen-runconfig/pom.xml +++ b/gateleen-runconfig/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.7-SNAPSHOT + 2.1.6 gateleen-runconfig diff --git a/gateleen-scheduler/pom.xml b/gateleen-scheduler/pom.xml index 1fcfbf677..263b28f79 100644 --- a/gateleen-scheduler/pom.xml +++ b/gateleen-scheduler/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.7-SNAPSHOT + 2.1.6 gateleen-scheduler diff --git a/gateleen-security/pom.xml b/gateleen-security/pom.xml index 0fc3067c4..fb034f15f 100644 --- a/gateleen-security/pom.xml +++ b/gateleen-security/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.7-SNAPSHOT + 2.1.6 gateleen-security diff --git a/gateleen-test/pom.xml b/gateleen-test/pom.xml index 8611850de..7ecb6e2dd 100644 --- a/gateleen-test/pom.xml +++ b/gateleen-test/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.7-SNAPSHOT + 2.1.6 gateleen-test jar diff --git a/gateleen-testhelper/pom.xml b/gateleen-testhelper/pom.xml index 05882f11d..45c7e76cb 100644 --- a/gateleen-testhelper/pom.xml +++ b/gateleen-testhelper/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.7-SNAPSHOT + 2.1.6 gateleen-testhelper diff --git a/gateleen-user/pom.xml b/gateleen-user/pom.xml index 4f69e7b6d..6629e947e 100644 --- a/gateleen-user/pom.xml +++ b/gateleen-user/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.7-SNAPSHOT + 2.1.6 gateleen-user diff --git a/gateleen-validation/pom.xml b/gateleen-validation/pom.xml index 391d4c537..7f2251024 100644 --- a/gateleen-validation/pom.xml +++ b/gateleen-validation/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.7-SNAPSHOT + 2.1.6 gateleen-validation diff --git a/pom.xml b/pom.xml index 5cecd732f..418073e83 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.7-SNAPSHOT + 2.1.6 pom gateleen Middleware library based on Vert.x to build advanced JSON/REST communication servers From 14dec8a3cbe688cbfab3655fcc2c22b5cef9795e Mon Sep 17 00:00:00 2001 From: runner Date: Thu, 2 May 2024 15:07:35 +0000 Subject: [PATCH 13/14] Updating develop poms back to pre merge state --- gateleen-cache/pom.xml | 2 +- gateleen-core/pom.xml | 2 +- gateleen-delegate/pom.xml | 2 +- gateleen-delta/pom.xml | 2 +- gateleen-expansion/pom.xml | 2 +- gateleen-hook-js/pom.xml | 2 +- gateleen-hook/pom.xml | 2 +- gateleen-kafka/pom.xml | 2 +- gateleen-logging/pom.xml | 2 +- gateleen-merge/pom.xml | 2 +- gateleen-monitoring/pom.xml | 2 +- gateleen-packing/pom.xml | 2 +- gateleen-player/pom.xml | 2 +- gateleen-playground/pom.xml | 2 +- gateleen-qos/pom.xml | 2 +- gateleen-queue/pom.xml | 2 +- gateleen-routing/pom.xml | 2 +- gateleen-runconfig/pom.xml | 2 +- gateleen-scheduler/pom.xml | 2 +- gateleen-security/pom.xml | 2 +- gateleen-test/pom.xml | 2 +- gateleen-testhelper/pom.xml | 2 +- gateleen-user/pom.xml | 2 +- gateleen-validation/pom.xml | 2 +- pom.xml | 2 +- 25 files changed, 25 insertions(+), 25 deletions(-) diff --git a/gateleen-cache/pom.xml b/gateleen-cache/pom.xml index 6b9302276..c45639810 100644 --- a/gateleen-cache/pom.xml +++ b/gateleen-cache/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6 + 2.1.7-SNAPSHOT gateleen-cache diff --git a/gateleen-core/pom.xml b/gateleen-core/pom.xml index 6cad15822..c6124598c 100644 --- a/gateleen-core/pom.xml +++ b/gateleen-core/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6 + 2.1.7-SNAPSHOT gateleen-core diff --git a/gateleen-delegate/pom.xml b/gateleen-delegate/pom.xml index 87878c9d1..3374b2244 100644 --- a/gateleen-delegate/pom.xml +++ b/gateleen-delegate/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6 + 2.1.7-SNAPSHOT gateleen-delegate diff --git a/gateleen-delta/pom.xml b/gateleen-delta/pom.xml index ea2e0c819..1fecc47b8 100644 --- a/gateleen-delta/pom.xml +++ b/gateleen-delta/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6 + 2.1.7-SNAPSHOT gateleen-delta diff --git a/gateleen-expansion/pom.xml b/gateleen-expansion/pom.xml index 7370bda66..cd4fa1dd5 100644 --- a/gateleen-expansion/pom.xml +++ b/gateleen-expansion/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6 + 2.1.7-SNAPSHOT gateleen-expansion diff --git a/gateleen-hook-js/pom.xml b/gateleen-hook-js/pom.xml index 8ca3c36af..59455301d 100644 --- a/gateleen-hook-js/pom.xml +++ b/gateleen-hook-js/pom.xml @@ -4,7 +4,7 @@ org.swisspush.gateleen gateleen - 2.1.6 + 2.1.7-SNAPSHOT gateleen-hook-js jar diff --git a/gateleen-hook/pom.xml b/gateleen-hook/pom.xml index a290d6d59..d0c5e3ca2 100644 --- a/gateleen-hook/pom.xml +++ b/gateleen-hook/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6 + 2.1.7-SNAPSHOT gateleen-hook diff --git a/gateleen-kafka/pom.xml b/gateleen-kafka/pom.xml index 0825de0c9..c58d33a08 100644 --- a/gateleen-kafka/pom.xml +++ b/gateleen-kafka/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6 + 2.1.7-SNAPSHOT gateleen-kafka diff --git a/gateleen-logging/pom.xml b/gateleen-logging/pom.xml index 3001cfc74..8a6ba5a5f 100644 --- a/gateleen-logging/pom.xml +++ b/gateleen-logging/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6 + 2.1.7-SNAPSHOT gateleen-logging diff --git a/gateleen-merge/pom.xml b/gateleen-merge/pom.xml index 53452675d..1ac048c6e 100644 --- a/gateleen-merge/pom.xml +++ b/gateleen-merge/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6 + 2.1.7-SNAPSHOT gateleen-merge diff --git a/gateleen-monitoring/pom.xml b/gateleen-monitoring/pom.xml index 14891c91b..d5fbb3a8d 100644 --- a/gateleen-monitoring/pom.xml +++ b/gateleen-monitoring/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6 + 2.1.7-SNAPSHOT gateleen-monitoring diff --git a/gateleen-packing/pom.xml b/gateleen-packing/pom.xml index 7e129912d..5298ffb32 100644 --- a/gateleen-packing/pom.xml +++ b/gateleen-packing/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6 + 2.1.7-SNAPSHOT gateleen-packing diff --git a/gateleen-player/pom.xml b/gateleen-player/pom.xml index b38679691..de137f487 100644 --- a/gateleen-player/pom.xml +++ b/gateleen-player/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6 + 2.1.7-SNAPSHOT gateleen-player diff --git a/gateleen-playground/pom.xml b/gateleen-playground/pom.xml index 844897d6d..e1cf9a818 100644 --- a/gateleen-playground/pom.xml +++ b/gateleen-playground/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6 + 2.1.7-SNAPSHOT gateleen-playground diff --git a/gateleen-qos/pom.xml b/gateleen-qos/pom.xml index 8f6b79036..7bb5aea47 100644 --- a/gateleen-qos/pom.xml +++ b/gateleen-qos/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6 + 2.1.7-SNAPSHOT gateleen-qos diff --git a/gateleen-queue/pom.xml b/gateleen-queue/pom.xml index 770745188..7cc56c55d 100644 --- a/gateleen-queue/pom.xml +++ b/gateleen-queue/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6 + 2.1.7-SNAPSHOT gateleen-queue diff --git a/gateleen-routing/pom.xml b/gateleen-routing/pom.xml index 3b69e4924..07b9b4dbe 100644 --- a/gateleen-routing/pom.xml +++ b/gateleen-routing/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6 + 2.1.7-SNAPSHOT gateleen-routing diff --git a/gateleen-runconfig/pom.xml b/gateleen-runconfig/pom.xml index e2dff7bf9..8d4324df2 100644 --- a/gateleen-runconfig/pom.xml +++ b/gateleen-runconfig/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6 + 2.1.7-SNAPSHOT gateleen-runconfig diff --git a/gateleen-scheduler/pom.xml b/gateleen-scheduler/pom.xml index 263b28f79..1fcfbf677 100644 --- a/gateleen-scheduler/pom.xml +++ b/gateleen-scheduler/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6 + 2.1.7-SNAPSHOT gateleen-scheduler diff --git a/gateleen-security/pom.xml b/gateleen-security/pom.xml index fb034f15f..0fc3067c4 100644 --- a/gateleen-security/pom.xml +++ b/gateleen-security/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6 + 2.1.7-SNAPSHOT gateleen-security diff --git a/gateleen-test/pom.xml b/gateleen-test/pom.xml index 7ecb6e2dd..8611850de 100644 --- a/gateleen-test/pom.xml +++ b/gateleen-test/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6 + 2.1.7-SNAPSHOT gateleen-test jar diff --git a/gateleen-testhelper/pom.xml b/gateleen-testhelper/pom.xml index 45c7e76cb..05882f11d 100644 --- a/gateleen-testhelper/pom.xml +++ b/gateleen-testhelper/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6 + 2.1.7-SNAPSHOT gateleen-testhelper diff --git a/gateleen-user/pom.xml b/gateleen-user/pom.xml index 6629e947e..4f69e7b6d 100644 --- a/gateleen-user/pom.xml +++ b/gateleen-user/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6 + 2.1.7-SNAPSHOT gateleen-user diff --git a/gateleen-validation/pom.xml b/gateleen-validation/pom.xml index 7f2251024..391d4c537 100644 --- a/gateleen-validation/pom.xml +++ b/gateleen-validation/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6 + 2.1.7-SNAPSHOT gateleen-validation diff --git a/pom.xml b/pom.xml index 418073e83..5cecd732f 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ org.swisspush.gateleen gateleen - 2.1.6 + 2.1.7-SNAPSHOT pom gateleen Middleware library based on Vert.x to build advanced JSON/REST communication servers From adb2a63dd6571c5c848b5bbaac918251e63ef159 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Weber?= Date: Fri, 24 May 2024 11:11:08 +0200 Subject: [PATCH 14/14] #576 Implement unmatched delegate handling --- gateleen-delegate/README_delegate.md | 4 + .../swisspush/gateleen/delegate/Delegate.java | 18 +++- .../gateleen/delegate/DelegateFactory.java | 11 ++- .../gateleen/delegate/DelegateHandler.java | 27 ++++-- .../delegate/DelegateFactoryTest.java | 2 +- ...eHandler.java => DelegateHandlerTest.java} | 48 ++++++++++- .../gateleen/delegate/DelegateTest.java | 85 ++++++++++++++++++- .../resources/valid_delegate_not_matching | 14 +++ .../swisspush/gateleen/playground/Server.java | 2 +- .../org/swisspush/gateleen/AbstractTest.java | 4 +- 10 files changed, 194 insertions(+), 21 deletions(-) rename gateleen-delegate/src/test/java/org/swisspush/gateleen/delegate/{TestDelegateHandler.java => DelegateHandlerTest.java} (60%) create mode 100644 gateleen-delegate/src/test/resources/valid_delegate_not_matching diff --git a/gateleen-delegate/README_delegate.md b/gateleen-delegate/README_delegate.md index 0cfa74938..8601bc926 100644 --- a/gateleen-delegate/README_delegate.md +++ b/gateleen-delegate/README_delegate.md @@ -265,3 +265,7 @@ Also you have to enable the logging on the [DelegateHandler](src/main/java/org/s ```java delegateHandler.enableResourceLogging(true); ``` +### Unmatched delegate handling +The default implementation of _Delegate_ and _DelegateHandler_ end the original request with `200 OK` when the _pattern_ or the _methods_ do not match. + +To override this behaviour, a _StatusCode_ can be provided in the constructor of _DelegateHandler_ as `unmatchedDelegateStatusCode` to define how the original requests should be responded when the called delegate does not match. \ No newline at end of file diff --git a/gateleen-delegate/src/main/java/org/swisspush/gateleen/delegate/Delegate.java b/gateleen-delegate/src/main/java/org/swisspush/gateleen/delegate/Delegate.java index 85968aa64..f1aa6cc52 100644 --- a/gateleen-delegate/src/main/java/org/swisspush/gateleen/delegate/Delegate.java +++ b/gateleen-delegate/src/main/java/org/swisspush/gateleen/delegate/Delegate.java @@ -18,6 +18,7 @@ import org.swisspush.gateleen.core.util.HttpServerRequestUtil; import org.swisspush.gateleen.core.util.StatusCode; +import javax.annotation.Nullable; import java.util.List; import java.util.Set; import java.util.concurrent.atomic.AtomicInteger; @@ -43,6 +44,7 @@ public class Delegate { private final Pattern pattern; private final Set methods; private final List requests; + private final StatusCode unmatchedDelegateStatusCode; private boolean delegateContainsJoltSpecRequest = false; /** @@ -54,12 +56,15 @@ public class Delegate { * @param methods methods of the delegate * @param requests requests of the delegate */ - public Delegate(final ClientRequestCreator clientRequestCreator, final String name, final Pattern pattern, final Set methods, final List requests) { + public Delegate(final ClientRequestCreator clientRequestCreator, final String name, final Pattern pattern, + final Set methods, final List requests, + @Nullable StatusCode unmatchedDelegateStatusCode) { this.clientRequestCreator = clientRequestCreator; this.name = name; this.pattern = pattern; this.methods = methods; this.requests = requests; + this.unmatchedDelegateStatusCode = unmatchedDelegateStatusCode; this.delegateContainsJoltSpecRequest = doesDelegateContainJoltSpecRequest(); } @@ -107,8 +112,15 @@ public void handle(final HttpServerRequest request) { } } - // end response, if nothing matches - request.response().end(); + // when delegate not matched and status code is defined, respond with defined status code + if(unmatchedDelegateStatusCode != null) { + request.response().setStatusCode(unmatchedDelegateStatusCode.getStatusCode()); + request.response().setStatusMessage(unmatchedDelegateStatusCode.getStatusMessage()); + request.response().end(); + } else { + // when delegate not matched and no status code is defined, just end response with 200 OK + request.response().end(); + } } /** diff --git a/gateleen-delegate/src/main/java/org/swisspush/gateleen/delegate/DelegateFactory.java b/gateleen-delegate/src/main/java/org/swisspush/gateleen/delegate/DelegateFactory.java index a3c101662..966ac2d5f 100644 --- a/gateleen-delegate/src/main/java/org/swisspush/gateleen/delegate/DelegateFactory.java +++ b/gateleen-delegate/src/main/java/org/swisspush/gateleen/delegate/DelegateFactory.java @@ -12,11 +12,13 @@ import org.swisspush.gateleen.core.json.transform.JoltSpec; import org.swisspush.gateleen.core.json.transform.JoltSpecBuilder; import org.swisspush.gateleen.core.json.transform.JoltSpecException; +import org.swisspush.gateleen.core.util.StatusCode; import org.swisspush.gateleen.core.util.StringUtils; import org.swisspush.gateleen.core.validation.ValidationResult; import org.swisspush.gateleen.validation.ValidationException; import org.swisspush.gateleen.validation.Validator; +import javax.annotation.Nullable; import java.util.*; import java.util.regex.Pattern; @@ -40,17 +42,22 @@ public class DelegateFactory { private final Map properties; private final String delegatesSchema; + private final StatusCode unmatchedDelegateStatusCode; + /** * Creates a new instance of the DelegateFactory. * * @param clientRequestCreator * @param properties * @param delegatesSchema + * @param unmatchedDelegateStatusCode */ - public DelegateFactory(final ClientRequestCreator clientRequestCreator, final Map properties, final String delegatesSchema) { + public DelegateFactory(final ClientRequestCreator clientRequestCreator, final Map properties, + final String delegatesSchema, @Nullable StatusCode unmatchedDelegateStatusCode) { this.clientRequestCreator = clientRequestCreator; this.properties = properties; this.delegatesSchema = delegatesSchema; + this.unmatchedDelegateStatusCode = unmatchedDelegateStatusCode; } /** @@ -125,7 +132,7 @@ private Delegate createDelegate(final String delegateName, final String configSt requests.add(new DelegateRequest(requestJsonObject, joltSpec, headerFunction)); } - return new Delegate(clientRequestCreator, delegateName, pattern, methods, requests); + return new Delegate(clientRequestCreator, delegateName, pattern, methods, requests, unmatchedDelegateStatusCode); } private JoltSpec parsePayloadTransformSpec(JsonObject requestJsonObject, String delegateName) throws ValidationException { diff --git a/gateleen-delegate/src/main/java/org/swisspush/gateleen/delegate/DelegateHandler.java b/gateleen-delegate/src/main/java/org/swisspush/gateleen/delegate/DelegateHandler.java index c67c4590d..9ed410f65 100644 --- a/gateleen-delegate/src/main/java/org/swisspush/gateleen/delegate/DelegateHandler.java +++ b/gateleen-delegate/src/main/java/org/swisspush/gateleen/delegate/DelegateHandler.java @@ -18,9 +18,9 @@ import org.swisspush.gateleen.core.storage.ResourceStorage; import org.swisspush.gateleen.core.util.ResourcesUtils; import org.swisspush.gateleen.core.util.StatusCode; -import org.swisspush.gateleen.monitoring.MonitoringHandler; import org.swisspush.gateleen.validation.ValidationException; +import javax.annotation.Nullable; import java.util.*; import java.util.concurrent.atomic.AtomicInteger; import java.util.function.Consumer; @@ -83,22 +83,37 @@ public class DelegateHandler implements Refreshable, LoggableResource { * @param vertx vertx * @param selfClient selfClient * @param delegateStorage delegateStorage - only used for storing delegates - * @param monitoringHandler monitoringHandler * @param delegatesUri delegate root * @param properties properties * @param doneHandler doneHandler */ public DelegateHandler(final Vertx vertx, final HttpClient selfClient, final ResourceStorage delegateStorage, - final MonitoringHandler monitoringHandler, final String delegatesUri, - final Map properties, - final Handler doneHandler) { + final String delegatesUri, final Map properties, final Handler doneHandler) { + this(vertx, selfClient, delegateStorage, delegatesUri, properties, null, doneHandler); + } + + /** + * Creates a new instance of the DelegateHandler. + * + * @param vertx vertx + * @param selfClient selfClient + * @param delegateStorage delegateStorage - only used for storing delegates + * @param delegatesUri delegate root + * @param properties properties + * @param unmatchedDelegateStatusCode respond requests with this status code when not matched + * @param doneHandler doneHandler + */ + public DelegateHandler(final Vertx vertx, final HttpClient selfClient, final ResourceStorage delegateStorage, + final String delegatesUri, final Map properties, + @Nullable StatusCode unmatchedDelegateStatusCode, final Handler doneHandler) { this.vertx = vertx; this.delegateStorage = delegateStorage; this.delegatesUri = delegatesUri; this.doneHandler = doneHandler; String delegatesSchema = ResourcesUtils.loadResource("gateleen_delegate_schema_delegates", true); - this.delegateFactory = new DelegateFactory(new ClientRequestCreator(selfClient), properties, delegatesSchema); + this.delegateFactory = new DelegateFactory(new ClientRequestCreator(selfClient), properties, + delegatesSchema, unmatchedDelegateStatusCode); delegateNamePattern = Pattern.compile(delegatesUri + "([^/]+)(/" + DEFINITION_RESOURCE + "|/"+ EXECUTION_RESOURCE + ".*" + "|/?)"); diff --git a/gateleen-delegate/src/test/java/org/swisspush/gateleen/delegate/DelegateFactoryTest.java b/gateleen-delegate/src/test/java/org/swisspush/gateleen/delegate/DelegateFactoryTest.java index d6bcb039e..91d146992 100644 --- a/gateleen-delegate/src/test/java/org/swisspush/gateleen/delegate/DelegateFactoryTest.java +++ b/gateleen-delegate/src/test/java/org/swisspush/gateleen/delegate/DelegateFactoryTest.java @@ -66,7 +66,7 @@ public void setUp() { Mockito.when(vertx.eventBus()).thenReturn(Mockito.mock(EventBus.class)); Map properties = new HashMap<>(); - delegateFactory = new DelegateFactory(new ClientRequestCreator(Mockito.mock(HttpClient.class)), properties, delegatesSchema); + delegateFactory = new DelegateFactory(new ClientRequestCreator(Mockito.mock(HttpClient.class)), properties, delegatesSchema, null); } @Test diff --git a/gateleen-delegate/src/test/java/org/swisspush/gateleen/delegate/TestDelegateHandler.java b/gateleen-delegate/src/test/java/org/swisspush/gateleen/delegate/DelegateHandlerTest.java similarity index 60% rename from gateleen-delegate/src/test/java/org/swisspush/gateleen/delegate/TestDelegateHandler.java rename to gateleen-delegate/src/test/java/org/swisspush/gateleen/delegate/DelegateHandlerTest.java index 51e0805fa..6f9119c40 100644 --- a/gateleen-delegate/src/test/java/org/swisspush/gateleen/delegate/TestDelegateHandler.java +++ b/gateleen-delegate/src/test/java/org/swisspush/gateleen/delegate/DelegateHandlerTest.java @@ -1,21 +1,38 @@ package org.swisspush.gateleen.delegate; +import io.vertx.core.http.HttpMethod; +import io.vertx.core.http.HttpServerResponse; import org.junit.Assert; import org.junit.BeforeClass; import org.junit.Test; +import org.mockito.Mockito; +import org.swisspush.gateleen.core.http.DummyHttpServerRequest; + +import static org.mockito.Mockito.verifyNoInteractions; /** - * Tests some features of the DelegateHandler. + * Tests some features of the {@link DelegateHandler}. * * @author https://github.com/ljucam [Mario Ljuca] */ -public class TestDelegateHandler { +public class DelegateHandlerTest { private static final String DELEGATE_URI = "/gateleen/server/delegate/v1/delegates/"; private static DelegateHandler delegateHandler; @BeforeClass public static void init() { - delegateHandler = new DelegateHandler(null, null, null, null, DELEGATE_URI, null, null); + delegateHandler = new DelegateHandler(null, null, null, DELEGATE_URI, + null, null); + } + + @Test + public void testHandle() { + String delegateName = "aName"; + HttpServerResponse response = Mockito.mock(HttpServerResponse.class); + + verifyNoInteractions(response); + Assert.assertFalse(delegateHandler.handle(new CustomHttpServerRequest(DELEGATE_URI + delegateName + "/blah", response))); + Assert.assertFalse(delegateHandler.handle(new CustomHttpServerRequest(DELEGATE_URI + delegateName, response))); } @Test @@ -55,4 +72,29 @@ public void testGetDelegateName_Recognition() { // -------------- } + + private static class CustomHttpServerRequest extends DummyHttpServerRequest { + + private final String uri; + private final HttpServerResponse response; + + public CustomHttpServerRequest(String uri, HttpServerResponse response) { + this.uri = uri; + this.response = response; + } + + @Override public String uri() { + return uri; + } + + @Override public HttpMethod method() { + return HttpMethod.GET; + } + + @Override + public HttpServerResponse response() { + return response != null ? response : super.response(); + } + + } } diff --git a/gateleen-delegate/src/test/java/org/swisspush/gateleen/delegate/DelegateTest.java b/gateleen-delegate/src/test/java/org/swisspush/gateleen/delegate/DelegateTest.java index f00336499..d870ed4b5 100644 --- a/gateleen-delegate/src/test/java/org/swisspush/gateleen/delegate/DelegateTest.java +++ b/gateleen-delegate/src/test/java/org/swisspush/gateleen/delegate/DelegateTest.java @@ -1,13 +1,13 @@ package org.swisspush.gateleen.delegate; +import io.vertx.core.Future; import io.vertx.core.Handler; import io.vertx.core.MultiMap; import io.vertx.core.Vertx; import io.vertx.core.buffer.Buffer; import io.vertx.core.eventbus.EventBus; - import io.vertx.core.http.HttpMethod; - +import io.vertx.core.http.HttpServerResponse; import io.vertx.core.http.impl.headers.HeadersMultiMap; import io.vertx.ext.unit.TestContext; import io.vertx.ext.unit.junit.VertxUnitRunner; @@ -19,6 +19,7 @@ import org.swisspush.gateleen.core.http.ClientRequestCreator; import org.swisspush.gateleen.core.http.DummyHttpServerRequest; import org.swisspush.gateleen.core.http.LocalHttpClient; +import org.swisspush.gateleen.core.util.StatusCode; import org.swisspush.gateleen.validation.ValidationException; import java.util.HashMap; @@ -36,9 +37,12 @@ public class DelegateTest { private final String VALID_DELEGATE = loadResource("valid_delegate", true); + private final String VALID_DELEGATE_NOT_MATCHING = loadResource("valid_delegate_not_matching", true); private final String VALID_DYNAMIC_HEADERS_DELEGATE = loadResource("valid_dynamic_headers_delegate", true); private final String VALID_HEADER_DEFINITON_DELEGATE = loadResource("valid_header_definition_delegate", true); + private final String VALID_TRANSFORM_PROPERTY_DELEGATE = loadResource("valid_transform_delegate", true); + private String delegatesSchema = loadResource("gateleen_delegate_schema_delegates", true); private ClientRequestCreator clientRequestCreator; @@ -51,7 +55,64 @@ public void setUp() { final LocalHttpClient selfClient = new LocalHttpClient(vertx); selfClient.setRoutingContexttHandler(event -> {}); clientRequestCreator = Mockito.spy(new ClientRequestCreator(selfClient)); - delegateFactory = new DelegateFactory(clientRequestCreator, new HashMap<>(), delegatesSchema); + delegateFactory = new DelegateFactory(clientRequestCreator, new HashMap<>(), delegatesSchema, null); + } + + @Test + public void testNotMatchingDelegateWithNoDefinedResponseStatusCode(TestContext context) throws ValidationException { + Delegate delegate = delegateFactory.parseDelegate("someDelegate", + Buffer.buffer(VALID_DELEGATE_NOT_MATCHING)); + + HttpServerResponse response = Mockito.mock(HttpServerResponse.class); + + CustomHttpServerRequest request = new CustomHttpServerRequest("/gateleen/playground/foobar", HttpMethod.PUT, + MultiMap.caseInsensitiveMultiMap(), null, response + ); + + delegate.handle(request); + + verifyNoInteractions(clientRequestCreator); + verify(response, never()).setStatusCode(anyInt()); + verify(response, never()).setStatusMessage(anyString()); + verify(response, times(1)).end(); + } + + @Test + public void testNotMatchingDelegateWithDefinedResponseStatusCode(TestContext context) throws ValidationException { + delegateFactory = new DelegateFactory(clientRequestCreator, new HashMap<>(), delegatesSchema, StatusCode.NOT_IMPLEMENTED); + Delegate delegate = delegateFactory.parseDelegate("someDelegate", + Buffer.buffer(VALID_DELEGATE_NOT_MATCHING)); + + HttpServerResponse response = Mockito.mock(HttpServerResponse.class); + + CustomHttpServerRequest request = new CustomHttpServerRequest("/gateleen/playground/foobar", HttpMethod.PUT, + MultiMap.caseInsensitiveMultiMap(),null, response + ); + + delegate.handle(request); + + verifyNoInteractions(clientRequestCreator); + verify(response, times(1)).setStatusCode(eq(StatusCode.NOT_IMPLEMENTED.getStatusCode())); + verify(response, times(1)).setStatusMessage(StatusCode.NOT_IMPLEMENTED.getStatusMessage()); + verify(response, times(1)).end(); + } + + @Test + public void testTransformationWithInvalidOriginalPayload(TestContext context) throws ValidationException { + Delegate delegate = delegateFactory.parseDelegate("someDelegate", + Buffer.buffer(VALID_TRANSFORM_PROPERTY_DELEGATE)); + + HttpServerResponse response = Mockito.mock(HttpServerResponse.class); + CustomHttpServerRequest request = new CustomHttpServerRequest("/gateleen/playground/foobar", HttpMethod.PUT, + MultiMap.caseInsensitiveMultiMap(), Buffer.buffer("{"), response + ); + + delegate.handle(request); + + verifyNoInteractions(clientRequestCreator); + verify(response, times(1)).setStatusCode(eq(StatusCode.BAD_REQUEST.getStatusCode())); + verify(response, times(1)).setStatusMessage(StatusCode.BAD_REQUEST.getStatusMessage()); + verify(response, times(1)).end(startsWith("Unable to parse payload of delegate execution request")); } @Test @@ -151,10 +212,19 @@ private static class CustomHttpServerRequest extends DummyHttpServerRequest { private final HttpMethod method; private final MultiMap headers; + private final HttpServerResponse response; + private final Buffer requestBody; + public CustomHttpServerRequest(String uri, HttpMethod method, MultiMap headers) { + this(uri, method, headers, null, null); + } + + public CustomHttpServerRequest(String uri, HttpMethod method, MultiMap headers, Buffer requestBody, HttpServerResponse response) { this.uri = uri; this.method = method; this.headers = headers; + this.requestBody = requestBody; + this.response = response; } @Override public HttpMethod method() { @@ -165,5 +235,14 @@ public CustomHttpServerRequest(String uri, HttpMethod method, MultiMap headers) } @Override public MultiMap headers() { return headers; } + @Override + public HttpServerResponse response() { + return response != null ? response : super.response(); + } + + @Override + public Future body() { + return requestBody != null ? Future.succeededFuture(requestBody) : super.body(); + } } } diff --git a/gateleen-delegate/src/test/resources/valid_delegate_not_matching b/gateleen-delegate/src/test/resources/valid_delegate_not_matching new file mode 100644 index 000000000..3fec59493 --- /dev/null +++ b/gateleen-delegate/src/test/resources/valid_delegate_not_matching @@ -0,0 +1,14 @@ +{ + "methods": [ "PUT" ], + "pattern": ".*/execution/notmatching/(.*)", + "requests": [ + { + "method": "POST", + "uri": "/gateleen/server/v1/copy", + "payload": { + "source": "/gateleen/$1?expand=100&zip=true", + "destination": "/gateleen/zips/users/$1.zip" + } + } + ] +} \ No newline at end of file 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 48bbeb033..558ce5413 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 @@ -287,7 +287,7 @@ public void start() { zipExtractHandler = new ZipExtractHandler(selfClient); - delegateHandler = new DelegateHandler(vertx, selfClient, storage, monitoringHandler, + delegateHandler = new DelegateHandler(vertx, selfClient, storage, SERVER_ROOT + "/admin/v1/delegates/", props, null); delegateHandler.enableResourceLogging(true); 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 c06a011f4..cf642f116 100755 --- a/gateleen-test/src/test/java/org/swisspush/gateleen/AbstractTest.java +++ b/gateleen-test/src/test/java/org/swisspush/gateleen/AbstractTest.java @@ -187,8 +187,8 @@ public static void setupBeforeClass(TestContext context) { LogController logController = new LogController(); logController.registerLogConfiguratorMBean(JMX_DOMAIN); ZipExtractHandler zipExtractHandler = new ZipExtractHandler(selfClient); - DelegateHandler delegateHandler = new DelegateHandler(vertx, selfClient, storage, monitoringHandler, - DELEGATE_ROOT, props, null); + DelegateHandler delegateHandler = new DelegateHandler(vertx, selfClient, storage, DELEGATE_ROOT, + props, null); MergeHandler mergeHandler = new MergeHandler(selfClient); cacheHandler = new CacheHandler(