feign
feign copied to clipboard
Feign makes writing java http clients easier
is there any documentation on what the various metric published by micrometer mean? I am making a lot of guesses but don't actually know for sure what they are relaying.
Originally asked in https://stackoverflow.com/questions/77880702/unexpected-feignexception-instead-of-responseentity-when-the-server-returns-401 In our application we use `spring-cloud-starter-openfeign:4.1.0` for some interservice communication. Here's one of our clients: ```java @FeignClient(name = "authClient", url = "${spring.microservice.tenant-auth.host}") public interface AuthClient {...
Add the possibility to add custom tags from the builder level `.addCapability(new Metrics5Capability(meterRegistry)`. The final result should allow to create a new `Metrics5Capability` with a `List` of tags or `Map`.
now i get a spring-boot-server(server-a) invoke other(server-b) though feign. Then there is an error. for detail see attach plz. don't why. but this error is not inevitably appearing. seems like...
Trying to make a PUT Http call to a URL, but the core throws 404 error. While inspecting the URL, it happens to be repeating the path variable. The repetition...
Hello, I have been upgrading feign from 10.1.0 to 11.8 and I noticed a change of behavior when empty parameters are passed. Here is an example with a dummy interface...
Expressions.PathStyleExpression#getValue: ``` @Override public String getValue() { if (this.getPattern() != null) { // this line return "{" + this.separator + this.getName() + ":" + this.getName() + "}"; } return "{"...
Caused by: java.lang.IllegalStateException: Method OssApi#getDetail(String) not annotated with HTTP method type (ex. GET, POST) Warnings: Warnings: - Class OssApi has annotations [FeignClient] that are not used by contract Default -...
In method RequestTemplate uri(String uri, boolean append), we process query first, then fragment. Code like this ``` @Test public void testFragmentAndQueries() { RequestTemplate template = new RequestTemplate().method(HttpMethod.GET) .uri("/path?name=bbb#aaa", true); System.out.println(template.fragment);...
we use FeignClient request, when an exception occurs, we print the exception, but we do not know the cause, the version is io.github.openfeign:feign-core:9.7.0, so we need help. com.netflix.hystrix.exception.HystrixRuntimeException: queryXXX failed...