Skip to content

Saladinek/demo-boot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Template for distributed Microservices @ Saxsys

Reference Project Template MS, Saxsys

##Service Structure There are 4 Services

  • Zuul (API-Gateway) on Port 8080
  • Eureka (Service Discovery) on Port 8081
  • SearchService on Port 8082
  • Subscription on Port 8083

On startup all services register to Eureka. Zuul acts as the API-Gateway and proxies requests to the corresponding services via looking up the service in the Service Discovery.

There are currently 2 important services missing:

##How to use & What happens

  1. Start all services via start script
  2. Open Eureka Service Discovery Panel under http://localhost:8761/
  3. Wait that 3 Services appear under "Instances currently registered with Eureka" (Search, Subscription, Zuul) by refreshing the page
  4. Zuul (running on 8080) is the API Gateway (Config) that routes the search and subscription path to the corresponding services and their REST-Endpoints
  5. call http://localhost:8080/search/company (The Request runs against Zuul, Zuul requests the services address of the service instance from Eureka and poxies the request to the available service instance)

About

Reference Project Template MS, Saxsys

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 91.0%
  • Shell 5.6%
  • Batchfile 3.4%