@node-red/nodes 3.0.0-beta.1 → 3.0.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/99-sample.html.demo +1 -1
- package/core/common/20-inject.html +1 -1
- package/core/common/20-inject.js +3 -2
- package/core/common/21-debug.html +2 -3
- package/core/common/60-link.html +1 -2
- package/core/common/60-link.js +7 -10
- package/core/common/lib/debug/debug-utils.js +1 -1
- package/core/function/10-function.html +6 -6
- package/core/function/10-switch.html +16 -11
- package/core/function/80-template.js +24 -0
- package/core/function/89-delay.js +13 -9
- package/core/network/10-mqtt.js +54 -17
- package/core/network/21-httpin.html +4 -4
- package/core/network/21-httprequest.html +4 -2
- package/core/network/31-tcpin.js +15 -17
- package/core/parsers/70-CSV.js +5 -2
- package/core/sequence/17-split.html +1 -1
- package/core/sequence/17-split.js +4 -2
- package/core/storage/10-file.html +8 -8
- package/examples/function/delay/06 - Simple Queue with release +149 -0
- package/locales/en-US/common/60-link.html +3 -2
- package/locales/en-US/messages.json +109 -107
- package/locales/ja/common/60-link.html +3 -2
- package/locales/ja/function/10-function.html +1 -1
- package/locales/ja/messages.json +65 -58
- package/locales/ja/network/10-mqtt.html +1 -1
- package/locales/ja/network/21-httprequest.html +1 -1
- package/locales/ja/storage/10-file.html +8 -6
- package/package.json +3 -3
|
@@ -198,8 +198,8 @@
|
|
|
198
198
|
category: 'storage',
|
|
199
199
|
defaults: {
|
|
200
200
|
name: {value:""},
|
|
201
|
-
filename: {value:"
|
|
202
|
-
filenameType: {value:"
|
|
201
|
+
filename: {value:""},
|
|
202
|
+
filenameType: {value:"str"},
|
|
203
203
|
appendNewline: {value:true},
|
|
204
204
|
createDir: {value:false},
|
|
205
205
|
overwriteFile: {value:"false"},
|
|
@@ -236,8 +236,8 @@
|
|
|
236
236
|
label: node._("file.encoding.setbymsg")
|
|
237
237
|
}).text(label).appendTo(encSel);
|
|
238
238
|
$("#node-input-filename").typedInput({
|
|
239
|
-
default: "
|
|
240
|
-
types:[{
|
|
239
|
+
default: "str",
|
|
240
|
+
types: [{label:RED._("node-red:file.label.path"), value:"str", icon:""}, "msg", "jsonata", "env"],
|
|
241
241
|
typeField: $("#node-input-filenameType")
|
|
242
242
|
});
|
|
243
243
|
if(typeof node.filenameType == 'undefined') {
|
|
@@ -297,8 +297,8 @@
|
|
|
297
297
|
category: 'storage',
|
|
298
298
|
defaults: {
|
|
299
299
|
name: {value:""},
|
|
300
|
-
filename: {value:"
|
|
301
|
-
filenameType: {value:"
|
|
300
|
+
filename: {value:""},
|
|
301
|
+
filenameType: {value:"str"},
|
|
302
302
|
format: {value:"utf8"},
|
|
303
303
|
chunk: {value:false},
|
|
304
304
|
sendError: {value: false},
|
|
@@ -341,8 +341,8 @@
|
|
|
341
341
|
label: label
|
|
342
342
|
}).text(label).appendTo(encSel);
|
|
343
343
|
$("#node-input-filename").typedInput({
|
|
344
|
-
default: "
|
|
345
|
-
types:[{
|
|
344
|
+
default: "str",
|
|
345
|
+
types: [{label:RED._("node-red:file.label.path"), value:"str", icon:""}, "msg", "jsonata", "env"],
|
|
346
346
|
typeField: $("#node-input-filenameType")
|
|
347
347
|
});
|
|
348
348
|
if(typeof node.filenameType == 'undefined') {
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "48d660b3a4109400",
|
|
4
|
+
"type": "inject",
|
|
5
|
+
"z": "9e5f48c16729e4f0",
|
|
6
|
+
"name": "inject",
|
|
7
|
+
"props": [
|
|
8
|
+
{
|
|
9
|
+
"p": "payload"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"repeat": "",
|
|
13
|
+
"crontab": "",
|
|
14
|
+
"once": false,
|
|
15
|
+
"onceDelay": 0.1,
|
|
16
|
+
"topic": "",
|
|
17
|
+
"payload": "",
|
|
18
|
+
"payloadType": "date",
|
|
19
|
+
"x": 185,
|
|
20
|
+
"y": 795,
|
|
21
|
+
"wires": [
|
|
22
|
+
[
|
|
23
|
+
"e0f9e206681f3504"
|
|
24
|
+
]
|
|
25
|
+
]
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"id": "e0f9e206681f3504",
|
|
29
|
+
"type": "delay",
|
|
30
|
+
"z": "9e5f48c16729e4f0",
|
|
31
|
+
"name": "",
|
|
32
|
+
"pauseType": "rate",
|
|
33
|
+
"timeout": "5",
|
|
34
|
+
"timeoutUnits": "seconds",
|
|
35
|
+
"rate": "1",
|
|
36
|
+
"nbRateUnits": "30",
|
|
37
|
+
"rateUnits": "second",
|
|
38
|
+
"randomFirst": "1",
|
|
39
|
+
"randomLast": "5",
|
|
40
|
+
"randomUnits": "seconds",
|
|
41
|
+
"drop": false,
|
|
42
|
+
"allowrate": false,
|
|
43
|
+
"outputs": 1,
|
|
44
|
+
"x": 430,
|
|
45
|
+
"y": 795,
|
|
46
|
+
"wires": [
|
|
47
|
+
[
|
|
48
|
+
"e470f1d794e1bef9",
|
|
49
|
+
"af7cea1dfb797a75"
|
|
50
|
+
]
|
|
51
|
+
]
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"id": "943543cf7a1958e4",
|
|
55
|
+
"type": "change",
|
|
56
|
+
"z": "9e5f48c16729e4f0",
|
|
57
|
+
"name": "set flush to 1",
|
|
58
|
+
"rules": [
|
|
59
|
+
{
|
|
60
|
+
"t": "set",
|
|
61
|
+
"p": "flush",
|
|
62
|
+
"pt": "msg",
|
|
63
|
+
"to": "1",
|
|
64
|
+
"tot": "num"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"t": "delete",
|
|
68
|
+
"p": "payload",
|
|
69
|
+
"pt": "msg"
|
|
70
|
+
}
|
|
71
|
+
],
|
|
72
|
+
"action": "",
|
|
73
|
+
"property": "",
|
|
74
|
+
"from": "",
|
|
75
|
+
"to": "",
|
|
76
|
+
"reg": false,
|
|
77
|
+
"x": 510,
|
|
78
|
+
"y": 915,
|
|
79
|
+
"wires": [
|
|
80
|
+
[
|
|
81
|
+
"e0f9e206681f3504"
|
|
82
|
+
]
|
|
83
|
+
]
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"id": "e470f1d794e1bef9",
|
|
87
|
+
"type": "function",
|
|
88
|
+
"z": "9e5f48c16729e4f0",
|
|
89
|
+
"name": "Do something that takes a few seconds",
|
|
90
|
+
"func": "\n//send on the message between 3 and 6 seconds later\nsetTimeout(\n function() { \n node.send(msg) \n }, \n Math.random() * 3000 + 3000\n);\nreturn null;",
|
|
91
|
+
"outputs": 1,
|
|
92
|
+
"noerr": 0,
|
|
93
|
+
"initialize": "",
|
|
94
|
+
"finalize": "",
|
|
95
|
+
"libs": [],
|
|
96
|
+
"x": 760,
|
|
97
|
+
"y": 795,
|
|
98
|
+
"wires": [
|
|
99
|
+
[
|
|
100
|
+
"943543cf7a1958e4",
|
|
101
|
+
"859258551b8389b7"
|
|
102
|
+
]
|
|
103
|
+
]
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"id": "af7cea1dfb797a75",
|
|
107
|
+
"type": "debug",
|
|
108
|
+
"z": "9e5f48c16729e4f0",
|
|
109
|
+
"name": "IN",
|
|
110
|
+
"active": true,
|
|
111
|
+
"tosidebar": true,
|
|
112
|
+
"console": false,
|
|
113
|
+
"tostatus": false,
|
|
114
|
+
"complete": "payload",
|
|
115
|
+
"targetType": "msg",
|
|
116
|
+
"statusVal": "",
|
|
117
|
+
"statusType": "auto",
|
|
118
|
+
"x": 710,
|
|
119
|
+
"y": 735,
|
|
120
|
+
"wires": []
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"id": "859258551b8389b7",
|
|
124
|
+
"type": "debug",
|
|
125
|
+
"z": "9e5f48c16729e4f0",
|
|
126
|
+
"name": "OUT",
|
|
127
|
+
"active": true,
|
|
128
|
+
"tosidebar": true,
|
|
129
|
+
"console": false,
|
|
130
|
+
"tostatus": false,
|
|
131
|
+
"complete": "payload",
|
|
132
|
+
"targetType": "msg",
|
|
133
|
+
"statusVal": "",
|
|
134
|
+
"statusType": "auto",
|
|
135
|
+
"x": 895,
|
|
136
|
+
"y": 735,
|
|
137
|
+
"wires": []
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"id": "ecaaf26326da10ee",
|
|
141
|
+
"type": "comment",
|
|
142
|
+
"z": "9e5f48c16729e4f0",
|
|
143
|
+
"name": "Simple Queue with release",
|
|
144
|
+
"info": "This example shows how to use a delay node set to rate limit mode as a simple queue to feed a\nprocess that may take some time to complete. Once that process completes the feedback is then\nset to flush out the next message - thus running the \"loop\" as fast as possible with no overlaps.\n\n**Note**: only the `msg.flush` property msut be set - otherwise the other properties that are fed \nback will be added as another new message to the queue.",
|
|
145
|
+
"x": 235,
|
|
146
|
+
"y": 915,
|
|
147
|
+
"wires": []
|
|
148
|
+
}
|
|
149
|
+
]
|
|
@@ -54,9 +54,10 @@
|
|
|
54
54
|
<p>If no response is received within the configured timeout, default 30 seconds, the node
|
|
55
55
|
will log an error that can be caught using the <code>catch</code> node.</p>
|
|
56
56
|
<p>When the option <b>Link Type</b> is set to "Dynamic target" <code>msg.target</code> can be used to call a
|
|
57
|
-
<code>link in</code> by name
|
|
57
|
+
<code>link in</code> by name or id.
|
|
58
58
|
<ul>
|
|
59
|
-
<li>If there
|
|
59
|
+
<li>If there is a <code>link in</code> nodes with the same id, it will be called</li>
|
|
60
|
+
<li>If there are two or more <code>link in</code> nodes with the same name, an error will be raised</li>
|
|
60
61
|
<li>A <code>link call</code> cannot call a <code>link in</code> node inside a subflow</li>
|
|
61
62
|
</ul>
|
|
62
63
|
</p>
|
|
@@ -137,6 +137,7 @@
|
|
|
137
137
|
"toConsole": "system console",
|
|
138
138
|
"toStatus": "node status (32 characters)",
|
|
139
139
|
"severity": "Level",
|
|
140
|
+
"node": "node",
|
|
140
141
|
"notification": {
|
|
141
142
|
"activated": "Successfully activated: __label__",
|
|
142
143
|
"deactivated": "Successfully deactivated: __label__"
|
|
@@ -193,22 +194,22 @@
|
|
|
193
194
|
"key": "Private Key",
|
|
194
195
|
"passphrase": "Passphrase",
|
|
195
196
|
"ca": "CA Certificate",
|
|
196
|
-
"verify-server-cert":"Verify server certificate",
|
|
197
|
+
"verify-server-cert": "Verify server certificate",
|
|
197
198
|
"servername": "Server Name",
|
|
198
199
|
"alpnprotocol": "ALPN Protocol"
|
|
199
200
|
},
|
|
200
201
|
"placeholder": {
|
|
201
|
-
"cert":"path to certificate (PEM format)",
|
|
202
|
-
"key":"path to private key (PEM format)",
|
|
203
|
-
"ca":"path to CA certificate (PEM format)",
|
|
204
|
-
"passphrase":"private key passphrase (optional)",
|
|
205
|
-
"servername":"for use with SNI",
|
|
206
|
-
"alpnprotocol":"for use with ALPN"
|
|
202
|
+
"cert": "path to certificate (PEM format)",
|
|
203
|
+
"key": "path to private key (PEM format)",
|
|
204
|
+
"ca": "path to CA certificate (PEM format)",
|
|
205
|
+
"passphrase": "private key passphrase (optional)",
|
|
206
|
+
"servername": "for use with SNI",
|
|
207
|
+
"alpnprotocol": "for use with ALPN"
|
|
207
208
|
},
|
|
208
209
|
"error": {
|
|
209
210
|
"missing-file": "No certificate/key file provided",
|
|
210
|
-
|
|
211
|
-
|
|
211
|
+
"invalid-cert": "Certificate not specified",
|
|
212
|
+
"invalid-key": "Private key not specified"
|
|
212
213
|
}
|
|
213
214
|
},
|
|
214
215
|
"exec": {
|
|
@@ -262,10 +263,10 @@
|
|
|
262
263
|
"moduleLoadError": "Failed to load module __module__: __error__",
|
|
263
264
|
"moduleNameError": "Invalid module variable name: __name__",
|
|
264
265
|
"moduleNameReserved": "Reserved variable name: __name__",
|
|
265
|
-
"inputListener":"Cannot add listener to 'input' event within Function",
|
|
266
|
-
"non-message-returned":"Function tried to send a message of type __type__",
|
|
267
|
-
|
|
268
|
-
|
|
266
|
+
"inputListener": "Cannot add listener to 'input' event within Function",
|
|
267
|
+
"non-message-returned": "Function tried to send a message of type __type__",
|
|
268
|
+
"invalid-js": "Error in JavaScript code",
|
|
269
|
+
"missing-module": "Module __module__ missing"
|
|
269
270
|
}
|
|
270
271
|
},
|
|
271
272
|
"template": {
|
|
@@ -319,35 +320,35 @@
|
|
|
319
320
|
"limit": "limit",
|
|
320
321
|
"limitTopic": "limit topic",
|
|
321
322
|
"random": "random",
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
"units"
|
|
323
|
+
"rate": "rate",
|
|
324
|
+
"random-first": "first random value",
|
|
325
|
+
"random-last": "last random value",
|
|
326
|
+
"units": {
|
|
326
327
|
"second": {
|
|
327
|
-
"plural"
|
|
328
|
+
"plural": "Seconds",
|
|
328
329
|
"singular": "Second"
|
|
329
330
|
},
|
|
330
331
|
"minute": {
|
|
331
|
-
"plural"
|
|
332
|
+
"plural": "Minutes",
|
|
332
333
|
"singular": "Minute"
|
|
333
334
|
},
|
|
334
335
|
"hour": {
|
|
335
|
-
"plural"
|
|
336
|
+
"plural": "Hours",
|
|
336
337
|
"singular": "Hour"
|
|
337
338
|
},
|
|
338
339
|
"day": {
|
|
339
|
-
"plural"
|
|
340
|
+
"plural": "Days",
|
|
340
341
|
"singular": "Day"
|
|
341
342
|
}
|
|
342
343
|
}
|
|
343
344
|
},
|
|
344
345
|
"errors": {
|
|
345
|
-
"too-many"
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
346
|
+
"too-many": "too many pending messages in delay node",
|
|
347
|
+
"invalid-timeout": "Invalid delay value",
|
|
348
|
+
"invalid-rate": "Invalid rate value",
|
|
349
|
+
"invalid-rate-unit": "Invalid rate unit value",
|
|
350
|
+
"invalid-random-first": "Invalid first random value",
|
|
351
|
+
"invalid-random-last": "Invalid last random value"
|
|
351
352
|
}
|
|
352
353
|
},
|
|
353
354
|
"trigger": {
|
|
@@ -382,11 +383,11 @@
|
|
|
382
383
|
"trigger-block": "trigger & block",
|
|
383
384
|
"trigger-loop": "resend every",
|
|
384
385
|
"reset": "Reset the trigger if:",
|
|
385
|
-
"resetMessage":"msg.reset is set",
|
|
386
|
-
"resetPayload":"msg.payload equals",
|
|
386
|
+
"resetMessage": "msg.reset is set",
|
|
387
|
+
"resetPayload": "msg.payload equals",
|
|
387
388
|
"resetprompt": "optional",
|
|
388
|
-
|
|
389
|
-
|
|
389
|
+
"duration": "duration",
|
|
390
|
+
"topic": "topic"
|
|
390
391
|
}
|
|
391
392
|
},
|
|
392
393
|
"comment": {
|
|
@@ -411,8 +412,8 @@
|
|
|
411
412
|
"cleansession": "Use clean session",
|
|
412
413
|
"cleanstart": "Use clean start",
|
|
413
414
|
"use-tls": "Use TLS",
|
|
414
|
-
"tls-config":"TLS Configuration",
|
|
415
|
-
"verify-server-cert":"Verify server certificate",
|
|
415
|
+
"tls-config": "TLS Configuration",
|
|
416
|
+
"verify-server-cert": "Verify server certificate",
|
|
416
417
|
"compatmode": "Use legacy MQTT 3.1 support",
|
|
417
418
|
"userProperties": "User Properties",
|
|
418
419
|
"subscriptionIdentifier": "Subscription ID",
|
|
@@ -447,10 +448,10 @@
|
|
|
447
448
|
"auto-connect": "Connect automatically",
|
|
448
449
|
"auto-mode-depreciated": "This option is depreciated. Please use the new auto-detect mode."
|
|
449
450
|
},
|
|
450
|
-
"sections-label":{
|
|
451
|
+
"sections-label": {
|
|
451
452
|
"birth-message": "Message sent on connection (birth message)",
|
|
452
|
-
"will-message":"Message sent on an unexpected disconnection (will message)",
|
|
453
|
-
"close-message":"Message sent before disconnecting (close message)"
|
|
453
|
+
"will-message": "Message sent on an unexpected disconnection (will message)",
|
|
454
|
+
"close-message": "Message sent before disconnecting (close message)"
|
|
454
455
|
},
|
|
455
456
|
"tabs-label": {
|
|
456
457
|
"connection": "Connection",
|
|
@@ -459,7 +460,7 @@
|
|
|
459
460
|
},
|
|
460
461
|
"placeholder": {
|
|
461
462
|
"clientid": "Leave blank for auto generated",
|
|
462
|
-
"clientid-nonclean":"Must be set for non-clean sessions",
|
|
463
|
+
"clientid-nonclean": "Must be set for non-clean sessions",
|
|
463
464
|
"will-topic": "Leave blank to disable will message",
|
|
464
465
|
"birth-topic": "Leave blank to disable birth message",
|
|
465
466
|
"close-topic": "Leave blank to disable close message"
|
|
@@ -492,8 +493,7 @@
|
|
|
492
493
|
"invalid-action-action": "Invalid action specified",
|
|
493
494
|
"invalid-action-alreadyconnected": "Disconnect from broker before connecting",
|
|
494
495
|
"invalid-action-badsubscription": "msg.topic is missing or invalid",
|
|
495
|
-
|
|
496
|
-
|
|
496
|
+
"invalid-client-id": "Missing Client ID"
|
|
497
497
|
}
|
|
498
498
|
},
|
|
499
499
|
"httpin": {
|
|
@@ -506,7 +506,7 @@
|
|
|
506
506
|
"status": "Status code",
|
|
507
507
|
"headers": "Headers",
|
|
508
508
|
"other": "other",
|
|
509
|
-
"paytoqs"
|
|
509
|
+
"paytoqs": {
|
|
510
510
|
"ignore": "Ignore",
|
|
511
511
|
"query": "Append to query-string parameters",
|
|
512
512
|
"body": "Send as request body"
|
|
@@ -520,7 +520,7 @@
|
|
|
520
520
|
"setby": "- set by msg.method -",
|
|
521
521
|
"basicauth": "Use authentication",
|
|
522
522
|
"use-tls": "Enable secure (SSL/TLS) connection",
|
|
523
|
-
"tls-config":"TLS Configuration",
|
|
523
|
+
"tls-config": "TLS Configuration",
|
|
524
524
|
"basic": "basic authentication",
|
|
525
525
|
"digest": "digest authentication",
|
|
526
526
|
"bearer": "bearer authentication",
|
|
@@ -545,8 +545,8 @@
|
|
|
545
545
|
"no-response": "No response object",
|
|
546
546
|
"json-error": "JSON parse error",
|
|
547
547
|
"no-url": "No url specified",
|
|
548
|
-
"deprecated-call":"Deprecated call to __method__",
|
|
549
|
-
"invalid-transport":"non-http transport requested",
|
|
548
|
+
"deprecated-call": "Deprecated call to __method__",
|
|
549
|
+
"invalid-transport": "non-http transport requested",
|
|
550
550
|
"timeout-isnan": "Timeout value is not a valid number, ignoring",
|
|
551
551
|
"timeout-isnegative": "Timeout value is negative, ignoring",
|
|
552
552
|
"invalid-payload": "Invalid payload",
|
|
@@ -584,8 +584,8 @@
|
|
|
584
584
|
"send-error": "An error occurred while sending: ",
|
|
585
585
|
"missing-conf": "Missing server configuration",
|
|
586
586
|
"duplicate-path": "Cannot have two WebSocket listeners on the same path: __path__",
|
|
587
|
-
|
|
588
|
-
|
|
587
|
+
"missing-server": "Missing server configuration",
|
|
588
|
+
"missing-client": "Missing client configuration"
|
|
589
589
|
}
|
|
590
590
|
},
|
|
591
591
|
"watch": {
|
|
@@ -645,7 +645,6 @@
|
|
|
645
645
|
"connection-closed": "connection closed from __host__:__port__",
|
|
646
646
|
"connections": "__count__ connection",
|
|
647
647
|
"connections_plural": "__count__ connections"
|
|
648
|
-
|
|
649
648
|
},
|
|
650
649
|
"errors": {
|
|
651
650
|
"connection-lost": "connection lost to __host__:__port__",
|
|
@@ -657,8 +656,8 @@
|
|
|
657
656
|
"connect-timeout": "connect timeout",
|
|
658
657
|
"connect-fail": "connect failed",
|
|
659
658
|
"bad-string": "failed to convert to string",
|
|
660
|
-
|
|
661
|
-
|
|
659
|
+
"invalid-host": "Invalid host",
|
|
660
|
+
"invalid-port": "Invalid port"
|
|
662
661
|
}
|
|
663
662
|
},
|
|
664
663
|
"udp": {
|
|
@@ -673,7 +672,7 @@
|
|
|
673
672
|
"toport": "to port",
|
|
674
673
|
"address": "Address",
|
|
675
674
|
"decode-base64": "Decode Base64 encoded payload?",
|
|
676
|
-
|
|
675
|
+
"port": "port"
|
|
677
676
|
},
|
|
678
677
|
"placeholder": {
|
|
679
678
|
"interface": "(optional) local interface or address to bind to",
|
|
@@ -721,7 +720,7 @@
|
|
|
721
720
|
"port-invalid": "udp: port number not valid",
|
|
722
721
|
"alreadyused": "udp: port __port__ already in use",
|
|
723
722
|
"ifnotfound": "udp: interface __iface__ not found",
|
|
724
|
-
|
|
723
|
+
"invalid-group": "invalid multicast group"
|
|
725
724
|
}
|
|
726
725
|
},
|
|
727
726
|
"switch": {
|
|
@@ -729,7 +728,9 @@
|
|
|
729
728
|
"label": {
|
|
730
729
|
"property": "Property",
|
|
731
730
|
"rule": "rule",
|
|
732
|
-
"repair": "recreate message sequences"
|
|
731
|
+
"repair": "recreate message sequences",
|
|
732
|
+
"value-rules": "value rules",
|
|
733
|
+
"sequence-rules": "sequence rules"
|
|
733
734
|
},
|
|
734
735
|
"previous": "previous value",
|
|
735
736
|
"and": "and",
|
|
@@ -786,8 +787,8 @@
|
|
|
786
787
|
"invalid-json": "Invalid 'to' JSON property",
|
|
787
788
|
"invalid-expr": "Invalid JSONata expression: __error__",
|
|
788
789
|
"no-override": "Cannot set property of non-object type: __property__",
|
|
789
|
-
|
|
790
|
-
|
|
790
|
+
"invalid-prop": "Invalid property expression: __property__",
|
|
791
|
+
"invalid-json-data": "Invalid JSON data: __error__"
|
|
791
792
|
}
|
|
792
793
|
},
|
|
793
794
|
"range": {
|
|
@@ -799,10 +800,10 @@
|
|
|
799
800
|
"from": "from",
|
|
800
801
|
"to": "to",
|
|
801
802
|
"roundresult": "Round result to the nearest integer?",
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
803
|
+
"minin": "input from",
|
|
804
|
+
"maxin": "input to",
|
|
805
|
+
"minout": "target from",
|
|
806
|
+
"maxout": "target to"
|
|
806
807
|
},
|
|
807
808
|
"placeholder": {
|
|
808
809
|
"min": "e.g. 0",
|
|
@@ -899,8 +900,8 @@
|
|
|
899
900
|
"property": "Property",
|
|
900
901
|
"actions": {
|
|
901
902
|
"toggle": "Convert between JSON String & Object",
|
|
902
|
-
"str":"Always convert to JSON String",
|
|
903
|
-
"obj":"Always convert to JavaScript Object"
|
|
903
|
+
"str": "Always convert to JSON String",
|
|
904
|
+
"obj": "Always convert to JavaScript Object"
|
|
904
905
|
}
|
|
905
906
|
}
|
|
906
907
|
},
|
|
@@ -927,6 +928,7 @@
|
|
|
927
928
|
"write": "write file",
|
|
928
929
|
"read": "read file",
|
|
929
930
|
"filename": "Filename",
|
|
931
|
+
"path": "path",
|
|
930
932
|
"action": "Action",
|
|
931
933
|
"addnewline": "Add newline (\\n) to each payload?",
|
|
932
934
|
"createdir": "Create directory if it doesn't exist?",
|
|
@@ -986,15 +988,15 @@
|
|
|
986
988
|
},
|
|
987
989
|
"split": {
|
|
988
990
|
"split": "split",
|
|
989
|
-
"intro":"Split <code>msg.payload</code> based on type:",
|
|
990
|
-
"object":"<b>Object</b>",
|
|
991
|
-
"objectSend":"Send a message for each key/value pair",
|
|
992
|
-
"strBuff":"<b>String</b> / <b>Buffer</b>",
|
|
993
|
-
"array":"<b>Array</b>",
|
|
994
|
-
"splitUsing":"Split using",
|
|
995
|
-
"splitLength":"Fixed length of",
|
|
996
|
-
"stream":"Handle as a stream of messages",
|
|
997
|
-
"addname":" Copy key to "
|
|
991
|
+
"intro": "Split <code>msg.payload</code> based on type:",
|
|
992
|
+
"object": "<b>Object</b>",
|
|
993
|
+
"objectSend": "Send a message for each key/value pair",
|
|
994
|
+
"strBuff": "<b>String</b> / <b>Buffer</b>",
|
|
995
|
+
"array": "<b>Array</b>",
|
|
996
|
+
"splitUsing": "Split using",
|
|
997
|
+
"splitLength": "Fixed length of",
|
|
998
|
+
"stream": "Handle as a stream of messages",
|
|
999
|
+
"addname": " Copy key to "
|
|
998
1000
|
},
|
|
999
1001
|
"join": {
|
|
1000
1002
|
"join": "join",
|
|
@@ -1027,7 +1029,7 @@
|
|
|
1027
1029
|
"complete": "After a message with the <code>msg.complete</code> property set",
|
|
1028
1030
|
"tip": "This mode assumes this node is either paired with a <i>split</i> node or the received messages will have a properly configured <code>msg.parts</code> property.",
|
|
1029
1031
|
"too-many": "too many pending messages in join node",
|
|
1030
|
-
|
|
1032
|
+
"message-prop": "message property",
|
|
1031
1033
|
"merge": {
|
|
1032
1034
|
"topics-label": "Merged Topics",
|
|
1033
1035
|
"topics": "topics",
|
|
@@ -1046,51 +1048,51 @@
|
|
|
1046
1048
|
"invalid-type": "Cannot join __error__ to buffer"
|
|
1047
1049
|
}
|
|
1048
1050
|
},
|
|
1049
|
-
"sort"
|
|
1051
|
+
"sort": {
|
|
1050
1052
|
"sort": "sort",
|
|
1051
|
-
"target"
|
|
1052
|
-
"seq"
|
|
1053
|
-
"key"
|
|
1054
|
-
"elem"
|
|
1055
|
-
"order"
|
|
1056
|
-
"ascending"
|
|
1057
|
-
"descending"
|
|
1058
|
-
"as-number"
|
|
1059
|
-
"invalid-exp"
|
|
1060
|
-
"too-many"
|
|
1061
|
-
"clear"
|
|
1053
|
+
"target": "Sort",
|
|
1054
|
+
"seq": "message sequence",
|
|
1055
|
+
"key": "Key",
|
|
1056
|
+
"elem": "element value",
|
|
1057
|
+
"order": "Order",
|
|
1058
|
+
"ascending": "ascending",
|
|
1059
|
+
"descending": "descending",
|
|
1060
|
+
"as-number": "as number",
|
|
1061
|
+
"invalid-exp": "Invalid JSONata expression in sort node: __message__",
|
|
1062
|
+
"too-many": "Too many pending messages in sort node",
|
|
1063
|
+
"clear": "clear pending message in sort node"
|
|
1062
1064
|
},
|
|
1063
|
-
"batch"
|
|
1065
|
+
"batch": {
|
|
1064
1066
|
"batch": "batch",
|
|
1065
1067
|
"mode": {
|
|
1066
|
-
"label"
|
|
1067
|
-
"num-msgs"
|
|
1068
|
-
"interval"
|
|
1069
|
-
"concat"
|
|
1068
|
+
"label": "Mode",
|
|
1069
|
+
"num-msgs": "Group by number of messages",
|
|
1070
|
+
"interval": "Group by time interval",
|
|
1071
|
+
"concat": "Concatenate sequences"
|
|
1070
1072
|
},
|
|
1071
1073
|
"count": {
|
|
1072
|
-
"label"
|
|
1073
|
-
"overlap"
|
|
1074
|
-
"count"
|
|
1075
|
-
"invalid"
|
|
1074
|
+
"label": "Number of messages",
|
|
1075
|
+
"overlap": "Overlap",
|
|
1076
|
+
"count": "count",
|
|
1077
|
+
"invalid": "Invalid count and overlap"
|
|
1076
1078
|
},
|
|
1077
1079
|
"interval": {
|
|
1078
|
-
"label"
|
|
1079
|
-
"seconds"
|
|
1080
|
-
"empty"
|
|
1080
|
+
"label": "Interval",
|
|
1081
|
+
"seconds": "seconds",
|
|
1082
|
+
"empty": "send empty message when no message arrives"
|
|
1081
1083
|
},
|
|
1082
1084
|
"concat": {
|
|
1083
1085
|
"topics-label": "Topics",
|
|
1084
|
-
"topic"
|
|
1085
|
-
},
|
|
1086
|
-
"too-many"
|
|
1087
|
-
"unexpected"
|
|
1088
|
-
"no-parts"
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1086
|
+
"topic": "topic"
|
|
1087
|
+
},
|
|
1088
|
+
"too-many": "too many pending messages in batch node",
|
|
1089
|
+
"unexpected": "unexpected mode",
|
|
1090
|
+
"no-parts": "no parts property in message",
|
|
1091
|
+
"error": {
|
|
1092
|
+
"invalid-count": "Invalid count",
|
|
1093
|
+
"invalid-overlap": "Invalid overlap",
|
|
1094
|
+
"invalid-interval": "Invalid interval"
|
|
1095
|
+
}
|
|
1094
1096
|
},
|
|
1095
1097
|
"rbe": {
|
|
1096
1098
|
"rbe": "filter",
|
|
@@ -1100,11 +1102,11 @@
|
|
|
1100
1102
|
"start": "Start value",
|
|
1101
1103
|
"name": "Name",
|
|
1102
1104
|
"septopics": "Apply mode separately for each ",
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1105
|
+
"gap": "value change",
|
|
1106
|
+
"property": "property",
|
|
1107
|
+
"topic": "topic"
|
|
1106
1108
|
},
|
|
1107
|
-
"placeholder":{
|
|
1109
|
+
"placeholder": {
|
|
1108
1110
|
"bandgap": "e.g. 10 or 5%",
|
|
1109
1111
|
"start": "leave blank to use first data received"
|
|
1110
1112
|
},
|
|
@@ -42,9 +42,10 @@
|
|
|
42
42
|
<p>本ノードはメッセージを受信すると、メッセージを接続した <code>link in</code> ノードへ渡します。
|
|
43
43
|
その後、応答を待った後にメッセージを送信します。</o>
|
|
44
44
|
<p>もし、設定したタイムアウト(デフォルト30秒)以内に応答がない場合は、<code>catch</code> ノードを用いてエラーをログに記録することもできます。</p>
|
|
45
|
-
<p><b>リンクの種類</b>で"対象を動的に指定"を選択した場合、<code>link in</code
|
|
45
|
+
<p><b>リンクの種類</b>で"対象を動的に指定"を選択した場合、<code>link in</code>ノードのIDもしくは名前を<code>msg.target</code>に指定して呼び出すことができます。
|
|
46
46
|
<ul>
|
|
47
|
-
<li
|
|
47
|
+
<li>同じIDの<code>link in</code>ノードがある場合、それを呼び出します。</li>
|
|
48
|
+
<li>もし、同じ名前を付けた<code>link in</code>ノードが2つ以上ある場合、エラーが発生します。</li>
|
|
48
49
|
<li><code>link call</code>は、サブフローの中の<code>link in</code>ノードを呼び出すことはできません。</li>
|
|
49
50
|
</ul>
|
|
50
51
|
</p>
|