Update SNAPSHOT to 1.0.2.RELEASE
This commit is contained in:
@@ -36,9 +36,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.2.BUILD-SNAPSHOT.jar`
|
||||
4. Run `java -jar spring-cloud-consul-sample/target/spring-cloud-consul-sample-1.0.2.RELEASE.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.2.BUILD-SNAPSHOT.jar --server.port=8081`
|
||||
6. run `java -jar spring-cloud-consul-sample/target/spring-cloud-consul-sample-1.0.2.RELEASE.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
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<parent>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-consul</artifactId>
|
||||
<version>1.0.2.BUILD-SNAPSHOT</version>
|
||||
<version>1.0.2.RELEASE</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.2.BUILD-SNAPSHOT.jar`
|
||||
4. Run `java -jar spring-cloud-consul-sample/target/spring-cloud-consul-sample-1.0.2.RELEASE.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.2.BUILD-SNAPSHOT.jar --server.port=8081`
|
||||
6. run `java -jar spring-cloud-consul-sample/target/spring-cloud-consul-sample-1.0.2.RELEASE.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
|
||||
|
||||
4
pom.xml
4
pom.xml
@@ -6,7 +6,7 @@
|
||||
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-consul</artifactId>
|
||||
<version>1.0.2.BUILD-SNAPSHOT</version>
|
||||
<version>1.0.2.RELEASE</version>
|
||||
<packaging>pom</packaging>
|
||||
<name>Spring Cloud Consul</name>
|
||||
<description>Spring Cloud Consul</description>
|
||||
@@ -14,7 +14,7 @@
|
||||
<parent>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-build</artifactId>
|
||||
<version>1.1.2.BUILD-SNAPSHOT</version>
|
||||
<version>1.1.1.RELEASE</version>
|
||||
<relativePath/>
|
||||
<!-- lookup parent from repository -->
|
||||
</parent>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<parent>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-consul</artifactId>
|
||||
<version>1.0.2.BUILD-SNAPSHOT</version>
|
||||
<version>1.0.2.RELEASE</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<parent>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-consul</artifactId>
|
||||
<version>1.0.2.BUILD-SNAPSHOT</version>
|
||||
<version>1.0.2.RELEASE</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
|
||||
@@ -5,18 +5,18 @@
|
||||
<parent>
|
||||
<artifactId>spring-cloud-dependencies-parent</artifactId>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<version>1.1.2.BUILD-SNAPSHOT</version>
|
||||
<version>1.1.1.RELEASE</version>
|
||||
<relativePath/>
|
||||
</parent>
|
||||
<artifactId>spring-cloud-consul-dependencies</artifactId>
|
||||
<version>1.0.2.BUILD-SNAPSHOT</version>
|
||||
<version>1.0.2.RELEASE</version>
|
||||
<packaging>pom</packaging>
|
||||
<name>spring-cloud-consul-dependencies</name>
|
||||
<description>Spring Cloud Consul Dependencies</description>
|
||||
<properties>
|
||||
<spring-cloud-bus.version>1.1.1.BUILD-SNAPSHOT</spring-cloud-bus.version>
|
||||
<spring-cloud-commons.version>1.1.2.BUILD-SNAPSHOT</spring-cloud-commons.version>
|
||||
<spring-cloud-netflix.version>1.1.2.BUILD-SNAPSHOT</spring-cloud-netflix.version>
|
||||
<spring-cloud-bus.version>1.1.0.RELEASE</spring-cloud-bus.version>
|
||||
<spring-cloud-commons.version>1.1.1.RELEASE</spring-cloud-commons.version>
|
||||
<spring-cloud-netflix.version>1.1.3.RELEASE</spring-cloud-netflix.version>
|
||||
<consul-api.version>1.1.10</consul-api.version>
|
||||
<gson.version>2.3.1</gson.version>
|
||||
<httpclient.version>4.5</httpclient.version>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<parent>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-consul</artifactId>
|
||||
<version>1.0.2.BUILD-SNAPSHOT</version>
|
||||
<version>1.0.2.RELEASE</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<parent>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-consul</artifactId>
|
||||
<version>1.0.2.BUILD-SNAPSHOT</version>
|
||||
<version>1.0.2.RELEASE</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-consul</artifactId>
|
||||
<version>1.0.2.BUILD-SNAPSHOT</version>
|
||||
<version>1.0.2.RELEASE</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
<artifactId>spring-cloud-starter-consul-all</artifactId>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-consul</artifactId>
|
||||
<version>1.0.2.BUILD-SNAPSHOT</version>
|
||||
<version>1.0.2.RELEASE</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
<artifactId>spring-cloud-starter-consul-config</artifactId>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<parent>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-consul</artifactId>
|
||||
<version>1.0.2.BUILD-SNAPSHOT</version>
|
||||
<version>1.0.2.RELEASE</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
<artifactId>spring-cloud-starter-consul-discovery</artifactId>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-consul</artifactId>
|
||||
<version>1.0.2.BUILD-SNAPSHOT</version>
|
||||
<version>1.0.2.RELEASE</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
<artifactId>spring-cloud-starter-consul</artifactId>
|
||||
|
||||
Reference in New Issue
Block a user