Files
hawkbit/hawkbit-rest
Stefan Schake e8e203b69a CBOR support for the DDI API (#797)
* Add test for default content-type of DDI

We want to add support for other content types to the DDI interface.
To make sure we don't break devices that implicitly assume they will
receive JSON without setting an Accept header, add a test for the current
behavior.

v2: Complete the assertion

Signed-off-by: Stefan Schake <stefan.schake@devolo.de>

* Add CBOR support for DDI API

Concise Binary Object Representation (CBOR) is a binary data format
optimized for small code and message size. Since Spring Boot 2, there
is an autoconfigured data converter so we need to do little more than
add the reference to the Jackson backend and advertise support in the DDI
endpoints. Add tests to ensure all endpoints support the format.

Fixes #748

Signed-off-by: Stefan Schake <stefan.schake@devolo.de>
2019-02-28 18:32:48 +01:00
..
2019-01-31 07:29:27 +01:00
2019-01-31 07:29:27 +01:00
2019-01-31 07:29:27 +01:00
2018-06-11 15:57:15 +02:00