Questions tagged [openfeign]
237 questions
0
votes
1 answer
how fix dependency error Project build error: dependencies cloud:spring-cloud-starter-openfeign:jar is missing
I have pom.xml in eclipse java for build simple Rest web service in java, but that dependency show error, I have trying and I have add version and update project still error in dependency, how can I fix it?............
this is my pom
user12433782
0
votes
3 answers
Openfeign + Spring cloud : Field required a bean of type that could not be found
I have a problem with spring and openfeign in which I think you can help me.
I have a pom file as follows:

Amador
- 1
- 1
- 4
0
votes
1 answer
How to write a feign client for an api that has multiple identically named query params?
I am trying to write a feign client to make calls to retrieve data from a server where the api accepts a list of identical named query parameters to determine how much data is being asked. Here is an example url I am trying to hit: …

BKlassen
- 160
- 8
0
votes
1 answer
How to pass a certificate file and a secret key - Feign Client
I have a requirement to make third party rest api call over https. I am wanting to use feign client inside spring Boot application. I have an idea about feign client and how to use it to make api calls. But I am not sure how to pass the certificate…

Sarav
- 245
- 3
- 12
0
votes
1 answer
Feign Client couldn't find custom registered eureka service
I will tell little bit about what I am trying to achieve. I have a spring boot application which is an Eureka client and registers itself as a data-service service. After this application startup (ApplicationReadeEvent.class) I am registering also…

Arsen Alexanyan
- 3,061
- 5
- 25
- 45
0
votes
1 answer
Kubernetes and Spring Boot @Service load balancing
I have Kubernetes running on two nodes and one application deployed on the two nodes (two pods, one per node).
It's a Spring Boot application. It uses OpenFeign for service discoverability. In the app i have a RestController defined and it has a…

Oliver Tasevski
- 15
- 3
0
votes
1 answer
Feign Registration - Spring Cloud - Change Target without ribbon over-ride
Introduction
I would like to be able to have two different spring profiles, and depending on the profile to change to a hardcoded address for our feign builders.
Currently was have the following:
return builder.target(cls, "http://" +…

Menelaos
- 23,508
- 18
- 90
- 155
0
votes
0 answers
@FeignClient is not working with @Autowired in spring boot
I have a feign client:
@FeignClient(name="admit-card-service")
public interface CallFeignClient {
@GetMapping("centers")
public List getCenterList();
}
which I'm calling from
@RestController
public class ClientController {
…

Pankaj Mittal
- 1
- 3
0
votes
1 answer
Can I configure a @FeignClient url using a properties/yml file with custom property name?
I want to use @FeignClient to take URL from property on the bases of environment on that it's run.
like: i have test, dev and prod. All these enviroment have different URL for example :
test : http://localhost:9000
dev : http://localhost:8080
prod…

Akash Namdev
- 63
- 6
0
votes
1 answer
dynamicaly parameterized FeignClients
I need to access different instances of a server sharing the same REST interface.
for one server, or different instances of the same server, I would use Ribbon and a feignClient, but the servers are not interchangeable.
I've got a list of server…

Alexandre Mélard
- 12,229
- 3
- 36
- 46
0
votes
1 answer
Share circuit breaker over multiple feign clients
For an application that has multiple feign clients connecting all to the same external component we want one shared circuit breaker.
How can this be achieved with spring-cloud-starter-openfeign?
Detailed explanation:
When the providing service is…

Jeff
- 1,871
- 1
- 17
- 28
-1
votes
1 answer
Multiple blocking calls wrapped in fromCallable in WebFlux
I'm using Feign Client in Reactive Java. The Feign client has an interceptor that sends a blocking request to get auth token and adds it as a header to the feign request.
the feign request is wrapped in Mono.FromCallable with…

Lior Derei
- 154
- 12