Skip to content

The KE REST API should allow reactive KBs to give error messages back to the caller. #448

@Sophietje

Description

@Sophietje

In GitLab by @barry.nouwt.tno.nl on Oct 26, 2023, 11:17

For example, when a reactive service is implemented and incoming bindings are invalid (because a datetime is in the past, or because an device ID is not found) it would be good if this information flows back to the proactive side. The ExchangeInfo is a good mechanism for this, but currently there is no way for users of the KE REST API to return an error message that ends up in the Exchange Info.

The users of the KE Java API can already throw an Exception from the ReactHandler that ends up in the ExchangeInfo.

Improve the KE REST API with such a feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions