Update to SNAPSHOT
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
<parent>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-consul</artifactId>
|
||||
<version>1.0.1.RELEASE</version>
|
||||
<version>1.0.2.BUILD-SNAPSHOT</version>
|
||||
</parent>
|
||||
<artifactId>spring-cloud-consul-docs</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
@@ -27,9 +27,9 @@ See the https://consul.io/intro/index.html[intro] for more information.
|
||||
1. Run `docker-compose up`
|
||||
2. Verify consul is running by visiting http://localhost:8500
|
||||
3. Run `mvn package` this will bring in the required spring cloud maven repositories and build
|
||||
4. Run `java -jar spring-cloud-consul-sample/target/spring-cloud-consul-sample-1.0.1.RELEASE.jar`
|
||||
4. Run `java -jar spring-cloud-consul-sample/target/spring-cloud-consul-sample-1.0.2.BUILD-SNAPSHOT.jar`
|
||||
5. visit http://localhost:8080, verify that `{"serviceId":"<yourhost>:8080","host":"<yourhost>","port":8080}` results
|
||||
6. run `java -jar spring-cloud-consul-sample/target/spring-cloud-consul-sample-1.0.1.RELEASE.jar --server.port=8081`
|
||||
6. run `java -jar spring-cloud-consul-sample/target/spring-cloud-consul-sample-1.0.2.BUILD-SNAPSHOT.jar --server.port=8081`
|
||||
7. visit http://localhost:8080 again, verify that `{"serviceId":"<yourhost>:8081","host":"<yourhost>","port":8081}` eventually shows up in the results in a round robbin fashion (may take a minute or so).
|
||||
|
||||
== Building
|
||||
|
||||
Reference in New Issue
Block a user