Build: #387 was successful Changes by Oliver Drotbohm and Greg L. Turnquist <gturnquist@vmware.com>

Build result summary

Details

Completed
Duration
1 minute
Labels
None
Agent
bamboo-24.af.pivotal.io
Revision
1607994fd2d78b812b1ae8c1a30413524e1c0391 1607994fd2d78b812b1ae8c1a30413524e1c0391
Total tests
779
Successful since
#381 ()

Tests

  • 0 New failures
  • 0 Existing failures
  • 0 Fixed

Sonar analysis results

ProjectQuality gate status
org.springframework.hateoas:spring-hateoas

Code commits

Author Commit Message Commit date
Oliver Drotbohm Oliver Drotbohm 1607994fd2d78b812b1ae8c1a30413524e1c0391 1607994fd2d78b812b1ae8c1a30413524e1c0391 #1352 - Change in implementation strategy for Maps in EntityModel.
We now use a custom serializer for EntityModel.getContent() as we need that to still return the Map content for programmatic clients. The serializer skips maps entirely and programmatically unwraps all other content.

A simple Converter (@JsonSerialize(convert = …)) to filter Maps unfortunately didn't do the trick as that causes a a delegating serializer to be registered for the property and @JsonUnwrapped stops working as it's designed to work with bean serializers only.

Adapted test cases accordingly.

Original pull request: #1353.
Greg L. Turnquist <gturnquist@vmware.com> Greg L. Turnquist <gturnquist@vmware.com> 69c81f24e4d033a863d8488710ea2b59d9849775 69c81f24e4d033a863d8488710ea2b59d9849775 #1352 - Render Map entries once.
Maps, when wrapped inside an EntityModel, were getting double-rendered. Fix it so that they are only rendered once.