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
0 answers
Spring Cloud Config Server: GitLab credentials get exposed
I am new to using spring cloud config server. I have set up a server via Spring Initlzr as Spring Boot Maven project. I want to use a private repository on a self-hosted GitLab server.
TL;DR
The configured GitLab repository uri containing the deploy…

David
- 51
- 1
- 7
1
vote
1 answer
Is there a way in which we can check for presence of data in application.properties file in Spring Boot Project before the tomcat server starts?
I am writing a Spring Boot project to Run a Cloud Config Server and 3 Micro-services to run as a Client.
I would want to check availability of all properties in application.properties or yaml file before starting the tomcat server.
We already have a…

ys-park
- 21
- 5
1
vote
1 answer
How can I set the property spring.cloud.config.server.git.password using docker secret
I want to dockerize my spring cloud config server application. I am creating a docker secret git-repo-pass to store the github account password. I am setting the environment SPRING_CLOUD_CONFIG_SERVER_GIT_PASSWORD with the default path for docker…

Karthik S Jhingade
- 11
- 3
1
vote
1 answer
Is a Spring Cloud Config Server a valid solution for hardcoded paths?
Good evening!
I'm trying to learn how to implement microservice architectures with Spring Boot and I'm having trouble with some hard-coded paths in my projects.
There are 2 particular classes in my code where I have to put those paths manually, here…

config.err
- 41
- 1
- 6
1
vote
0 answers
Spring Cloud Config Server with Kerberized git uri
I have Project in which we are trying to implement spring Cloud Config Server.
In this i am trying to use a git uri but there is a Kerberos authentication on the git uri.
How should i add required Kerberos token as header to the git uri?
In short i…

rohit kumar
- 11
- 2
1
vote
1 answer
Spring cloud config with database backend
I'm trying to setup a spring boot project with Spring Cloud Config with database backend. I've following things in my…

John Doe
- 143
- 2
- 13
1
vote
1 answer
Fetching multiple configs from Spring Cloud Config Server in one request
One of our apps uses Spring Cloud Config Server to store client configs. I.e. not the configs needed to start the, but the configs sent later to client. Basically, JSONs. It's a controversial solution, but it is as it is. It uses Spring Cloud Config…

madhead
- 31,729
- 16
- 153
- 201
1
vote
0 answers
Spring cloud config server - bootstrap properties file - configuring multiple git repositories
I am trying to configure multiple gitlab repositories in my spring cloud config server
i use bootstrap.properties for my spring configuration
The below is my bootstrap.properties…

VJohn
- 493
- 1
- 14
- 23
1
vote
1 answer
Spring config server returns json response with resolved paths - how to avoid this?
I have a .yml file like this in my gitlab server
holidays:
US:
- 03/19/2020
- 03/20/2020
- 05/18/2020
the config server reads the above yml and returns something the response like…

VJohn
- 493
- 1
- 14
- 23
1
vote
0 answers
Integration Test with Spring Cloud Config Server
It's my first time implementing a Spring application using Spring Cloud Config framework. The application is working fine, getting configuration properties from repository through the server application. So, at the moment I must write the…

Augusto
- 3,825
- 9
- 45
- 93
1
vote
1 answer
Spring Cloud Config Server fallback for multiple repositories
We are using spring cloud config server backed by bitbucket for config files. We have configured multiple repositories in application.yml of config server. We want to make it available even if bitbucket is down. We are looking for a solution that…

Sumit Kumar
- 402
- 1
- 6
- 26
1
vote
1 answer
Getting "Invalid cookie header: "Set-Cookie: experimentation_subject_id ..." while trying to retrieve the config info from gitlab
I'm experimenting a small project with spring config-server. The config repo is maintained by gitlab which is password protected. When I stand up the config server project I get the below warning, also the property from the gitlab repo is not being…

Rajesh2389
- 349
- 2
- 15
1
vote
1 answer
Adding multiple repositories to Spring cloud config server
I need to add two config repositories to my config server. But, it picks only one config repository. Can anyone please help me to fix this problem.
Config Server bootstrap.yml
server:
port: 8899
spring:
cloud:
config:
server:
git:
…

Dilee
- 246
- 1
- 4
- 15
1
vote
0 answers
Cant get hierarchic properties by S3 Backend spring config server
I created spring config server with s3 backend as it described here:
https://cloud.spring.io/spring-cloud-config/reference/html/#_aws_s3_backend
I created 4 files in my-config-server s3…

Maria Dorohin
- 355
- 4
- 17
1
vote
1 answer
Spring Cloud Config : Password not getting decrypted with jasypt in spring cloud config client when actuator/refresh endpoint is called
I am setting up spring cloud config server (2.2.0.RELEASE) and config client using git as repository.
Also I am encrypting value inside properties file using jasypt-spring-boot-starter (2.1.2).
Example - inside app.properties
password:…

Karan Khanna
- 272
- 2
- 12