Skip to content

Commit

Permalink
update resteasy-jaxrs to 3.15.6.Final
Browse files Browse the repository at this point in the history
  • Loading branch information
baulea committed Oct 22, 2023
1 parent 6d2daf1 commit 29c211f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import com.github.tomakehurst.wiremock.junit.WireMockRule;
import org.jboss.resteasy.client.ClientRequest;
import org.jboss.resteasy.client.ClientResponse;
import org.jboss.resteasy.client.core.executors.ApacheHttpClientExecutor;
import org.jboss.resteasy.client.core.executors.ApacheHttpClient4Executor;
import org.junit.Rule;
import org.junit.Test;
import org.skyscreamer.jsonassert.JSONAssert;
Expand Down Expand Up @@ -36,7 +36,7 @@ public void bioViaJson() throws Exception{
.withHeader("Content-Type", APPLICATION_JSON)
.withBody(jsonBodyRequest)));

ApacheHttpClientExecutor httpClientExecutor = new ApacheHttpClientExecutor();
ApacheHttpClient4Executor httpClientExecutor = new ApacheHttpClient4Executor();
ClientRequest clientExecutor = httpClientExecutor.createRequest("http://localhost:9073/identitymanagement-services/identitymanagement-services/person/internalHandle/person_id_009/biographics/default");
clientExecutor.setHttpMethod("GET");
ClientResponse serverResponse = clientExecutor.execute();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import org.apache.http.impl.client.HttpClients;
import org.jboss.resteasy.client.ClientRequest;
import org.jboss.resteasy.client.ClientResponse;
import org.jboss.resteasy.client.core.executors.ApacheHttpClientExecutor;
import org.jboss.resteasy.client.core.executors.ApacheHttpClient4Executor;
import org.jsmart.zerocode.core.di.main.ApplicationMainModule;
import org.jsmart.zerocode.core.domain.MockStep;
import org.jsmart.zerocode.core.domain.MockSteps;
Expand Down Expand Up @@ -126,7 +126,7 @@ public void willMockASimpleGetEndPoint() throws Exception {
.withHeader("Content-Type", APPLICATION_JSON)
.withBody(jsonBodyRequest)));

ApacheHttpClientExecutor httpClientExecutor = new ApacheHttpClientExecutor();
ApacheHttpClient4Executor httpClientExecutor = new ApacheHttpClient4Executor();
ClientRequest clientExecutor = httpClientExecutor.createRequest("http://localhost:9073" + mockStep.getUrl());
clientExecutor.setHttpMethod("GET");
ClientResponse serverResponse = clientExecutor.execute();
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
<commons-text.version>1.10.0</commons-text.version>
<jayway-version>2.8.0</jayway-version>
<json-smart.version>2.5.0</json-smart.version>
<resteasy-jaxrs.version>2.2.1.GA</resteasy-jaxrs.version>
<resteasy-jaxrs.version>3.15.6.Final</resteasy-jaxrs.version>
<slf4j.version>2.0.9</slf4j.version>
<!-- for Java 11/17 change to: <logback.version>1.4.11</logback.version> -->
<logback.version>1.3.11</logback.version>
Expand Down

0 comments on commit 29c211f

Please sign in to comment.