In spring-cloud
projects, for some reason, need to put some properties into bootstrap.yml
, so that to make the specific properties available earlier.
Then there are 2 config files: bootstrap.yml
and application.yml
.
Wondering is it ok to put everying into bootstrap.yml
, and remove application.yml
totally, to make it cleaner.
Since bootstramp.yml
is just loaded earlier, it seems to be ok, right? Or, will this cause some issue in some case?