Open
Description
I have created a scenario where I need a password
property loaded from configtree:
to use for the config server client, which is secured.
I noticed when the configserver:
ConfigDataLoader is not marked optional it will fail because the password is not resolved yet in org.springframework.boot.context.config.ConfigDataEnvironment#processInitial
but only later in org.springframework.boot.context.config.ConfigDataEnvironment#processWithProfiles
see https://github.com/lorenzbaier/spring-config-server-client-test
I think that the properties should be added to the context as soon as they are available at org.springframework.boot.context.config.ConfigDataImporter#load