Class ConfigServerBootstrapConfiguration


  • @Configuration(proxyBeanMethods=false)
    @ConditionalOnProperty("spring.cloud.config.server.bootstrap")
    public class ConfigServerBootstrapConfiguration
    extends Object
    Bootstrap configuration to fetch external configuration from a (possibly remote) EnvironmentRepository. Off by default because it can delay startup, but can be enabled with spring.cloud.config.server.bootstrap=true. This would be useful, for example, if the config server were embedded in another app that wanted to be configured from the same repository as all the other clients.
    Author:
    Dave Syer, Roy Clarkson
    • Constructor Detail

      • ConfigServerBootstrapConfiguration

        public ConfigServerBootstrapConfiguration()