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 reversed and I also think that my indication of List is not correct. That’s what I tried so how can I get info from “**https://openexchangerates.org/api/historical/2012-07-10.json?app_id**” as “http://localhost:1212/getAllCurrency”? Answer According
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 OpenFeign has an issue tracking: https://github.com/OpenFeign/feign/issues/1190 Guess it will be implemented by spring-cloud-feign once its done. Meanwhile, my workaround
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 works correctly
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 overridden. How can I use the custom truststore without using javax.net.ssl.trustStore system property? Or else how
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 “distribution” service using feign. Here is my main class here is my feign client and here is