This project is the example referenced in the post entitled:
The example consists of two applications:
- echo - A Spring Boot application that accepts
POST /echorequests and call the downstream service below
- chamber - which simple echoes the received request back to the upstream caller
There are three branches, each handling one of the above three ways of handling HTTP based communication.
master- the basic vanilla
RestTemplatewith Hystrix added for circuit breaker and fallback functionality
feign- same functionality as above but using a declarative Feign interface
Assuming a running instance of OpenShift started with
$ mvn fabric8:deploy
to deploy both applications to OpenShift.