Implements Circuit Breaker (SpringBoot+SpringCloud => Feign + Hystrix)
mvn clean install
This will create a jar file inside target folder, and it can be executed with:
java -jar -Dspring.profiles.active=production -Dspring.config.location=../config/cb-custom-production.properties circuit-breaker-0.0.1-SNAPSHOT.jar
Documentation for API with Swagger access this:
http://127.0.0.1:8080/circuit-breaker/swagger-ui.html
For security I used Basic Authorization, credentials is:
Username: user-1
Password: user-1