No description or website provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.lazybones
blockchain-service
eureka-server
gateway-server
gradle/wrapper
insurance-service
ops-server
payment-service
rent-service
security-service
turbine-server
.gitignore
README.md
build.gradle
docker-compose-infrastructure.yml
docker-compose.yml
gradlew
gradlew.bat
rebuild-all
rebuild-blockchain-service
rebuild-eureka-server
rebuild-gateway-server
rebuild-insurance-service
rebuild-ops-server
rebuild-payment-service
rebuild-rent-service
rebuild-security-service
rebuild-turbine-server
run
run_infra
settings.gradle

README.md

Spring cloud example

Samples

  • five microservices that are called each other
  • eureka server (or you may use consul with small changes) (http://{you_docker_machine_host}:8761/)
  • gateway server with hystrix dashboard (see http://{you_docker_machine_host}:9000/hystrix/) and service routing
  • ops server with open zipking tracing through sleuth (http://{you_docker_machine_host}:9411/)
  • turbine server for colleting hystrix data from all services through rabbit-mq

Build, run, rebuild

build app: ./gradlew build

build image: ./gradlew dockerBuild

run all: ./run up -d

rebuild: ./rebuild-{sub-project-name}

rebuild script redeploy app automatically

example:

./gradlew build && ./run up -d && ./rebuild-rent-service