|
|
|
@ -28,10 +28,10 @@ import org.thingsboard.server.common.data.plugin.ComponentType; |
|
|
|
name="customer attributes", |
|
|
|
configClazz = TbGetEntityAttrNodeConfiguration.class, |
|
|
|
nodeDescription = "Add Originators Customer Attributes or Latest Telemetry into Message Metadata", |
|
|
|
nodeDetails = "If Attributes enrichment configured, server scope attributes are added into Message metadata. " + |
|
|
|
"If Latest Telemetry enrichment configured, latest telemetry added into metadata. " + |
|
|
|
"To access those attributes in other nodes this template can be used " + |
|
|
|
"<code>metadata.temperature</code>.", |
|
|
|
nodeDetails = "Enrich the message metadata with the corresponding customer's latest attributes or telemetry value. " + |
|
|
|
"The customer is selected based on the originator of the message: device, asset, etc. " + |
|
|
|
"</br>" + |
|
|
|
"Useful when you store some parameters on the customer level and would like to use them for message processing.", |
|
|
|
uiResources = {"static/rulenode/rulenode-core-config.js"}, |
|
|
|
configDirective = "tbEnrichmentNodeCustomerAttributesConfig") |
|
|
|
public class TbGetCustomerAttributeNode extends TbEntityGetAttrNode<CustomerId> { |
|
|
|
|