@RuleNode(
type = ComponentType.FILTER,
name = "MyTestNode",
relationTypes = {"True", "False"},
configClazz = MyTestNodeConfiguration.class,
nodeDescription = "Checks the existence of the selected key in the message payload.",
nodeDetails = "If the selected key exists - send Message via <b>True</b> chain, otherwise <b>False</b> chain is used.",
uiResources = {"static/rulenode/custom-nodes-config.js"},
configDirective = "myTestNodeConfig")
public class MyTestNode implements TbNode {
import CheckKeyConfigDirective from './check-key-config.directive';
export default angular.module('thingsboard.ruleChain.config.filter', [])
.directive('myTestNodeConfig', CheckKeyConfigDirective)
.name;