1. Asimio
  2. tech.asimio.net
  3. demo-multiversion-registration-api-1

Source

demo-multiversion-registration-api-1 /

Filename Size Date modified Message
.settings
src/main
1.1 KB
9 B
1.0 KB
417 B
1.1 KB
1.9 KB
1.9 KB
4.0 KB

README

Demo Multiversion Registration Api 1 accompanying source code for blog entry at http://tech.asimio.net/2017/03/06/Multi-version-Service-Discovery-using-Spring-Cloud-Netflix-Eureka-and-Ribbon.html

Requirements

Building and executing the application from command line

mvn clean package
java -DappPort=8601 -DhostName=$HOSTNAME -Dspring.profiles.active=v1 -jar target/demo-multiversion-registration-api-1.jar
and/or
java -DappPort=8602 -DhostName=$HOSTNAME -Dspring.profiles.active=v1v2 -jar target/demo-multiversion-registration-api-1.jar

Eureka server listening on localhost:8000 otherwise would need to include VM arg similar to:

-Deureka.client.serviceUrl.defaultZone=http://localhost:8000/eureka/

Who do I talk to?