From 538255a8a00986f16879d0bdc9a7fa934e7fc629 Mon Sep 17 00:00:00 2001 From: Andrej Petras Date: Thu, 2 Nov 2023 15:46:37 +0100 Subject: [PATCH] feat: udpate to resteasy reactive --- pom.xml | 10 +++++++--- .../ApplicationParameterRestControllerTest.java | 2 -- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/pom.xml b/pom.xml index 07094e2..bd880bf 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ io.github.onecx onecx-quarkus3-parent - 0.14.0 + 0.15.0 onecx-parameter-svc @@ -66,11 +66,15 @@ io.quarkus - quarkus-resteasy + quarkus-resteasy-reactive io.quarkus - quarkus-resteasy-jackson + quarkus-resteasy-reactive-jackson + + + jakarta.validation + jakarta.validation-api io.quarkus diff --git a/src/test/java/io/github/onecx/parameters/rs/internal/ApplicationParameterRestControllerTest.java b/src/test/java/io/github/onecx/parameters/rs/internal/ApplicationParameterRestControllerTest.java index 049fc51..cea6cb5 100644 --- a/src/test/java/io/github/onecx/parameters/rs/internal/ApplicationParameterRestControllerTest.java +++ b/src/test/java/io/github/onecx/parameters/rs/internal/ApplicationParameterRestControllerTest.java @@ -2,7 +2,6 @@ import static io.restassured.RestAssured.given; import static jakarta.ws.rs.core.MediaType.APPLICATION_JSON; -import static org.jboss.resteasy.util.HttpHeaderNames.CONTENT_TYPE; import java.util.Map; import java.util.stream.Stream; @@ -195,7 +194,6 @@ void shouldUpdateParameterTest(String appId, String desc, String id, String valu .get(PATH_PARAM_ID_PATH) .then() .statusCode(Response.Status.OK.getStatusCode()) - .header(CONTENT_TYPE, APPLICATION_JSON) .extract() .body().as(ApplicationParameterDTO.class); Assertions.assertNotNull(dto);