Don't register with consul in bootstrap.

This allows the normal consul lifecycle to register and properly deregister when using config client discovery.

fixes gh-213
This commit is contained in:
Spencer Gibb
2016-09-13 08:26:04 -06:00
parent b4d70a3af1
commit 8a8b02ecf9
5 changed files with 27 additions and 5 deletions

View File

@@ -48,6 +48,10 @@
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-consul-all</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-config</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-feign</artifactId>