Spring Cloud Config provides server-side and client-side support for externalized configuration in a distributed system. More appropriate tag: spring-cloud-config.
Questions tagged [spring-cloud-config-server]
211 questions
1
vote
1 answer
How to decorate service method in external dependency with Resilience4j circuit breaker (specifically on spring cloud config server)?
How can I decorate a service method in an external library with Resilience4j circuit breaker? Specifically, I want to decorate a method in spring cloud config server (the server itself, not client code):…

Marnee
- 370
- 1
- 4
- 15
1
vote
0 answers
Spring Cloud config client not picking endpoints from Config server
Eureka configuration is pulled perfectly from the config server but the endpoints are not pulled from config-server.
Please let me know if I am missing something.
@Service
@RefreshScope
public class OrderService {
@Autowired
private…

Hemant Kumar Hk
- 21
- 2
1
vote
1 answer
Spring Cloud Config Server Separate Repository
I am using Spring Cloud Config Server first time and have a basic query.
Spring Config server externalises the configuration to a separate git repository.
Why would I create a separate repository just for the configurations?
Is not it advisable to…

Rahul
- 21
- 3
1
vote
0 answers
Spring cloud config server aws codecommit - git-upload-pack not permitted
I am using aws codecommit as a repo for config-repo
I am facing an intermittent issue with connecting to git(codecommit) backend.
When I try to connect with Git credentials it works but not with IAM access and secret key. It says git upload pack not…

Kumar Ashutosh
- 1,121
- 10
- 33
1
vote
0 answers
Spring config server unable to fetch properties from codecommit
I'm running into an issue using Kubernetes service accounts to grant access to a codecommit repository for a spring config server.
When AWSCodeCommitReadOnly is granted to the EKS cluster.worker-node role, the config server is able to successfully…

davo777
- 286
- 2
- 15
1
vote
0 answers
Spring Cloud Config vs Spring Cloud Consul Config KV
Currently, in the project, we are using a config server. But whenever a property change happens in git we will have to either manually hit endpoints like /refresh or we should use spring cloud bus. Here instead of config server can we place our…

NO One
- 11
- 2
1
vote
1 answer
Unable to fetch property value from the config server
I am learning Spring Boot v.2.3.9.RELEASE + Microservices project from here - https://www.youtube.com/watch?v=Z7A_M8HkJG0
In this example, I am unable to fetch the details from the properties file using…

PAA
- 1
- 46
- 174
- 282
1
vote
0 answers
How do I inject Git Credentials Provider rather than pick properties from bootstrap.yml or application.properties
In an attempt to not expose my keystore creds (in plaintext) I have a bean definition
@Bean
public KeyProperties keyProperties() throws MalformedURLException {
//snipped
return keyProperties;
}
which works as far as my…

Kapeed
- 11
- 2
1
vote
0 answers
Spring Config Client Not able to Fetch Configs from Server
My Spring Cloud config client is not able to resolve the server1 property. It is throwing "Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 'server1' in value "${server1}""
@Controller
@RefreshScope
public class…

Rahul
- 21
- 3
1
vote
3 answers
spring config client - Could not resolve placeholder 'message' in value “${message}” error while starting client
I am implementing spring config server. My config server starts fine and I can get the data from URL http://localhost:8888/client-config/development located at C:\\configprop as shown below.
{
"name": "client-config",
"profiles": [
…

SSK
- 3,444
- 6
- 32
- 59
1
vote
1 answer
When a spring cloud config item is refreshed, is there a way to know in the client to be able to re-calculate some things?
With spring cloud config, when I update a configuration and call refresh on any clients, is there a way that I can have a notification that this happened? If I am constructing objects based on some @ConfigurationProperties, I will want to refresh…

Steve Storck
- 793
- 6
- 25
1
vote
0 answers
Spring Cloud Config server is not working after integrating spring security
Currently we are shifting our project configurations into github using spring cloud config server. After introducing spring security into our cloud config server, I can not make a call into /{app}/{profile}/{tag} url. Our config server have a…

Joyal Joy
- 11
- 3
1
vote
0 answers
Spring Cloud Config Server - Bitbucket Session
I’m trying to solve an awkward problem with Spring Cloud Config Server via Bitbucket.
My config repo on Bitbucket Cloud Server. bootstrap.yaml file looks like below.
server:
port: 9101
spring:
application:
name: config-server
cloud:
…

user3073480
- 81
- 1
- 4
1
vote
1 answer
Spring Config server - cant fetch properties
I am having trouble fetching the properties form a spring config server with another spring application.
I can fetch it with the browser so the config server itself seems to be fine, my client application however seems to just ignore my…

MajesticOl
- 311
- 1
- 20
1
vote
2 answers
Spring cloud config server is not reading the properties file in local git repository
I am trying to read the properties file for a micro service in local git repository. Its not adding the file details in the propertySource. it is coming as blank.
Request -
http://localhost:8888/limit-service/default
Response…

Prashant Mishra
- 25
- 6