Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix REST-API device/{deviceId}/request API #2781

Merged
merged 2 commits into from
Nov 21, 2019

Conversation

Coduz
Copy link
Contributor

@Coduz Coduz commented Nov 21, 2019

This PR fixes the REST API resource: device/{deviceId}/request

Related Issue
None

Description of the solution adopted
Found the problem where when one of metric value on the answer payload was null.
Now those metrics will be not serialized.

Screenshots
None

Any side note on the changes made
I've also found a problem on the mapping of the KapuaExceptionInfo on XML format. I've performed a refactoring fixing also that.

Signed-off-by: coduz <alberto.codutti@eurotech.com>
Signed-off-by: coduz <alberto.codutti@eurotech.com>
@Coduz Coduz added Bug This is a bug or an unexpected behaviour. Fix it! REST API We hope to REST everyday labels Nov 21, 2019
@Coduz Coduz requested a review from lorthirk November 21, 2019 10:45
@Coduz Coduz merged commit b2d5dc0 into eclipse-kapua:develop Nov 21, 2019
@Coduz Coduz deleted the fix-deviceRequestJson branch March 27, 2020 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This is a bug or an unexpected behaviour. Fix it! REST API We hope to REST everyday
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant