Skip to content

Commit

Permalink
Remove stork filter (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
edeandrea committed Oct 6, 2022
1 parent ea0f435 commit 931b16a
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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/");
}
Expand Down

0 comments on commit 931b16a

Please sign in to comment.