The plugin is an archive in a ZIP format. The archive includes: - licenses folder that contains license files;
- icon folder that contains files with pictograms for registered events (optionally);
- manifest.json file with information about the pluginon a plugin.
| Информация |
|---|
| Folders licenses and icon are optional. License files and files with pictograms can be located in the root folder. |
For events source external source systems, manifest.json file should contain the following information: Version| Content | | Name | Is required | Description |
|---|
Type of data | Optional | Description | { | | | | "PLUGIN_ID": "",
| String | Yes | Unique plugin identifier (UUID). Up to 40 characters. Example: "PLUGIN_ID": "189C38D390396EB6E0530100007F1CA200000001", | "DISPLAY_NAME": "", | String | Yes | Plugin name displayed. Example: "DISPLAY_NAME": "Plugin name", | "DESCRIPTION": "", | String | No | Plugin name displayed. Example: "DESCRIPTION": "Test plugin to demonstrate", | "VERSION": "", | String | Yes | Plugin version | Vendor identifier | Yes | Matches . Example "VERSION": "1.0.0", | "VENDOR": "", | String | Yes | Software company ID in accordance with the company name specified in the license | | Name | Yes | Plugin name | | Description | No | Plugin description | | "Preset" attribute | No | Whether plugin is included in the System | | Data source name for the sample unloading | Yes | Row selected by the plugin vendor for identifying the source of the sample unloading | | Unique identifier | Yes | Unique 128 bit identifier (UUID) of plugin. Example "VENDOR": "infowatch", | "LICENSE": [
{
"PATH":""
}
],
| Array
String | Yes | License files. The paths to license files hould be specified in accordance with archive root folder. Example:
"LICENSE": [
{
"PATH":"licenses/license file 1.license"
},
{
"PATH":"licenses/license file 2.license"
},
], | "PATTERN_SEARCH_LICENSE": "", | String | No | Template to search previously downloaded licenses to be binded to plugin. It has the following format: {operator:or|and,child[{name:value}]}". Example: "PATTERN_SEARCH_LICENSE": "{\"operator\":\"or\",\"conditions\":[{\"origin\":\"dm\"},{\"origin\":\"dmmobile\"}]}", | "DATATYPE": [
{
"VALUE": ""
}
]
| Array String | Yes | List of data types specifying the source systems. Example: "DATATYPE": [
{
"VALUE": "type1_s1", "VALUE": "type2_s2"
}
], | } | | | | | Предупреждение |
|---|
| The file contains an expired license. To use the sample file for registration of a plugin, you need to obtain a new license. |
A full JSON scheme is a part of SDK samples (see "Description of PushAPI SDK samples"). A sample file of the module registration is included in the SDK. |