Create a ServiceRegistry interface.

Allow service discovery systems to register more than one instance.

Automatic registration will still take place.

Add boolean autoRegister() to EnableDiscoveryClient, defaults to true.

Add ServiceRegistryEndpoint.

fixes gh-9
This commit is contained in:
Spencer Gibb
2016-07-01 23:16:00 -06:00
parent d850aad13f
commit bf4b6e3293
19 changed files with 823 additions and 5 deletions

View File

@@ -5,7 +5,7 @@
<parent>
<artifactId>spring-cloud-dependencies-parent</artifactId>
<groupId>org.springframework.cloud</groupId>
<version>1.1.2.RELEASE</version>
<version>1.2.2.BUILD-SNAPSHOT</version>
<relativePath/>
</parent>
<artifactId>spring-cloud-commons-dependencies</artifactId>