Skip to content

malafeev/spring-cloud-sa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/

About

OpenTracing instrumentation for Spring Cloud

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published