Questions tagged [spring-cloud]

Spring Cloud provides tools to quickly build common patterns in distributed systems (e.g. configuration management, service discovery, circuit breaker, intelligent routing, micro-proxy, control bus, global locks, leadership election, distributed sessions). Coordination of these systems leads to boiler plate patterns, and using Spring Cloud you can quickly create applications that implement those patterns.

Spring Cloud provides tools for developers to quickly build some of the common patterns in distributed systems (e.g. configuration management, service discovery, circuit breakers, intelligent routing, micro-proxy, control bus, one-time tokens, global locks, leadership election, distributed sessions, cluster state). Coordination of distributed systems leads to boiler plate patterns, and using Spring Cloud developers can quickly stand up services and applications that implement those patterns. They will work well in any distributed environment, including the developer's own laptop, bare metal data centres, and managed platforms such as Cloud Foundry.

5046 questions
2
votes
1 answer

Custom Zuul Filter - log Request Body

I have a custom (pre) zuul filter, in that I want to log the requestBody of a request for an API (API is available in service which is registered with Eureka) but when I use the below code in ZUUL HttpServletRequest request.getReader(); or…
2
votes
0 answers

Where / How to specify Topic ARN in SNS http end point using spring aws-cloud

I am writing a SNS http end point using spring aws-cloud messaging support as specified in this link for my spring boot web application. How should I specify the topic ARN using aws-cloud ? What is actually meant by the below important note in this…
Bill Goldberg
  • 1,699
  • 5
  • 26
  • 50
2
votes
0 answers

Spring cloud config client without auto configuration

First, please allow me to acknowledge that I am new to Spring and also there are a few questions (Spring Cloud Config Client Without Spring Boot and spring-cloud-config client without Spring Boot) out there on Spring Cloud Config Client without…
2
votes
1 answer

spring-cloud hystrix CompletableFuture

I'm doing some work with spring-cloud brixton.m5 and trying to get AsyncRestTemplate working to asynchronously compose multiple microservice calls into a coordination service response. I've found spencer gibb's MyFeed github project that gets…
gadams00
  • 771
  • 1
  • 10
  • 24
2
votes
2 answers

Spring-cloud Zuul retry when instance is down

Using Spring-cloud Angel.SR6: Here is the configuration of my Spring-boot app with…
2
votes
1 answer

Config Server with RabbitMQ Connection Issue

I have RabbitMQ running in cloud foundry and trying to connect from config server running in local, below is what configured in application.yml file spring rabbitmq: host: xxxx vhost: xxxx port: 5672 …
GG0424
  • 211
  • 5
  • 13
2
votes
1 answer

Cross origin issue with ajax, angular and Zuul

I have zuul server implemented which does the routing to all my microservices. I have a seperate UI project which is in angular. I am trying to make an AJAX call from the UI app to a specific microservices which routes through Zuul but I am getting…
Grinish Nepal
  • 3,037
  • 3
  • 30
  • 49
2
votes
1 answer

How to config spring cloud oauth2 in docker container

I met some problems with micro-spring-docker , i think maybe the sso token-url is not correct. The demo https://github.com/keryhu/micro-oauth2-docker In local computer , sso service and auth-service works fine . But not in docker container , the…
Kery Hu
  • 5,626
  • 11
  • 34
  • 51
2
votes
6 answers

Basic Authentication service called By Zuul

I'm Zuul as edge server. so all request pass by this edge server. I have a micro-service A. all web services of A are protected by Basic Authentication. How can we call the services of A b passing by Zuul proxy? Should I add header for messages?
youssef Liouene
  • 873
  • 6
  • 15
  • 28
2
votes
1 answer

@EnableDiscoveryClient spring Boot service registration

i am running a spring boot application into docker container using eureka netflix service discovery with @EnableDiscoveryClient annotation. Running my application, it registers itself into eureka with a specific ip address (that of the docker…
mootez
  • 334
  • 1
  • 7
  • 23
2
votes
1 answer

Spring Cloud Config Server plain text

I've been looking into Spring Cloud Config Server but I am unable to get plain text files returned as I expect. The overview here http://cloud.spring.io/spring-cloud-config/spring-cloud-config.html#_serving_plain_text describes the ability to serve…
roy henley
  • 119
  • 1
  • 2
  • 9
2
votes
2 answers

Changing Spring Boot Properties Programmatically

I'm trying to write tests for an application that uses @RefreshScope. I would like to add a test that actually changes out properties and asserts that the application responds correctly. I have figured out how to trigger the refresh (autowiring in…
Cobra1117
  • 1,150
  • 3
  • 11
  • 26
2
votes
1 answer

Zuul filter to duplicate traffic

I would like to use Zuul to efficiently (asynchronously) route a copy of my traffic to a debug service for testing. I am new to Zuul and am looking through existing filter to find a neat way to do this but I haven't found a good example yet. Is…
bjoern
  • 1,009
  • 3
  • 15
  • 31
2
votes
0 answers

Has methods secure Config Server by oauth2 token?

Has methods secure Config Server by oauth2 token ? I plan to implement spring cloud config-server by oauth2 token,so client-server can fetch property by : cloud: config: uri: http://user:password@localhost:8888 Is it feasible ? but ...…
Kery Hu
  • 5,626
  • 11
  • 34
  • 51
2
votes
2 answers

How to use AWS CodeCommit as repository for Spring Cloud Config

I am trying to use AWS CodeCommit repository with spring cloud config. I have managed to get it working with SSH. But I would like to use https instead of SSH. AWS suggest to use credential helper. Does anyone know how can I configure spring config…
1 2 3
99
100