We're trying to use a spring-cloud @FeignClient
to call the HAL-JSON REST API of a microservice from another microservice. The service is implemented with Spring Data Rest, Spring Boot 1.4, with Hateoas enabled by default.
Using a dedicated DTO on the client side, all the simple properties are properly mapped, but the HAL-specific _embedded
collection is ignored.
As taken primarly from this post, we implemented a custom Feign Decoder
with a corresponding ObjectMapper
, using the often mentioned Jackson2HalModule
, but this still does not solve our issue.
You can reproduce the issue with this sample project, where the problem is described in more detail.
We appreciate any help or hints on this problem! Thanks in advance