#Spring Cloud - Netflix OSS Example
##Introduction
This repo contains an example of Sping cloud (Netflix OSS) micro-services architecture.
The main objective is to understand the spring cloud ecosystem. The following image shows the different components of this example:
The main parts are (they each have a readme.md with more details):
- [Eureka] (https://github.com/Oreste-Luci/netflix-oss-example/tree/master/eureka-server)
- [Config Service] (https://github.com/Oreste-Luci/netflix-oss-example/tree/master/config-service)
- [Turbine] (https://github.com/Oreste-Luci/netflix-oss-example/tree/master/turbine)
- [Hystrix Dashboard] (https://github.com/Oreste-Luci/netflix-oss-example/tree/master/hystrix-dashboard)
- [Microservice C: This is the server micro-service for service B] (https://github.com/Oreste-Luci/netflix-oss-example/tree/master/service_c)
- [Microservice B: This is the server micro-service for service A] (https://github.com/Oreste-Luci/netflix-oss-example/tree/master/service_b)
- [Microservice A: This is the client micro-service] (https://github.com/Oreste-Luci/netflix-oss-example/tree/master/service_a)
- Zuul
- Spring Cloud Dashboard
- RabbitMq for histryx stats aggregator
- Docker Compose
The services can be started in any other but it recommended to start them in above order.
Service A exposes endpoints that in turn call service B endpoints and service B will call service C endpoints. The client services find the server services via Eureka.
There is further documentation for each component in the links above.
##Further Reading
- [Spring Cloud] (http://projects.spring.io/spring-cloud/spring-cloud.html)
- [Dynamic configuration management with Spring Cloud Config] (http://qiita.com/making@github/items/704d8e254e03c5cce546)
- [Spring Cloud Netflix] (http://cloud.spring.io/spring-cloud-netflix/spring-cloud-netflix.html)
- [Microservice Registration and Discovery with Spring Cloud and Netflix's Eureka] (https://spring.io/blog/2015/01/20/microservice-registration-and-discovery-with-spring-cloud-and-netflix-s-eureka)
- [Netflix Ribbon] (https://github.com/Netflix/ribbon/wiki)
Note: This example is using Spring Boot version 1.2.3.RELEASE and Spring Cloud version 1.0.0.RELEASE because there were some issues in Feign with the latest Spring Cloud version.