component-descriptor-controller
Get Component Descriptors (getComponentDescriptorsByType)
Gets the Component Descriptors using rule node type and optional rule chain type request parameters. Each Component Descriptor represents configuration of specific rule node (e.g. 'Save Timeseries' or 'Send Email'.). The Component Descriptors are used by the rule chain Web UI to build the configuration forms for the rule nodes. The Component Descriptors are discovered at runtime by scanning the class path and searching for @RuleNode annotation. Once discovered, the up to date list of descriptors is persisted to the database.
Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority.
get/api/components/{componentType}
Path parameters
componentType'ENRICHMENT' | 'FILTER' | 'TRANSFORMATION' | 'ACTION' | 'EXTERNAL' required
Type of the Rule Node
Query parameters
ruleChainType'CORE' | 'EDGE'
Type of the Rule Chain
Response
OK
Example response
[
{
"id": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9"
},
"createdTime": 1609459200000,
"scope": "TENANT",
"clusteringMode": "ENABLED",
"name": "Custom Rule Node",
"clazz": "com.mycompany.CustomRuleNode",
"hasQueueName": true,
"configurationDescriptor": {}
}
]