Questions tagged [spring-cloud-netflix]

Spring-Cloud-Netflix provides Netflix OSS integrations for Spring Boot apps through autoconfiguration and binding to the Spring Environment and other Spring programming model idioms.

With a few simple annotations you can quickly enable and configure the common patterns inside your application and build large distributed systems with battle-tested Netflix components. The patterns provided include Service Discovery (Eureka), Circuit Breaker (Hystrix), Intelligent Routing (Zuul) and Client Side Load Balancing (Ribbon). Here you can find all the details.

879 questions
0
votes
2 answers

FeignClients get published as REST endpoints in spring cloud application

I've got REST FeignClient defined in my application: @FeignClient(name = "gateway", configuration = FeignAuthConfig.class) public interface AccountsClient extends Accounts { } I share endpoint interface between server and…
0
votes
1 answer

ZUUL Proxy Exception when using Spring Boot/Spring Cloud with Websphere Liberty Profile

We have a few services in our environment for which we use embedded tomcat for development. We did not face any issues with embedded tomcat. We now want to switch to Liberty Profile. When we made the switch, we found lots of issues. Basically, we…
0
votes
1 answer

hystrix circuit open event

I have configured the spring aspect for hystrixcommand and it works fine ( Open and Close circuit ) During my testing , what I observed is that when the circuit is open , the normal flow is still invoked and on the event FAILURE , the fall back is…
lives
  • 1,243
  • 5
  • 25
  • 61
0
votes
1 answer

Zuul as OAuth2 AuthServer and ResourceServer: share AuthenticationManager

I'd like to have the Zuul Proxy as SSO @EnableOAuth2Ssoand as Resource Server @EnableResourceServer at the same time. After some research I found a lot of similar question here on stackoverflow and this lovely uaa-behind-zuul-sample project on…
0
votes
1 answer

Change Authentication of Eureka Client on JHipster

I am using JHipster. I have 3 different Apps. JHipster Registry instance JHipster Gateway instance JHipster Microservice instance Whenever I change the following I get a 401 during startup of the Gateway and Microservice instances. Change the Eureka…
0
votes
2 answers

Spring Boot 1.5 @JdbcTest failing when using Eureka Discovery

I'm trying to use the new @JdbcTest annotation in Spring boot 1.5.0.RC1. My app uses Eureka discovery ie I have compile('org.springframework.cloud:spring-cloud-starter-eureka') in my build.gradle and @EnableDiscoveryClient on my main Spring Boot…
David Geary
  • 1,756
  • 2
  • 14
  • 23
0
votes
2 answers

Spring cloud loadBalanced userInfoUri problems

Im using spring cloud, in the following layout: registry server oauth2 server zuul proxy a simple crud microservice On the crud service, Im trying to authenticate against my oauth2 server using security: oauth2: resource: …
0
votes
0 answers

Eureka service deployed on PCF de-registers itself automatically after a few hours

We are deploying the service on PCF(Pivotal cloud Foundry) and to register the service on the PCF service registry, we are using the Eureka service annotations. I am listing below the select few libraries that we are using in the context of…
Gururaj Nayak
  • 636
  • 1
  • 9
  • 18
0
votes
1 answer

Adding Hystrix and Feign to Spring Boot project

I'm trying to add Feign and Hystrix to my existing Spring Boot project. I added these two dependencies to pom.xml: org.springframework.cloud spring-cloud-starter-hystrix
Matheus208
  • 1,289
  • 2
  • 13
  • 26
0
votes
0 answers

Spring cloud Netflix Feign + Ribbon + Hystrix. How to identify if the Feign execution was Successful without triggering any fallback

I have the following configuration . A Feign client with Fallback class . Inside the Fallback class , there is one more fallback using Hystrix command . The configuration is working as expected . I would like to Identify if the Feign execution…
Jimmi Skaria
  • 53
  • 1
  • 8
0
votes
1 answer

Route Existing Services via ZUUL without adding routing rule

I am trying to route existing services via Spring cloud Netflix Zuul. I have an existing service available at below url, http://localhost:3080/query-service/getquery/1 Out of the box, with zuul I can route to the service as…
0
votes
1 answer

Spring Zuul returning 502

I have a Spring Boot gateway project which is using Zuul to route requests to internal services. These services are discovered using Eureka. This works for most scenarios. However, there are a few long requests which are returning a 502 from the…
0
votes
0 answers

Feign Client with Spring Cloud Brixton SR7

I am trying to use Feign Client with the new Spring Cloud version (Brixton.SR7) but I am having problems. Every time I try to make a REST call to a registered service in Eureka Server I got the exception: Servlet.service() for servlet…
0
votes
0 answers

Spring-cloud-microservices

I am using camden-sr2 release to build spring cloud microservices,was following one of the video "building bootiful microservices" by Josch. I'm trying to integrate spring cloud stream using rabbitmq and getting error: Here is my pom.xml file
0
votes
0 answers

How to populate Zookeeper service with properties

I have an spring application. It uses zookeeper to manage cluster access. I want populate zookeeper service with properties data to dynamic reconfigure spring beans. How I can put properties into zookeeper service? Can I populate data using spring…