Microservice Cloud Foundry Sample
However, this demo uses Cloud Foundry to run the microservices. As a PaaS it requires very little configuration to make the microservices work on this environment.
This project creates a complete micro service demo system with Cloud Foundry. The services are implemented in Java using Spring and Spring Cloud.
It uses three microservices:
Orderto process orders.
Customerto handle customer data.
Catalogto handle the items in the catalog.
How to run
See How to run.
Remarks on the Code
The microservices are:
microservice-cloudfoundry-demo-catalog is the application to take care of items.
microservice-cloudfoundry-demo-customer is responsible for customers.
microservice-cloudfoundry-demo-order does implements order processing. It uses microservice-cloudfoundry-demo-catalog and microservice-cloudfoundry-demo-customer. Hystrix is used for resilience.
Note that the code has no dependencies on Cloud Foundry. Only Spring Cloud Hystrix is used to add resilience.