neuron.json 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. {
  2. "about": {
  3. "trial": false,
  4. "author": {
  5. "name": "EMQ",
  6. "email": "contact@emqx.io",
  7. "company": "EMQ Technologies Co., Ltd",
  8. "website": "https://www.emqx.io"
  9. },
  10. "helpUrl": {
  11. "en_US": "https://ekuiper.org/docs/en/latest/guide/sinks/builtin/neuron.html",
  12. "zh_CN": "https://github.com/lf-edge/ekuiper/blob/master/docs/zh_CN/rules/sinks/builtin/"
  13. },
  14. "description": {
  15. "en_US": "The action is used to publish the result into the local neuron instance.",
  16. "zh_CN": "该操作用于发送消息到本地的 neuron 中。"
  17. }
  18. },
  19. "properties": [
  20. {
  21. "name": "url",
  22. "default": "tcp://127.0.0.1:7081",
  23. "optional": false,
  24. "control": "text",
  25. "type": "string",
  26. "hint": {
  27. "en_US": "The nng url to connect to neuron.",
  28. "zh_CN": "连接 Neuron 的 nng url"
  29. },
  30. "label": {
  31. "en_US": "URL",
  32. "zh_CN": "路径"
  33. }
  34. },
  35. {
  36. "name": "nodeName",
  37. "optional": true,
  38. "control": "text",
  39. "default": "",
  40. "type": "string",
  41. "hint": {
  42. "en_US": "The neuron node name",
  43. "zh_CN": "Neuron 节点名称"
  44. },
  45. "label": {
  46. "en_US": "Node Name",
  47. "zh_CN": "节点名称"
  48. }
  49. },
  50. {
  51. "name": "groupName",
  52. "optional": true,
  53. "control": "text",
  54. "default": "",
  55. "type": "string",
  56. "hint": {
  57. "en_US": "The neuron group name",
  58. "zh_CN": "Neuron 分组名称"
  59. },
  60. "label": {
  61. "en_US": "Group Name",
  62. "zh_CN": "分组名称"
  63. }
  64. },
  65. {
  66. "name": "tags",
  67. "default": [],
  68. "optional": true,
  69. "control": "list",
  70. "type": "list_string",
  71. "hint": {
  72. "en_US": "Tags of neuron to be sent",
  73. "zh_CN": "要写入的Neuron标签"
  74. },
  75. "label": {
  76. "en_US": "Tags",
  77. "zh_CN": "标签字段"
  78. }
  79. },
  80. {
  81. "name": "raw",
  82. "optional": true,
  83. "control": "radio",
  84. "default": false,
  85. "type": "bool",
  86. "hint": {
  87. "en_US": "Whether to send the raw string",
  88. "zh_CN": "是否发送原始字符串"
  89. },
  90. "label": {
  91. "en_US": "Raw",
  92. "zh_CN": "原始字符串"
  93. }
  94. }
  95. ],
  96. "node": {
  97. "category": "sink",
  98. "icon": "iconPath",
  99. "label": {
  100. "en": "Neuron",
  101. "zh": "Neuron"
  102. }
  103. }
  104. }