Skip to content

Latest commit

 

History

History
48 lines (34 loc) · 847 Bytes

README.md

File metadata and controls

48 lines (34 loc) · 847 Bytes

Spring Cloud Sample Application to test with SpecialAgent

Example consists of:

  • Eureka Server
  • Rest Service 1
  • Rest Service 2
  • Config server
  • Zuul proxy

Rest services are registered in Eureka on startup.

Service 2 make rest request to Service 1 via Feign client which uses Service Discovery, Circuit Breaker (Hystrix) and Client Side Load Balancer (Ribbon)

Configuration

\

Usage

Build

mvn clean package

Start Eureka

java -jar eureka-server/target/eureka-server-0.0.1-SNAPSHOT.jar

Access Eureka: http://localhost:8761/

Start Rest Service 1

java -jar rest-service-1/target/rest-service-1-0.0.1-SNAPSHOT.jar

Start Rest Service 2

java -jar rest-service-2/target/rest-service-2-0.0.1-SNAPSHOT.jar

Make HTTP Request to Service 2:

curl http://localhost:8082/