Added entity view to filter nodes
This commit is contained in:
parent
fd6eb536e7
commit
9bc5e6760a
@ -27,7 +27,7 @@ import org.thingsboard.server.common.msg.TbMsg;
|
|||||||
type = ComponentType.FILTER,
|
type = ComponentType.FILTER,
|
||||||
name = "originator type switch",
|
name = "originator type switch",
|
||||||
configClazz = EmptyNodeConfiguration.class,
|
configClazz = EmptyNodeConfiguration.class,
|
||||||
relationTypes = {"Device", "Asset", "Tenant", "Customer", "User", "Dashboard", "Rule chain", "Rule node"},
|
relationTypes = {"Device", "Asset", "Entity View", "Tenant", "Customer", "User", "Dashboard", "Rule chain", "Rule node"},
|
||||||
nodeDescription = "Route incoming messages by Message Originator Type",
|
nodeDescription = "Route incoming messages by Message Originator Type",
|
||||||
nodeDetails = "Routes messages to chain according to the originator type ('Device', 'Asset', etc.).",
|
nodeDetails = "Routes messages to chain according to the originator type ('Device', 'Asset', etc.).",
|
||||||
uiResources = {"static/rulenode/rulenode-core-config.js"},
|
uiResources = {"static/rulenode/rulenode-core-config.js"},
|
||||||
@ -64,6 +64,9 @@ public class TbOriginatorTypeSwitchNode implements TbNode {
|
|||||||
case DEVICE:
|
case DEVICE:
|
||||||
relationType = "Device";
|
relationType = "Device";
|
||||||
break;
|
break;
|
||||||
|
case ENTITY_VIEW:
|
||||||
|
relationType = "Entity View";
|
||||||
|
break;
|
||||||
case RULE_CHAIN:
|
case RULE_CHAIN:
|
||||||
relationType = "Rule chain";
|
relationType = "Rule chain";
|
||||||
break;
|
break;
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user