Produce Web of Things

This handler (com.rierino.handler.wot.WOTProducerEventHandler) provides ability to consume WoT data and invoke actions on IoT and similar endpoints

Handler Parameters

Parameter
Definition
Example
Default

saga.state

Name of the state manager with saga definitions

-

saga

Actions

ReadThing

Creates and returns a "Thing" description with a list of actions to invoke and properties to read from allowed sagas. Event metadata fields applicable for this action are as follows:

Field
Definition
Example
Default

domain

State to read "Thing" from

custom_thing

thing

inputElement

Json path for the id field in event payload

input

-

outputElement

Json path for the output in response event payload

output

-

Thing definitions are stored in state managers with the following data elements:

  • title

  • description

  • baseURL

  • securityScheme

  • contentType

  • actionsSagas - list of saga ids that will be used to invoke actions

  • propertiesSagas - list of saga ids that will be used to read properties

Last updated