neuron.json 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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://github.com/lf-edge/ekuiper/blob/master/docs/en_US/rules/sinks/builtin/neuron.md",
  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": "nodeName",
  22. "optional": false,
  23. "control": "text",
  24. "default": "",
  25. "type": "string",
  26. "hint": {
  27. "en_US": "The neuron node name",
  28. "zh_CN": "Neuron 节点名称"
  29. },
  30. "label": {
  31. "en_US": "Node Name",
  32. "zh_CN": "节点名称"
  33. }
  34. },
  35. {
  36. "name": "groupName",
  37. "optional": false,
  38. "control": "text",
  39. "default": "",
  40. "type": "string",
  41. "hint": {
  42. "en_US": "The neuron group name",
  43. "zh_CN": "Neuron 分组名称"
  44. },
  45. "label": {
  46. "en_US": "Group Name",
  47. "zh_CN": "分组名称"
  48. }
  49. },
  50. {
  51. "name": "tags",
  52. "default": [],
  53. "optional": false,
  54. "control": "list",
  55. "type": "list_string",
  56. "hint": {
  57. "en_US": "Tags of neuron to be sent",
  58. "zh_CN": "要写入的Neuron标签"
  59. },
  60. "label": {
  61. "en_US": "Tags",
  62. "zh_CN": "标签字段"
  63. }
  64. },
  65. {
  66. "name": "raw",
  67. "optional": true,
  68. "control": "radio",
  69. "default": false,
  70. "type": "bool",
  71. "hint": {
  72. "en_US": "Whether to send the raw string",
  73. "zh_CN": "是否发送原始字符串"
  74. },
  75. "label": {
  76. "en_US": "Raw",
  77. "zh_CN": "原始字符串"
  78. }
  79. }
  80. ],
  81. "node": {
  82. "category": "Sink",
  83. "icon": "iconPath",
  84. "label": {
  85. "en": "Neuron output",
  86. "zh": "Neuron 输出"
  87. }
  88. }
  89. }