node-red-contrib-prib-functions 0.20.4 → 0.21.0

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.
@@ -1,89 +1,97 @@
1
1
  [
2
2
  {
3
- "id": "0ff935c8a42f26ae",
3
+ "id": "6dd63ebd.bf044",
4
4
  "type": "tab",
5
- "label": "Monitory System",
5
+ "label": "Append",
6
6
  "disabled": false,
7
- "info": "",
8
- "env": []
7
+ "info": ""
9
8
  },
10
9
  {
11
- "id": "22109ce1.cdbde4",
10
+ "id": "11cc261f.ec82da",
12
11
  "type": "tab",
13
- "label": "Spawn Process",
12
+ "label": "Data Analysis",
14
13
  "disabled": false,
15
14
  "info": ""
16
15
  },
17
16
  {
18
- "id": "e4973c86.37d63",
17
+ "id": "cf595649.931658",
19
18
  "type": "tab",
20
- "label": "Test",
19
+ "label": "Data Analysis - Real time",
21
20
  "disabled": false,
22
21
  "info": ""
23
22
  },
24
23
  {
25
- "id": "fa243279.4dbe9",
24
+ "id": "955f4808.fd1898",
26
25
  "type": "tab",
27
- "label": "os (nodejs)",
26
+ "label": "Host Available",
28
27
  "disabled": false,
29
- "info": "Calls to require('os') of node.js "
28
+ "info": ""
30
29
  },
31
30
  {
32
- "id": "11cc261f.ec82da",
31
+ "id": "cf804fb2.6df8c",
33
32
  "type": "tab",
34
- "label": "Data Analysis",
33
+ "label": "Load Injector",
35
34
  "disabled": false,
36
35
  "info": ""
37
36
  },
38
37
  {
39
- "id": "cf595649.931658",
38
+ "id": "1be03be45284f9d4",
40
39
  "type": "tab",
41
- "label": "Data Analysis - Real time",
40
+ "label": "load injector",
42
41
  "disabled": false,
43
- "info": ""
42
+ "info": "",
43
+ "env": []
44
44
  },
45
45
  {
46
- "id": "d9c7ae0e.cb9a9",
46
+ "id": "ae9957f07bd56e1b",
47
47
  "type": "tab",
48
- "label": "Transform",
48
+ "label": "Matrix",
49
49
  "disabled": false,
50
- "info": ""
50
+ "info": "",
51
+ "env": []
51
52
  },
52
53
  {
53
- "id": "cf804fb2.6df8c",
54
+ "id": "fcc005d5.131ee8",
54
55
  "type": "tab",
55
- "label": "Load Injector",
56
+ "label": "Monitor",
56
57
  "disabled": false,
57
58
  "info": ""
58
59
  },
59
60
  {
60
- "id": "fcc005d5.131ee8",
61
+ "id": "0ff935c8a42f26ae",
61
62
  "type": "tab",
62
- "label": "Monitor",
63
+ "label": "Monitory System",
63
64
  "disabled": false,
64
- "info": ""
65
+ "info": "",
66
+ "env": []
65
67
  },
66
68
  {
67
- "id": "6dd63ebd.bf044",
69
+ "id": "fa243279.4dbe9",
68
70
  "type": "tab",
69
- "label": "Append",
71
+ "label": "os (nodejs)",
72
+ "disabled": false,
73
+ "info": "Calls to require('os') of node.js "
74
+ },
75
+ {
76
+ "id": "22109ce1.cdbde4",
77
+ "type": "tab",
78
+ "label": "Spawn Process",
70
79
  "disabled": false,
71
80
  "info": ""
72
81
  },
73
82
  {
74
- "id": "955f4808.fd1898",
83
+ "id": "e4973c86.37d63",
75
84
  "type": "tab",
76
- "label": "Host Available",
85
+ "label": "Test",
77
86
  "disabled": false,
78
87
  "info": ""
79
88
  },
80
89
  {
81
- "id": "1be03be45284f9d4",
90
+ "id": "d9c7ae0e.cb9a9",
82
91
  "type": "tab",
83
- "label": "load injector",
92
+ "label": "Transform",
84
93
  "disabled": false,
85
- "info": "",
86
- "env": []
94
+ "info": ""
87
95
  },
88
96
  {
89
97
  "id": "5866424ac23291eb",
@@ -109,1939 +117,2382 @@
109
117
  "env": []
110
118
  },
111
119
  {
112
- "id": "c1d0d1b5be0f10d4",
113
- "type": "Monitor System",
114
- "z": "0ff935c8a42f26ae",
115
- "name": "",
116
- "metrics": "gaugeMemory,resourceUsage,chartLineResource",
117
- "x": 180,
118
- "y": 240,
120
+ "id": "a761e268.19bc7",
121
+ "type": "append",
122
+ "z": "6dd63ebd.bf044",
123
+ "name": "append",
124
+ "files": [
125
+ {
126
+ "value": "./testData.txt",
127
+ "type": "require"
128
+ },
129
+ {
130
+ "value": "********",
131
+ "type": "text"
132
+ }
133
+ ],
134
+ "x": 300,
135
+ "y": 140,
119
136
  "wires": [
120
- []
137
+ [
138
+ "65aa2f4d.847f9"
139
+ ]
121
140
  ]
122
141
  },
123
142
  {
124
- "id": "ac811c5f2be19993",
125
- "type": "Monitor System",
126
- "z": "0ff935c8a42f26ae",
143
+ "id": "64beb83a.018ed8",
144
+ "type": "inject",
145
+ "z": "6dd63ebd.bf044",
127
146
  "name": "",
128
- "metrics": "freeMemory,totalMemory,chartMemoryUsage",
129
- "graphs": null,
130
- "x": 600,
131
- "y": 180,
147
+ "repeat": "",
148
+ "crontab": "",
149
+ "once": false,
150
+ "onceDelay": 0.1,
151
+ "topic": "",
152
+ "payload": "",
153
+ "payloadType": "str",
154
+ "x": 110,
155
+ "y": 140,
132
156
  "wires": [
133
- []
157
+ [
158
+ "a761e268.19bc7"
159
+ ]
134
160
  ]
135
161
  },
136
162
  {
137
- "id": "17012eaf.209341",
163
+ "id": "65aa2f4d.847f9",
138
164
  "type": "debug",
139
- "z": "22109ce1.cdbde4",
140
- "name": "ok",
165
+ "z": "6dd63ebd.bf044",
166
+ "name": "",
141
167
  "active": true,
142
168
  "tosidebar": true,
143
169
  "console": false,
144
170
  "tostatus": false,
145
- "complete": "true",
146
- "targetType": "full",
147
- "x": 590,
148
- "y": 60,
171
+ "complete": "payload",
172
+ "targetType": "msg",
173
+ "x": 520,
174
+ "y": 140,
149
175
  "wires": []
150
176
  },
151
177
  {
152
- "id": "44f9d218.ea49bc",
178
+ "id": "c549c07b.bc4b9",
179
+ "type": "debug",
180
+ "z": "11cc261f.ec82da",
181
+ "name": "max",
182
+ "active": true,
183
+ "tosidebar": true,
184
+ "console": false,
185
+ "tostatus": false,
186
+ "complete": "result",
187
+ "targetType": "msg",
188
+ "x": 610,
189
+ "y": 40,
190
+ "wires": []
191
+ },
192
+ {
193
+ "id": "fe98fb5d.1e1d28",
153
194
  "type": "inject",
154
- "z": "22109ce1.cdbde4",
195
+ "z": "11cc261f.ec82da",
155
196
  "name": "",
156
197
  "repeat": "",
157
198
  "crontab": "",
158
199
  "once": false,
159
200
  "onceDelay": 0.1,
160
- "topic": "start",
201
+ "topic": "error input",
161
202
  "payload": "",
162
203
  "payloadType": "date",
163
204
  "x": 160,
164
- "y": 120,
205
+ "y": 40,
165
206
  "wires": [
166
207
  [
167
- "4d7e523d.bf906c",
168
- "b3595576.0a49a8",
169
- "1ae819ca.83db56",
170
- "c72d83e4.f9c84"
208
+ "cc146f9a.2d96"
171
209
  ]
172
210
  ]
173
211
  },
174
212
  {
175
- "id": "4d7e523d.bf906c",
176
- "type": "Spawn Process",
177
- "z": "22109ce1.cdbde4",
178
- "name": "",
179
- "process": "ls",
180
- "os": "Linux",
181
- "autoStart": "false",
182
- "workingDirectory": "",
183
- "arguments": "",
184
- "x": 350,
185
- "y": 120,
213
+ "id": "1e28144c.d43d5c",
214
+ "type": "Data Analysis",
215
+ "z": "11cc261f.ec82da",
216
+ "name": "avg",
217
+ "action": "avg",
218
+ "outputs": 2,
219
+ "outliersStdDevs": "3",
220
+ "term": "3",
221
+ "keyProperty": "msg.topic",
222
+ "dataProperty": "msg.payload",
223
+ "dataProperties": [],
224
+ "x": 390,
225
+ "y": 100,
186
226
  "wires": [
187
227
  [
188
- "17012eaf.209341"
189
- ],
190
- [
191
- "59abb3e0.dbab4c"
228
+ "f90f769f.41f3b8",
229
+ "77385484.cf760c"
192
230
  ],
193
- [
194
- "6ce6505f.ded13"
195
- ]
231
+ []
196
232
  ]
197
233
  },
198
234
  {
199
- "id": "b3595576.0a49a8",
200
- "type": "Spawn Process",
201
- "z": "22109ce1.cdbde4",
202
- "name": "",
203
- "process": "ping",
204
- "os": "Windows_NT",
205
- "autoStart": "false",
206
- "workingDirectory": "",
207
- "arguments": "127.0.0.1",
208
- "x": 350,
209
- "y": 40,
235
+ "id": "f2dfe624.ec12e8",
236
+ "type": "inject",
237
+ "z": "11cc261f.ec82da",
238
+ "name": "[1,2,3,4,5]",
239
+ "repeat": "",
240
+ "crontab": "",
241
+ "once": false,
242
+ "onceDelay": 0.1,
243
+ "topic": "",
244
+ "payload": "[1,2,3,4,5]",
245
+ "payloadType": "json",
246
+ "x": 120,
247
+ "y": 140,
210
248
  "wires": [
211
249
  [
212
- "17012eaf.209341"
213
- ],
214
- [
215
- "59abb3e0.dbab4c"
216
- ],
217
- [
218
- "6ce6505f.ded13"
250
+ "cc146f9a.2d96"
219
251
  ]
220
252
  ]
221
253
  },
222
254
  {
223
- "id": "1ae819ca.83db56",
224
- "type": "Spawn Process",
225
- "z": "22109ce1.cdbde4",
226
- "name": "",
227
- "process": "failAsNotFound",
228
- "os": "",
229
- "autoStart": "true",
230
- "workingDirectory": "",
231
- "arguments": "",
232
- "x": 360,
233
- "y": 240,
255
+ "id": "7a6e792d.b98b88",
256
+ "type": "inject",
257
+ "z": "11cc261f.ec82da",
258
+ "name": "[]",
259
+ "repeat": "",
260
+ "crontab": "",
261
+ "once": false,
262
+ "onceDelay": 0.1,
263
+ "topic": "",
264
+ "payload": "[]",
265
+ "payloadType": "json",
266
+ "x": 110,
267
+ "y": 80,
234
268
  "wires": [
235
269
  [
236
- "17012eaf.209341"
237
- ],
238
- [
239
- "59abb3e0.dbab4c"
240
- ],
241
- [
242
- "6ce6505f.ded13"
270
+ "cc146f9a.2d96"
243
271
  ]
244
272
  ]
245
273
  },
246
274
  {
247
- "id": "59abb3e0.dbab4c",
248
- "type": "debug",
249
- "z": "22109ce1.cdbde4",
250
- "name": "error",
251
- "active": true,
252
- "tosidebar": true,
253
- "console": false,
254
- "tostatus": false,
255
- "complete": "true",
256
- "targetType": "full",
257
- "x": 590,
258
- "y": 160,
259
- "wires": []
260
- },
261
- {
262
- "id": "6ce6505f.ded13",
263
- "type": "debug",
264
- "z": "22109ce1.cdbde4",
265
- "name": "exit",
266
- "active": true,
267
- "tosidebar": true,
268
- "console": false,
269
- "tostatus": false,
270
- "complete": "true",
271
- "targetType": "full",
272
- "x": 590,
273
- "y": 240,
274
- "wires": []
275
- },
276
- {
277
- "id": "c72d83e4.f9c84",
278
- "type": "Spawn Process",
279
- "z": "22109ce1.cdbde4",
280
- "name": "windows cmd.exe",
281
- "process": "cmd.exe",
282
- "os": "Windows_NT",
283
- "autoStart": "true",
284
- "workingDirectory": "../",
285
- "arguments": "/c echo %cd% %ENV1% %ENV2aa%",
286
- "env": {
287
- "ENV1": "t1",
288
- "ENV2aa": "t2"
289
- },
290
- "x": 360,
291
- "y": 340,
275
+ "id": "7a86c3e4.f3aa8c",
276
+ "type": "inject",
277
+ "z": "11cc261f.ec82da",
278
+ "name": "[1,2,3,4,5,6]",
279
+ "repeat": "",
280
+ "crontab": "",
281
+ "once": false,
282
+ "onceDelay": 0.1,
283
+ "topic": "",
284
+ "payload": "[1,2,3,4,5,6]",
285
+ "payloadType": "json",
286
+ "x": 130,
287
+ "y": 200,
292
288
  "wires": [
293
289
  [
294
- "17012eaf.209341"
295
- ],
296
- [
297
- "59abb3e0.dbab4c"
298
- ],
299
- [
300
- "6ce6505f.ded13"
290
+ "cc146f9a.2d96"
301
291
  ]
302
292
  ]
303
293
  },
304
294
  {
305
- "id": "e6c7ffb7.9947e",
306
- "type": "test",
307
- "z": "e4973c86.37d63",
308
- "name": "",
309
- "payload": "testdata",
310
- "payloadType": "str",
311
- "result": "testdata",
312
- "resultType": "str",
313
- "topic": "",
314
- "x": 340,
315
- "y": 20,
295
+ "id": "cc146f9a.2d96",
296
+ "type": "Data Analysis",
297
+ "z": "11cc261f.ec82da",
298
+ "name": "max",
299
+ "action": "max",
300
+ "outputs": 2,
301
+ "outliersStdDevs": "3",
302
+ "term": "3",
303
+ "keyProperty": "msg.topic",
304
+ "dataProperty": "msg.payload",
305
+ "dataProperties": [],
306
+ "x": 390,
307
+ "y": 40,
316
308
  "wires": [
317
309
  [
318
- "505ec37a.ba24ac",
319
- "ca221cf9.acd4b"
310
+ "c549c07b.bc4b9",
311
+ "1e28144c.d43d5c"
320
312
  ],
321
- [],
322
313
  []
323
314
  ]
324
315
  },
325
316
  {
326
- "id": "505ec37a.ba24ac",
317
+ "id": "f90f769f.41f3b8",
327
318
  "type": "debug",
328
- "z": "e4973c86.37d63",
329
- "name": "",
319
+ "z": "11cc261f.ec82da",
320
+ "name": "avg",
330
321
  "active": true,
331
322
  "tosidebar": true,
332
323
  "console": false,
333
324
  "tostatus": false,
334
- "complete": "true",
335
- "targetType": "full",
336
- "x": 590,
337
- "y": 20,
325
+ "complete": "result",
326
+ "targetType": "msg",
327
+ "x": 610,
328
+ "y": 100,
338
329
  "wires": []
339
330
  },
340
331
  {
341
- "id": "ca221cf9.acd4b",
342
- "type": "delay",
343
- "z": "e4973c86.37d63",
344
- "name": "",
345
- "pauseType": "delay",
346
- "timeout": "5",
347
- "timeoutUnits": "seconds",
348
- "rate": "1",
349
- "nbRateUnits": "1",
350
- "rateUnits": "second",
351
- "randomFirst": "1",
352
- "randomLast": "5",
353
- "randomUnits": "seconds",
354
- "drop": false,
355
- "outputs": 1,
356
- "x": 320,
357
- "y": 100,
332
+ "id": "77385484.cf760c",
333
+ "type": "Data Analysis",
334
+ "z": "11cc261f.ec82da",
335
+ "name": "min",
336
+ "action": "min",
337
+ "outputs": 2,
338
+ "outliersStdDevs": "3",
339
+ "term": "3",
340
+ "keyProperty": "msg.topic",
341
+ "dataProperty": "msg.payload",
342
+ "dataProperties": [],
343
+ "x": 390,
344
+ "y": 160,
358
345
  "wires": [
359
346
  [
360
- "e6c7ffb7.9947e"
361
- ]
347
+ "bc1f7e64.94177",
348
+ "ca5f5c59.94cd4"
349
+ ],
350
+ []
362
351
  ]
363
352
  },
364
353
  {
365
- "id": "8c1d482d.3797f8",
366
- "type": "delay",
367
- "z": "e4973c86.37d63",
368
- "name": "",
369
- "pauseType": "delay",
370
- "timeout": "5",
371
- "timeoutUnits": "seconds",
372
- "rate": "1",
373
- "nbRateUnits": "1",
374
- "rateUnits": "second",
375
- "randomFirst": "1",
376
- "randomLast": "5",
377
- "randomUnits": "seconds",
378
- "drop": false,
379
- "outputs": 1,
380
- "x": 320,
354
+ "id": "bc1f7e64.94177",
355
+ "type": "Data Analysis",
356
+ "z": "11cc261f.ec82da",
357
+ "name": "median",
358
+ "action": "median",
359
+ "outputs": 2,
360
+ "outliersStdDevs": "3",
361
+ "term": "3",
362
+ "keyProperty": "msg.topic",
363
+ "dataProperty": "msg.payload",
364
+ "dataProperties": [],
365
+ "x": 400,
381
366
  "y": 220,
382
367
  "wires": [
383
368
  [
384
- "f6d80561.d80d08"
385
- ]
369
+ "31efbbf6.5ff994",
370
+ "e27973fe.8fcd9"
371
+ ],
372
+ []
386
373
  ]
387
374
  },
388
375
  {
389
- "id": "f6d80561.d80d08",
390
- "type": "test",
391
- "z": "e4973c86.37d63",
392
- "name": "",
393
- "payload": "testa",
394
- "payloadType": "str",
395
- "result": "testb",
396
- "resultType": "str",
397
- "topic": "",
398
- "x": 330,
399
- "y": 140,
376
+ "id": "31efbbf6.5ff994",
377
+ "type": "Data Analysis",
378
+ "z": "11cc261f.ec82da",
379
+ "name": "range",
380
+ "action": "range",
381
+ "outputs": 2,
382
+ "outliersStdDevs": "3",
383
+ "term": "3",
384
+ "keyProperty": "msg.topic",
385
+ "dataProperty": "msg.payload",
386
+ "dataProperties": [],
387
+ "x": 390,
388
+ "y": 280,
400
389
  "wires": [
401
390
  [
402
- "8c1d482d.3797f8"
403
- ],
404
- [
405
- "505ec37a.ba24ac"
391
+ "d71f02b6.07e4a",
392
+ "ae37030c.743a"
406
393
  ],
407
394
  []
408
395
  ]
409
396
  },
410
397
  {
411
- "id": "706f9c15.e56864",
412
- "type": "inject",
413
- "z": "e4973c86.37d63",
414
- "name": "",
415
- "repeat": "",
416
- "crontab": "",
417
- "once": false,
418
- "onceDelay": 0.1,
419
- "topic": "",
420
- "payload": "",
421
- "payloadType": "date",
422
- "x": 120,
423
- "y": 20,
398
+ "id": "d71f02b6.07e4a",
399
+ "type": "Data Analysis",
400
+ "z": "11cc261f.ec82da",
401
+ "name": "sum",
402
+ "action": "sum",
403
+ "outputs": 2,
404
+ "outliersStdDevs": "3",
405
+ "term": "3",
406
+ "keyProperty": "msg.topic",
407
+ "dataProperty": "msg.payload",
408
+ "dataProperties": [],
409
+ "x": 390,
410
+ "y": 340,
424
411
  "wires": [
425
412
  [
426
- "e6c7ffb7.9947e",
427
- "f6d80561.d80d08",
428
- "7424fbe5.b21ea4",
429
- "575b7f19.b17d5",
430
- "c9ec0f06.98cf3",
431
- "2e00eb75.23c2c4"
432
- ]
413
+ "5d469222.b4431c",
414
+ "8d6da6fc.ab2f48"
415
+ ],
416
+ []
433
417
  ]
434
418
  },
435
419
  {
436
- "id": "7424fbe5.b21ea4",
437
- "type": "test",
438
- "z": "e4973c86.37d63",
439
- "name": "",
440
- "payload": "{\"a\":1,\"b\":\"two\"}",
441
- "payloadType": "json",
442
- "result": "{\"a\":1,\"b\":\"two\"}",
443
- "resultType": "json",
444
- "topic": "",
445
- "x": 340,
420
+ "id": "ca5f5c59.94cd4",
421
+ "type": "debug",
422
+ "z": "11cc261f.ec82da",
423
+ "name": "min",
424
+ "active": true,
425
+ "tosidebar": true,
426
+ "console": false,
427
+ "tostatus": false,
428
+ "complete": "result",
429
+ "targetType": "msg",
430
+ "x": 610,
431
+ "y": 160,
432
+ "wires": []
433
+ },
434
+ {
435
+ "id": "e27973fe.8fcd9",
436
+ "type": "debug",
437
+ "z": "11cc261f.ec82da",
438
+ "name": "median",
439
+ "active": true,
440
+ "tosidebar": true,
441
+ "console": false,
442
+ "tostatus": false,
443
+ "complete": "result",
444
+ "targetType": "msg",
445
+ "x": 620,
446
+ "y": 220,
447
+ "wires": []
448
+ },
449
+ {
450
+ "id": "ae37030c.743a",
451
+ "type": "debug",
452
+ "z": "11cc261f.ec82da",
453
+ "name": "range",
454
+ "active": true,
455
+ "tosidebar": true,
456
+ "console": false,
457
+ "tostatus": false,
458
+ "complete": "result",
459
+ "targetType": "msg",
460
+ "x": 610,
446
461
  "y": 260,
462
+ "wires": []
463
+ },
464
+ {
465
+ "id": "5d469222.b4431c",
466
+ "type": "debug",
467
+ "z": "11cc261f.ec82da",
468
+ "name": "sum",
469
+ "active": true,
470
+ "tosidebar": true,
471
+ "console": false,
472
+ "tostatus": false,
473
+ "complete": "result",
474
+ "targetType": "msg",
475
+ "x": 610,
476
+ "y": 300,
477
+ "wires": []
478
+ },
479
+ {
480
+ "id": "8d6da6fc.ab2f48",
481
+ "type": "Data Analysis",
482
+ "z": "11cc261f.ec82da",
483
+ "name": "variance",
484
+ "action": "variance",
485
+ "outputs": 2,
486
+ "outliersStdDevs": "3",
487
+ "term": "3",
488
+ "keyProperty": "msg.topic",
489
+ "dataProperty": "msg.payload",
490
+ "dataProperties": [],
491
+ "x": 400,
492
+ "y": 400,
447
493
  "wires": [
448
494
  [
449
- "affb8557.b1c5a8"
495
+ "80a318a1.8fe578",
496
+ "e2cf5bf2.9c23e8"
450
497
  ],
451
- [],
452
498
  []
453
499
  ]
454
500
  },
455
501
  {
456
- "id": "affb8557.b1c5a8",
457
- "type": "delay",
458
- "z": "e4973c86.37d63",
459
- "name": "",
460
- "pauseType": "delay",
461
- "timeout": "5",
462
- "timeoutUnits": "seconds",
463
- "rate": "1",
464
- "nbRateUnits": "1",
465
- "rateUnits": "second",
466
- "randomFirst": "1",
467
- "randomLast": "5",
468
- "randomUnits": "seconds",
469
- "drop": false,
470
- "outputs": 1,
471
- "x": 340,
472
- "y": 340,
502
+ "id": "80a318a1.8fe578",
503
+ "type": "Data Analysis",
504
+ "z": "11cc261f.ec82da",
505
+ "name": "stdDev",
506
+ "action": "stdDev",
507
+ "outputs": 3,
508
+ "term": "3",
509
+ "keyProperty": "",
510
+ "dataProperty": "",
511
+ "dataProperties": [],
512
+ "x": 400,
513
+ "y": 460,
473
514
  "wires": [
474
515
  [
475
- "7424fbe5.b21ea4"
476
- ]
516
+ "9b53372d.9fcc28",
517
+ "e26ac738.0ac368"
518
+ ],
519
+ [],
520
+ []
477
521
  ]
478
522
  },
479
523
  {
480
- "id": "575b7f19.b17d5",
481
- "type": "test",
482
- "z": "e4973c86.37d63",
483
- "name": "",
484
- "payload": "{\"a\":1,\"b\":\"two\"}",
485
- "payloadType": "str",
486
- "result": "{\"a\":1,\"b\":\"three\"}",
487
- "resultType": "str",
488
- "topic": "",
489
- "x": 350,
490
- "y": 380,
524
+ "id": "9b53372d.9fcc28",
525
+ "type": "Data Analysis",
526
+ "z": "11cc261f.ec82da",
527
+ "name": "skew",
528
+ "action": "skew",
529
+ "outputs": 2,
530
+ "outliersStdDevs": "3",
531
+ "term": "3",
532
+ "keyProperty": "msg.topic",
533
+ "dataProperty": "msg.payload",
534
+ "dataProperties": [],
535
+ "x": 390,
536
+ "y": 520,
491
537
  "wires": [
492
538
  [
493
- "b1ee7e8.71a4e8"
539
+ "838e4106.d42d1",
540
+ "3b9f8cb5.bad514"
494
541
  ],
542
+ []
543
+ ]
544
+ },
545
+ {
546
+ "id": "e2cf5bf2.9c23e8",
547
+ "type": "debug",
548
+ "z": "11cc261f.ec82da",
549
+ "name": "variance",
550
+ "active": true,
551
+ "tosidebar": true,
552
+ "console": false,
553
+ "tostatus": false,
554
+ "complete": "result",
555
+ "targetType": "msg",
556
+ "x": 620,
557
+ "y": 340,
558
+ "wires": []
559
+ },
560
+ {
561
+ "id": "e26ac738.0ac368",
562
+ "type": "debug",
563
+ "z": "11cc261f.ec82da",
564
+ "name": "stdDev",
565
+ "active": true,
566
+ "tosidebar": true,
567
+ "console": false,
568
+ "tostatus": false,
569
+ "complete": "result",
570
+ "targetType": "msg",
571
+ "x": 620,
572
+ "y": 380,
573
+ "wires": []
574
+ },
575
+ {
576
+ "id": "838e4106.d42d1",
577
+ "type": "debug",
578
+ "z": "11cc261f.ec82da",
579
+ "name": "skew",
580
+ "active": true,
581
+ "tosidebar": true,
582
+ "console": false,
583
+ "tostatus": false,
584
+ "complete": "result",
585
+ "targetType": "msg",
586
+ "x": 630,
587
+ "y": 520,
588
+ "wires": []
589
+ },
590
+ {
591
+ "id": "3b9f8cb5.bad514",
592
+ "type": "Data Analysis",
593
+ "z": "11cc261f.ec82da",
594
+ "name": "movingAvgCumulative",
595
+ "action": "movingAvgCumulative",
596
+ "outputs": 2,
597
+ "outliersStdDevs": "3",
598
+ "term": "3",
599
+ "keyProperty": "msg.topic",
600
+ "dataProperty": "msg.payload",
601
+ "dataProperties": [],
602
+ "x": 420,
603
+ "y": 580,
604
+ "wires": [
495
605
  [
496
- "505ec37a.ba24ac"
606
+ "ac835c8.491cba",
607
+ "64eb625e.2303fc"
497
608
  ],
498
609
  []
499
610
  ]
500
611
  },
501
612
  {
502
- "id": "b1ee7e8.71a4e8",
503
- "type": "delay",
504
- "z": "e4973c86.37d63",
505
- "name": "",
506
- "pauseType": "delay",
507
- "timeout": "5",
508
- "timeoutUnits": "seconds",
509
- "rate": "1",
510
- "nbRateUnits": "1",
511
- "rateUnits": "second",
512
- "randomFirst": "1",
513
- "randomLast": "5",
514
- "randomUnits": "seconds",
515
- "drop": false,
516
- "outputs": 1,
517
- "x": 340,
518
- "y": 460,
613
+ "id": "ac835c8.491cba",
614
+ "type": "debug",
615
+ "z": "11cc261f.ec82da",
616
+ "name": "movingAvgCumulative",
617
+ "active": true,
618
+ "tosidebar": true,
619
+ "console": false,
620
+ "tostatus": false,
621
+ "complete": "result",
622
+ "targetType": "msg",
623
+ "x": 660,
624
+ "y": 580,
625
+ "wires": []
626
+ },
627
+ {
628
+ "id": "40e08530.b2fc2c",
629
+ "type": "debug",
630
+ "z": "11cc261f.ec82da",
631
+ "name": "movingAvgSimple",
632
+ "active": true,
633
+ "tosidebar": true,
634
+ "console": false,
635
+ "tostatus": false,
636
+ "complete": "result",
637
+ "targetType": "msg",
638
+ "x": 650,
639
+ "y": 620,
640
+ "wires": []
641
+ },
642
+ {
643
+ "id": "64eb625e.2303fc",
644
+ "type": "Data Analysis",
645
+ "z": "11cc261f.ec82da",
646
+ "name": "movingAvgSimple",
647
+ "action": "movingAvgSimple",
648
+ "outputs": 2,
649
+ "outliersStdDevs": "3",
650
+ "term": "3",
651
+ "keyProperty": "msg.topic",
652
+ "dataProperty": "msg.payload",
653
+ "dataProperties": [],
654
+ "x": 410,
655
+ "y": 640,
519
656
  "wires": [
520
657
  [
521
- "575b7f19.b17d5"
522
- ]
658
+ "40e08530.b2fc2c",
659
+ "c37806d2.a5c5f8"
660
+ ],
661
+ []
523
662
  ]
524
663
  },
525
664
  {
526
- "id": "41c3903b.ca8a3",
527
- "type": "delay",
528
- "z": "e4973c86.37d63",
529
- "name": "",
530
- "pauseType": "delay",
531
- "timeout": "5",
532
- "timeoutUnits": "seconds",
533
- "rate": "1",
534
- "nbRateUnits": "1",
535
- "rateUnits": "second",
536
- "randomFirst": "1",
537
- "randomLast": "5",
538
- "randomUnits": "seconds",
539
- "drop": false,
540
- "outputs": 1,
541
- "x": 340,
542
- "y": 580,
665
+ "id": "96fa5b66.4c61b8",
666
+ "type": "inject",
667
+ "z": "11cc261f.ec82da",
668
+ "name": "[1]",
669
+ "repeat": "",
670
+ "crontab": "",
671
+ "once": false,
672
+ "onceDelay": 0.1,
673
+ "topic": "",
674
+ "payload": "[1]",
675
+ "payloadType": "json",
676
+ "x": 110,
677
+ "y": 260,
543
678
  "wires": [
544
679
  [
545
- "c9ec0f06.98cf3"
680
+ "cc146f9a.2d96"
546
681
  ]
547
682
  ]
548
683
  },
549
684
  {
550
- "id": "c9ec0f06.98cf3",
551
- "type": "test",
552
- "z": "e4973c86.37d63",
553
- "name": "",
554
- "payload": "{\"a\":1,\"b\":[1,2,3,4]}",
555
- "payloadType": "str",
556
- "result": "{\"a\":1,\"b\":[1,2,3,4]}",
557
- "resultType": "str",
558
- "topic": "",
559
- "x": 350,
560
- "y": 500,
685
+ "id": "3cb6979e.12f878",
686
+ "type": "Data Analysis",
687
+ "z": "11cc261f.ec82da",
688
+ "name": "movingAvgExponential",
689
+ "action": "movingAvgExponential",
690
+ "outputs": 2,
691
+ "outliersStdDevs": "3",
692
+ "term": "0.5",
693
+ "keyProperty": "msg.topic",
694
+ "dataProperty": "msg.payload",
695
+ "dataProperties": [],
696
+ "x": 420,
697
+ "y": 760,
561
698
  "wires": [
562
699
  [
563
- "41c3903b.ca8a3"
700
+ "8ce2398a.805488",
701
+ "b13dd76e.d59c48"
564
702
  ],
565
- [],
566
703
  []
567
704
  ]
568
705
  },
569
706
  {
570
- "id": "2e00eb75.23c2c4",
571
- "type": "test",
572
- "z": "e4973c86.37d63",
573
- "name": "",
574
- "payload": "",
575
- "payloadType": "date",
576
- "result": "",
577
- "resultType": "date",
578
- "resultProperty": "msg.testResult",
579
- "topic": "",
580
- "x": 320,
581
- "y": 640,
707
+ "id": "c37806d2.a5c5f8",
708
+ "type": "Data Analysis",
709
+ "z": "11cc261f.ec82da",
710
+ "name": "movingAvgWeighted",
711
+ "action": "movingAvgWeighted",
712
+ "outputs": 2,
713
+ "outliersStdDevs": "3",
714
+ "term": "3",
715
+ "keyProperty": "msg.topic",
716
+ "dataProperty": "msg.payload",
717
+ "dataProperties": [],
718
+ "x": 420,
719
+ "y": 700,
582
720
  "wires": [
583
721
  [
584
- "ee190293.d97ed"
722
+ "3cb6979e.12f878",
723
+ "8a9c80eb.1a406"
585
724
  ],
586
- [],
587
725
  []
588
726
  ]
589
727
  },
590
728
  {
591
- "id": "ee190293.d97ed",
592
- "type": "function",
593
- "z": "e4973c86.37d63",
594
- "name": "",
595
- "func": "msg.testResult=msg.payload\nreturn msg;",
596
- "outputs": 1,
597
- "noerr": 0,
598
- "x": 570,
599
- "y": 640,
600
- "wires": [
601
- [
602
- "2e00eb75.23c2c4"
603
- ]
604
- ]
729
+ "id": "8a9c80eb.1a406",
730
+ "type": "debug",
731
+ "z": "11cc261f.ec82da",
732
+ "name": "movingAvgWeighted",
733
+ "active": true,
734
+ "tosidebar": true,
735
+ "console": false,
736
+ "tostatus": false,
737
+ "complete": "result",
738
+ "targetType": "msg",
739
+ "x": 680,
740
+ "y": 700,
741
+ "wires": []
605
742
  },
606
743
  {
607
- "id": "f9d9fffe.9c0d6",
608
- "type": "os",
609
- "z": "fa243279.4dbe9",
610
- "name": "",
611
- "property": "arch",
612
- "x": 270,
613
- "y": 40,
744
+ "id": "8ce2398a.805488",
745
+ "type": "debug",
746
+ "z": "11cc261f.ec82da",
747
+ "name": "movingAvgExponential",
748
+ "active": true,
749
+ "tosidebar": true,
750
+ "console": false,
751
+ "tostatus": false,
752
+ "complete": "result",
753
+ "targetType": "msg",
754
+ "x": 680,
755
+ "y": 760,
756
+ "wires": []
757
+ },
758
+ {
759
+ "id": "b13dd76e.d59c48",
760
+ "type": "Data Analysis",
761
+ "z": "11cc261f.ec82da",
762
+ "name": "deltas",
763
+ "action": "deltas",
764
+ "outputs": 2,
765
+ "outliersStdDevs": "3",
766
+ "term": "3",
767
+ "keyProperty": "msg.topic",
768
+ "dataProperty": "msg.payload",
769
+ "dataProperties": [],
770
+ "x": 370,
771
+ "y": 820,
614
772
  "wires": [
615
773
  [
616
- "258d203c.af111"
774
+ "8706b576.2b83e8",
775
+ "853dbd38.70d92"
617
776
  ],
618
777
  []
619
778
  ]
620
779
  },
621
780
  {
622
- "id": "258d203c.af111",
781
+ "id": "8706b576.2b83e8",
623
782
  "type": "debug",
624
- "z": "fa243279.4dbe9",
625
- "name": "os out",
783
+ "z": "11cc261f.ec82da",
784
+ "name": "deltas",
626
785
  "active": true,
627
786
  "tosidebar": true,
628
787
  "console": false,
629
788
  "tostatus": false,
630
- "complete": "payload",
789
+ "complete": "result",
631
790
  "targetType": "msg",
632
- "x": 590,
633
- "y": 400,
791
+ "x": 630,
792
+ "y": 820,
634
793
  "wires": []
635
794
  },
636
795
  {
637
- "id": "b612d0d4.d6af9",
796
+ "id": "3b8b4e1c.24e322",
638
797
  "type": "inject",
639
- "z": "fa243279.4dbe9",
640
- "name": "",
798
+ "z": "11cc261f.ec82da",
799
+ "name": "[8,4,5,3,2,1]",
641
800
  "repeat": "",
642
801
  "crontab": "",
643
802
  "once": false,
644
803
  "onceDelay": 0.1,
645
804
  "topic": "",
646
- "payload": "",
647
- "payloadType": "date",
648
- "x": 100,
805
+ "payload": "[8,4,5,3,2,1]",
806
+ "payloadType": "json",
807
+ "x": 130,
649
808
  "y": 320,
650
809
  "wires": [
651
810
  [
652
- "f9d9fffe.9c0d6",
653
- "af14ce79.67da1",
654
- "7b9e7709.a1a058",
655
- "7e143a9e.eb16b4",
656
- "b9995178.6ca31",
657
- "a572aac6.59d2e8",
658
- "10bea419.99e54c",
659
- "98a73c5b.3e298",
660
- "a0b1d851.af5698",
661
- "9d89654b.a1b158",
662
- "3fb37e05.d807c2",
663
- "93e4f264.298b8",
664
- "44e0bbd2.29e2b4",
665
- "867824a3.7194d8",
666
- "d49cda2c.33ab88",
667
- "7bd65c52.e940d4",
668
- "e242c49a.2de7e8",
669
- "fe9cdcce.1175"
811
+ "cc146f9a.2d96"
670
812
  ]
671
813
  ]
672
814
  },
673
815
  {
674
- "id": "af14ce79.67da1",
675
- "type": "os",
676
- "z": "fa243279.4dbe9",
677
- "name": "",
678
- "property": "EOL",
679
- "x": 270,
680
- "y": 80,
816
+ "id": "254df734.5b5628",
817
+ "type": "debug",
818
+ "z": "11cc261f.ec82da",
819
+ "name": "deltaNormalised",
820
+ "active": true,
821
+ "tosidebar": true,
822
+ "console": false,
823
+ "tostatus": false,
824
+ "complete": "result",
825
+ "targetType": "msg",
826
+ "x": 640,
827
+ "y": 880,
828
+ "wires": []
829
+ },
830
+ {
831
+ "id": "853dbd38.70d92",
832
+ "type": "Data Analysis",
833
+ "z": "11cc261f.ec82da",
834
+ "name": "deltaNormalised",
835
+ "action": "deltaNormalised",
836
+ "columns": "",
837
+ "outputs": 2,
838
+ "outliersStdDevs": "3",
839
+ "term": "3",
840
+ "keyProperty": "msg.topic",
841
+ "dataProperty": "msg.payload",
842
+ "dataProperties": [],
843
+ "x": 400,
844
+ "y": 880,
845
+ "wires": [
846
+ [
847
+ "254df734.5b5628",
848
+ "369bed28.8f2102"
849
+ ],
850
+ []
851
+ ]
852
+ },
853
+ {
854
+ "id": "6b313397.1721dc",
855
+ "type": "debug",
856
+ "z": "11cc261f.ec82da",
857
+ "name": "normalise",
858
+ "active": true,
859
+ "tosidebar": true,
860
+ "console": false,
861
+ "tostatus": false,
862
+ "complete": "result",
863
+ "targetType": "msg",
864
+ "x": 620,
865
+ "y": 940,
866
+ "wires": []
867
+ },
868
+ {
869
+ "id": "ce485240.bb0fa",
870
+ "type": "debug",
871
+ "z": "11cc261f.ec82da",
872
+ "name": "standardization",
873
+ "active": true,
874
+ "tosidebar": true,
875
+ "console": false,
876
+ "tostatus": false,
877
+ "complete": "result",
878
+ "targetType": "msg",
879
+ "statusVal": "",
880
+ "statusType": "auto",
881
+ "x": 640,
882
+ "y": 1000,
883
+ "wires": []
884
+ },
885
+ {
886
+ "id": "369bed28.8f2102",
887
+ "type": "Data Analysis",
888
+ "z": "11cc261f.ec82da",
889
+ "name": "normalise",
890
+ "action": "normalize",
891
+ "outputs": 2,
892
+ "outliersStdDevs": "3",
893
+ "term": "3",
894
+ "keyProperty": "msg.topic",
895
+ "dataProperty": "msg.payload",
896
+ "dataProperties": [],
897
+ "x": 380,
898
+ "y": 940,
681
899
  "wires": [
682
900
  [
683
- "258d203c.af111"
901
+ "6b313397.1721dc",
902
+ "b9c0be7.93f5b4"
684
903
  ],
685
904
  []
686
905
  ]
687
906
  },
688
907
  {
689
- "id": "7b9e7709.a1a058",
690
- "type": "os",
691
- "z": "fa243279.4dbe9",
692
- "name": "",
693
- "property": "constants",
694
- "x": 280,
695
- "y": 120,
908
+ "id": "b9c0be7.93f5b4",
909
+ "type": "Data Analysis",
910
+ "z": "11cc261f.ec82da",
911
+ "name": "standardization",
912
+ "action": "standardize",
913
+ "columns": "",
914
+ "outputs": 2,
915
+ "outliersStdDevs": "3",
916
+ "term": "3",
917
+ "keyProperty": "msg.topic",
918
+ "dataProperty": "msg.payload",
919
+ "dataProperties": [],
920
+ "x": 400,
921
+ "y": 1000,
696
922
  "wires": [
697
923
  [
698
- "258d203c.af111"
924
+ "ce485240.bb0fa",
925
+ "1ffd982aa6657013"
699
926
  ],
700
927
  []
701
928
  ]
702
929
  },
703
930
  {
704
- "id": "7e143a9e.eb16b4",
705
- "type": "os",
706
- "z": "fa243279.4dbe9",
931
+ "id": "1dd23162.47096f",
932
+ "type": "Data Analysis",
933
+ "z": "11cc261f.ec82da",
707
934
  "name": "",
708
- "property": "cpus",
709
- "x": 270,
710
- "y": 160,
935
+ "action": "min",
936
+ "outputs": 2,
937
+ "outliersStdDevs": "3",
938
+ "term": "3",
939
+ "keyProperty": "msg.topic",
940
+ "dataProperty": "msg.payload.data",
941
+ "dataProperties": [],
942
+ "x": 1140,
943
+ "y": 40,
711
944
  "wires": [
712
945
  [
713
- "258d203c.af111"
946
+ "89fa71fb.d157d"
714
947
  ],
715
948
  []
716
949
  ]
717
950
  },
718
951
  {
719
- "id": "b9995178.6ca31",
720
- "type": "os",
721
- "z": "fa243279.4dbe9",
952
+ "id": "89fa71fb.d157d",
953
+ "type": "test",
954
+ "z": "11cc261f.ec82da",
722
955
  "name": "",
723
- "property": "endianness",
724
- "x": 290,
725
- "y": 200,
956
+ "payload": "{\"data\":[1,2,3]}",
957
+ "payloadType": "json",
958
+ "result": "1",
959
+ "resultType": "num",
960
+ "resultProperty": "msg.result",
961
+ "topic": "",
962
+ "x": 870,
963
+ "y": 40,
726
964
  "wires": [
727
965
  [
728
- "258d203c.af111"
966
+ "1dd23162.47096f"
729
967
  ],
968
+ [],
730
969
  []
731
970
  ]
732
971
  },
733
972
  {
734
- "id": "a572aac6.59d2e8",
735
- "type": "os",
736
- "z": "fa243279.4dbe9",
737
- "name": "",
738
- "property": "freemem",
739
- "x": 280,
740
- "y": 240,
973
+ "id": "1ffd982aa6657013",
974
+ "type": "Data Analysis",
975
+ "z": "11cc261f.ec82da",
976
+ "name": "difference",
977
+ "action": "difference",
978
+ "columns": "",
979
+ "outputs": 2,
980
+ "outliersBase": "avg",
981
+ "outliersStdDevs": "3",
982
+ "term": "10",
983
+ "keyProperty": "msg.topic",
984
+ "dataProperty": "msg.payload",
985
+ "dataProperties": [
986
+ "msg.payload[0]",
987
+ "msg.payload[1]"
988
+ ],
989
+ "x": 380,
990
+ "y": 1060,
741
991
  "wires": [
742
992
  [
743
- "258d203c.af111"
993
+ "41453a54a3914a81"
744
994
  ],
745
995
  []
746
996
  ]
747
997
  },
748
998
  {
749
- "id": "10bea419.99e54c",
750
- "type": "os",
751
- "z": "fa243279.4dbe9",
752
- "name": "",
753
- "property": "getPriority",
754
- "x": 280,
755
- "y": 280,
999
+ "id": "41453a54a3914a81",
1000
+ "type": "Data Analysis",
1001
+ "z": "11cc261f.ec82da",
1002
+ "name": "difference seasonal",
1003
+ "action": "differenceSeasonal",
1004
+ "columns": "",
1005
+ "lag": "2",
1006
+ "outputs": 2,
1007
+ "outliersBase": "avg",
1008
+ "outliersStdDevs": "3",
1009
+ "term": "10",
1010
+ "keyProperty": "msg.topic",
1011
+ "dataProperty": "msg.payload",
1012
+ "dataProperties": [
1013
+ "msg.payload[0]",
1014
+ "msg.payload[1]"
1015
+ ],
1016
+ "x": 410,
1017
+ "y": 1120,
756
1018
  "wires": [
757
1019
  [
758
- "258d203c.af111"
1020
+ "25c998531bce6e6b"
759
1021
  ],
760
1022
  []
761
1023
  ]
762
1024
  },
763
1025
  {
764
- "id": "98a73c5b.3e298",
765
- "type": "os",
766
- "z": "fa243279.4dbe9",
767
- "name": "",
768
- "property": "homedir",
769
- "x": 280,
770
- "y": 320,
1026
+ "id": "25c998531bce6e6b",
1027
+ "type": "Data Analysis",
1028
+ "z": "11cc261f.ec82da",
1029
+ "name": "diifference second order",
1030
+ "action": "differenceSecondOrder",
1031
+ "columns": "",
1032
+ "lag": "1",
1033
+ "outputs": 2,
1034
+ "outliersBase": "avg",
1035
+ "outliersStdDevs": "3",
1036
+ "term": "10",
1037
+ "keyProperty": "msg.topic",
1038
+ "dataProperty": "msg.payload",
1039
+ "dataProperties": [
1040
+ "msg.payload[0]",
1041
+ "msg.payload[1]"
1042
+ ],
1043
+ "x": 430,
1044
+ "y": 1180,
771
1045
  "wires": [
772
1046
  [
773
- "258d203c.af111"
1047
+ "3b47871eb15d2f72"
774
1048
  ],
775
1049
  []
776
1050
  ]
777
1051
  },
778
1052
  {
779
- "id": "a0b1d851.af5698",
780
- "type": "os",
781
- "z": "fa243279.4dbe9",
782
- "name": "",
783
- "property": "hostname",
784
- "x": 280,
785
- "y": 360,
1053
+ "id": "3b47871eb15d2f72",
1054
+ "type": "Data Analysis",
1055
+ "z": "11cc261f.ec82da",
1056
+ "name": "difference seasonal second order",
1057
+ "action": "differenceSeasonalSecondOrder",
1058
+ "columns": "",
1059
+ "lag": "2",
1060
+ "outputs": 2,
1061
+ "outliersBase": "avg",
1062
+ "outliersStdDevs": "3",
1063
+ "term": "10",
1064
+ "keyProperty": "msg.topic",
1065
+ "dataProperty": "msg.payload",
1066
+ "dataProperties": [
1067
+ "msg.payload[0]",
1068
+ "msg.payload[1]"
1069
+ ],
1070
+ "x": 460,
1071
+ "y": 1240,
786
1072
  "wires": [
787
- [
788
- "258d203c.af111"
789
- ],
1073
+ [],
790
1074
  []
791
1075
  ]
792
1076
  },
793
1077
  {
794
- "id": "9d89654b.a1b158",
795
- "type": "os",
796
- "z": "fa243279.4dbe9",
1078
+ "id": "a749368e.985a18",
1079
+ "type": "Data Analysis",
1080
+ "z": "cf595649.931658",
797
1081
  "name": "",
798
- "property": "loadavg",
799
- "x": 280,
800
- "y": 400,
1082
+ "action": "realtime",
1083
+ "columns": "",
1084
+ "lag": "5",
1085
+ "outputs": 3,
1086
+ "outliersBase": "avg",
1087
+ "outliersStdDevs": "2",
1088
+ "term": "3",
1089
+ "keyProperty": "msg.payload.assignedColor",
1090
+ "dataProperty": "msg.payload.salary",
1091
+ "dataProperties": [],
1092
+ "x": 437,
1093
+ "y": 80,
801
1094
  "wires": [
1095
+ [],
802
1096
  [
803
- "258d203c.af111"
1097
+ "a6cd6306.a217c"
804
1098
  ],
805
- []
1099
+ [
1100
+ "a37e4b57.2a7778"
1101
+ ]
806
1102
  ]
807
1103
  },
808
1104
  {
809
- "id": "3fb37e05.d807c2",
810
- "type": "os",
811
- "z": "fa243279.4dbe9",
812
- "name": "",
813
- "property": "networkInterfaces",
814
- "x": 310,
815
- "y": 440,
1105
+ "id": "a6cd6306.a217c",
1106
+ "type": "debug",
1107
+ "z": "cf595649.931658",
1108
+ "name": "realtime",
1109
+ "active": true,
1110
+ "tosidebar": true,
1111
+ "console": false,
1112
+ "tostatus": false,
1113
+ "complete": "result",
1114
+ "targetType": "msg",
1115
+ "x": 680,
1116
+ "y": 120,
1117
+ "wires": []
1118
+ },
1119
+ {
1120
+ "id": "62f3c2c7.8c3b7c",
1121
+ "type": "inject",
1122
+ "z": "cf595649.931658",
1123
+ "name": "@stats",
1124
+ "repeat": "",
1125
+ "crontab": "",
1126
+ "once": false,
1127
+ "onceDelay": 0.1,
1128
+ "topic": "@stats",
1129
+ "payload": "",
1130
+ "payloadType": "date",
1131
+ "x": 150,
1132
+ "y": 200,
816
1133
  "wires": [
817
1134
  [
818
- "258d203c.af111"
819
- ],
820
- []
1135
+ "a749368e.985a18",
1136
+ "770e1ad6.5fe4f4"
1137
+ ]
821
1138
  ]
822
1139
  },
823
1140
  {
824
- "id": "93e4f264.298b8",
825
- "type": "os",
826
- "z": "fa243279.4dbe9",
1141
+ "id": "7f16af76.d1c2b",
1142
+ "type": "Load Injector",
1143
+ "z": "cf595649.931658",
827
1144
  "name": "",
828
- "property": "release",
829
- "x": 280,
830
- "y": 480,
1145
+ "thinktimemin": "10",
1146
+ "thinktimemax": "100",
1147
+ "runtime": "60",
1148
+ "payload": "",
1149
+ "payloadType": "date",
1150
+ "topic": "",
1151
+ "topicType": "str",
1152
+ "x": 150,
1153
+ "y": 40,
831
1154
  "wires": [
832
1155
  [
833
- "258d203c.af111"
1156
+ "82a035c7.eb2198"
834
1157
  ],
835
1158
  []
836
1159
  ]
837
1160
  },
838
1161
  {
839
- "id": "44e0bbd2.29e2b4",
840
- "type": "os",
841
- "z": "fa243279.4dbe9",
1162
+ "id": "770e1ad6.5fe4f4",
1163
+ "type": "Data Analysis",
1164
+ "z": "cf595649.931658",
842
1165
  "name": "",
843
- "property": "setPriority",
844
- "x": 280,
845
- "y": 520,
1166
+ "action": "pearsonR",
1167
+ "columns": "",
1168
+ "lag": 1,
1169
+ "outputs": 2,
1170
+ "outliersStdDevs": "3",
1171
+ "term": "3",
1172
+ "keyProperty": "msg.topic",
1173
+ "dataProperty": "msg.payload",
1174
+ "dataProperties": [
1175
+ "msg.payload.salary",
1176
+ "msg.payload.age",
1177
+ "msg.payload.height"
1178
+ ],
1179
+ "x": 430,
1180
+ "y": 160,
846
1181
  "wires": [
847
1182
  [],
848
1183
  [
849
- "9257111d.7fb72"
1184
+ "a6cd6306.a217c"
850
1185
  ]
851
1186
  ]
852
1187
  },
853
1188
  {
854
- "id": "867824a3.7194d8",
855
- "type": "os",
856
- "z": "fa243279.4dbe9",
857
- "name": "",
858
- "property": "tmpdir",
859
- "x": 270,
860
- "y": 560,
861
- "wires": [
862
- [
863
- "258d203c.af111"
864
- ],
865
- []
866
- ]
1189
+ "id": "a37e4b57.2a7778",
1190
+ "type": "debug",
1191
+ "z": "cf595649.931658",
1192
+ "name": "outlier",
1193
+ "active": true,
1194
+ "tosidebar": true,
1195
+ "console": false,
1196
+ "tostatus": false,
1197
+ "complete": "payload",
1198
+ "targetType": "msg",
1199
+ "x": 670,
1200
+ "y": 200,
1201
+ "wires": []
867
1202
  },
868
1203
  {
869
- "id": "d49cda2c.33ab88",
870
- "type": "os",
871
- "z": "fa243279.4dbe9",
872
- "name": "",
873
- "property": "totalmem",
874
- "x": 280,
875
- "y": 600,
1204
+ "id": "65bd1564.34a0cc",
1205
+ "type": "inject",
1206
+ "z": "cf595649.931658",
1207
+ "name": "outiler",
1208
+ "repeat": "",
1209
+ "crontab": "",
1210
+ "once": false,
1211
+ "onceDelay": 0.1,
1212
+ "topic": "",
1213
+ "payload": "{\"name\":\"test outlier \",\"work\":\"outlier\",\"email\":\"{{email}}\",\"address\":\"{{int 1 100}} {{street}}\",\"country\":\"{{country}}\",\"salary\":700,\"assignedColor\":\"red\",\"age\":69,\"height\":2.6}",
1214
+ "payloadType": "json",
1215
+ "x": 130,
1216
+ "y": 280,
876
1217
  "wires": [
877
1218
  [
878
- "258d203c.af111"
879
- ],
880
- []
1219
+ "a749368e.985a18"
1220
+ ]
881
1221
  ]
882
1222
  },
883
1223
  {
884
- "id": "7bd65c52.e940d4",
885
- "type": "os",
886
- "z": "fa243279.4dbe9",
1224
+ "id": "82a035c7.eb2198",
1225
+ "type": "data-generator",
1226
+ "z": "cf595649.931658",
887
1227
  "name": "",
888
- "property": "type",
889
- "x": 270,
890
- "y": 640,
1228
+ "field": "payload",
1229
+ "fieldType": "msg",
1230
+ "syntax": "json",
1231
+ "template": "{\n \"name\": \"{{firstName}} {{lastName}}\",\n \"work\": \"{{company}}\",\n \"email\": \"{{email}}\",\n \"address\": \"{{int 1 100}} {{street}}\",\n \"country\": \"{{country}}\",\n \"salary\": {{float 50 150 '0.00'}},\n \"assignedColor\":\"{{color}}\",\n \"age\": {{int 16 67 '0'}},\n \"height\": {{float 1.5 2.5 '0.0'}}\n}",
1232
+ "x": 160,
1233
+ "y": 120,
891
1234
  "wires": [
892
1235
  [
893
- "258d203c.af111"
894
- ],
895
- []
1236
+ "a749368e.985a18",
1237
+ "770e1ad6.5fe4f4"
1238
+ ]
896
1239
  ]
897
1240
  },
898
1241
  {
899
- "id": "e242c49a.2de7e8",
900
- "type": "os",
901
- "z": "fa243279.4dbe9",
1242
+ "id": "ffd72c7.5d152d",
1243
+ "type": "Host Available",
1244
+ "z": "955f4808.fd1898",
902
1245
  "name": "",
903
- "property": "uptime",
904
- "x": 270,
905
- "y": 680,
1246
+ "host": "localhost",
1247
+ "port": "9092",
1248
+ "checkInterval": "60",
1249
+ "x": 400,
1250
+ "y": 60,
906
1251
  "wires": [
907
1252
  [
908
- "258d203c.af111"
1253
+ "be654225.78ec5"
909
1254
  ],
910
- []
1255
+ [
1256
+ "16439017.33e21"
1257
+ ]
911
1258
  ]
912
1259
  },
913
1260
  {
914
- "id": "fe9cdcce.1175",
915
- "type": "os",
916
- "z": "fa243279.4dbe9",
1261
+ "id": "a303ce7d.b0c31",
1262
+ "type": "Host Available",
1263
+ "z": "955f4808.fd1898",
917
1264
  "name": "",
918
- "property": "userInfo",
919
- "x": 280,
920
- "y": 720,
1265
+ "host": "localhost",
1266
+ "port": "1880",
1267
+ "checkInterval": "",
1268
+ "x": 380,
1269
+ "y": 140,
921
1270
  "wires": [
922
1271
  [
923
- "258d203c.af111"
1272
+ "be654225.78ec5"
924
1273
  ],
925
- []
1274
+ [
1275
+ "16439017.33e21"
1276
+ ]
926
1277
  ]
927
1278
  },
928
1279
  {
929
- "id": "9257111d.7fb72",
1280
+ "id": "be654225.78ec5",
930
1281
  "type": "debug",
931
- "z": "fa243279.4dbe9",
932
- "name": "error",
1282
+ "z": "955f4808.fd1898",
1283
+ "name": "host ok",
933
1284
  "active": true,
934
1285
  "tosidebar": true,
935
1286
  "console": false,
936
1287
  "tostatus": false,
937
- "complete": "true",
938
- "targetType": "full",
939
- "x": 580,
940
- "y": 480,
1288
+ "complete": "payload",
1289
+ "targetType": "msg",
1290
+ "x": 620,
1291
+ "y": 60,
941
1292
  "wires": []
942
1293
  },
943
1294
  {
944
- "id": "c549c07b.bc4b9",
1295
+ "id": "16439017.33e21",
945
1296
  "type": "debug",
946
- "z": "11cc261f.ec82da",
947
- "name": "max",
1297
+ "z": "955f4808.fd1898",
1298
+ "name": "host down",
948
1299
  "active": true,
949
1300
  "tosidebar": true,
950
1301
  "console": false,
951
1302
  "tostatus": false,
952
- "complete": "result",
1303
+ "complete": "payload",
953
1304
  "targetType": "msg",
954
- "x": 610,
955
- "y": 40,
1305
+ "x": 630,
1306
+ "y": 140,
956
1307
  "wires": []
957
1308
  },
958
1309
  {
959
- "id": "fe98fb5d.1e1d28",
1310
+ "id": "3e04758.89a298a",
960
1311
  "type": "inject",
961
- "z": "11cc261f.ec82da",
1312
+ "z": "955f4808.fd1898",
962
1313
  "name": "",
963
1314
  "repeat": "",
964
1315
  "crontab": "",
965
1316
  "once": false,
966
1317
  "onceDelay": 0.1,
967
- "topic": "error input",
1318
+ "topic": "",
968
1319
  "payload": "",
969
1320
  "payloadType": "date",
970
- "x": 160,
971
- "y": 40,
1321
+ "x": 100,
1322
+ "y": 140,
972
1323
  "wires": [
973
1324
  [
974
- "cc146f9a.2d96"
1325
+ "a303ce7d.b0c31",
1326
+ "ffd72c7.5d152d"
975
1327
  ]
976
1328
  ]
977
1329
  },
978
1330
  {
979
- "id": "1e28144c.d43d5c",
980
- "type": "Data Analysis",
981
- "z": "11cc261f.ec82da",
982
- "name": "avg",
983
- "action": "avg",
984
- "outputs": 2,
985
- "outliersStdDevs": "3",
986
- "term": "3",
987
- "keyProperty": "msg.topic",
988
- "dataProperty": "msg.payload",
989
- "dataProperties": [],
990
- "x": 390,
991
- "y": 100,
992
- "wires": [
993
- [
994
- "f90f769f.41f3b8",
995
- "77385484.cf760c"
996
- ],
997
- []
998
- ]
999
- },
1000
- {
1001
- "id": "f2dfe624.ec12e8",
1331
+ "id": "62f6a2ef.48084c",
1002
1332
  "type": "inject",
1003
- "z": "11cc261f.ec82da",
1004
- "name": "[1,2,3,4,5]",
1333
+ "z": "955f4808.fd1898",
1334
+ "name": "refreshHostAvailable",
1005
1335
  "repeat": "",
1006
1336
  "crontab": "",
1007
1337
  "once": false,
1008
1338
  "onceDelay": 0.1,
1009
- "topic": "",
1010
- "payload": "[1,2,3,4,5]",
1011
- "payloadType": "json",
1012
- "x": 120,
1013
- "y": 140,
1339
+ "topic": "refreshHostAvailable",
1340
+ "payload": "",
1341
+ "payloadType": "date",
1342
+ "x": 130,
1343
+ "y": 60,
1014
1344
  "wires": [
1015
1345
  [
1016
- "cc146f9a.2d96"
1346
+ "a303ce7d.b0c31",
1347
+ "ffd72c7.5d152d"
1017
1348
  ]
1018
1349
  ]
1019
1350
  },
1020
1351
  {
1021
- "id": "7a6e792d.b98b88",
1022
- "type": "inject",
1023
- "z": "11cc261f.ec82da",
1024
- "name": "[]",
1025
- "repeat": "",
1026
- "crontab": "",
1027
- "once": false,
1028
- "onceDelay": 0.1,
1352
+ "id": "4bed6788.398bc8",
1353
+ "type": "Load Injector",
1354
+ "z": "cf804fb2.6df8c",
1355
+ "name": "",
1356
+ "thinktimemin": "100",
1357
+ "thinktimemax": "5000",
1358
+ "runtime": "30",
1359
+ "payload": "",
1360
+ "payloadType": "date",
1029
1361
  "topic": "",
1030
- "payload": "[]",
1031
- "payloadType": "json",
1032
- "x": 110,
1033
- "y": 80,
1362
+ "topicType": "str",
1363
+ "x": 190,
1364
+ "y": 100,
1034
1365
  "wires": [
1035
1366
  [
1036
- "cc146f9a.2d96"
1367
+ "df6c40ba.fb661"
1368
+ ],
1369
+ [
1370
+ "dd8f915be7585f46"
1037
1371
  ]
1038
1372
  ]
1039
1373
  },
1040
1374
  {
1041
- "id": "7a86c3e4.f3aa8c",
1042
- "type": "inject",
1043
- "z": "11cc261f.ec82da",
1044
- "name": "[1,2,3,4,5,6]",
1045
- "repeat": "",
1046
- "crontab": "",
1047
- "once": false,
1048
- "onceDelay": 0.1,
1049
- "topic": "",
1050
- "payload": "[1,2,3,4,5,6]",
1051
- "payloadType": "json",
1052
- "x": 130,
1053
- "y": 200,
1375
+ "id": "df6c40ba.fb661",
1376
+ "type": "function",
1377
+ "z": "cf804fb2.6df8c",
1378
+ "name": "Message count",
1379
+ "func": "var count = context.get('count')||0;\ncontext.set('count',++count);\nnode.status({fill:\"green\",shape:\"ring\",text:\"count: \"+count});\nreturn msg;",
1380
+ "outputs": 1,
1381
+ "noerr": 0,
1382
+ "initialize": "",
1383
+ "finalize": "",
1384
+ "libs": [],
1385
+ "x": 600,
1386
+ "y": 100,
1054
1387
  "wires": [
1055
- [
1056
- "cc146f9a.2d96"
1057
- ]
1388
+ []
1058
1389
  ]
1059
1390
  },
1060
1391
  {
1061
- "id": "cc146f9a.2d96",
1062
- "type": "Data Analysis",
1063
- "z": "11cc261f.ec82da",
1064
- "name": "max",
1065
- "action": "max",
1066
- "outputs": 2,
1067
- "outliersStdDevs": "3",
1068
- "term": "3",
1069
- "keyProperty": "msg.topic",
1070
- "dataProperty": "msg.payload",
1071
- "dataProperties": [],
1072
- "x": 390,
1073
- "y": 40,
1392
+ "id": "dd8f915be7585f46",
1393
+ "type": "debug",
1394
+ "z": "cf804fb2.6df8c",
1395
+ "name": "debug 1",
1396
+ "active": true,
1397
+ "tosidebar": true,
1398
+ "console": false,
1399
+ "tostatus": false,
1400
+ "complete": "false",
1401
+ "statusVal": "",
1402
+ "statusType": "auto",
1403
+ "x": 580,
1404
+ "y": 160,
1405
+ "wires": []
1406
+ },
1407
+ {
1408
+ "id": "f8d6f002dbf1a0ec",
1409
+ "type": "Load Injector",
1410
+ "z": "1be03be45284f9d4",
1411
+ "name": "gen id + json",
1412
+ "thinktimemin": 1000,
1413
+ "thinktimemax": 10000,
1414
+ "runtime": 60,
1415
+ "payload": "[\"aaa\"]",
1416
+ "payloadType": "json",
1417
+ "topic": "",
1418
+ "topicType": "genid",
1419
+ "x": 130,
1420
+ "y": 140,
1074
1421
  "wires": [
1075
1422
  [
1076
- "c549c07b.bc4b9",
1077
- "1e28144c.d43d5c"
1423
+ "06a65ce9414ae1a8"
1078
1424
  ],
1079
- []
1425
+ [
1426
+ "d75971a334c97a1d"
1427
+ ]
1080
1428
  ]
1081
1429
  },
1082
1430
  {
1083
- "id": "f90f769f.41f3b8",
1431
+ "id": "d75971a334c97a1d",
1084
1432
  "type": "debug",
1085
- "z": "11cc261f.ec82da",
1086
- "name": "avg",
1433
+ "z": "1be03be45284f9d4",
1434
+ "name": "",
1087
1435
  "active": true,
1088
1436
  "tosidebar": true,
1089
1437
  "console": false,
1090
1438
  "tostatus": false,
1091
- "complete": "result",
1092
- "targetType": "msg",
1093
- "x": 610,
1094
- "y": 100,
1439
+ "complete": "true",
1440
+ "targetType": "full",
1441
+ "statusVal": "",
1442
+ "statusType": "auto",
1443
+ "x": 570,
1444
+ "y": 280,
1095
1445
  "wires": []
1096
1446
  },
1097
1447
  {
1098
- "id": "77385484.cf760c",
1099
- "type": "Data Analysis",
1100
- "z": "11cc261f.ec82da",
1101
- "name": "min",
1102
- "action": "min",
1103
- "outputs": 2,
1104
- "outliersStdDevs": "3",
1105
- "term": "3",
1106
- "keyProperty": "msg.topic",
1107
- "dataProperty": "msg.payload",
1108
- "dataProperties": [],
1109
- "x": 390,
1110
- "y": 160,
1448
+ "id": "06a65ce9414ae1a8",
1449
+ "type": "Monitor Flow",
1450
+ "z": "1be03be45284f9d4",
1451
+ "name": "",
1452
+ "x": 470,
1453
+ "y": 120,
1111
1454
  "wires": [
1112
1455
  [
1113
- "bc1f7e64.94177",
1114
- "ca5f5c59.94cd4"
1456
+ "d75971a334c97a1d"
1457
+ ]
1458
+ ]
1459
+ },
1460
+ {
1461
+ "id": "ce87d1616e851eb3",
1462
+ "type": "Load Injector",
1463
+ "z": "1be03be45284f9d4",
1464
+ "name": "timestamp+string",
1465
+ "thinktimemin": 1000,
1466
+ "thinktimemax": 10000,
1467
+ "runtime": 60,
1468
+ "payload": "abc",
1469
+ "payloadType": "str",
1470
+ "topic": "",
1471
+ "topicType": "date",
1472
+ "x": 150,
1473
+ "y": 80,
1474
+ "wires": [
1475
+ [
1476
+ "06a65ce9414ae1a8"
1115
1477
  ],
1116
- []
1478
+ [
1479
+ "d75971a334c97a1d"
1480
+ ]
1117
1481
  ]
1118
1482
  },
1119
1483
  {
1120
- "id": "bc1f7e64.94177",
1121
- "type": "Data Analysis",
1122
- "z": "11cc261f.ec82da",
1123
- "name": "median",
1124
- "action": "median",
1125
- "outputs": 2,
1126
- "outliersStdDevs": "3",
1127
- "term": "3",
1128
- "keyProperty": "msg.topic",
1129
- "dataProperty": "msg.payload",
1130
- "dataProperties": [],
1131
- "x": 400,
1132
- "y": 220,
1484
+ "id": "f92c48ed91e841ca",
1485
+ "type": "Load Injector",
1486
+ "z": "1be03be45284f9d4",
1487
+ "name": "number+boolean",
1488
+ "thinktimemin": 1000,
1489
+ "thinktimemax": 10000,
1490
+ "runtime": 60,
1491
+ "payload": "true",
1492
+ "payloadType": "bool",
1493
+ "topic": "123",
1494
+ "topicType": "num",
1495
+ "x": 130,
1496
+ "y": 200,
1133
1497
  "wires": [
1134
1498
  [
1135
- "31efbbf6.5ff994",
1136
- "e27973fe.8fcd9"
1499
+ "06a65ce9414ae1a8"
1137
1500
  ],
1138
- []
1501
+ [
1502
+ "d75971a334c97a1d"
1503
+ ]
1139
1504
  ]
1140
1505
  },
1141
1506
  {
1142
- "id": "31efbbf6.5ff994",
1143
- "type": "Data Analysis",
1144
- "z": "11cc261f.ec82da",
1145
- "name": "range",
1146
- "action": "range",
1147
- "outputs": 2,
1148
- "outliersStdDevs": "3",
1149
- "term": "3",
1150
- "keyProperty": "msg.topic",
1151
- "dataProperty": "msg.payload",
1152
- "dataProperties": [],
1153
- "x": 390,
1507
+ "id": "273e66a15fcb86aa",
1508
+ "type": "Load Injector",
1509
+ "z": "1be03be45284f9d4",
1510
+ "name": "jsondata+buffer",
1511
+ "thinktimemin": 1000,
1512
+ "thinktimemax": 10000,
1513
+ "runtime": 60,
1514
+ "payload": "[97,116,101,115,116]",
1515
+ "payloadType": "str",
1516
+ "topic": "$random()\t",
1517
+ "topicType": "str",
1518
+ "x": 120,
1154
1519
  "y": 280,
1155
1520
  "wires": [
1156
1521
  [
1157
- "d71f02b6.07e4a",
1158
- "ae37030c.743a"
1522
+ "06a65ce9414ae1a8"
1159
1523
  ],
1160
- []
1524
+ [
1525
+ "d75971a334c97a1d"
1526
+ ]
1161
1527
  ]
1162
1528
  },
1163
1529
  {
1164
- "id": "d71f02b6.07e4a",
1165
- "type": "Data Analysis",
1166
- "z": "11cc261f.ec82da",
1167
- "name": "sum",
1168
- "action": "sum",
1169
- "outputs": 2,
1170
- "outliersStdDevs": "3",
1171
- "term": "3",
1172
- "keyProperty": "msg.topic",
1173
- "dataProperty": "msg.payload",
1174
- "dataProperties": [],
1175
- "x": 390,
1176
- "y": 340,
1530
+ "id": "6282e45766a9ca96",
1531
+ "type": "Load Injector",
1532
+ "z": "1be03be45284f9d4",
1533
+ "name": "",
1534
+ "thinktimemin": 1000,
1535
+ "thinktimemax": 10000,
1536
+ "runtime": 60,
1537
+ "payload": "{\"users\":[ {{#repeat 2}}{\"id\": {{@index}}, \"name\": \"{{firstName}} {{lastName}}\", \"work\": \"{{company}}\", \"email\": \"{{email}}\", \"dob\": \"{{date '1900' '2000' 'YYYY'}}\", \"address\": \"{{int 1 100}} {{street}}\", \"city\": \"{{city}}\", \"optedin\": {{boolean}} } {{/repeat}} ], \"images\": [{{#repeat 3}} \"img{{@index}}.png\" {{/repeat}}], \"coordinates\": { \"x\": {{float -50 50 '0.00'}}, \"y\": {{float -25 25 '0.00'}} }, \"price\": \"${{int 0 99999 '0,0'}}\"}",
1538
+ "payloadType": "genDataJSON",
1539
+ "topic": "{{#repeat 3 comma=false}}hello1{{/repeat}} ",
1540
+ "topicType": "genData",
1541
+ "x": 110,
1542
+ "y": 380,
1177
1543
  "wires": [
1178
1544
  [
1179
- "5d469222.b4431c",
1180
- "8d6da6fc.ab2f48"
1545
+ "d75971a334c97a1d"
1181
1546
  ],
1182
1547
  []
1183
1548
  ]
1184
1549
  },
1185
1550
  {
1186
- "id": "ca5f5c59.94cd4",
1551
+ "id": "a2aba2377f22b1af",
1552
+ "type": "matrix",
1553
+ "z": "ae9957f07bd56e1b",
1554
+ "name": "",
1555
+ "action": "define",
1556
+ "args": [
1557
+ "rows",
1558
+ "columns",
1559
+ "dataType"
1560
+ ],
1561
+ "call": "",
1562
+ "column": "",
1563
+ "column-type": "num",
1564
+ "columns": "3",
1565
+ "columns-type": "num",
1566
+ "dataType": "Float64Array",
1567
+ "end": "",
1568
+ "end-type": "num",
1569
+ "factor": "",
1570
+ "factor-type": "num",
1571
+ "initialState": "setZero",
1572
+ "matrix": "payload",
1573
+ "matrix-type": "msg",
1574
+ "precision": 3,
1575
+ "precision-type": "num",
1576
+ "row": 3,
1577
+ "row-type": "num",
1578
+ "rows": "4",
1579
+ "rows-type": "num",
1580
+ "rowTarget": "",
1581
+ "rowTarget-type": "num",
1582
+ "source": "_matrix",
1583
+ "source-type": "msg",
1584
+ "start": "",
1585
+ "start-type": "num",
1586
+ "target": "_matrix",
1587
+ "target-type": "msg",
1588
+ "value": "payload",
1589
+ "value-type": "msg",
1590
+ "vector": "payload",
1591
+ "vector-type": "msg",
1592
+ "x": 290,
1593
+ "y": 160,
1594
+ "wires": [
1595
+ [
1596
+ "c922cee2ef7e0546"
1597
+ ],
1598
+ [
1599
+ "bbc14559e50eb44a"
1600
+ ]
1601
+ ]
1602
+ },
1603
+ {
1604
+ "id": "c922cee2ef7e0546",
1187
1605
  "type": "debug",
1188
- "z": "11cc261f.ec82da",
1189
- "name": "min",
1606
+ "z": "ae9957f07bd56e1b",
1607
+ "name": "debug 2",
1190
1608
  "active": true,
1191
1609
  "tosidebar": true,
1192
1610
  "console": false,
1193
1611
  "tostatus": false,
1194
- "complete": "result",
1195
- "targetType": "msg",
1196
- "x": 610,
1197
- "y": 160,
1612
+ "complete": "true",
1613
+ "targetType": "full",
1614
+ "statusVal": "",
1615
+ "statusType": "auto",
1616
+ "x": 540,
1617
+ "y": 140,
1198
1618
  "wires": []
1199
1619
  },
1200
1620
  {
1201
- "id": "e27973fe.8fcd9",
1621
+ "id": "bbc14559e50eb44a",
1202
1622
  "type": "debug",
1203
- "z": "11cc261f.ec82da",
1204
- "name": "median",
1623
+ "z": "ae9957f07bd56e1b",
1624
+ "name": "Error",
1205
1625
  "active": true,
1206
1626
  "tosidebar": true,
1207
1627
  "console": false,
1208
1628
  "tostatus": false,
1209
- "complete": "result",
1210
- "targetType": "msg",
1211
- "x": 620,
1212
- "y": 220,
1629
+ "complete": "true",
1630
+ "targetType": "full",
1631
+ "statusVal": "",
1632
+ "statusType": "auto",
1633
+ "x": 530,
1634
+ "y": 200,
1213
1635
  "wires": []
1214
1636
  },
1215
1637
  {
1216
- "id": "ae37030c.743a",
1217
- "type": "debug",
1218
- "z": "11cc261f.ec82da",
1219
- "name": "range",
1220
- "active": true,
1221
- "tosidebar": true,
1222
- "console": false,
1223
- "tostatus": false,
1224
- "complete": "result",
1225
- "targetType": "msg",
1226
- "x": 610,
1638
+ "id": "79292cc4355e3252",
1639
+ "type": "inject",
1640
+ "z": "ae9957f07bd56e1b",
1641
+ "name": "",
1642
+ "props": [
1643
+ {
1644
+ "p": "payload"
1645
+ },
1646
+ {
1647
+ "p": "topic",
1648
+ "vt": "str"
1649
+ }
1650
+ ],
1651
+ "repeat": "",
1652
+ "crontab": "",
1653
+ "once": false,
1654
+ "onceDelay": 0.1,
1655
+ "topic": "",
1656
+ "payload": "",
1657
+ "payloadType": "date",
1658
+ "x": 100,
1659
+ "y": 120,
1660
+ "wires": [
1661
+ [
1662
+ "a2aba2377f22b1af"
1663
+ ]
1664
+ ]
1665
+ },
1666
+ {
1667
+ "id": "b4bb7d0bf7b654d9",
1668
+ "type": "matrix",
1669
+ "z": "ae9957f07bd56e1b",
1670
+ "name": "",
1671
+ "action": "defineEmpty",
1672
+ "args": [
1673
+ "rows",
1674
+ "columns",
1675
+ "dataType"
1676
+ ],
1677
+ "call": "",
1678
+ "column": "",
1679
+ "column-type": "num",
1680
+ "columns": "2",
1681
+ "columns-type": "num",
1682
+ "dataType": "Float32Array",
1683
+ "end": "",
1684
+ "end-type": "num",
1685
+ "factor": "",
1686
+ "factor-type": "num",
1687
+ "initialState": "setZero",
1688
+ "matrix": "payload",
1689
+ "matrix-type": "msg",
1690
+ "precision": 3,
1691
+ "precision-type": "num",
1692
+ "row": 3,
1693
+ "row-type": "num",
1694
+ "rows": "3",
1695
+ "rows-type": "num",
1696
+ "rowTarget": "",
1697
+ "rowTarget-type": "num",
1698
+ "source": "_matrix",
1699
+ "source-type": "msg",
1700
+ "start": "",
1701
+ "start-type": "num",
1702
+ "target": "_matrix",
1703
+ "target-type": "msg",
1704
+ "value": "payload",
1705
+ "value-type": "msg",
1706
+ "vector": "payload",
1707
+ "vector-type": "msg",
1708
+ "x": 310,
1227
1709
  "y": 260,
1228
- "wires": []
1710
+ "wires": [
1711
+ [
1712
+ "c922cee2ef7e0546"
1713
+ ],
1714
+ [
1715
+ "bbc14559e50eb44a"
1716
+ ]
1717
+ ]
1229
1718
  },
1230
1719
  {
1231
- "id": "5d469222.b4431c",
1232
- "type": "debug",
1233
- "z": "11cc261f.ec82da",
1234
- "name": "sum",
1235
- "active": true,
1236
- "tosidebar": true,
1237
- "console": false,
1238
- "tostatus": false,
1239
- "complete": "result",
1240
- "targetType": "msg",
1241
- "x": 610,
1242
- "y": 300,
1243
- "wires": []
1720
+ "id": "0da6adfb6026f53b",
1721
+ "type": "inject",
1722
+ "z": "ae9957f07bd56e1b",
1723
+ "name": "",
1724
+ "props": [
1725
+ {
1726
+ "p": "payload"
1727
+ },
1728
+ {
1729
+ "p": "topic",
1730
+ "vt": "str"
1731
+ }
1732
+ ],
1733
+ "repeat": "",
1734
+ "crontab": "",
1735
+ "once": false,
1736
+ "onceDelay": 0.1,
1737
+ "topic": "",
1738
+ "payload": "",
1739
+ "payloadType": "date",
1740
+ "x": 100,
1741
+ "y": 260,
1742
+ "wires": [
1743
+ [
1744
+ "b4bb7d0bf7b654d9"
1745
+ ]
1746
+ ]
1244
1747
  },
1245
1748
  {
1246
- "id": "8d6da6fc.ab2f48",
1247
- "type": "Data Analysis",
1248
- "z": "11cc261f.ec82da",
1249
- "name": "variance",
1250
- "action": "variance",
1251
- "outputs": 2,
1252
- "outliersStdDevs": "3",
1253
- "term": "3",
1254
- "keyProperty": "msg.topic",
1255
- "dataProperty": "msg.payload",
1256
- "dataProperties": [],
1257
- "x": 400,
1258
- "y": 400,
1749
+ "id": "a7479251a3e14f81",
1750
+ "type": "matrix",
1751
+ "z": "ae9957f07bd56e1b",
1752
+ "name": "",
1753
+ "action": "create",
1754
+ "args": [
1755
+ "initialState",
1756
+ "rows",
1757
+ "columns"
1758
+ ],
1759
+ "call": "",
1760
+ "column": "",
1761
+ "column-type": "num",
1762
+ "columns": "2",
1763
+ "columns-type": "num",
1764
+ "end": "",
1765
+ "end-type": "num",
1766
+ "factor": "",
1767
+ "factor-type": "num",
1768
+ "initialState": "setZero",
1769
+ "matrix": "payload",
1770
+ "matrix-type": "msg",
1771
+ "precision": 3,
1772
+ "precision-type": "num",
1773
+ "row": 3,
1774
+ "row-type": "num",
1775
+ "rows": "3",
1776
+ "rows-type": "num",
1777
+ "rowTarget": "",
1778
+ "rowTarget-type": "num",
1779
+ "source": "payload",
1780
+ "source-type": "msg",
1781
+ "sourceArray": "[[1,2],[3,4],[5.6]]",
1782
+ "sourceArray-type": "json",
1783
+ "start": "",
1784
+ "start-type": "num",
1785
+ "target": "_matrix",
1786
+ "target-type": "msg",
1787
+ "value": "payload",
1788
+ "value-type": "msg",
1789
+ "vector": "payload",
1790
+ "vector-type": "msg",
1791
+ "x": 310,
1792
+ "y": 340,
1259
1793
  "wires": [
1260
1794
  [
1261
- "80a318a1.8fe578",
1262
- "e2cf5bf2.9c23e8"
1795
+ "c922cee2ef7e0546"
1263
1796
  ],
1264
- []
1797
+ [
1798
+ "bbc14559e50eb44a"
1799
+ ]
1265
1800
  ]
1266
1801
  },
1267
1802
  {
1268
- "id": "80a318a1.8fe578",
1269
- "type": "Data Analysis",
1270
- "z": "11cc261f.ec82da",
1271
- "name": "stdDev",
1272
- "action": "stdDev",
1273
- "outputs": 3,
1274
- "term": "3",
1275
- "keyProperty": "",
1276
- "dataProperty": "",
1277
- "dataProperties": [],
1278
- "x": 400,
1279
- "y": 460,
1803
+ "id": "1df55e5fc034db0a",
1804
+ "type": "inject",
1805
+ "z": "ae9957f07bd56e1b",
1806
+ "name": "",
1807
+ "props": [
1808
+ {
1809
+ "p": "payload"
1810
+ },
1811
+ {
1812
+ "p": "topic",
1813
+ "vt": "str"
1814
+ }
1815
+ ],
1816
+ "repeat": "",
1817
+ "crontab": "",
1818
+ "once": false,
1819
+ "onceDelay": 0.1,
1820
+ "topic": "",
1821
+ "payload": "",
1822
+ "payloadType": "date",
1823
+ "x": 140,
1824
+ "y": 340,
1280
1825
  "wires": [
1281
1826
  [
1282
- "9b53372d.9fcc28",
1283
- "e26ac738.0ac368"
1827
+ "a7479251a3e14f81"
1828
+ ]
1829
+ ]
1830
+ },
1831
+ {
1832
+ "id": "25c0c8c9e94083e0",
1833
+ "type": "test",
1834
+ "z": "ae9957f07bd56e1b",
1835
+ "name": "test idenity create",
1836
+ "errorFactor": 0,
1837
+ "escapeString": false,
1838
+ "infiniteIsNull": false,
1839
+ "payload": "",
1840
+ "payloadType": "date",
1841
+ "result": "$boolean(msg._matrix.toArray()=[[1,0],[0,1]])",
1842
+ "resultType": "jsonata",
1843
+ "resultProperty": "msg.payload",
1844
+ "topic": "",
1845
+ "x": 170,
1846
+ "y": 480,
1847
+ "wires": [
1848
+ [
1849
+ "a0c8377d534977a2"
1850
+ ],
1851
+ [
1852
+ "bbc14559e50eb44a"
1284
1853
  ],
1285
- [],
1286
1854
  []
1287
1855
  ]
1288
1856
  },
1289
1857
  {
1290
- "id": "9b53372d.9fcc28",
1291
- "type": "Data Analysis",
1292
- "z": "11cc261f.ec82da",
1293
- "name": "skew",
1294
- "action": "skew",
1295
- "outputs": 2,
1296
- "outliersStdDevs": "3",
1297
- "term": "3",
1298
- "keyProperty": "msg.topic",
1299
- "dataProperty": "msg.payload",
1300
- "dataProperties": [],
1301
- "x": 390,
1302
- "y": 520,
1858
+ "id": "a0c8377d534977a2",
1859
+ "type": "matrix",
1860
+ "z": "ae9957f07bd56e1b",
1861
+ "name": "",
1862
+ "action": "create",
1863
+ "args": [
1864
+ "initialState",
1865
+ "rows",
1866
+ "columns",
1867
+ "dataType"
1868
+ ],
1869
+ "call": "",
1870
+ "column": "",
1871
+ "column-type": "num",
1872
+ "columns": "2",
1873
+ "columns-type": "num",
1874
+ "dataType": "Float32Array",
1875
+ "end": "",
1876
+ "end-type": "num",
1877
+ "factor": "",
1878
+ "factor-type": "num",
1879
+ "initialState": "setIdentity",
1880
+ "matrix": "payload",
1881
+ "matrix-type": "msg",
1882
+ "precision": 3,
1883
+ "precision-type": "num",
1884
+ "row": 3,
1885
+ "row-type": "num",
1886
+ "rows": "2",
1887
+ "rows-type": "num",
1888
+ "rowTarget": "",
1889
+ "rowTarget-type": "num",
1890
+ "source": "_matrix",
1891
+ "source-type": "msg",
1892
+ "sourceArray": "payload",
1893
+ "sourceArray-type": "msg,json,flow,global",
1894
+ "start": "",
1895
+ "start-type": "num",
1896
+ "target": "_matrix",
1897
+ "target-type": "msg",
1898
+ "value": "payload",
1899
+ "value-type": "msg",
1900
+ "vector": "payload",
1901
+ "vector-type": "msg",
1902
+ "x": 430,
1903
+ "y": 480,
1303
1904
  "wires": [
1304
1905
  [
1305
- "838e4106.d42d1",
1306
- "3b9f8cb5.bad514"
1906
+ "25c0c8c9e94083e0"
1307
1907
  ],
1308
1908
  []
1309
1909
  ]
1310
1910
  },
1311
1911
  {
1312
- "id": "e2cf5bf2.9c23e8",
1313
- "type": "debug",
1314
- "z": "11cc261f.ec82da",
1315
- "name": "variance",
1316
- "active": true,
1317
- "tosidebar": true,
1318
- "console": false,
1319
- "tostatus": false,
1320
- "complete": "result",
1321
- "targetType": "msg",
1322
- "x": 620,
1323
- "y": 340,
1324
- "wires": []
1912
+ "id": "c4e5d98c.1db6f8",
1913
+ "type": "Monitor Flow",
1914
+ "z": "fcc005d5.131ee8",
1915
+ "name": "",
1916
+ "x": 370,
1917
+ "y": 60,
1918
+ "wires": [
1919
+ []
1920
+ ]
1325
1921
  },
1326
1922
  {
1327
- "id": "e26ac738.0ac368",
1328
- "type": "debug",
1329
- "z": "11cc261f.ec82da",
1330
- "name": "stdDev",
1331
- "active": true,
1332
- "tosidebar": true,
1333
- "console": false,
1334
- "tostatus": false,
1335
- "complete": "result",
1336
- "targetType": "msg",
1337
- "x": 620,
1338
- "y": 380,
1339
- "wires": []
1923
+ "id": "6985d392.2b65ac",
1924
+ "type": "Load Injector",
1925
+ "z": "fcc005d5.131ee8",
1926
+ "name": "",
1927
+ "thinktimemin": 1000,
1928
+ "thinktimemax": 10000,
1929
+ "runtime": 60,
1930
+ "payload": "",
1931
+ "payloadType": "date",
1932
+ "x": 150,
1933
+ "y": 60,
1934
+ "wires": [
1935
+ [
1936
+ "c4e5d98c.1db6f8"
1937
+ ],
1938
+ []
1939
+ ]
1940
+ },
1941
+ {
1942
+ "id": "c1d0d1b5be0f10d4",
1943
+ "type": "Monitor System",
1944
+ "z": "0ff935c8a42f26ae",
1945
+ "name": "",
1946
+ "metrics": "gaugeMemory,resourceUsage,chartLineResource",
1947
+ "x": 180,
1948
+ "y": 240,
1949
+ "wires": [
1950
+ []
1951
+ ]
1340
1952
  },
1341
1953
  {
1342
- "id": "838e4106.d42d1",
1343
- "type": "debug",
1344
- "z": "11cc261f.ec82da",
1345
- "name": "skew",
1346
- "active": true,
1347
- "tosidebar": true,
1348
- "console": false,
1349
- "tostatus": false,
1350
- "complete": "result",
1351
- "targetType": "msg",
1352
- "x": 630,
1353
- "y": 520,
1354
- "wires": []
1954
+ "id": "ac811c5f2be19993",
1955
+ "type": "Monitor System",
1956
+ "z": "0ff935c8a42f26ae",
1957
+ "name": "",
1958
+ "metrics": "freeMemory,totalMemory,chartMemoryUsage",
1959
+ "graphs": null,
1960
+ "x": 600,
1961
+ "y": 180,
1962
+ "wires": [
1963
+ []
1964
+ ]
1355
1965
  },
1356
1966
  {
1357
- "id": "3b9f8cb5.bad514",
1358
- "type": "Data Analysis",
1359
- "z": "11cc261f.ec82da",
1360
- "name": "movingAvgCumulative",
1361
- "action": "movingAvgCumulative",
1362
- "outputs": 2,
1363
- "outliersStdDevs": "3",
1364
- "term": "3",
1365
- "keyProperty": "msg.topic",
1366
- "dataProperty": "msg.payload",
1367
- "dataProperties": [],
1368
- "x": 420,
1369
- "y": 580,
1967
+ "id": "f9d9fffe.9c0d6",
1968
+ "type": "os",
1969
+ "z": "fa243279.4dbe9",
1970
+ "name": "",
1971
+ "property": "arch",
1972
+ "x": 270,
1973
+ "y": 40,
1370
1974
  "wires": [
1371
1975
  [
1372
- "ac835c8.491cba",
1373
- "64eb625e.2303fc"
1976
+ "258d203c.af111"
1374
1977
  ],
1375
1978
  []
1376
1979
  ]
1377
1980
  },
1378
1981
  {
1379
- "id": "ac835c8.491cba",
1380
- "type": "debug",
1381
- "z": "11cc261f.ec82da",
1382
- "name": "movingAvgCumulative",
1383
- "active": true,
1384
- "tosidebar": true,
1385
- "console": false,
1386
- "tostatus": false,
1387
- "complete": "result",
1388
- "targetType": "msg",
1389
- "x": 660,
1390
- "y": 580,
1391
- "wires": []
1392
- },
1393
- {
1394
- "id": "40e08530.b2fc2c",
1982
+ "id": "258d203c.af111",
1395
1983
  "type": "debug",
1396
- "z": "11cc261f.ec82da",
1397
- "name": "movingAvgSimple",
1984
+ "z": "fa243279.4dbe9",
1985
+ "name": "os out",
1398
1986
  "active": true,
1399
1987
  "tosidebar": true,
1400
1988
  "console": false,
1401
1989
  "tostatus": false,
1402
- "complete": "result",
1990
+ "complete": "payload",
1403
1991
  "targetType": "msg",
1404
- "x": 650,
1405
- "y": 620,
1992
+ "x": 590,
1993
+ "y": 400,
1406
1994
  "wires": []
1407
1995
  },
1408
1996
  {
1409
- "id": "64eb625e.2303fc",
1410
- "type": "Data Analysis",
1411
- "z": "11cc261f.ec82da",
1412
- "name": "movingAvgSimple",
1413
- "action": "movingAvgSimple",
1414
- "outputs": 2,
1415
- "outliersStdDevs": "3",
1416
- "term": "3",
1417
- "keyProperty": "msg.topic",
1418
- "dataProperty": "msg.payload",
1419
- "dataProperties": [],
1420
- "x": 410,
1421
- "y": 640,
1422
- "wires": [
1423
- [
1424
- "40e08530.b2fc2c",
1425
- "c37806d2.a5c5f8"
1426
- ],
1427
- []
1428
- ]
1429
- },
1430
- {
1431
- "id": "96fa5b66.4c61b8",
1997
+ "id": "b612d0d4.d6af9",
1432
1998
  "type": "inject",
1433
- "z": "11cc261f.ec82da",
1434
- "name": "[1]",
1999
+ "z": "fa243279.4dbe9",
2000
+ "name": "",
1435
2001
  "repeat": "",
1436
2002
  "crontab": "",
1437
2003
  "once": false,
1438
2004
  "onceDelay": 0.1,
1439
2005
  "topic": "",
1440
- "payload": "[1]",
1441
- "payloadType": "json",
1442
- "x": 110,
1443
- "y": 260,
2006
+ "payload": "",
2007
+ "payloadType": "date",
2008
+ "x": 100,
2009
+ "y": 320,
1444
2010
  "wires": [
1445
2011
  [
1446
- "cc146f9a.2d96"
2012
+ "f9d9fffe.9c0d6",
2013
+ "af14ce79.67da1",
2014
+ "7b9e7709.a1a058",
2015
+ "7e143a9e.eb16b4",
2016
+ "b9995178.6ca31",
2017
+ "a572aac6.59d2e8",
2018
+ "10bea419.99e54c",
2019
+ "98a73c5b.3e298",
2020
+ "a0b1d851.af5698",
2021
+ "9d89654b.a1b158",
2022
+ "3fb37e05.d807c2",
2023
+ "93e4f264.298b8",
2024
+ "44e0bbd2.29e2b4",
2025
+ "867824a3.7194d8",
2026
+ "d49cda2c.33ab88",
2027
+ "7bd65c52.e940d4",
2028
+ "e242c49a.2de7e8",
2029
+ "fe9cdcce.1175"
1447
2030
  ]
1448
2031
  ]
1449
2032
  },
1450
2033
  {
1451
- "id": "3cb6979e.12f878",
1452
- "type": "Data Analysis",
1453
- "z": "11cc261f.ec82da",
1454
- "name": "movingAvgExponential",
1455
- "action": "movingAvgExponential",
1456
- "outputs": 2,
1457
- "outliersStdDevs": "3",
1458
- "term": "0.5",
1459
- "keyProperty": "msg.topic",
1460
- "dataProperty": "msg.payload",
1461
- "dataProperties": [],
1462
- "x": 420,
1463
- "y": 760,
2034
+ "id": "af14ce79.67da1",
2035
+ "type": "os",
2036
+ "z": "fa243279.4dbe9",
2037
+ "name": "",
2038
+ "property": "EOL",
2039
+ "x": 270,
2040
+ "y": 80,
1464
2041
  "wires": [
1465
2042
  [
1466
- "8ce2398a.805488",
1467
- "b13dd76e.d59c48"
2043
+ "258d203c.af111"
1468
2044
  ],
1469
2045
  []
1470
2046
  ]
1471
2047
  },
1472
2048
  {
1473
- "id": "c37806d2.a5c5f8",
1474
- "type": "Data Analysis",
1475
- "z": "11cc261f.ec82da",
1476
- "name": "movingAvgWeighted",
1477
- "action": "movingAvgWeighted",
1478
- "outputs": 2,
1479
- "outliersStdDevs": "3",
1480
- "term": "3",
1481
- "keyProperty": "msg.topic",
1482
- "dataProperty": "msg.payload",
1483
- "dataProperties": [],
1484
- "x": 420,
1485
- "y": 700,
2049
+ "id": "7b9e7709.a1a058",
2050
+ "type": "os",
2051
+ "z": "fa243279.4dbe9",
2052
+ "name": "",
2053
+ "property": "constants",
2054
+ "x": 280,
2055
+ "y": 120,
1486
2056
  "wires": [
1487
2057
  [
1488
- "3cb6979e.12f878",
1489
- "8a9c80eb.1a406"
2058
+ "258d203c.af111"
1490
2059
  ],
1491
2060
  []
1492
2061
  ]
1493
2062
  },
1494
2063
  {
1495
- "id": "8a9c80eb.1a406",
1496
- "type": "debug",
1497
- "z": "11cc261f.ec82da",
1498
- "name": "movingAvgWeighted",
1499
- "active": true,
1500
- "tosidebar": true,
1501
- "console": false,
1502
- "tostatus": false,
1503
- "complete": "result",
1504
- "targetType": "msg",
1505
- "x": 680,
1506
- "y": 700,
1507
- "wires": []
2064
+ "id": "7e143a9e.eb16b4",
2065
+ "type": "os",
2066
+ "z": "fa243279.4dbe9",
2067
+ "name": "",
2068
+ "property": "cpus",
2069
+ "x": 270,
2070
+ "y": 160,
2071
+ "wires": [
2072
+ [
2073
+ "258d203c.af111"
2074
+ ],
2075
+ []
2076
+ ]
1508
2077
  },
1509
2078
  {
1510
- "id": "8ce2398a.805488",
1511
- "type": "debug",
1512
- "z": "11cc261f.ec82da",
1513
- "name": "movingAvgExponential",
1514
- "active": true,
1515
- "tosidebar": true,
1516
- "console": false,
1517
- "tostatus": false,
1518
- "complete": "result",
1519
- "targetType": "msg",
1520
- "x": 680,
1521
- "y": 760,
1522
- "wires": []
2079
+ "id": "b9995178.6ca31",
2080
+ "type": "os",
2081
+ "z": "fa243279.4dbe9",
2082
+ "name": "",
2083
+ "property": "endianness",
2084
+ "x": 290,
2085
+ "y": 200,
2086
+ "wires": [
2087
+ [
2088
+ "258d203c.af111"
2089
+ ],
2090
+ []
2091
+ ]
1523
2092
  },
1524
2093
  {
1525
- "id": "b13dd76e.d59c48",
1526
- "type": "Data Analysis",
1527
- "z": "11cc261f.ec82da",
1528
- "name": "deltas",
1529
- "action": "deltas",
1530
- "outputs": 2,
1531
- "outliersStdDevs": "3",
1532
- "term": "3",
1533
- "keyProperty": "msg.topic",
1534
- "dataProperty": "msg.payload",
1535
- "dataProperties": [],
1536
- "x": 370,
1537
- "y": 820,
2094
+ "id": "a572aac6.59d2e8",
2095
+ "type": "os",
2096
+ "z": "fa243279.4dbe9",
2097
+ "name": "",
2098
+ "property": "freemem",
2099
+ "x": 280,
2100
+ "y": 240,
1538
2101
  "wires": [
1539
2102
  [
1540
- "8706b576.2b83e8",
1541
- "853dbd38.70d92"
2103
+ "258d203c.af111"
1542
2104
  ],
1543
2105
  []
1544
2106
  ]
1545
2107
  },
1546
2108
  {
1547
- "id": "8706b576.2b83e8",
1548
- "type": "debug",
1549
- "z": "11cc261f.ec82da",
1550
- "name": "deltas",
1551
- "active": true,
1552
- "tosidebar": true,
1553
- "console": false,
1554
- "tostatus": false,
1555
- "complete": "result",
1556
- "targetType": "msg",
1557
- "x": 630,
1558
- "y": 820,
1559
- "wires": []
1560
- },
1561
- {
1562
- "id": "3b8b4e1c.24e322",
1563
- "type": "inject",
1564
- "z": "11cc261f.ec82da",
1565
- "name": "[8,4,5,3,2,1]",
1566
- "repeat": "",
1567
- "crontab": "",
1568
- "once": false,
1569
- "onceDelay": 0.1,
1570
- "topic": "",
1571
- "payload": "[8,4,5,3,2,1]",
1572
- "payloadType": "json",
1573
- "x": 130,
1574
- "y": 320,
2109
+ "id": "10bea419.99e54c",
2110
+ "type": "os",
2111
+ "z": "fa243279.4dbe9",
2112
+ "name": "",
2113
+ "property": "getPriority",
2114
+ "x": 280,
2115
+ "y": 280,
1575
2116
  "wires": [
1576
2117
  [
1577
- "cc146f9a.2d96"
1578
- ]
2118
+ "258d203c.af111"
2119
+ ],
2120
+ []
1579
2121
  ]
1580
2122
  },
1581
2123
  {
1582
- "id": "254df734.5b5628",
1583
- "type": "debug",
1584
- "z": "11cc261f.ec82da",
1585
- "name": "deltaNormalised",
1586
- "active": true,
1587
- "tosidebar": true,
1588
- "console": false,
1589
- "tostatus": false,
1590
- "complete": "result",
1591
- "targetType": "msg",
1592
- "x": 640,
1593
- "y": 880,
1594
- "wires": []
1595
- },
1596
- {
1597
- "id": "853dbd38.70d92",
1598
- "type": "Data Analysis",
1599
- "z": "11cc261f.ec82da",
1600
- "name": "deltaNormalised",
1601
- "action": "deltaNormalised",
1602
- "columns": "",
1603
- "outputs": 2,
1604
- "outliersStdDevs": "3",
1605
- "term": "3",
1606
- "keyProperty": "msg.topic",
1607
- "dataProperty": "msg.payload",
1608
- "dataProperties": [],
1609
- "x": 400,
1610
- "y": 880,
2124
+ "id": "98a73c5b.3e298",
2125
+ "type": "os",
2126
+ "z": "fa243279.4dbe9",
2127
+ "name": "",
2128
+ "property": "homedir",
2129
+ "x": 280,
2130
+ "y": 320,
1611
2131
  "wires": [
1612
2132
  [
1613
- "254df734.5b5628",
1614
- "369bed28.8f2102"
2133
+ "258d203c.af111"
1615
2134
  ],
1616
2135
  []
1617
2136
  ]
1618
2137
  },
1619
2138
  {
1620
- "id": "6b313397.1721dc",
1621
- "type": "debug",
1622
- "z": "11cc261f.ec82da",
1623
- "name": "normalise",
1624
- "active": true,
1625
- "tosidebar": true,
1626
- "console": false,
1627
- "tostatus": false,
1628
- "complete": "result",
1629
- "targetType": "msg",
1630
- "x": 620,
1631
- "y": 940,
1632
- "wires": []
1633
- },
1634
- {
1635
- "id": "ce485240.bb0fa",
1636
- "type": "debug",
1637
- "z": "11cc261f.ec82da",
1638
- "name": "standardization",
1639
- "active": true,
1640
- "tosidebar": true,
1641
- "console": false,
1642
- "tostatus": false,
1643
- "complete": "result",
1644
- "targetType": "msg",
1645
- "statusVal": "",
1646
- "statusType": "auto",
1647
- "x": 640,
1648
- "y": 1000,
1649
- "wires": []
1650
- },
1651
- {
1652
- "id": "369bed28.8f2102",
1653
- "type": "Data Analysis",
1654
- "z": "11cc261f.ec82da",
1655
- "name": "normalise",
1656
- "action": "normalize",
1657
- "outputs": 2,
1658
- "outliersStdDevs": "3",
1659
- "term": "3",
1660
- "keyProperty": "msg.topic",
1661
- "dataProperty": "msg.payload",
1662
- "dataProperties": [],
1663
- "x": 380,
1664
- "y": 940,
2139
+ "id": "a0b1d851.af5698",
2140
+ "type": "os",
2141
+ "z": "fa243279.4dbe9",
2142
+ "name": "",
2143
+ "property": "hostname",
2144
+ "x": 280,
2145
+ "y": 360,
1665
2146
  "wires": [
1666
2147
  [
1667
- "6b313397.1721dc",
1668
- "b9c0be7.93f5b4"
2148
+ "258d203c.af111"
1669
2149
  ],
1670
2150
  []
1671
2151
  ]
1672
2152
  },
1673
2153
  {
1674
- "id": "b9c0be7.93f5b4",
1675
- "type": "Data Analysis",
1676
- "z": "11cc261f.ec82da",
1677
- "name": "standardization",
1678
- "action": "standardize",
1679
- "columns": "",
1680
- "outputs": 2,
1681
- "outliersStdDevs": "3",
1682
- "term": "3",
1683
- "keyProperty": "msg.topic",
1684
- "dataProperty": "msg.payload",
1685
- "dataProperties": [],
1686
- "x": 400,
1687
- "y": 1000,
2154
+ "id": "9d89654b.a1b158",
2155
+ "type": "os",
2156
+ "z": "fa243279.4dbe9",
2157
+ "name": "",
2158
+ "property": "loadavg",
2159
+ "x": 280,
2160
+ "y": 400,
1688
2161
  "wires": [
1689
2162
  [
1690
- "ce485240.bb0fa",
1691
- "1ffd982aa6657013"
2163
+ "258d203c.af111"
1692
2164
  ],
1693
2165
  []
1694
2166
  ]
1695
2167
  },
1696
2168
  {
1697
- "id": "1dd23162.47096f",
1698
- "type": "Data Analysis",
1699
- "z": "11cc261f.ec82da",
2169
+ "id": "3fb37e05.d807c2",
2170
+ "type": "os",
2171
+ "z": "fa243279.4dbe9",
1700
2172
  "name": "",
1701
- "action": "min",
1702
- "outputs": 2,
1703
- "outliersStdDevs": "3",
1704
- "term": "3",
1705
- "keyProperty": "msg.topic",
1706
- "dataProperty": "msg.payload.data",
1707
- "dataProperties": [],
1708
- "x": 1140,
1709
- "y": 40,
2173
+ "property": "networkInterfaces",
2174
+ "x": 310,
2175
+ "y": 440,
1710
2176
  "wires": [
1711
2177
  [
1712
- "89fa71fb.d157d"
2178
+ "258d203c.af111"
1713
2179
  ],
1714
2180
  []
1715
2181
  ]
1716
2182
  },
1717
2183
  {
1718
- "id": "89fa71fb.d157d",
1719
- "type": "test",
1720
- "z": "11cc261f.ec82da",
2184
+ "id": "93e4f264.298b8",
2185
+ "type": "os",
2186
+ "z": "fa243279.4dbe9",
1721
2187
  "name": "",
1722
- "payload": "{\"data\":[1,2,3]}",
1723
- "payloadType": "json",
1724
- "result": "1",
1725
- "resultType": "num",
1726
- "resultProperty": "msg.result",
1727
- "topic": "",
1728
- "x": 870,
1729
- "y": 40,
2188
+ "property": "release",
2189
+ "x": 280,
2190
+ "y": 480,
1730
2191
  "wires": [
1731
2192
  [
1732
- "1dd23162.47096f"
2193
+ "258d203c.af111"
1733
2194
  ],
1734
- [],
1735
2195
  []
1736
2196
  ]
1737
2197
  },
1738
2198
  {
1739
- "id": "1ffd982aa6657013",
1740
- "type": "Data Analysis",
1741
- "z": "11cc261f.ec82da",
1742
- "name": "difference",
1743
- "action": "difference",
1744
- "columns": "",
1745
- "outputs": 2,
1746
- "outliersBase": "avg",
1747
- "outliersStdDevs": "3",
1748
- "term": "10",
1749
- "keyProperty": "msg.topic",
1750
- "dataProperty": "msg.payload",
1751
- "dataProperties": [
1752
- "msg.payload[0]",
1753
- "msg.payload[1]"
1754
- ],
1755
- "x": 380,
1756
- "y": 1060,
2199
+ "id": "44e0bbd2.29e2b4",
2200
+ "type": "os",
2201
+ "z": "fa243279.4dbe9",
2202
+ "name": "",
2203
+ "property": "setPriority",
2204
+ "x": 280,
2205
+ "y": 520,
1757
2206
  "wires": [
2207
+ [],
1758
2208
  [
1759
- "41453a54a3914a81"
1760
- ],
1761
- []
2209
+ "9257111d.7fb72"
2210
+ ]
1762
2211
  ]
1763
2212
  },
1764
2213
  {
1765
- "id": "41453a54a3914a81",
1766
- "type": "Data Analysis",
1767
- "z": "11cc261f.ec82da",
1768
- "name": "difference seasonal",
1769
- "action": "differenceSeasonal",
1770
- "columns": "",
1771
- "lag": "2",
1772
- "outputs": 2,
1773
- "outliersBase": "avg",
1774
- "outliersStdDevs": "3",
1775
- "term": "10",
1776
- "keyProperty": "msg.topic",
1777
- "dataProperty": "msg.payload",
1778
- "dataProperties": [
1779
- "msg.payload[0]",
1780
- "msg.payload[1]"
1781
- ],
1782
- "x": 410,
1783
- "y": 1120,
2214
+ "id": "867824a3.7194d8",
2215
+ "type": "os",
2216
+ "z": "fa243279.4dbe9",
2217
+ "name": "",
2218
+ "property": "tmpdir",
2219
+ "x": 270,
2220
+ "y": 560,
1784
2221
  "wires": [
1785
2222
  [
1786
- "25c998531bce6e6b"
2223
+ "258d203c.af111"
1787
2224
  ],
1788
2225
  []
1789
2226
  ]
1790
2227
  },
1791
2228
  {
1792
- "id": "25c998531bce6e6b",
1793
- "type": "Data Analysis",
1794
- "z": "11cc261f.ec82da",
1795
- "name": "diifference second order",
1796
- "action": "differenceSecondOrder",
1797
- "columns": "",
1798
- "lag": "1",
1799
- "outputs": 2,
1800
- "outliersBase": "avg",
1801
- "outliersStdDevs": "3",
1802
- "term": "10",
1803
- "keyProperty": "msg.topic",
1804
- "dataProperty": "msg.payload",
1805
- "dataProperties": [
1806
- "msg.payload[0]",
1807
- "msg.payload[1]"
1808
- ],
1809
- "x": 430,
1810
- "y": 1180,
2229
+ "id": "d49cda2c.33ab88",
2230
+ "type": "os",
2231
+ "z": "fa243279.4dbe9",
2232
+ "name": "",
2233
+ "property": "totalmem",
2234
+ "x": 280,
2235
+ "y": 600,
1811
2236
  "wires": [
1812
2237
  [
1813
- "3b47871eb15d2f72"
2238
+ "258d203c.af111"
1814
2239
  ],
1815
2240
  []
1816
2241
  ]
1817
2242
  },
1818
2243
  {
1819
- "id": "3b47871eb15d2f72",
1820
- "type": "Data Analysis",
1821
- "z": "11cc261f.ec82da",
1822
- "name": "difference seasonal second order",
1823
- "action": "differenceSeasonalSecondOrder",
1824
- "columns": "",
1825
- "lag": "2",
1826
- "outputs": 2,
1827
- "outliersBase": "avg",
1828
- "outliersStdDevs": "3",
1829
- "term": "10",
1830
- "keyProperty": "msg.topic",
1831
- "dataProperty": "msg.payload",
1832
- "dataProperties": [
1833
- "msg.payload[0]",
1834
- "msg.payload[1]"
1835
- ],
1836
- "x": 460,
1837
- "y": 1240,
2244
+ "id": "7bd65c52.e940d4",
2245
+ "type": "os",
2246
+ "z": "fa243279.4dbe9",
2247
+ "name": "",
2248
+ "property": "type",
2249
+ "x": 270,
2250
+ "y": 640,
1838
2251
  "wires": [
1839
- [],
2252
+ [
2253
+ "258d203c.af111"
2254
+ ],
1840
2255
  []
1841
2256
  ]
1842
2257
  },
1843
2258
  {
1844
- "id": "a749368e.985a18",
1845
- "type": "Data Analysis",
1846
- "z": "cf595649.931658",
2259
+ "id": "e242c49a.2de7e8",
2260
+ "type": "os",
2261
+ "z": "fa243279.4dbe9",
1847
2262
  "name": "",
1848
- "action": "realtime",
1849
- "outputs": 3,
1850
- "outliersBase": "avg",
1851
- "outliersStdDevs": "2",
1852
- "term": "3",
1853
- "keyProperty": "msg.payload.assignedColor",
1854
- "dataProperty": "msg.payload.salary",
1855
- "dataProperties": [],
1856
- "x": 437,
1857
- "y": 80,
2263
+ "property": "uptime",
2264
+ "x": 270,
2265
+ "y": 680,
1858
2266
  "wires": [
1859
- [],
1860
2267
  [
1861
- "a6cd6306.a217c"
2268
+ "258d203c.af111"
1862
2269
  ],
2270
+ []
2271
+ ]
2272
+ },
2273
+ {
2274
+ "id": "fe9cdcce.1175",
2275
+ "type": "os",
2276
+ "z": "fa243279.4dbe9",
2277
+ "name": "",
2278
+ "property": "userInfo",
2279
+ "x": 280,
2280
+ "y": 720,
2281
+ "wires": [
1863
2282
  [
1864
- "a37e4b57.2a7778"
1865
- ]
2283
+ "258d203c.af111"
2284
+ ],
2285
+ []
1866
2286
  ]
1867
2287
  },
1868
2288
  {
1869
- "id": "a6cd6306.a217c",
2289
+ "id": "9257111d.7fb72",
1870
2290
  "type": "debug",
1871
- "z": "cf595649.931658",
1872
- "name": "realtime",
2291
+ "z": "fa243279.4dbe9",
2292
+ "name": "error",
1873
2293
  "active": true,
1874
2294
  "tosidebar": true,
1875
2295
  "console": false,
1876
2296
  "tostatus": false,
1877
- "complete": "result",
1878
- "targetType": "msg",
1879
- "x": 680,
1880
- "y": 120,
2297
+ "complete": "true",
2298
+ "targetType": "full",
2299
+ "x": 580,
2300
+ "y": 480,
1881
2301
  "wires": []
1882
2302
  },
1883
2303
  {
1884
- "id": "62f3c2c7.8c3b7c",
2304
+ "id": "17012eaf.209341",
2305
+ "type": "debug",
2306
+ "z": "22109ce1.cdbde4",
2307
+ "name": "ok",
2308
+ "active": true,
2309
+ "tosidebar": true,
2310
+ "console": false,
2311
+ "tostatus": false,
2312
+ "complete": "true",
2313
+ "targetType": "full",
2314
+ "x": 590,
2315
+ "y": 60,
2316
+ "wires": []
2317
+ },
2318
+ {
2319
+ "id": "44f9d218.ea49bc",
1885
2320
  "type": "inject",
1886
- "z": "cf595649.931658",
1887
- "name": "@stats",
2321
+ "z": "22109ce1.cdbde4",
2322
+ "name": "",
1888
2323
  "repeat": "",
1889
2324
  "crontab": "",
1890
2325
  "once": false,
1891
2326
  "onceDelay": 0.1,
1892
- "topic": "@stats",
2327
+ "topic": "start",
1893
2328
  "payload": "",
1894
2329
  "payloadType": "date",
1895
- "x": 150,
1896
- "y": 200,
2330
+ "x": 160,
2331
+ "y": 120,
1897
2332
  "wires": [
1898
2333
  [
1899
- "a749368e.985a18",
1900
- "770e1ad6.5fe4f4"
2334
+ "4d7e523d.bf906c",
2335
+ "b3595576.0a49a8",
2336
+ "1ae819ca.83db56",
2337
+ "c72d83e4.f9c84"
1901
2338
  ]
1902
2339
  ]
1903
2340
  },
1904
2341
  {
1905
- "id": "7f16af76.d1c2b",
1906
- "type": "Load Injector",
1907
- "z": "cf595649.931658",
2342
+ "id": "4d7e523d.bf906c",
2343
+ "type": "Spawn Process",
2344
+ "z": "22109ce1.cdbde4",
1908
2345
  "name": "",
1909
- "thinktimemin": "10",
1910
- "thinktimemax": "100",
1911
- "runtime": "60",
1912
- "payload": "",
1913
- "payloadType": "date",
1914
- "topic": "",
1915
- "topicType": "str",
1916
- "x": 150,
2346
+ "process": "ls",
2347
+ "os": "Linux",
2348
+ "autoStart": "false",
2349
+ "workingDirectory": "",
2350
+ "arguments": "",
2351
+ "x": 350,
2352
+ "y": 120,
2353
+ "wires": [
2354
+ [
2355
+ "17012eaf.209341"
2356
+ ],
2357
+ [
2358
+ "59abb3e0.dbab4c"
2359
+ ],
2360
+ [
2361
+ "6ce6505f.ded13"
2362
+ ]
2363
+ ]
2364
+ },
2365
+ {
2366
+ "id": "b3595576.0a49a8",
2367
+ "type": "Spawn Process",
2368
+ "z": "22109ce1.cdbde4",
2369
+ "name": "",
2370
+ "process": "ping",
2371
+ "os": "Windows_NT",
2372
+ "autoStart": "false",
2373
+ "workingDirectory": "",
2374
+ "arguments": "127.0.0.1",
2375
+ "x": 350,
1917
2376
  "y": 40,
1918
2377
  "wires": [
1919
2378
  [
1920
- "82a035c7.eb2198"
2379
+ "17012eaf.209341"
1921
2380
  ],
1922
- []
2381
+ [
2382
+ "59abb3e0.dbab4c"
2383
+ ],
2384
+ [
2385
+ "6ce6505f.ded13"
2386
+ ]
1923
2387
  ]
1924
2388
  },
1925
2389
  {
1926
- "id": "770e1ad6.5fe4f4",
1927
- "type": "Data Analysis",
1928
- "z": "cf595649.931658",
2390
+ "id": "1ae819ca.83db56",
2391
+ "type": "Spawn Process",
2392
+ "z": "22109ce1.cdbde4",
1929
2393
  "name": "",
1930
- "action": "pearsonR",
1931
- "outputs": 2,
1932
- "outliersStdDevs": "3",
1933
- "term": "3",
1934
- "keyProperty": "msg.topic",
1935
- "dataProperty": "msg.payload",
1936
- "dataProperties": [
1937
- "msg.payload.salary",
1938
- "msg.payload.age",
1939
- "msg.payload.height"
1940
- ],
1941
- "x": 430,
1942
- "y": 160,
2394
+ "process": "failAsNotFound",
2395
+ "os": "",
2396
+ "autoStart": "true",
2397
+ "workingDirectory": "",
2398
+ "arguments": "",
2399
+ "x": 360,
2400
+ "y": 240,
1943
2401
  "wires": [
1944
- [],
1945
2402
  [
1946
- "a6cd6306.a217c"
2403
+ "17012eaf.209341"
2404
+ ],
2405
+ [
2406
+ "59abb3e0.dbab4c"
2407
+ ],
2408
+ [
2409
+ "6ce6505f.ded13"
1947
2410
  ]
1948
2411
  ]
1949
2412
  },
1950
2413
  {
1951
- "id": "a37e4b57.2a7778",
2414
+ "id": "59abb3e0.dbab4c",
1952
2415
  "type": "debug",
1953
- "z": "cf595649.931658",
1954
- "name": "outlier",
2416
+ "z": "22109ce1.cdbde4",
2417
+ "name": "error",
2418
+ "active": true,
2419
+ "tosidebar": true,
2420
+ "console": false,
2421
+ "tostatus": false,
2422
+ "complete": "true",
2423
+ "targetType": "full",
2424
+ "x": 590,
2425
+ "y": 160,
2426
+ "wires": []
2427
+ },
2428
+ {
2429
+ "id": "6ce6505f.ded13",
2430
+ "type": "debug",
2431
+ "z": "22109ce1.cdbde4",
2432
+ "name": "exit",
1955
2433
  "active": true,
1956
2434
  "tosidebar": true,
1957
2435
  "console": false,
1958
2436
  "tostatus": false,
1959
- "complete": "payload",
1960
- "targetType": "msg",
1961
- "x": 670,
1962
- "y": 200,
2437
+ "complete": "true",
2438
+ "targetType": "full",
2439
+ "x": 590,
2440
+ "y": 240,
1963
2441
  "wires": []
1964
2442
  },
1965
2443
  {
1966
- "id": "65bd1564.34a0cc",
1967
- "type": "inject",
1968
- "z": "cf595649.931658",
1969
- "name": "outiler",
1970
- "repeat": "",
1971
- "crontab": "",
1972
- "once": false,
1973
- "onceDelay": 0.1,
1974
- "topic": "",
1975
- "payload": "{\"name\":\"test outlier \",\"work\":\"outlier\",\"email\":\"{{email}}\",\"address\":\"{{int 1 100}} {{street}}\",\"country\":\"{{country}}\",\"salary\":700,\"assignedColor\":\"red\",\"age\":69,\"height\":2.6}",
1976
- "payloadType": "json",
1977
- "x": 130,
1978
- "y": 280,
1979
- "wires": [
1980
- [
1981
- "a749368e.985a18"
1982
- ]
1983
- ]
1984
- },
1985
- {
1986
- "id": "82a035c7.eb2198",
1987
- "type": "data-generator",
1988
- "z": "cf595649.931658",
1989
- "name": "",
1990
- "field": "payload",
1991
- "fieldType": "msg",
1992
- "syntax": "json",
1993
- "template": "{\n \"name\": \"{{firstName}} {{lastName}}\",\n \"work\": \"{{company}}\",\n \"email\": \"{{email}}\",\n \"address\": \"{{int 1 100}} {{street}}\",\n \"country\": \"{{country}}\",\n \"salary\": {{float 50 150 '0.00'}},\n \"assignedColor\":\"{{color}}\",\n \"age\": {{int 16 67 '0'}},\n \"height\": {{float 1.5 2.5 '0.0'}}\n}",
1994
- "x": 160,
1995
- "y": 120,
2444
+ "id": "c72d83e4.f9c84",
2445
+ "type": "Spawn Process",
2446
+ "z": "22109ce1.cdbde4",
2447
+ "name": "windows cmd.exe",
2448
+ "process": "cmd.exe",
2449
+ "os": "Windows_NT",
2450
+ "autoStart": "true",
2451
+ "workingDirectory": "../",
2452
+ "arguments": "/c echo %cd% %ENV1% %ENV2aa%",
2453
+ "env": {
2454
+ "ENV1": "t1",
2455
+ "ENV2aa": "t2"
2456
+ },
2457
+ "x": 360,
2458
+ "y": 340,
1996
2459
  "wires": [
1997
2460
  [
1998
- "a749368e.985a18",
1999
- "770e1ad6.5fe4f4"
2000
- ]
2001
- ]
2002
- },
2003
- {
2004
- "id": "2ce3786.acae688",
2005
- "type": "transform",
2006
- "z": "d9c7ae0e.cb9a9",
2007
- "name": "",
2008
- "actionSource": "JSON",
2009
- "actionTarget": "String",
2010
- "delimiter": ",",
2011
- "x": 580,
2012
- "y": 60,
2013
- "wires": [
2461
+ "17012eaf.209341"
2462
+ ],
2014
2463
  [
2015
- "5ac2ef6c.d0953"
2464
+ "59abb3e0.dbab4c"
2016
2465
  ],
2017
- []
2466
+ [
2467
+ "6ce6505f.ded13"
2468
+ ]
2018
2469
  ]
2019
2470
  },
2020
2471
  {
2021
- "id": "5ac2ef6c.d0953",
2472
+ "id": "e6c7ffb7.9947e",
2022
2473
  "type": "test",
2023
- "z": "d9c7ae0e.cb9a9",
2474
+ "z": "e4973c86.37d63",
2024
2475
  "name": "",
2025
- "payload": "{\"a\":1,\"b\":1}",
2026
- "payloadType": "json",
2027
- "result": "{\"a\":1,\"b\":1}",
2476
+ "payload": "testdata",
2477
+ "payloadType": "str",
2478
+ "result": "testdata",
2028
2479
  "resultType": "str",
2029
- "resultProperty": "msg.payload",
2030
2480
  "topic": "",
2031
- "x": 300,
2032
- "y": 120,
2481
+ "x": 340,
2482
+ "y": 20,
2033
2483
  "wires": [
2034
2484
  [
2035
- "2ce3786.acae688"
2485
+ "505ec37a.ba24ac",
2486
+ "ca221cf9.acd4b"
2036
2487
  ],
2037
2488
  [],
2038
2489
  []
2039
2490
  ]
2040
2491
  },
2041
2492
  {
2042
- "id": "d9a04503.7fc3a8",
2493
+ "id": "505ec37a.ba24ac",
2043
2494
  "type": "debug",
2044
- "z": "d9c7ae0e.cb9a9",
2495
+ "z": "e4973c86.37d63",
2045
2496
  "name": "",
2046
2497
  "active": true,
2047
2498
  "tosidebar": true,
@@ -2049,52 +2500,84 @@
2049
2500
  "tostatus": false,
2050
2501
  "complete": "true",
2051
2502
  "targetType": "full",
2052
- "x": 730,
2053
- "y": 340,
2503
+ "x": 590,
2504
+ "y": 20,
2054
2505
  "wires": []
2055
2506
  },
2056
2507
  {
2057
- "id": "df3844b8.d62658",
2058
- "type": "test",
2059
- "z": "d9c7ae0e.cb9a9",
2508
+ "id": "ca221cf9.acd4b",
2509
+ "type": "delay",
2510
+ "z": "e4973c86.37d63",
2060
2511
  "name": "",
2061
- "payload": "{\"a\":1,\"b\":1}",
2062
- "payloadType": "str",
2063
- "result": "{\"a\":1,\"b\":1}",
2064
- "resultType": "json",
2065
- "resultProperty": "msg.payload",
2066
- "topic": "",
2067
- "x": 300,
2068
- "y": 220,
2512
+ "pauseType": "delay",
2513
+ "timeout": "5",
2514
+ "timeoutUnits": "seconds",
2515
+ "rate": "1",
2516
+ "nbRateUnits": "1",
2517
+ "rateUnits": "second",
2518
+ "randomFirst": "1",
2519
+ "randomLast": "5",
2520
+ "randomUnits": "seconds",
2521
+ "drop": false,
2522
+ "outputs": 1,
2523
+ "x": 320,
2524
+ "y": 80,
2069
2525
  "wires": [
2070
2526
  [
2071
- "7c0de4f5.afbe7c"
2072
- ],
2073
- [],
2074
- []
2527
+ "e6c7ffb7.9947e"
2528
+ ]
2075
2529
  ]
2076
2530
  },
2077
2531
  {
2078
- "id": "7c0de4f5.afbe7c",
2079
- "type": "transform",
2080
- "z": "d9c7ae0e.cb9a9",
2532
+ "id": "8c1d482d.3797f8",
2533
+ "type": "delay",
2534
+ "z": "e4973c86.37d63",
2081
2535
  "name": "",
2082
- "actionSource": "String",
2083
- "actionTarget": "JSON",
2084
- "delimiter": ",",
2085
- "x": 560,
2086
- "y": 160,
2536
+ "pauseType": "delay",
2537
+ "timeout": "5",
2538
+ "timeoutUnits": "seconds",
2539
+ "rate": "1",
2540
+ "nbRateUnits": "1",
2541
+ "rateUnits": "second",
2542
+ "randomFirst": "1",
2543
+ "randomLast": "5",
2544
+ "randomUnits": "seconds",
2545
+ "drop": false,
2546
+ "outputs": 1,
2547
+ "x": 320,
2548
+ "y": 200,
2087
2549
  "wires": [
2088
2550
  [
2089
- "df3844b8.d62658"
2551
+ "f6d80561.d80d08"
2552
+ ]
2553
+ ]
2554
+ },
2555
+ {
2556
+ "id": "f6d80561.d80d08",
2557
+ "type": "test",
2558
+ "z": "e4973c86.37d63",
2559
+ "name": "",
2560
+ "payload": "testa",
2561
+ "payloadType": "str",
2562
+ "result": "testb",
2563
+ "resultType": "str",
2564
+ "topic": "",
2565
+ "x": 330,
2566
+ "y": 140,
2567
+ "wires": [
2568
+ [
2569
+ "8c1d482d.3797f8"
2570
+ ],
2571
+ [
2572
+ "505ec37a.ba24ac"
2090
2573
  ],
2091
2574
  []
2092
2575
  ]
2093
2576
  },
2094
2577
  {
2095
- "id": "b61d362a.9b7288",
2578
+ "id": "706f9c15.e56864",
2096
2579
  "type": "inject",
2097
- "z": "d9c7ae0e.cb9a9",
2580
+ "z": "e4973c86.37d63",
2098
2581
  "name": "",
2099
2582
  "repeat": "",
2100
2583
  "crontab": "",
@@ -2103,590 +2586,683 @@
2103
2586
  "topic": "",
2104
2587
  "payload": "",
2105
2588
  "payloadType": "date",
2106
- "x": 80,
2107
- "y": 40,
2589
+ "x": 60,
2590
+ "y": 20,
2108
2591
  "wires": [
2109
2592
  [
2110
- "5ac2ef6c.d0953",
2111
- "df3844b8.d62658",
2112
- "1996fa8b.414205"
2593
+ "e6c7ffb7.9947e",
2594
+ "f6d80561.d80d08",
2595
+ "7424fbe5.b21ea4",
2596
+ "575b7f19.b17d5",
2597
+ "c9ec0f06.98cf3",
2598
+ "2e00eb75.23c2c4",
2599
+ "6f443ba6947c687c",
2600
+ "f942a87fe0ced9b0",
2601
+ "d2d20c34deec31b5",
2602
+ "8c1f54f93ac4630b"
2113
2603
  ]
2114
2604
  ]
2115
2605
  },
2116
2606
  {
2117
- "id": "eaa68e41.81cce",
2118
- "type": "transform",
2119
- "z": "d9c7ae0e.cb9a9",
2607
+ "id": "7424fbe5.b21ea4",
2608
+ "type": "test",
2609
+ "z": "e4973c86.37d63",
2120
2610
  "name": "",
2121
- "actionSource": "JSON",
2122
- "actionTarget": "Array",
2123
- "delimiter": ",",
2124
- "x": 560,
2125
- "y": 240,
2611
+ "payload": "{\"a\":1,\"b\":\"two\"}",
2612
+ "payloadType": "json",
2613
+ "result": "{\"a\":1,\"b\":\"two\"}",
2614
+ "resultType": "json",
2615
+ "topic": "",
2616
+ "x": 340,
2617
+ "y": 260,
2126
2618
  "wires": [
2127
2619
  [
2128
- "d9a04503.7fc3a8",
2129
- "1996fa8b.414205"
2620
+ "affb8557.b1c5a8"
2130
2621
  ],
2622
+ [],
2131
2623
  []
2132
2624
  ]
2133
2625
  },
2134
2626
  {
2135
- "id": "1996fa8b.414205",
2627
+ "id": "affb8557.b1c5a8",
2628
+ "type": "delay",
2629
+ "z": "e4973c86.37d63",
2630
+ "name": "",
2631
+ "pauseType": "delay",
2632
+ "timeout": "5",
2633
+ "timeoutUnits": "seconds",
2634
+ "rate": "1",
2635
+ "nbRateUnits": "1",
2636
+ "rateUnits": "second",
2637
+ "randomFirst": "1",
2638
+ "randomLast": "5",
2639
+ "randomUnits": "seconds",
2640
+ "drop": false,
2641
+ "outputs": 1,
2642
+ "x": 340,
2643
+ "y": 320,
2644
+ "wires": [
2645
+ [
2646
+ "7424fbe5.b21ea4"
2647
+ ]
2648
+ ]
2649
+ },
2650
+ {
2651
+ "id": "575b7f19.b17d5",
2136
2652
  "type": "test",
2137
- "z": "d9c7ae0e.cb9a9",
2653
+ "z": "e4973c86.37d63",
2138
2654
  "name": "",
2655
+ "errorFactor": "0",
2139
2656
  "escapeString": false,
2140
2657
  "payload": "{\"a\":1,\"b\":\"two\"}",
2141
- "payloadType": "json",
2142
- "result": "[[\"a\",1],[\"b\",\"two\"]]",
2143
- "resultType": "json",
2658
+ "payloadType": "str",
2659
+ "result": "{\"a\":1,\"b\":\"three\"}",
2660
+ "resultType": "str",
2144
2661
  "resultProperty": "msg.payload",
2145
2662
  "topic": "",
2146
- "x": 300,
2147
- "y": 300,
2663
+ "x": 350,
2664
+ "y": 380,
2148
2665
  "wires": [
2149
2666
  [
2150
- "eaa68e41.81cce",
2151
- "c1be8cd5.2856e"
2667
+ "b1ee7e8.71a4e8"
2668
+ ],
2669
+ [
2670
+ "505ec37a.ba24ac"
2152
2671
  ],
2153
- [],
2154
2672
  []
2155
2673
  ]
2156
2674
  },
2157
2675
  {
2158
- "id": "c56f126c.f8cf6",
2159
- "type": "inject",
2160
- "z": "d9c7ae0e.cb9a9",
2161
- "name": "ISO8385 message",
2162
- "repeat": "",
2163
- "crontab": "",
2164
- "once": false,
2165
- "onceDelay": 0.1,
2166
- "topic": "",
2167
- "payload": "[49,50,51,52,68,48,50,48,48,48,48,48,48,50,67,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,56,49,54,49,50,51,52,53,54,55,56,57,48,49,50,51,52,53,54,48,48,48,48,48,48,48,48,53,54,57,57,48,48,48,50,51,52,48,48,48,52,51,49,51,50,51,51,51,52,51,53,50,48,50,48,50,48,51,54,51,55,51,56,51,57,51,48,51,49,51,50,51,51,51,52,50,48,50,48,50,48,50,48,50,48,50,48,48,48,48,57,52,50,52,67,52,49,52,56,50,48,52,50,52,67,52,49,52,56]",
2168
- "payloadType": "bin",
2169
- "x": 170,
2170
- "y": 420,
2676
+ "id": "b1ee7e8.71a4e8",
2677
+ "type": "delay",
2678
+ "z": "e4973c86.37d63",
2679
+ "name": "",
2680
+ "pauseType": "delay",
2681
+ "timeout": "5",
2682
+ "timeoutUnits": "seconds",
2683
+ "rate": "1",
2684
+ "nbRateUnits": "1",
2685
+ "rateUnits": "second",
2686
+ "randomFirst": "1",
2687
+ "randomLast": "5",
2688
+ "randomUnits": "seconds",
2689
+ "drop": false,
2690
+ "outputs": 1,
2691
+ "x": 340,
2692
+ "y": 440,
2171
2693
  "wires": [
2172
2694
  [
2173
- "1ff5bd86.f88092"
2695
+ "575b7f19.b17d5"
2174
2696
  ]
2175
2697
  ]
2176
2698
  },
2177
2699
  {
2178
- "id": "1ff5bd86.f88092",
2179
- "type": "transform",
2180
- "z": "d9c7ae0e.cb9a9",
2700
+ "id": "41c3903b.ca8a3",
2701
+ "type": "delay",
2702
+ "z": "e4973c86.37d63",
2181
2703
  "name": "",
2182
- "actionSource": "ISO8385",
2183
- "actionTarget": "Array",
2184
- "delimiter": ",",
2185
- "x": 510,
2186
- "y": 420,
2704
+ "pauseType": "delay",
2705
+ "timeout": "5",
2706
+ "timeoutUnits": "seconds",
2707
+ "rate": "1",
2708
+ "nbRateUnits": "1",
2709
+ "rateUnits": "second",
2710
+ "randomFirst": "1",
2711
+ "randomLast": "5",
2712
+ "randomUnits": "seconds",
2713
+ "drop": false,
2714
+ "outputs": 1,
2715
+ "x": 340,
2716
+ "y": 560,
2187
2717
  "wires": [
2188
2718
  [
2189
- "d9a04503.7fc3a8"
2190
- ],
2191
- []
2719
+ "c9ec0f06.98cf3"
2720
+ ]
2192
2721
  ]
2193
2722
  },
2194
2723
  {
2195
- "id": "5fef790b.8b87d8",
2196
- "type": "comment",
2197
- "z": "d9c7ae0e.cb9a9",
2198
- "name": "Experimental",
2199
- "info": "# Experimental",
2200
- "x": 310,
2201
- "y": 40,
2202
- "wires": []
2203
- },
2204
- {
2205
- "id": "c1be8cd5.2856e",
2206
- "type": "transform",
2207
- "z": "d9c7ae0e.cb9a9",
2724
+ "id": "c9ec0f06.98cf3",
2725
+ "type": "test",
2726
+ "z": "e4973c86.37d63",
2208
2727
  "name": "",
2209
- "actionSource": "JSON",
2210
- "actionTarget": "HTML",
2211
- "delimiter": ",",
2212
- "x": 520,
2728
+ "payload": "{\"a\":1,\"b\":[1,2,3,4]}",
2729
+ "payloadType": "str",
2730
+ "result": "{\"a\":1,\"b\":[1,2,3,4]}",
2731
+ "resultType": "str",
2732
+ "topic": "",
2733
+ "x": 350,
2213
2734
  "y": 500,
2214
2735
  "wires": [
2215
2736
  [
2216
- "d9a04503.7fc3a8"
2737
+ "41c3903b.ca8a3"
2217
2738
  ],
2739
+ [],
2218
2740
  []
2219
2741
  ]
2220
2742
  },
2221
2743
  {
2222
- "id": "4442914142aea731",
2223
- "type": "file in",
2224
- "z": "d9c7ae0e.cb9a9",
2225
- "name": "int2matrix2x3.npy",
2226
- "filename": "test/data/int2matrix2x3.npy",
2227
- "filenameType": "str",
2228
- "format": "",
2229
- "chunk": false,
2230
- "sendError": false,
2231
- "encoding": "none",
2232
- "allProps": false,
2233
- "x": 310,
2234
- "y": 640,
2235
- "wires": [
2236
- [
2237
- "d9a04503.7fc3a8",
2238
- "b1411e5351c0347e"
2239
- ]
2240
- ]
2241
- },
2242
- {
2243
- "id": "e8f8458f9e31476a",
2244
- "type": "inject",
2245
- "z": "d9c7ae0e.cb9a9",
2744
+ "id": "2e00eb75.23c2c4",
2745
+ "type": "test",
2746
+ "z": "e4973c86.37d63",
2246
2747
  "name": "",
2247
- "props": [
2248
- {
2249
- "p": "payload"
2250
- },
2251
- {
2252
- "p": "topic",
2253
- "vt": "str"
2254
- }
2255
- ],
2256
- "repeat": "",
2257
- "crontab": "",
2258
- "once": false,
2259
- "onceDelay": 0.1,
2260
- "topic": "",
2261
2748
  "payload": "",
2262
2749
  "payloadType": "date",
2263
- "x": 100,
2750
+ "result": "",
2751
+ "resultType": "date",
2752
+ "resultProperty": "msg.testResult",
2753
+ "topic": "",
2754
+ "x": 320,
2264
2755
  "y": 640,
2265
2756
  "wires": [
2266
2757
  [
2267
- "4442914142aea731"
2268
- ]
2758
+ "ee190293.d97ed"
2759
+ ],
2760
+ [],
2761
+ []
2269
2762
  ]
2270
2763
  },
2271
2764
  {
2272
- "id": "b1411e5351c0347e",
2273
- "type": "transform",
2274
- "z": "d9c7ae0e.cb9a9",
2765
+ "id": "ee190293.d97ed",
2766
+ "type": "function",
2767
+ "z": "e4973c86.37d63",
2275
2768
  "name": "",
2276
- "actionSource": "npy",
2277
- "actionTarget": "JSON",
2278
- "sourceProperty": "msg.payload",
2279
- "targetProperty": "msg.payload",
2280
- "topicProperty": "msg.topic",
2281
- "maxMessages": 1000,
2282
- "schema": "{\"type\":\"record\",\"fields\":[{\"name\":\"name\",\"type\":\"string\"}]}",
2283
- "schemaType": "json",
2284
- "skipLeading": 0,
2285
- "skipTrailing": 0,
2286
- "delimiter": ",",
2287
- "compressionType": "setGzip",
2769
+ "func": "msg.testResult=msg.payload\nreturn msg;",
2770
+ "outputs": 1,
2771
+ "noerr": 0,
2288
2772
  "x": 570,
2289
2773
  "y": 640,
2290
2774
  "wires": [
2291
2775
  [
2292
- "d9a04503.7fc3a8"
2293
- ],
2294
- []
2776
+ "2e00eb75.23c2c4"
2777
+ ]
2295
2778
  ]
2296
2779
  },
2297
2780
  {
2298
- "id": "4bed6788.398bc8",
2299
- "type": "Load Injector",
2300
- "z": "cf804fb2.6df8c",
2781
+ "id": "6f443ba6947c687c",
2782
+ "type": "test",
2783
+ "z": "e4973c86.37d63",
2301
2784
  "name": "",
2302
- "thinktimemin": "100",
2303
- "thinktimemax": "5000",
2304
- "runtime": "30",
2305
- "payload": "",
2306
- "payloadType": "date",
2785
+ "errorFactor": 0,
2786
+ "escapeString": false,
2787
+ "infiniteIsNull": false,
2788
+ "payload": "{\"p1\":\"p1data\",\"p2\":2,\"p3\":3}",
2789
+ "payloadType": "json",
2790
+ "result": "$boolean(payload.p2=2)\t\t",
2791
+ "resultType": "jsonata",
2792
+ "resultProperty": "msg.payload",
2307
2793
  "topic": "",
2308
- "topicType": "str",
2309
- "x": 190,
2310
- "y": 100,
2794
+ "x": 310,
2795
+ "y": 740,
2311
2796
  "wires": [
2312
2797
  [
2313
- "df6c40ba.fb661"
2798
+ "febdd5455965bcb4"
2314
2799
  ],
2315
- [
2316
- "dd8f915be7585f46"
2317
- ]
2800
+ [],
2801
+ []
2318
2802
  ]
2319
2803
  },
2320
2804
  {
2321
- "id": "df6c40ba.fb661",
2322
- "type": "function",
2323
- "z": "cf804fb2.6df8c",
2324
- "name": "Message count",
2325
- "func": "var count = context.get('count')||0;\ncontext.set('count',++count);\nnode.status({fill:\"green\",shape:\"ring\",text:\"count: \"+count});\nreturn msg;",
2805
+ "id": "febdd5455965bcb4",
2806
+ "type": "delay",
2807
+ "z": "e4973c86.37d63",
2808
+ "name": "",
2809
+ "pauseType": "delay",
2810
+ "timeout": "1",
2811
+ "timeoutUnits": "seconds",
2812
+ "rate": "1",
2813
+ "nbRateUnits": "1",
2814
+ "rateUnits": "second",
2815
+ "randomFirst": "1",
2816
+ "randomLast": "5",
2817
+ "randomUnits": "seconds",
2818
+ "drop": false,
2819
+ "allowrate": false,
2326
2820
  "outputs": 1,
2327
- "noerr": 0,
2328
- "initialize": "",
2329
- "finalize": "",
2330
- "libs": [],
2331
- "x": 600,
2332
- "y": 100,
2821
+ "x": 300,
2822
+ "y": 820,
2333
2823
  "wires": [
2334
- []
2824
+ [
2825
+ "6f443ba6947c687c"
2826
+ ]
2335
2827
  ]
2336
2828
  },
2337
2829
  {
2338
- "id": "dd8f915be7585f46",
2339
- "type": "debug",
2340
- "z": "cf804fb2.6df8c",
2341
- "name": "debug 1",
2342
- "active": true,
2343
- "tosidebar": true,
2344
- "console": false,
2345
- "tostatus": false,
2346
- "complete": "false",
2347
- "statusVal": "",
2348
- "statusType": "auto",
2349
- "x": 580,
2350
- "y": 160,
2351
- "wires": []
2830
+ "id": "f942a87fe0ced9b0",
2831
+ "type": "test",
2832
+ "z": "e4973c86.37d63",
2833
+ "name": "Fail expected",
2834
+ "errorFactor": 0,
2835
+ "escapeString": false,
2836
+ "infiniteIsNull": false,
2837
+ "payload": "{\"p1\":\"p1data\",\"p2\":2,\"p3\":3}",
2838
+ "payloadType": "json",
2839
+ "result": "$boolean(payload.p2=3)\t\t",
2840
+ "resultType": "jsonata",
2841
+ "resultProperty": "msg.payload",
2842
+ "topic": "",
2843
+ "x": 290,
2844
+ "y": 880,
2845
+ "wires": [
2846
+ [
2847
+ "df55e5dc0a75a50a"
2848
+ ],
2849
+ [],
2850
+ []
2851
+ ]
2352
2852
  },
2353
2853
  {
2354
- "id": "c4e5d98c.1db6f8",
2355
- "type": "Monitor Flow",
2356
- "z": "fcc005d5.131ee8",
2854
+ "id": "df55e5dc0a75a50a",
2855
+ "type": "delay",
2856
+ "z": "e4973c86.37d63",
2357
2857
  "name": "",
2358
- "x": 370,
2359
- "y": 60,
2858
+ "pauseType": "delay",
2859
+ "timeout": "1",
2860
+ "timeoutUnits": "seconds",
2861
+ "rate": "1",
2862
+ "nbRateUnits": "1",
2863
+ "rateUnits": "second",
2864
+ "randomFirst": "1",
2865
+ "randomLast": "5",
2866
+ "randomUnits": "seconds",
2867
+ "drop": false,
2868
+ "allowrate": false,
2869
+ "outputs": 1,
2870
+ "x": 320,
2871
+ "y": 1000,
2360
2872
  "wires": [
2361
- []
2873
+ [
2874
+ "f942a87fe0ced9b0"
2875
+ ]
2362
2876
  ]
2363
2877
  },
2364
2878
  {
2365
- "id": "6985d392.2b65ac",
2366
- "type": "Load Injector",
2367
- "z": "fcc005d5.131ee8",
2368
- "name": "",
2369
- "thinktimemin": 1000,
2370
- "thinktimemax": 10000,
2371
- "runtime": 60,
2372
- "payload": "",
2373
- "payloadType": "date",
2374
- "x": 150,
2375
- "y": 60,
2879
+ "id": "d2d20c34deec31b5",
2880
+ "type": "test",
2881
+ "z": "e4973c86.37d63",
2882
+ "name": "succss expected",
2883
+ "errorFactor": 0,
2884
+ "escapeString": false,
2885
+ "infiniteIsNull": false,
2886
+ "payload": "[0,1,[1,2]]",
2887
+ "payloadType": "json",
2888
+ "result": "$boolean(payload=[0,1,[1,2]])\t",
2889
+ "resultType": "jsonata",
2890
+ "resultProperty": "msg.payload",
2891
+ "topic": "",
2892
+ "x": 330,
2893
+ "y": 1060,
2376
2894
  "wires": [
2377
2895
  [
2378
- "c4e5d98c.1db6f8"
2896
+ "6665281886747d77"
2379
2897
  ],
2898
+ [],
2380
2899
  []
2381
2900
  ]
2382
2901
  },
2383
2902
  {
2384
- "id": "a761e268.19bc7",
2385
- "type": "append",
2386
- "z": "6dd63ebd.bf044",
2387
- "name": "append",
2388
- "files": [
2389
- {
2390
- "value": "./testData.txt",
2391
- "type": "require"
2392
- },
2393
- {
2394
- "value": "********",
2395
- "type": "text"
2396
- }
2397
- ],
2398
- "x": 300,
2399
- "y": 140,
2903
+ "id": "6665281886747d77",
2904
+ "type": "delay",
2905
+ "z": "e4973c86.37d63",
2906
+ "name": "",
2907
+ "pauseType": "delay",
2908
+ "timeout": "1",
2909
+ "timeoutUnits": "seconds",
2910
+ "rate": "1",
2911
+ "nbRateUnits": "1",
2912
+ "rateUnits": "second",
2913
+ "randomFirst": "1",
2914
+ "randomLast": "5",
2915
+ "randomUnits": "seconds",
2916
+ "drop": false,
2917
+ "allowrate": false,
2918
+ "outputs": 1,
2919
+ "x": 340,
2920
+ "y": 1180,
2400
2921
  "wires": [
2401
2922
  [
2402
- "65aa2f4d.847f9"
2923
+ "d2d20c34deec31b5"
2403
2924
  ]
2404
2925
  ]
2405
2926
  },
2406
2927
  {
2407
- "id": "64beb83a.018ed8",
2408
- "type": "inject",
2409
- "z": "6dd63ebd.bf044",
2410
- "name": "",
2411
- "repeat": "",
2412
- "crontab": "",
2413
- "once": false,
2414
- "onceDelay": 0.1,
2928
+ "id": "8c1f54f93ac4630b",
2929
+ "type": "test",
2930
+ "z": "e4973c86.37d63",
2931
+ "name": "Fail expected",
2932
+ "errorFactor": 0,
2933
+ "escapeString": false,
2934
+ "infiniteIsNull": false,
2935
+ "payload": "[0,1,[1,2]]",
2936
+ "payloadType": "json",
2937
+ "result": "$boolean(payload=[0,1,[2,2]])\t",
2938
+ "resultType": "jsonata",
2939
+ "resultProperty": "msg.payload",
2415
2940
  "topic": "",
2416
- "payload": "",
2417
- "payloadType": "str",
2418
- "x": 110,
2419
- "y": 140,
2941
+ "x": 310,
2942
+ "y": 1240,
2420
2943
  "wires": [
2421
2944
  [
2422
- "a761e268.19bc7"
2423
- ]
2945
+ "afe22943eebfc180"
2946
+ ],
2947
+ [],
2948
+ []
2424
2949
  ]
2425
2950
  },
2426
2951
  {
2427
- "id": "65aa2f4d.847f9",
2428
- "type": "debug",
2429
- "z": "6dd63ebd.bf044",
2952
+ "id": "afe22943eebfc180",
2953
+ "type": "delay",
2954
+ "z": "e4973c86.37d63",
2430
2955
  "name": "",
2431
- "active": true,
2432
- "tosidebar": true,
2433
- "console": false,
2434
- "tostatus": false,
2435
- "complete": "payload",
2436
- "targetType": "msg",
2437
- "x": 520,
2438
- "y": 140,
2439
- "wires": []
2956
+ "pauseType": "delay",
2957
+ "timeout": "1",
2958
+ "timeoutUnits": "seconds",
2959
+ "rate": "1",
2960
+ "nbRateUnits": "1",
2961
+ "rateUnits": "second",
2962
+ "randomFirst": "1",
2963
+ "randomLast": "5",
2964
+ "randomUnits": "seconds",
2965
+ "drop": false,
2966
+ "allowrate": false,
2967
+ "outputs": 1,
2968
+ "x": 340,
2969
+ "y": 1360,
2970
+ "wires": [
2971
+ [
2972
+ "8c1f54f93ac4630b"
2973
+ ]
2974
+ ]
2440
2975
  },
2441
2976
  {
2442
- "id": "ffd72c7.5d152d",
2443
- "type": "Host Available",
2444
- "z": "955f4808.fd1898",
2977
+ "id": "2ce3786.acae688",
2978
+ "type": "transform",
2979
+ "z": "d9c7ae0e.cb9a9",
2445
2980
  "name": "",
2446
- "host": "localhost",
2447
- "port": "9092",
2448
- "checkInterval": "60",
2449
- "x": 400,
2981
+ "actionSource": "JSON",
2982
+ "actionTarget": "String",
2983
+ "delimiter": ",",
2984
+ "x": 580,
2450
2985
  "y": 60,
2451
2986
  "wires": [
2452
2987
  [
2453
- "be654225.78ec5"
2988
+ "5ac2ef6c.d0953"
2454
2989
  ],
2455
- [
2456
- "16439017.33e21"
2457
- ]
2990
+ []
2458
2991
  ]
2459
2992
  },
2460
2993
  {
2461
- "id": "a303ce7d.b0c31",
2462
- "type": "Host Available",
2463
- "z": "955f4808.fd1898",
2994
+ "id": "5ac2ef6c.d0953",
2995
+ "type": "test",
2996
+ "z": "d9c7ae0e.cb9a9",
2464
2997
  "name": "",
2465
- "host": "localhost",
2466
- "port": "1880",
2467
- "checkInterval": "",
2468
- "x": 380,
2469
- "y": 140,
2998
+ "payload": "{\"a\":1,\"b\":1}",
2999
+ "payloadType": "json",
3000
+ "result": "{\"a\":1,\"b\":1}",
3001
+ "resultType": "str",
3002
+ "resultProperty": "msg.payload",
3003
+ "topic": "",
3004
+ "x": 300,
3005
+ "y": 120,
2470
3006
  "wires": [
2471
3007
  [
2472
- "be654225.78ec5"
3008
+ "2ce3786.acae688"
2473
3009
  ],
2474
- [
2475
- "16439017.33e21"
2476
- ]
3010
+ [],
3011
+ []
2477
3012
  ]
2478
3013
  },
2479
3014
  {
2480
- "id": "be654225.78ec5",
3015
+ "id": "d9a04503.7fc3a8",
2481
3016
  "type": "debug",
2482
- "z": "955f4808.fd1898",
2483
- "name": "host ok",
3017
+ "z": "d9c7ae0e.cb9a9",
3018
+ "name": "",
2484
3019
  "active": true,
2485
3020
  "tosidebar": true,
2486
3021
  "console": false,
2487
3022
  "tostatus": false,
2488
- "complete": "payload",
2489
- "targetType": "msg",
2490
- "x": 620,
2491
- "y": 60,
3023
+ "complete": "true",
3024
+ "targetType": "full",
3025
+ "x": 730,
3026
+ "y": 340,
2492
3027
  "wires": []
2493
3028
  },
2494
3029
  {
2495
- "id": "16439017.33e21",
2496
- "type": "debug",
2497
- "z": "955f4808.fd1898",
2498
- "name": "host down",
2499
- "active": true,
2500
- "tosidebar": true,
2501
- "console": false,
2502
- "tostatus": false,
2503
- "complete": "payload",
2504
- "targetType": "msg",
2505
- "x": 630,
2506
- "y": 140,
2507
- "wires": []
3030
+ "id": "df3844b8.d62658",
3031
+ "type": "test",
3032
+ "z": "d9c7ae0e.cb9a9",
3033
+ "name": "",
3034
+ "payload": "{\"a\":1,\"b\":1}",
3035
+ "payloadType": "str",
3036
+ "result": "{\"a\":1,\"b\":1}",
3037
+ "resultType": "json",
3038
+ "resultProperty": "msg.payload",
3039
+ "topic": "",
3040
+ "x": 300,
3041
+ "y": 220,
3042
+ "wires": [
3043
+ [
3044
+ "7c0de4f5.afbe7c"
3045
+ ],
3046
+ [],
3047
+ []
3048
+ ]
2508
3049
  },
2509
3050
  {
2510
- "id": "3e04758.89a298a",
2511
- "type": "inject",
2512
- "z": "955f4808.fd1898",
3051
+ "id": "7c0de4f5.afbe7c",
3052
+ "type": "transform",
3053
+ "z": "d9c7ae0e.cb9a9",
2513
3054
  "name": "",
2514
- "repeat": "",
2515
- "crontab": "",
2516
- "once": false,
2517
- "onceDelay": 0.1,
2518
- "topic": "",
2519
- "payload": "",
2520
- "payloadType": "date",
2521
- "x": 100,
2522
- "y": 140,
3055
+ "actionSource": "String",
3056
+ "actionTarget": "JSON",
3057
+ "delimiter": ",",
3058
+ "x": 560,
3059
+ "y": 160,
2523
3060
  "wires": [
2524
3061
  [
2525
- "a303ce7d.b0c31",
2526
- "ffd72c7.5d152d"
2527
- ]
3062
+ "df3844b8.d62658"
3063
+ ],
3064
+ []
2528
3065
  ]
2529
3066
  },
2530
3067
  {
2531
- "id": "62f6a2ef.48084c",
3068
+ "id": "b61d362a.9b7288",
2532
3069
  "type": "inject",
2533
- "z": "955f4808.fd1898",
2534
- "name": "refreshHostAvailable",
3070
+ "z": "d9c7ae0e.cb9a9",
3071
+ "name": "",
2535
3072
  "repeat": "",
2536
3073
  "crontab": "",
2537
3074
  "once": false,
2538
3075
  "onceDelay": 0.1,
2539
- "topic": "refreshHostAvailable",
3076
+ "topic": "",
2540
3077
  "payload": "",
2541
3078
  "payloadType": "date",
2542
- "x": 130,
2543
- "y": 60,
3079
+ "x": 80,
3080
+ "y": 40,
2544
3081
  "wires": [
2545
3082
  [
2546
- "a303ce7d.b0c31",
2547
- "ffd72c7.5d152d"
3083
+ "5ac2ef6c.d0953",
3084
+ "df3844b8.d62658",
3085
+ "1996fa8b.414205"
2548
3086
  ]
2549
3087
  ]
2550
3088
  },
2551
3089
  {
2552
- "id": "f8d6f002dbf1a0ec",
2553
- "type": "Load Injector",
2554
- "z": "1be03be45284f9d4",
2555
- "name": "gen id + json",
2556
- "thinktimemin": 1000,
2557
- "thinktimemax": 10000,
2558
- "runtime": 60,
2559
- "payload": "[\"aaa\"]",
2560
- "payloadType": "json",
2561
- "topic": "",
2562
- "topicType": "genid",
2563
- "x": 130,
2564
- "y": 140,
3090
+ "id": "eaa68e41.81cce",
3091
+ "type": "transform",
3092
+ "z": "d9c7ae0e.cb9a9",
3093
+ "name": "",
3094
+ "actionSource": "JSON",
3095
+ "actionTarget": "Array",
3096
+ "delimiter": ",",
3097
+ "x": 560,
3098
+ "y": 240,
2565
3099
  "wires": [
2566
3100
  [
2567
- "06a65ce9414ae1a8"
3101
+ "d9a04503.7fc3a8",
3102
+ "1996fa8b.414205"
2568
3103
  ],
2569
- [
2570
- "d75971a334c97a1d"
2571
- ]
3104
+ []
2572
3105
  ]
2573
3106
  },
2574
3107
  {
2575
- "id": "d75971a334c97a1d",
2576
- "type": "debug",
2577
- "z": "1be03be45284f9d4",
3108
+ "id": "1996fa8b.414205",
3109
+ "type": "test",
3110
+ "z": "d9c7ae0e.cb9a9",
2578
3111
  "name": "",
2579
- "active": true,
2580
- "tosidebar": true,
2581
- "console": false,
2582
- "tostatus": false,
2583
- "complete": "true",
2584
- "targetType": "full",
2585
- "statusVal": "",
2586
- "statusType": "auto",
2587
- "x": 570,
2588
- "y": 280,
2589
- "wires": []
3112
+ "escapeString": false,
3113
+ "payload": "{\"a\":1,\"b\":\"two\"}",
3114
+ "payloadType": "json",
3115
+ "result": "[[\"a\",1],[\"b\",\"two\"]]",
3116
+ "resultType": "json",
3117
+ "resultProperty": "msg.payload",
3118
+ "topic": "",
3119
+ "x": 300,
3120
+ "y": 300,
3121
+ "wires": [
3122
+ [
3123
+ "eaa68e41.81cce",
3124
+ "c1be8cd5.2856e"
3125
+ ],
3126
+ [],
3127
+ []
3128
+ ]
2590
3129
  },
2591
3130
  {
2592
- "id": "06a65ce9414ae1a8",
2593
- "type": "Monitor Flow",
2594
- "z": "1be03be45284f9d4",
2595
- "name": "",
2596
- "x": 470,
2597
- "y": 120,
3131
+ "id": "c56f126c.f8cf6",
3132
+ "type": "inject",
3133
+ "z": "d9c7ae0e.cb9a9",
3134
+ "name": "ISO8385 message",
3135
+ "repeat": "",
3136
+ "crontab": "",
3137
+ "once": false,
3138
+ "onceDelay": 0.1,
3139
+ "topic": "",
3140
+ "payload": "[49,50,51,52,68,48,50,48,48,48,48,48,48,50,67,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,56,49,54,49,50,51,52,53,54,55,56,57,48,49,50,51,52,53,54,48,48,48,48,48,48,48,48,53,54,57,57,48,48,48,50,51,52,48,48,48,52,51,49,51,50,51,51,51,52,51,53,50,48,50,48,50,48,51,54,51,55,51,56,51,57,51,48,51,49,51,50,51,51,51,52,50,48,50,48,50,48,50,48,50,48,50,48,48,48,48,57,52,50,52,67,52,49,52,56,50,48,52,50,52,67,52,49,52,56]",
3141
+ "payloadType": "bin",
3142
+ "x": 170,
3143
+ "y": 420,
2598
3144
  "wires": [
2599
3145
  [
2600
- "d75971a334c97a1d"
3146
+ "1ff5bd86.f88092"
2601
3147
  ]
2602
3148
  ]
2603
3149
  },
2604
3150
  {
2605
- "id": "ce87d1616e851eb3",
2606
- "type": "Load Injector",
2607
- "z": "1be03be45284f9d4",
2608
- "name": "timestamp+string",
2609
- "thinktimemin": 1000,
2610
- "thinktimemax": 10000,
2611
- "runtime": 60,
2612
- "payload": "abc",
2613
- "payloadType": "str",
2614
- "topic": "",
2615
- "topicType": "date",
2616
- "x": 150,
2617
- "y": 80,
3151
+ "id": "1ff5bd86.f88092",
3152
+ "type": "transform",
3153
+ "z": "d9c7ae0e.cb9a9",
3154
+ "name": "",
3155
+ "actionSource": "ISO8385",
3156
+ "actionTarget": "Array",
3157
+ "delimiter": ",",
3158
+ "x": 510,
3159
+ "y": 420,
2618
3160
  "wires": [
2619
3161
  [
2620
- "06a65ce9414ae1a8"
3162
+ "d9a04503.7fc3a8"
2621
3163
  ],
2622
- [
2623
- "d75971a334c97a1d"
2624
- ]
3164
+ []
2625
3165
  ]
2626
3166
  },
2627
3167
  {
2628
- "id": "f92c48ed91e841ca",
2629
- "type": "Load Injector",
2630
- "z": "1be03be45284f9d4",
2631
- "name": "number+boolean",
2632
- "thinktimemin": 1000,
2633
- "thinktimemax": 10000,
2634
- "runtime": 60,
2635
- "payload": "true",
2636
- "payloadType": "bool",
2637
- "topic": "123",
2638
- "topicType": "num",
2639
- "x": 130,
2640
- "y": 200,
3168
+ "id": "5fef790b.8b87d8",
3169
+ "type": "comment",
3170
+ "z": "d9c7ae0e.cb9a9",
3171
+ "name": "Experimental",
3172
+ "info": "# Experimental",
3173
+ "x": 310,
3174
+ "y": 40,
3175
+ "wires": []
3176
+ },
3177
+ {
3178
+ "id": "c1be8cd5.2856e",
3179
+ "type": "transform",
3180
+ "z": "d9c7ae0e.cb9a9",
3181
+ "name": "",
3182
+ "actionSource": "JSON",
3183
+ "actionTarget": "HTML",
3184
+ "delimiter": ",",
3185
+ "x": 520,
3186
+ "y": 500,
2641
3187
  "wires": [
2642
3188
  [
2643
- "06a65ce9414ae1a8"
3189
+ "d9a04503.7fc3a8"
2644
3190
  ],
3191
+ []
3192
+ ]
3193
+ },
3194
+ {
3195
+ "id": "4442914142aea731",
3196
+ "type": "file in",
3197
+ "z": "d9c7ae0e.cb9a9",
3198
+ "name": "int2matrix2x3.npy",
3199
+ "filename": "test/data/int2matrix2x3.npy",
3200
+ "filenameType": "str",
3201
+ "format": "",
3202
+ "chunk": false,
3203
+ "sendError": false,
3204
+ "encoding": "none",
3205
+ "allProps": false,
3206
+ "x": 310,
3207
+ "y": 640,
3208
+ "wires": [
2645
3209
  [
2646
- "d75971a334c97a1d"
3210
+ "d9a04503.7fc3a8",
3211
+ "b1411e5351c0347e"
2647
3212
  ]
2648
3213
  ]
2649
3214
  },
2650
3215
  {
2651
- "id": "273e66a15fcb86aa",
2652
- "type": "Load Injector",
2653
- "z": "1be03be45284f9d4",
2654
- "name": "jsondata+buffer",
2655
- "thinktimemin": 1000,
2656
- "thinktimemax": 10000,
2657
- "runtime": 60,
2658
- "payload": "[97,116,101,115,116]",
2659
- "payloadType": "str",
2660
- "topic": "$random()\t",
2661
- "topicType": "str",
2662
- "x": 120,
2663
- "y": 280,
3216
+ "id": "e8f8458f9e31476a",
3217
+ "type": "inject",
3218
+ "z": "d9c7ae0e.cb9a9",
3219
+ "name": "",
3220
+ "props": [
3221
+ {
3222
+ "p": "payload"
3223
+ },
3224
+ {
3225
+ "p": "topic",
3226
+ "vt": "str"
3227
+ }
3228
+ ],
3229
+ "repeat": "",
3230
+ "crontab": "",
3231
+ "once": false,
3232
+ "onceDelay": 0.1,
3233
+ "topic": "",
3234
+ "payload": "",
3235
+ "payloadType": "date",
3236
+ "x": 100,
3237
+ "y": 640,
2664
3238
  "wires": [
2665
3239
  [
2666
- "06a65ce9414ae1a8"
2667
- ],
2668
- [
2669
- "d75971a334c97a1d"
3240
+ "4442914142aea731"
2670
3241
  ]
2671
3242
  ]
2672
3243
  },
2673
3244
  {
2674
- "id": "6282e45766a9ca96",
2675
- "type": "Load Injector",
2676
- "z": "1be03be45284f9d4",
3245
+ "id": "b1411e5351c0347e",
3246
+ "type": "transform",
3247
+ "z": "d9c7ae0e.cb9a9",
2677
3248
  "name": "",
2678
- "thinktimemin": 1000,
2679
- "thinktimemax": 10000,
2680
- "runtime": 60,
2681
- "payload": "{\"users\":[ {{#repeat 2}}{\"id\": {{@index}}, \"name\": \"{{firstName}} {{lastName}}\", \"work\": \"{{company}}\", \"email\": \"{{email}}\", \"dob\": \"{{date '1900' '2000' 'YYYY'}}\", \"address\": \"{{int 1 100}} {{street}}\", \"city\": \"{{city}}\", \"optedin\": {{boolean}} } {{/repeat}} ], \"images\": [{{#repeat 3}} \"img{{@index}}.png\" {{/repeat}}], \"coordinates\": { \"x\": {{float -50 50 '0.00'}}, \"y\": {{float -25 25 '0.00'}} }, \"price\": \"${{int 0 99999 '0,0'}}\"}",
2682
- "payloadType": "genDataJSON",
2683
- "topic": "{{#repeat 3 comma=false}}hello1{{/repeat}} ",
2684
- "topicType": "genData",
2685
- "x": 110,
2686
- "y": 380,
3249
+ "actionSource": "npy",
3250
+ "actionTarget": "JSON",
3251
+ "sourceProperty": "msg.payload",
3252
+ "targetProperty": "msg.payload",
3253
+ "topicProperty": "msg.topic",
3254
+ "maxMessages": 1000,
3255
+ "schema": "{\"type\":\"record\",\"fields\":[{\"name\":\"name\",\"type\":\"string\"}]}",
3256
+ "schemaType": "json",
3257
+ "skipLeading": 0,
3258
+ "skipTrailing": 0,
3259
+ "delimiter": ",",
3260
+ "compressionType": "setGzip",
3261
+ "x": 570,
3262
+ "y": 640,
2687
3263
  "wires": [
2688
3264
  [
2689
- "d75971a334c97a1d"
3265
+ "d9a04503.7fc3a8"
2690
3266
  ],
2691
3267
  []
2692
3268
  ]