Я создал собственный RuleNode, следующий за https://thingsboard.io/docs/user-guide/contribution/rule-node-development/ Когда я развертываю и запускаю, и когда я вставляю свой узел Custom Rule, он говорит:
Определенная директива конфигурации 'myTestNodeConfig' недоступна.
В проекте правил-узлов-примеров он определен так:
@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;
Может кто-нибудь помочь выяснить, чего не хватает.Спасибо