Allow things activation without registering them in advance.
You can leverage this plugin to avoid the pre-registration of the things that can be activated by end-user through the Thing Activation procedure.
With this plugin, you can configure an external endpoint to be invoked during thing activation to get the thing information by serial number, including:
Thing Definition name
Thing property values
In order to read thing information, it is expected that the external endpoint returns a plain JSON object.
Plugin Configuration
To enable this plugin, you need to:
Go to the Integrations / Plugins page.
Select the Business Apps category.
Locate the Thing Provider card.
Click on the card switch to activate the plugin.
Configure the plugin properties and save.
Here is the list of all the properties that can be used in the plugin configuration.
PROPERTIES | |
---|---|
Endpoint URL | The URL of the endpoint to invoke to obtain thing information during activation. |
Authentication | The authentication used by the remote service. |
Verification Field | The name of the response field providing the verification value. |
Verification Values | The valid verification values. |
Thing Definition Field | The name of the response field that provides the Thing Definition to be associated with the thing to be activated. |
Thing Definition Cases | The mapping between the value of the response Thing Definition Field and the Thing Definition. |
Default Thing Definition | The default Thing Definition to be assoicated to the thing being activating as fallback. |
Thing Properties Mapping | The mapping between the field and thing property names. |