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. Type: STRING | Mandatory |
Authentication | The authentication used by the remote service. Type: AUTHENTICATION | Optional |
Verification Field | The name of the response field providing the verification value. Type: STRING | Optional |
Verification Values | The valid verification values. Type: STRING_ARRAY | Optional |
Thing Definition Field | The name of the response field that provides the Thing Definition to be associated with the thing to be activated. Type: STRING | Mandatory |
Thing Definition Cases | The mapping between the value of the response Thing Definition Field and the Thing Definition. Type: KEY_VALUE | Optional |
Default Thing Definition | The default Thing Definition to be assoicated to the thing being activating as fallback. Type: SELECTION | Mandatory |
Thing Properties Mapping | The mapping between the field and thing property names. Type: KEY_VALUE | Optional |
Comments
0 comments
Please sign in to leave a comment.