mattreyuk 61fac7dad5 Update readme to add use of settings.xml
update to readme for issue #9
2015-02-23 11:32:35 -07:00
2014-12-01 15:52:48 -07:00
2015-02-05 10:39:48 -07:00
2015-02-05 10:39:48 -07:00
2015-02-05 10:39:48 -07:00
2014-12-01 15:52:48 -07:00
2014-12-01 15:52:48 -07:00
2014-12-02 13:45:28 -07:00
2015-02-05 10:39:48 -07:00
2014-12-01 15:52:48 -07:00

Spring Cloud Consul

Preview of Spring Cloud Consul implementation

Running the sample

  1. Install consul
  2. Run ./run_consul.sh found in the root of this project
  3. verify consul is running by visiting 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, verify that {"serviceId":"<yourhost>:8080","host":"<yourhost>","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 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).
Description
No description provided
Readme 76 MiB
Languages
Java 64.4%
CSS 23.3%
HTML 9.7%
Batchfile 2%
Shell 0.6%