Questions tagged [spring-cloud-config-server]

Spring Cloud Config provides server-side and client-side support for externalized configuration in a distributed system. More appropriate tag: spring-cloud-config.

211 questions
1
vote
2 answers

Integrating Spring Cloud Config Server with vault backend giving I/O error on GET request with connection refused

I am trying to make spring cloud config server work with vault backend. I am not trying to integrate with local copy of vault. I have enterprise vault which I am trying to connect with. While doing so I am…
1
vote
2 answers

Spring micro services eureka client is not registering with eureka server

I'm very new to everything about docker, spring framework... They run on localhost environment successfully, now I want to push them into docker, but always gave me error there, i got stuck on it about a week. Can someone help me figure it out…
1
vote
0 answers

spring-config-client received multiple refresh event when ever there is a change in consumer-group-name

i am using spring cloud config server, kafka, git and spring cloud bus for to auto-refresh my client properties but when ever i am restarting my client application first time by changing consumer-group-name then i observed that during startup my…
1
vote
0 answers

Include dependency properties through Spring Cloud Config server

We currently have a Maven multi-module setup of various commons modules and other standalone applications, which would depend on commons / other modules. All modules would have a default set of properties to enable/disable certain functionality,…
Mark
  • 535
  • 4
  • 13
1
vote
0 answers

Refresh server.port of a Spring Cloud Config Client dynamically via /actuator/refresh

Is it possible to make a Spring Cloud Config Client application refresh its configuration dynamically in a way, that it would restart its web server on a different "server.port" that has been read from updated configuration via Spring Cloud Config…
1
vote
0 answers

Config server - refresh loads removed properties from database

I am using a composite config server profile to load properties from native and jdbc. My service starts up loading the properties from both native and database table without any issue. At runtime, I am trying to update the properties in table and…
anu chan
  • 13
  • 2
1
vote
1 answer

Spring Cloud Config Server returns extra backslash

I'm writing a secret in Vault similar to secret1=test1\ntest2 and use it inside a Spring Boot application configuration using @Value("${secret1}"). However, upon successful retrieval from Vault via Spring Cloud Config Server the secret1 value is…
1
vote
0 answers

Spring Cloud Config Server using properties from server in actual application

I use Spring cloud config server embedded in an application. Can I populate that application's placeholders? If my config server gets a property ${some.property} from git, vault, native; can I actually use that ${some.property}, in the sever's…
1
vote
1 answer

Config server with Vault backend - fetch secrets from multiple paths

We are using config server with Vault backend to fetch application secrets. Config server project is using spring-vault-core dependency and spring-vault-dependencies dependency management for Vault. Vault related config in application yml file is as…
1
vote
0 answers

Getting request Permission denied: no further information on Service Discovery with Spring-Cloud-Config

I am trying to connect to the spring cloud config server via a eureka registered serviceId. My Spring cloud config server is up and running , and my client can connect to it via local host. But I want to connect to it via the my config service is…
1
vote
0 answers

Config server datasource connection @RefreshScope

I have a config server and several clients. Here is my configuration setup: @Component @RefreshScope @ConfigurationProperties(prefix = "params") public class ConfigParams { private Map> datasource; // here are…
1
vote
0 answers

rabbitmq login was refused in spring config server

Unable to log in Rabbitmq while config-server is being configured. this is in my config-service application.yml server: port: 8888 spring: application: name: config-service cloud: config: server: git: uri:…
1
vote
0 answers

How to use application.propeties in spring cloud config client application?

How to use application.yml in spring cloud config client application? spring: application: name: app-cli profiles: active: DEV config: import: "configserver:" cloud: config: name: ${spring.application.name} uri:…
1
vote
1 answer

Accessing GCP secret key with /actuator/refresh endpoint in spring boot

I am accessing GCP secret key in Spring boot config Server / Client with 'sm://' and it's working perfectly when application started. Now I am invoking '/actuator/refresh' endpoint.. here application failed to bind the property specified for secret…
1
vote
1 answer

Swagger is not enabled after putting @EnableConfigServer annotation in spring boot

I an try to enable Swagger 2.0 in the spring cloud config application (Spring boot - 2.5.0), I put @EnableConfigServer annotation in the main class. But swagger is not working, when I am removing this annotation in this case swagger is working…