Skip to content

Commit

Permalink
feat: udpate to resteasy reactive (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrejpetras authored Nov 2, 2023
1 parent bd79e77 commit f4c2327
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 7 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>io.github.onecx</groupId>
<artifactId>onecx-quarkus3-parent</artifactId>
<version>0.14.0</version>
<version>0.15.0</version>
</parent>

<artifactId>onecx-parameter-svc</artifactId>
Expand Down Expand Up @@ -66,11 +66,15 @@
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-resteasy</artifactId>
<artifactId>quarkus-resteasy-reactive</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-resteasy-jackson</artifactId>
<artifactId>quarkus-resteasy-reactive-jackson</artifactId>
</dependency>
<dependency>
<groupId>jakarta.validation</groupId>
<artifactId>jakarta.validation-api</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit f4c2327

Please sign in to comment.