Fix resteasy-3.0 latest test dep versions
MODIFY
instrumentation/jaxrs/jaxrs-2.0/jaxrs-2.0-common/testing/src/main/groovy/JaxRsHttpServerTest.groovy
instrumentation/jaxrs/jaxrs-2.0/jaxrs-2.0-common/testing/src/main/groovy/JaxRsHttpServerTest.groovy
@@ -221,7 +221,7 @@ abstract class JaxRsHttpServerTest<S> extends HttpServerTest<S> implements Agent
false
}
- private static boolean shouldTestCompletableStageAsync() {
+ boolean shouldTestCompletableStageAsync() {
Boolean.getBoolean("testLatestDeps")
}

MODIFY
instrumentation/jaxrs/jaxrs-2.0/jaxrs-2.0-resteasy-3.0/javaagent/build.gradle.kts
instrumentation/jaxrs/jaxrs-2.0/jaxrs-2.0-resteasy-3.0/javaagent/build.gradle.kts
@@ -43,9 +43,9 @@ dependencies {
testLibrary("io.undertow:undertow-servlet:1.4.28.Final")
testLibrary("org.jboss.resteasy:resteasy-servlet-initializer:3.0.4.Final")
- latestDepTestLibrary("org.jboss.resteasy:resteasy-servlet-initializer:5.+")
- latestDepTestLibrary("org.jboss.resteasy:resteasy-jaxrs:3.+")
- latestDepTestLibrary("org.jboss.resteasy:resteasy-undertow:3.+") {
+ latestDepTestLibrary("org.jboss.resteasy:resteasy-servlet-initializer:3.0.+")
+ latestDepTestLibrary("org.jboss.resteasy:resteasy-jaxrs:3.0.+")
+ latestDepTestLibrary("org.jboss.resteasy:resteasy-undertow:3.0.+") {
exclude("org.jboss.resteasy", "resteasy-client")
}
}

MODIFY
instrumentation/jaxrs/jaxrs-2.0/jaxrs-2.0-resteasy-3.0/javaagent/src/test/groovy/ResteasyHttpServerTest.groovy
instrumentation/jaxrs/jaxrs-2.0/jaxrs-2.0-resteasy-3.0/javaagent/src/test/groovy/ResteasyHttpServerTest.groovy
@@ -27,4 +27,9 @@ class ResteasyHttpServerTest extends JaxRsHttpServerTest<UndertowJaxrsServer> {
void stopServer(UndertowJaxrsServer server) {
server.stop()
}
+
+ // resteasy 3.0.x does not support JAX-RS 2.1
+ boolean shouldTestCompletableStageAsync() {
+ false
+ }
}
\ No newline at end of file

MODIFY
instrumentation/jaxrs/jaxrs-2.0/jaxrs-2.0-resteasy-3.0/javaagent/src/test/groovy/ResteasyJettyHttpServerTest.groovy
instrumentation/jaxrs/jaxrs-2.0/jaxrs-2.0-resteasy-3.0/javaagent/src/test/groovy/ResteasyJettyHttpServerTest.groovy
class ResteasyJettyHttpServerTest extends JaxRsJettyHttpServerTest {
+ // resteasy 3.0.x does not support JAX-RS 2.1
+ boolean shouldTestCompletableStageAsync() {
+ false
+ }
}
\ No newline at end of file

Fix resteasy-3.0 latest test dep versions (#4800)