Questions tagged [configserver]

88 questions
1
vote
1 answer

Target a configuration provider

I am trying to get settings from my config server and map it to my object. However IConfiguration is returning me a collection of Providers and then I have to use the GetSection or GetChildern method to get configuration settings. e.g.…
KJSR
  • 1,679
  • 6
  • 28
  • 51
1
vote
1 answer

spring.application.name is not honoured in bootstrap.yml instead honoured in application.properties in conflicting case

New to spring boot. Using config server to decentralize properties based on profile. bootstrap.yml: spring: application: name: nameoftheapp profiles: active: profilehere cloud: config: uri:…
1
vote
2 answers

Clean deploy of Spring boot microservices with Config Server

We had configured a kubernetes cluster where we deploy various services using spring boot and we have one service that is Spring Cloud Config Server. Our trouble is that when we start the cluster all the services try to connect to the config server…
jaxkodex
  • 484
  • 2
  • 6
  • 17
1
vote
1 answer

Error resolving placeholders in springboot application with config server

I am configuring config server to use in a springboot application The application has recently been migrated from spring to springboot so most of the properties are used in applicationContext.xml files Example :
sam3131
  • 357
  • 1
  • 9
1
vote
1 answer

spring config server not posting to rabbitmq

I've generated a spring boot config server from spring's initialzr. I've installed rabbitmq with brew. initialzr generated with boot version 2.1.1.RELEASE and cloud version Greenwich.M3. the simple rest services are connecting to rabbitmq…
Iggs
  • 30
  • 5
1
vote
1 answer

Disabling config server for tests

I am using microservice architecture where the services are done with spring boot, to control them, I am using zuul as a proxy, eureka as register and config server as the configuration provider. In the microservices I configure my bootstrap.yml…
felipe cesar
  • 45
  • 1
  • 10
1
vote
1 answer

Port accessible only using wget localhost

I have a server running centos 7 using cpanel and whm with csf. I am trying to run a nodejs express application on it that listens on port 3000. In order to do so, I added the line tcp|in|d=3000|s=0.0.0.0 to csf.allow. When I run the code and use…
Sagi Rika
  • 2,839
  • 1
  • 12
  • 32
1
vote
1 answer

How to properly access properties in Spring Cloud's Config Server from a microservice both deployed in a docker container?

I have all of my microservices using Spring Cloud (Config Server, Eureka Server, API Gateway, and the services) working interdependently and running perfectly fine in my local computer. But I am having problem running them in a docker container…
1
vote
0 answers

Can Springboot config server publish anything other than properties and yml file

Config server has made it easy to use properties from properties file. Is there a way we can use different kind of files like certificates in config client app? Or is there a springboot way of having certificates in some other external git location…
Neeraj
  • 41
  • 1
  • 3
1
vote
0 answers

Is it possible to load xml files of name different from spring.application.name using cloud config server?

Assuming my spring.application.name = test , I know that its possible to load property files with name test.properties, test-.properties and the common application.properties from the cloud config server. But is it possible to have , say a…
Ananya Antony
  • 338
  • 3
  • 15
1
vote
1 answer

How to use a ssh github repo with spring cloud-server on cloud foundry

I'm trying to use Spring Cloud Services Config Server on Cloud Foundry backed by a github repository. I need to use ssh access because it's a private git repo but I keep getting the error UnknownHostKey: github.com. RSA key fingerprint is…
1
vote
1 answer

Spring Cloud Bus not working /bus/refresh call goes to controller and searching mapping in controller and failing

I have configured my application with config server and github supported external config files. It works fine when I am having single instance of my application in cloud foundry. But for multiple instance it is said to implement spring cloud bus to…
1
vote
0 answers

having trouble accessing git repository through an application connected to a config server

I have a problem with connecting to application.yml files in my git repository, from a spring-boot application, through a config server. I have followed all the instructions in this tutorial. https://spring.io/guides/gs/centralized-configuration **…
0
votes
0 answers

Spring Boot 3 + Config Server + Using single property file in 2 spring boot application using config server

I have two springboot3 applications as mentioned below and I am using config server to load the configuration files. auth server -> That uses secret key to generate jwt token resource server…
Abhi
  • 21
  • 5
0
votes
0 answers

Prevent wrong application props refresh in Spring

I have Spring Boot app with several configs that have to refresh without app restart. They look like as such: @Setter @Getter @Component @RefreshScope @ConfigurationProperties(prefix = "test") class TestConfigProps { private Integer val; } All…
strelchm
  • 73
  • 7