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
2 answers
Make embedded Spring Cloud Config Server with sub-context-path
In order to have a Spring Cloud Config Server / Spring Boot Admin all-in-one combo, I'd need to declare a global subpath for the config server API as I did with Spring Boot Admin's one (spring.boot.admin.context-path=/dashboard). I could find no…

Thomas Escolan
- 1,298
- 1
- 10
- 28
1
vote
0 answers
Connecting Spring Cloud Config Server with my git local repository
I am trying to connect my Spring Cloud Config Server to my local git repository. Is there any problem if there are have spaces in between my local git repo path?
In application.properties file of my spring cloud config server project, I am setting…

user13146648
- 11
- 1
1
vote
1 answer
log4j2 monitorInterval using spring cloud config server
I'm trying to read the log4j2 configuration from config server during application startup.
bootstrap.yml
spring:
application:
name: loggingApp
cloud:
config:
uri: http://localhost:8888
logging:
config:…

vijayanand
- 238
- 2
- 12
1
vote
1 answer
Spring cloud config server - Vault(AWS_IAM authentication)
I am setting up a spring boot cloud config server which is using VAULT to store secrets.
Vault Authentication mechanism is set as AWS_IAM. I also have aws-java-sdk in my class path. Aws cli is also configured.
I am able to get secrets from VAULT…

Vikram sundar
- 31
- 2
1
vote
1 answer
How to copy repo from Bitbucket to CodeCommit with all branches but without history?
How can I copy Bitbucket repo to CodeCommit, including all branches, but excluding all history on all branches?
Reason for wanting to do this: Our config server reads from CodeCommit, but the source of truth is in Bitbucket. (The reason we do that…

Marnee
- 370
- 1
- 4
- 15
0
votes
0 answers
How to set spring cloud config override the local configurations(which has been set as first priority)
@SpringBootApplication
@EnableFeignClients
public class Application extends SpringBootServletInitializer {
private static final Logger LOGGER = LogManager.getLogger();
public static void main(final String[] args) {
…

Mohammed Muntazim
- 13
- 2
0
votes
0 answers
Config Server shows 'spring.profiles' is invalid and should be replaced with 'spring.config.activate.on-profile'
I'm upgrading our config server to Spring Boot 2.7 and Spring Cloud 2021.0.7.
In the bootstrap.yml I have this setting set to true:
spring.config.use-legacy-processing
This setting seems to clear up the warnings related to bootstrap.yml and…

CoffeeCupDeveloper
- 31
- 3
0
votes
1 answer
Spring Boot - How to manage configurations for multiple tenant on same microservice
How to manage configuration in a spring boot application for multiple tenant? Is this achievable using spring config server?
e.g.

rDX
- 228
- 1
- 4
- 15
0
votes
0 answers
Configuring Eureka Server and Microservices Communication: Error in Expanding Configuration
I'm working on a Spring 2.7.14 project, and I've successfully set up configuration between my microservices and the config server. Initially, I configured the Eureka Server using properties…
0
votes
0 answers
@RefreshScope not working on Spring Boot 3.0.6
I'm having a problem when I trying refreshing scope of my application to get properties in a microservice using Spring Boot 3.0.6
Schenary
I have a config-server running connected with my Github
My Github contains a file with properties from my…

Valdir
- 1
- 2
0
votes
0 answers
Spring Cloud Config Server and Client with multiple profiles
I have a Spring Cloud Config Server with multiple profiles and a client. I keep getting the test variable printed for the regular yaml and not the "real" profile. Why is that?
Config Server
import…

Dlcdoee
- 1
- 2
0
votes
0 answers
Spring Cloud Config is unable to parse configs required for Spring Cloud Gateway globalcors
I configured a Spring Cloud Config which uses a GIT repository to centeralize all configurations in one place. including configs that are required by Spring Cloud Gateway.
Spring Cloud Gateway requires some configs for managing CORS. these configs…

Homayoun Behzadian
- 1,053
- 9
- 26
0
votes
0 answers
SpringBoot config server
I created three microservices in spring boot3, 1 API Gateway, 1 Eureka Server and 1 config-server. Following are the configuration of all services -
User Microservice
server:
port: ${port:9092}
spring:
datasource:
url:…

Ayush Gupta
- 13
- 3
0
votes
0 answers
Spring Cloud config server - Sharing properties (for Group of related services)
In our organization, we have over 100 micro services developed, and they are grouped into multiple business specific RAILS, such as ONLINE, Mobile, Payment, etc.
AS of now we have common properties, namely application.json, and also service specific…

Arul Selvan
- 1
- 1
0
votes
0 answers
Spring Cloud config server - Sharing properties (RAIL specific services/ multiple services)
In our organization, we have over 100 micro services developed, and they are grouped into multiple business specific RAILS, such as ONLINE, Mobile, Payment, etc.
AS of now we have common properties, namely application.json, and also service specific…

Arul Selvan
- 1
- 1