Skip to content

Latest commit

 

History

History
20 lines (19 loc) · 908 Bytes

File metadata and controls

20 lines (19 loc) · 908 Bytes

spring-cloud-example

Example for Spring cloud (netflix OSS, spring cloud)

This project has following components

  • eureka-server (discovery service)
    • support three peer to peer discovery
      • three server profiles included
      • each server runs with -Dspring.profiles.active=peer1 or peer2 or peer3
      • port range is 8800-8802, each server contains own status dashboard
  • eureka-client (simple backend-client)
    • three client-service profiles included
    • each server runs with -Dspring.profiles.active=peer1 or peer2 or peer3
    • port range is 8811-8813
  • zuul-gateway (API Gateway)
  • spring-config-server (file base remote config server)
    • all of configuration files are in /src/main/resources/config
    • runs with -Dspring.profiles.active=native
    • port is 9000