From 61fac7dad55e15fc0b1dff9f01d34d2eb6d25a99 Mon Sep 17 00:00:00 2001 From: mattreyuk Date: Mon, 23 Feb 2015 11:32:35 -0700 Subject: [PATCH 1/2] Update readme to add use of settings.xml update to readme for issue #9 --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index a68555e7..70cfea2b 100644 --- a/README.md +++ b/README.md @@ -7,8 +7,9 @@ Preview of Spring Cloud Consul implementation 1. [Install consul](https://consul.io/downloads.html) 2. Run `./run_consul.sh` found in the root of this project 3. verify consul is running by visiting [http://localhost:8500](http://localhost:8500) -4. run `mvn package` -5. run `java -jar spring-cloud-consul-sample/target/spring-cloud-consul-sample-1.0.0.BUILD-SNAPSHOT.jar` -6. visit [http://localhost:8080](http://localhost:8080), verify that `{"serviceId":":8080","host":"","port":8080}` results -5. run `java -jar spring-cloud-consul-sample/target/spring-cloud-consul-sample-1.0.0.BUILD-SNAPSHOT.jar --server.port=8081` -6. visit [http://localhost:8080](http://localhost:8080) again, verify that `{"serviceId":":8081","host":"","port":8081}` eventually shows up in the results in a round robbin fashion (may take a minute or so). +4. run `mvn --settings .settings.xml` this will bring in the required spring cloud maven repositories +5. run `mvn package` +6. run `java -jar spring-cloud-consul-sample/target/spring-cloud-consul-sample-1.0.0.BUILD-SNAPSHOT.jar` +7. visit [http://localhost:8080](http://localhost:8080), verify that `{"serviceId":":8080","host":"","port":8080}` results +8. run `java -jar spring-cloud-consul-sample/target/spring-cloud-consul-sample-1.0.0.BUILD-SNAPSHOT.jar --server.port=8081` +9. visit [http://localhost:8080](http://localhost:8080) again, verify that `{"serviceId":":8081","host":"","port":8081}` eventually shows up in the results in a round robbin fashion (may take a minute or so). From 9121afe783cd00553d6a32fa640824e083bad2dc Mon Sep 17 00:00:00 2001 From: mattreyuk Date: Mon, 23 Feb 2015 13:31:38 -0700 Subject: [PATCH 2/2] Update README.md merged points 4 & 5 --- README.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 70cfea2b..a3225314 100644 --- a/README.md +++ b/README.md @@ -7,9 +7,8 @@ Preview of Spring Cloud Consul implementation 1. [Install consul](https://consul.io/downloads.html) 2. Run `./run_consul.sh` found in the root of this project 3. verify consul is running by visiting [http://localhost:8500](http://localhost:8500) -4. run `mvn --settings .settings.xml` this will bring in the required spring cloud maven repositories -5. run `mvn package` -6. run `java -jar spring-cloud-consul-sample/target/spring-cloud-consul-sample-1.0.0.BUILD-SNAPSHOT.jar` -7. visit [http://localhost:8080](http://localhost:8080), verify that `{"serviceId":":8080","host":"","port":8080}` results -8. run `java -jar spring-cloud-consul-sample/target/spring-cloud-consul-sample-1.0.0.BUILD-SNAPSHOT.jar --server.port=8081` -9. visit [http://localhost:8080](http://localhost:8080) again, verify that `{"serviceId":":8081","host":"","port":8081}` eventually shows up in the results in a round robbin fashion (may take a minute or so). +4. run `mvn --settings .settings.xml package` this will bring in the required spring cloud maven repositories and build +5. run `java -jar spring-cloud-consul-sample/target/spring-cloud-consul-sample-1.0.0.BUILD-SNAPSHOT.jar` +6. visit [http://localhost:8080](http://localhost:8080), verify that `{"serviceId":":8080","host":"","port":8080}` results +7. run `java -jar spring-cloud-consul-sample/target/spring-cloud-consul-sample-1.0.0.BUILD-SNAPSHOT.jar --server.port=8081` +8. visit [http://localhost:8080](http://localhost:8080) again, verify that `{"serviceId":":8081","host":"","port":8081}` eventually shows up in the results in a round robbin fashion (may take a minute or so).