I used Lombok, Open Feign and Spring Web I have currencyClient interface: And Controller: And “http://localhost:1212/getAllCurrency” is not working cause the link is converted into “**https://openexchangerates.org/api/historical/2012-07-10.json/appId**” I understand that &/= are re…
Tag: spring-cloud-feign
Disable feign encoding of PathVariables
I have the following Feign Client: The items can contains special characters like : or :: which are being encoded. Request URL becomes something like: https://myservice.com/item/a%3Ab%3A%3Ac Rather than: https://myservice.com/item/a:b::c Can anyone help me understand how can we fix this issue? Answer OpenFeig…
How to create pointcut to feign client that supports interface inheritance?
In a Spring Boot project I have a simple feign client I need to intercept all calls and for this and I’m creating a common library that can be used in different projects. To achieve it I try to use Spring AOP. I created an aspect that wraps all public methods of the object annotated with MyAnnotation It…
Make Feign client to take truststore from custom property
Feign client in our app is communicating with a self-signed server. We are able to make Feign client use the custom truststore using the property javax.net.ssl.trustStore system property. But because my app also communicates with standard CA certified sites, the default truststore shouldn’t be overridde…
Spring cloud : Can not get Feign client to work with consul
I am trying to set up a simple spring cloud consul app. I have a “distribution” service up and registered in consul (with the spring.application.name property set to “distribution”) I have an “acquisition” service that is trying to make a call to the “distributionR…