Configuration and usage example for Spring Cloud Feign with Hystrix enabled

Feign Configuration

This project is just an example configuration and usage for Spring Cloud Feign (with Hystrix and Eureka Client).

What's inside

  • A Decoder implementation used to decode 404 with boby differing from "normal" responses into Optional or ReponseEntity
  • An integration tests mecanisms to validate configuration and usage of this stack

Why so serious ?

This project have 1 little class and 1 Spring configuration and yet really too much tests (especially integration ones). This is because it is really important to ensure that all the anti-fragile features we are relying on are still working as intended since it can really change from one minor Spring Cloud version to another.