Spring Cloud uses SpringApplication as an api in a few different ways to get at boots configuration processing.
- bootstrap
- re-fetching remote config and re-applying to environment
- config server for loading config files (from git, filesystem, etc...)
For the 1st, hopefully, we can eliminate bootstrap all together.
To test the 2nd, I made ConfigDataEnvironment, its constructor, and processAndApply() public and made a change here spring-cloud/spring-cloud-commons@24f444b and it was successful.
For the 3rd, I still need to do a POC on config server.