From 931b16a2468b1a19e80c22f321bf7a7e1de69b0b Mon Sep 17 00:00:00 2001 From: Eric Deandrea Date: Thu, 6 Oct 2022 08:30:04 -0400 Subject: [PATCH] Remove stork filter (#153) --- .../sample/superheroes/fight/client/VillainClient.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/rest-fights/src/main/java/io/quarkus/sample/superheroes/fight/client/VillainClient.java b/rest-fights/src/main/java/io/quarkus/sample/superheroes/fight/client/VillainClient.java index 7bfaabee56..dcc222919d 100644 --- a/rest-fights/src/main/java/io/quarkus/sample/superheroes/fight/client/VillainClient.java +++ b/rest-fights/src/main/java/io/quarkus/sample/superheroes/fight/client/VillainClient.java @@ -10,7 +10,6 @@ import org.eclipse.microprofile.faulttolerance.CircuitBreaker; import org.eclipse.microprofile.faulttolerance.Retry; import org.eclipse.microprofile.rest.client.ext.DefaultClientHeadersFactoryImpl; -import org.jboss.resteasy.reactive.client.impl.StorkClientRequestFilter; import org.jboss.resteasy.reactive.client.impl.UniInvoker; import io.quarkus.logging.Log; @@ -32,10 +31,9 @@ public class VillainClient { private final WebTarget villainClient; - public VillainClient(FightConfig fightConfig, StorkClientRequestFilter storkFilter) { + public VillainClient(FightConfig fightConfig) { this.villainClient = ClientBuilder.newClient() .register(new MicroProfileRestClientRequestFilter(new DefaultClientHeadersFactoryImpl())) - .register(storkFilter) .target(fightConfig.villain().clientBaseUrl()) .path("api/villains/"); }