From 5ca31e3520189fac3c0447e3083a76756a535723 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Horv=C3=A1th=20D=C3=B3ra?=
<47719724+horvathdora@users.noreply.github.com>
Date: Wed, 30 Mar 2022 15:15:35 +0200
Subject: [PATCH] CURATOR-630 Upgrade jetty to 9.4.latest (#413)
---
curator-x-discovery-server/pom.xml | 4 ++--
.../server/jetty_jersey/TestMapsWithJersey.java | 16 ++++++++++------
.../TestObjectPayloadWithJersey.java | 16 ++++++++++------
.../jetty_jersey/TestStringsWithJersey.java | 16 ++++++++++------
.../jetty_resteasy/TestStringsWithRestEasy.java | 14 ++++++++++----
pom.xml | 6 +++---
6 files changed, 45 insertions(+), 27 deletions(-)
diff --git a/curator-x-discovery-server/pom.xml b/curator-x-discovery-server/pom.xml
index f5c7f39b4e..ae7b3cb8d0 100644
--- a/curator-x-discovery-server/pom.xml
+++ b/curator-x-discovery-server/pom.xml
@@ -92,8 +92,8 @@
- org.mortbay.jetty
- jetty
+ org.eclipse.jetty
+ jetty-webapp
test
diff --git a/curator-x-discovery-server/src/test/java/org/apache/curator/x/discovery/server/jetty_jersey/TestMapsWithJersey.java b/curator-x-discovery-server/src/test/java/org/apache/curator/x/discovery/server/jetty_jersey/TestMapsWithJersey.java
index 997cefea23..2d95bd6a4a 100644
--- a/curator-x-discovery-server/src/test/java/org/apache/curator/x/discovery/server/jetty_jersey/TestMapsWithJersey.java
+++ b/curator-x-discovery-server/src/test/java/org/apache/curator/x/discovery/server/jetty_jersey/TestMapsWithJersey.java
@@ -40,12 +40,12 @@
import org.apache.curator.x.discovery.server.entity.ServiceNames;
import org.apache.curator.x.discovery.server.mocks.MockServiceDiscovery;
import org.apache.curator.x.discovery.strategies.RandomStrategy;
+import org.eclipse.jetty.server.Server;
+import org.eclipse.jetty.servlet.ServletContextHandler;
+import org.eclipse.jetty.servlet.ServletHolder;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
-import org.mortbay.jetty.Server;
-import org.mortbay.jetty.servlet.Context;
-import org.mortbay.jetty.servlet.ServletHolder;
import javax.ws.rs.core.Application;
import javax.ws.rs.core.MediaType;
import java.util.Map;
@@ -90,12 +90,16 @@ public Set