Class ConsulConfigServerAutoConfiguration
- java.lang.Object
-
- org.springframework.cloud.consul.discovery.configclient.ConsulConfigServerAutoConfiguration
-
@Configuration(proxyBeanMethods=false) @EnableConfigurationProperties @ConditionalOnClass({ConsulDiscoveryProperties.class,com.ecwid.consul.v1.ConsulClient.class,org.springframework.cloud.config.server.config.ConfigServerProperties.class}) public class ConsulConfigServerAutoConfiguration extends ObjectExtra configuration for config server if it happens to be registered with Consul.- Author:
- Dave Syer
-
-
Field Summary
Fields Modifier and Type Field Description static StringCONFIG_PATH_KEYThe metadata key for the path for config server.
-
Constructor Summary
Constructors Constructor Description ConsulConfigServerAutoConfiguration()
-
-
-
Field Detail
-
CONFIG_PATH_KEY
public static final String CONFIG_PATH_KEY
The metadata key for the path for config server.- See Also:
- Constant Field Values
-
-
Method Detail
-
init
@PostConstruct public void init()
-
-