These are chat archives for spring-cloud/spring-cloud

25th
Sep 2018
choubani amir
@amirensit
Sep 25 2018 09:36
hi all
I am beginner to spring cloud
I started learning spring cloud config server
I have some confuse about config server and config client
according to documentation
spring.application.name is needed to load the external configuration
from which element
config server or config client ?
Knut Schleßelmann
@kschlesselmann
Sep 25 2018 09:41
@amirensit The name is taken into account to resolve stuff like ${name}.yml on your config server.
choubani amir
@amirensit
Sep 25 2018 09:42
@kschlesselmann thanks for your response. In other way, this file ${name}.yml is going to be loaded into config server or config client ?
I don't know if my question is clear
Knut Schleßelmann
@kschlesselmann
Sep 25 2018 09:44
The config server provides the config for your applications. Your applications should have a name. So you have various places to define configuration elements on the server. application.yml -> all applications, $name.yml only application $name
choubani amir
@amirensit
Sep 25 2018 09:46
@kschlesselmann thanks. This response is easier to understand :)