spring-cloud Questions

8

Solved

Let me preface this by saying that I'm not using Spring Cloud Config directly, it is transitive via Spring Cloud Hystrix starter. When only using @EnableHystrix, Spring Cloud also tries to locate ...
Aec asked 19/12, 2014 at 15:35

8

Solved

I updated Spring cloud application to the latest Spring boot version 2.5.0. But during startup I get this exception: 11:05:05.038 [main] ERROR org.springframework.boot.SpringApplication - Applicati...
Cooksey asked 11/6, 2021 at 11:9

2

I have a problem in running any test method in service test and controller test in one of the spring boot microservices (order service). After I completed service and controller , I tried to write ...
Flossieflossy asked 30/11, 2022 at 20:38

1

I'm using Spring Cloud Gateway with a routing configuration like this: spring: cloud: gateway: routes: - id: http uri: http://kubernetes-ingres-controller In other words, I'm sending all path...
Fromenty asked 30/10, 2023 at 17:15

6

I have a monitoring app wherein I am running a fixedRate task. This is pulling in a config parameter configured with Consul. I want to pull in updated configuration, so I added @RefreshScope. But a...
Workbook asked 21/5, 2018 at 0:5

9

Solved

I am attempting to get spring cloud to work with messaging using auto configure. My properties file contains: cloud.aws.credentials.accessKey=xxxxxxxxxx cloud.aws.credentials.secretKey=xxxxxxxxxx...

6

Solved

I have tried to implement spring external configurations using Config Server. It is working fine for the very first time when the application is started but any changes to the properties file are n...
Frolic asked 15/3, 2018 at 23:43

3

Solved

We are implementing routes programmatically using a implementation of RouteDefinitionLocator. We have two services which should register at the same route path, where one of them is meant as a fall...

6

I am wondering if a compatibility matrix exists between Springboot and Springcloud? I created a simple project on STS and am running into compatibility issues. <parent> <groupId>or...
Taking asked 7/3, 2017 at 22:56

3

Solved

We're trying to upgrade spring boot version to 2.6.0 and faced up with "Spring Boot [2.6.0] is not compatible with this Spring Cloud release train" (when running integration tests). In ad...
Caldarium asked 23/11, 2021 at 7:30

5

Solved

I'm running into a scenario where I need to define a one-off @FeignClient for a third party API. In this client I'd like to use a custom Jackson ObjectMapper that differs from my @Primary one. I kn...

8

Solved

Is it possible to use Spring Cloud Config without using any Git repo at all? I'm trying to test it with a local directory with this in application.properties: spring.cloud.config.server.git.uri=fi...
Stabler asked 16/10, 2015 at 19:44

2

When I use a FeignClient it is setting the Content-Type to application/x-www-form-urlencoded instead of application/json;charset=UTF-8. If I use a RestTemplate to send the same message the message...
Uralite asked 22/4, 2015 at 12:53

3

Solved

I'm trying to get a simple Spring OAuth2 SSO application working and I've been unable to do so. Here's the steps and results of what's happened: Hit endpoint /user, which is secured by OAuth2 I g...

1

I have an Eureka server running on a local machine. Eureka clients are registered to this server. I am able to view the eureka dashboard to see the instances registered. Can I have an event liste...

9

@FeignClient(name = "test", url="http://xxxx") How can I change the feign URL (url="http://xxxx") during the runtime? because the URL can only be determined at run time.
Windowsill asked 2/5, 2017 at 8:41

5

Solved

My Spring Cloud Config Client has dependency to spring.cloud.starter.bus.amqp, but it is still not enabling /bus/refresh endpoint build.gradle compile("org.springframework.cloud:spring-cloud-star...
Abutting asked 12/5, 2017 at 21:32

6

Solved

I am creating a demo project for Spring-Config-Server and Spring-Config-Client. In SpringBoot 1.5.6.RELEASE everything is working fine. However, when I am upgrading project to 2.0.1.RELEASE it do...

10

I am trying to upgrade my kotlin - gradle project from springboot version 2.3.5.RELEASE to 2.4.1. Looks like there is version mismatch between springboot-2.4.1 and sping-cloud-Hoxton.SR9. build.gra...
Catechol asked 29/12, 2020 at 6:18

4

I've updated backend service to use latest Spring Boot 3, however after update, SB application fails due to some issues with setting up deferred logs during config load. Could anyone help with the ...
Lingulate asked 30/11, 2022 at 14:31

2

Solved

I'm developing code from the link: https://howtodoinjava.com/spring-cloud/spring-cloud-config-server-git/ and when I updated the Spring Boot version 2.1.2.RELEASE pom.xml is giving me below error. ...
Someone asked 18/1, 2019 at 15:53

3

Solved

I'm trying to migrate our stable of app servers to get their configuration from a Spring Cloud Config server. Each app has a {my-app}.yml file on the config server and we can use profiles (either i...
Duteous asked 19/4, 2016 at 19:6

5

I currently have a number of deployable applications that work in a distributed fashion to solve a business problem. We are currently using a number of property configuration files to provide chang...
Mousseline asked 21/4, 2015 at 20:0

9

Solved

Using spring-mvc annotations: How can I define an @FeignClient that can POST form-url-encoded?
Verdellverderer asked 4/3, 2016 at 18:8

7

I've been working on Spring Cloud Config for a while. I have a requirement of securing the config data. As per Spring Cloud Documentation I have configured the server.jks and added to classpath. No...
Varietal asked 11/3, 2016 at 11:10

© 2022 - 2025 — McMap. All rights reserved.