Closed bbortt closed 6 years ago
short comment I've read on Stackoverflow:
I have just asked the Spring Cloud guys and thought I should share the info I have here.
bootstrap.yml is loaded before application.yml.
It is typically used for the following:
when using Spring Cloud Config Server, you should specify spring.application.name and spring.cloud.config.server.git.uri inside bootstrap.yml some encryption/decryption information Technically, bootstrap.yml is loaded by a parent Spring ApplicationContext. That parent ApplicationContext is loaded before the one that uses application.yml.
done.
Use spring cloud to spread global configuration like eureka or oauth2 sso urls. Administrator GUI should be accessible with role
SERVER_SUPPORT
.