Files
hawkbit/hawkbit-rest/hawkbit-ddi-api
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-02-28 18:32:48 +01:00

Eclipse.IoT hawkBit - Direct Device Integration API - Model and Resources

The Direct Device Integration (DDI) API is used by devices for communicating with the HawkBit Update Server through HTTP.

Version 1

The model follows semantic versioning with MAJOR version, i.e. breaking changes will result in a new MAJOR version.

Compile

Build hawkbit-ddi-api

$ cd hawkbit/hawkbit-ddi-api
$ mvn clean install