GitHub - rcapraro/spring-cloud-sample: Simple spring cloud sample · GitHub
Skip to content

rcapraro/spring-cloud-sample

Repository files navigation

spring-cloud-sample

This is very simple set of microservices made with Spring boot and Spring cloud

  • Eureka with peer awareness
  • Hystrix commands
  • Hystrix Dashboard
  • A service (contrat-service) aggregating results of two other services with Spring Rest template, asynchronously with RxJava observables.
  • Client load balancing with Ribbon
  • Zuul proxy server
  • (TODO) Config server
  • OAuth2 server (WIP)

Start all services, you should then be able to view json content from http://localhost:8765/contrat-service, http://localhost:8765/tiers-service and http://localhost:8765/sinistre-service which are configured in application.yml as Zuul proxy routes.

How to get a password grant with the OAuth server: http POST acme:acmesecret@localhost:8181/uaa/oauth/token grant_type=password client_id=acme scope=openid username=user password=password --form

About

Simple spring cloud sample

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

Languages