component-descriptor-controller
Get Component Descriptors (getComponentDescriptorsByTypes)
Gets the Component Descriptors using coma separated list of rule node types 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
Query parameters
componentTypesstring[] required
List of types of the Rule Nodes, (ENRICHMENT, FILTER, TRANSFORMATION, ACTION or EXTERNAL)
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": {}
}
]