Spring Cloud Config Globals

940 Views Asked by At

I have a scenario where I need to set some properties globally for several applications. Is there support for default or global configs in spring cloud config?

Example:

#default.properties
setting=global_setting

#myapp.properties
something_else=app_setting

#anotherapp.properties
prop=different_app_setting

Here I would want for "myapp" to have setting set. Any help would be greatly appreciated. Thanks!

1

There are 1 best solutions below

1
On BEST ANSWER

According to the documentation properties in application.yml or application.properties are available to every application.