node-red-contrib-prib-functions 0.23.2 → 0.26.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.
Files changed (58) hide show
  1. package/.github/copilot-instructions.md +36 -0
  2. package/README.md +153 -140
  3. package/columnar/columnar.html +258 -0
  4. package/columnar/columnar.js +1055 -0
  5. package/columnar/icons/columnar.svg +38 -0
  6. package/fileSystem/filesystem.html +299 -0
  7. package/fileSystem/filesystem.js +170 -0
  8. package/gitlab/gitlab.html +191 -0
  9. package/gitlab/gitlab.js +248 -0
  10. package/gitlab/icons/gitlab.svg +17 -0
  11. package/lib/AlphaBeta.js +32 -0
  12. package/lib/GraphDB.js +40 -9
  13. package/lib/MinMax.js +17 -0
  14. package/lib/Tree.js +64 -0
  15. package/lib/objectExtensions.js +28 -5
  16. package/lib/timeDimension.js +36 -0
  17. package/lib/typedInput.js +18 -2
  18. package/logisticRegression/icons/logisticregression.svg +22 -0
  19. package/logisticRegression/logisticRegression.html +136 -0
  20. package/logisticRegression/logisticRegression.js +83 -0
  21. package/package.json +21 -9
  22. package/test/02-graphdb.js +46 -0
  23. package/test/columnar.js +509 -0
  24. package/test/data/.config.nodes.json +114 -70
  25. package/test/data/.config.nodes.json.backup +104 -71
  26. package/test/data/.config.runtime.json +2 -1
  27. package/test/data/.config.runtime.json.backup +2 -1
  28. package/test/data/.config.users.json +3 -2
  29. package/test/data/.config.users.json.backup +3 -2
  30. package/test/data/.flow.json.backup +1545 -369
  31. package/test/data/flow.json +1457 -270
  32. package/test/data/package-lock.json +11 -11
  33. package/test/data/shares/.config.nodes.json +611 -0
  34. package/test/data/shares/.config.nodes.json.backup +589 -0
  35. package/test/data/shares/.config.runtime.json +5 -0
  36. package/test/data/shares/.config.runtime.json.backup +4 -0
  37. package/test/data/shares/.config.users.json +33 -0
  38. package/test/data/shares/.config.users.json.backup +33 -0
  39. package/test/data/shares/.flow.json.backup +230 -0
  40. package/test/data/shares/.flow_cred.json.backup +3 -0
  41. package/test/data/shares/flow.json +267 -0
  42. package/test/data/shares/flow_cred.json +3 -0
  43. package/test/data/shares/package.json +6 -0
  44. package/test/data/shares/settings.js +544 -0
  45. package/test/dataAnalysisExtensions.js +93 -93
  46. package/test/logisticRegression.js +379 -0
  47. package/test/transform.js +11 -11
  48. package/test/transformConfluence.js +4 -2
  49. package/test/transformNumPy.js +3 -1
  50. package/test/transformXLSX.js +4 -2
  51. package/test/transformXML.js +4 -2
  52. package/test-runner.js +400 -0
  53. package/test.parq +0 -0
  54. package/test_select.js +37 -0
  55. package/testing/test.js +8 -7
  56. package/transform/transform.html +23 -2
  57. package/transform/transform.js +239 -283
  58. package/transform/xlsx2.js +74 -0
@@ -20,6 +20,14 @@
20
20
  "disabled": false,
21
21
  "info": ""
22
22
  },
23
+ {
24
+ "id": "43a74ee3902ea5d5",
25
+ "type": "tab",
26
+ "label": "filesystem",
27
+ "disabled": false,
28
+ "info": "",
29
+ "env": []
30
+ },
23
31
  {
24
32
  "id": "955f4808.fd1898",
25
33
  "type": "tab",
@@ -117,6 +125,14 @@
117
125
  "info": "",
118
126
  "env": []
119
127
  },
128
+ {
129
+ "id": "e45553957f2b6fab",
130
+ "type": "tab",
131
+ "label": "transform json",
132
+ "disabled": false,
133
+ "info": "",
134
+ "env": []
135
+ },
120
136
  {
121
137
  "id": "460ae66eec4b7f8a",
122
138
  "type": "tab",
@@ -132,6 +148,22 @@
132
148
  "disabled": false,
133
149
  "info": ""
134
150
  },
151
+ {
152
+ "id": "d98540e8ed31a4a1",
153
+ "type": "tab",
154
+ "label": "logistic Regression",
155
+ "disabled": false,
156
+ "info": "",
157
+ "env": []
158
+ },
159
+ {
160
+ "id": "8aa8799ad5afca2b",
161
+ "type": "tab",
162
+ "label": "Columnar store",
163
+ "disabled": false,
164
+ "info": "",
165
+ "env": []
166
+ },
135
167
  {
136
168
  "id": "680198a3be420949",
137
169
  "type": "group",
@@ -1991,9 +2023,9 @@
1991
2023
  "infiniteIsNull": false,
1992
2024
  "payload": "",
1993
2025
  "payloadType": "date",
1994
- "result": "$boolean(msg._matrix.toArray()=[[1,0],[0,1]])",
2026
+ "result": "$boolean(_matrix.toArray()=[[1,0],[0,1]])",
1995
2027
  "resultType": "jsonata",
1996
- "resultProperty": "msg.payload",
2028
+ "resultProperty": "msg",
1997
2029
  "topic": "",
1998
2030
  "x": 170,
1999
2031
  "y": 480,
@@ -2061,6 +2093,24 @@
2061
2093
  []
2062
2094
  ]
2063
2095
  },
2096
+ {
2097
+ "id": "ae223fa13da104ff",
2098
+ "type": "function",
2099
+ "z": "ae9957f07bd56e1b",
2100
+ "name": "function 1",
2101
+ "func": "\nreturn msg;",
2102
+ "outputs": 1,
2103
+ "timeout": 0,
2104
+ "noerr": 0,
2105
+ "initialize": "",
2106
+ "finalize": "",
2107
+ "libs": [],
2108
+ "x": 480,
2109
+ "y": 580,
2110
+ "wires": [
2111
+ []
2112
+ ]
2113
+ },
2064
2114
  {
2065
2115
  "id": "c4e5d98c.1db6f8",
2066
2116
  "type": "Monitor Flow",
@@ -3129,44 +3179,6 @@
3129
3179
  ]
3130
3180
  ]
3131
3181
  },
3132
- {
3133
- "id": "2ce3786.acae688",
3134
- "type": "transform",
3135
- "z": "d9c7ae0e.cb9a9",
3136
- "name": "",
3137
- "actionSource": "JSON",
3138
- "actionTarget": "String",
3139
- "delimiter": ",",
3140
- "x": 580,
3141
- "y": 60,
3142
- "wires": [
3143
- [
3144
- "5ac2ef6c.d0953"
3145
- ],
3146
- []
3147
- ]
3148
- },
3149
- {
3150
- "id": "5ac2ef6c.d0953",
3151
- "type": "test",
3152
- "z": "d9c7ae0e.cb9a9",
3153
- "name": "",
3154
- "payload": "{\"a\":1,\"b\":1}",
3155
- "payloadType": "json",
3156
- "result": "{\"a\":1,\"b\":1}",
3157
- "resultType": "str",
3158
- "resultProperty": "msg.payload",
3159
- "topic": "",
3160
- "x": 300,
3161
- "y": 120,
3162
- "wires": [
3163
- [
3164
- "2ce3786.acae688"
3165
- ],
3166
- [],
3167
- []
3168
- ]
3169
- },
3170
3182
  {
3171
3183
  "id": "d9a04503.7fc3a8",
3172
3184
  "type": "debug",
@@ -3220,28 +3232,6 @@
3220
3232
  []
3221
3233
  ]
3222
3234
  },
3223
- {
3224
- "id": "b61d362a.9b7288",
3225
- "type": "inject",
3226
- "z": "d9c7ae0e.cb9a9",
3227
- "name": "",
3228
- "repeat": "",
3229
- "crontab": "",
3230
- "once": false,
3231
- "onceDelay": 0.1,
3232
- "topic": "",
3233
- "payload": "",
3234
- "payloadType": "date",
3235
- "x": 80,
3236
- "y": 40,
3237
- "wires": [
3238
- [
3239
- "5ac2ef6c.d0953",
3240
- "df3844b8.d62658",
3241
- "1996fa8b.414205"
3242
- ]
3243
- ]
3244
- },
3245
3235
  {
3246
3236
  "id": "eaa68e41.81cce",
3247
3237
  "type": "transform",
@@ -3309,8 +3299,31 @@
3309
3299
  "z": "d9c7ae0e.cb9a9",
3310
3300
  "name": "",
3311
3301
  "actionSource": "ISO8385",
3312
- "actionTarget": "Array",
3302
+ "deleteSource": "true",
3303
+ "deleteSourceType": "bool",
3304
+ "actionTarget": "JSON",
3305
+ "sourceProperty": "",
3306
+ "targetProperty": "",
3307
+ "topicProperty": "",
3308
+ "JSONataSource": "",
3309
+ "JSONataTarget": "",
3310
+ "index": "",
3311
+ "maxMessages": "",
3312
+ "maxDate": "",
3313
+ "minDate": "",
3314
+ "maxNumber": "",
3315
+ "minNumber": "",
3316
+ "maxString": "",
3317
+ "minString": "",
3318
+ "radix": "",
3319
+ "schema": "",
3320
+ "schemaType": "str",
3321
+ "skipLeading": "",
3322
+ "skipTrailing": "",
3323
+ "string": "",
3324
+ "stringType": "str",
3313
3325
  "delimiter": ",",
3326
+ "compressionType": "setGzip",
3314
3327
  "x": 510,
3315
3328
  "y": 420,
3316
3329
  "wires": [
@@ -3338,8 +3351,8 @@
3338
3351
  "actionSource": "JSON",
3339
3352
  "actionTarget": "HTML",
3340
3353
  "delimiter": ",",
3341
- "x": 520,
3342
- "y": 500,
3354
+ "x": 540,
3355
+ "y": 320,
3343
3356
  "wires": [
3344
3357
  [
3345
3358
  "d9a04503.7fc3a8"
@@ -3424,119 +3437,297 @@
3424
3437
  ]
3425
3438
  },
3426
3439
  {
3427
- "id": "93c7047f87bbf964",
3428
- "type": "debug",
3429
- "z": "5866424ac23291eb",
3430
- "name": "error",
3431
- "active": true,
3432
- "tosidebar": true,
3433
- "console": false,
3434
- "tostatus": false,
3435
- "complete": "true",
3436
- "targetType": "full",
3437
- "statusVal": "",
3438
- "statusType": "auto",
3439
- "x": 970,
3440
- "y": 200,
3441
- "wires": []
3440
+ "id": "7d7f98d9f9c42629",
3441
+ "type": "link call",
3442
+ "z": "d9c7ae0e.cb9a9",
3443
+ "name": "",
3444
+ "links": [
3445
+ "2605139b45f1f105"
3446
+ ],
3447
+ "linkType": "static",
3448
+ "timeout": "30",
3449
+ "x": 340,
3450
+ "y": 820,
3451
+ "wires": [
3452
+ [
3453
+ "39f69c675d39c38c"
3454
+ ]
3455
+ ]
3442
3456
  },
3443
3457
  {
3444
- "id": "de625a76baddbeab",
3445
- "type": "transform",
3446
- "z": "5866424ac23291eb",
3458
+ "id": "93648bfe54fe290b",
3459
+ "type": "inject",
3460
+ "z": "d9c7ae0e.cb9a9",
3447
3461
  "name": "",
3448
- "actionSource": "JSON",
3449
- "actionTarget": "CSV",
3450
- "sourceProperty": "msg.payload",
3451
- "targetProperty": "msg.payload",
3452
- "topicProperty": "msg.topic",
3453
- "maxMessages": 1000,
3454
- "schema": "{\"type\":\"record\",\"fields\":[{\"name\":\"name\",\"type\":\"string\"}]}",
3455
- "schemaType": "json",
3456
- "skipLeading": 0,
3457
- "skipTrailing": 0,
3458
- "delimiter": ",",
3459
- "compressionType": "setGzip",
3460
- "x": 450,
3461
- "y": 280,
3462
+ "props": [
3463
+ {
3464
+ "p": "payload"
3465
+ },
3466
+ {
3467
+ "p": "topic",
3468
+ "vt": "str"
3469
+ }
3470
+ ],
3471
+ "repeat": "",
3472
+ "crontab": "",
3473
+ "once": false,
3474
+ "onceDelay": 0.1,
3475
+ "topic": "",
3476
+ "payload": "",
3477
+ "payloadType": "date",
3478
+ "x": 120,
3479
+ "y": 740,
3462
3480
  "wires": [
3463
3481
  [
3464
- "b8a38eb268a6e0c8"
3465
- ],
3466
- []
3482
+ "455bee5a8bfcd16f"
3483
+ ]
3467
3484
  ]
3468
3485
  },
3469
3486
  {
3470
- "id": "911d448d61a99628",
3471
- "type": "transform",
3472
- "z": "5866424ac23291eb",
3487
+ "id": "44ba2e4231a7cf77",
3488
+ "type": "link call",
3489
+ "z": "d9c7ae0e.cb9a9",
3473
3490
  "name": "",
3474
- "actionSource": "Array",
3475
- "actionTarget": "HTML",
3476
- "sourceProperty": "msg.payload",
3477
- "targetProperty": "msg.payload",
3478
- "topicProperty": "msg.topic",
3479
- "maxMessages": 1000,
3480
- "schema": "{\"type\":\"record\",\"fields\":[{\"name\":\"name\",\"type\":\"string\"}]}",
3481
- "schemaType": "json",
3482
- "skipLeading": 0,
3483
- "skipTrailing": 0,
3484
- "delimiter": ",",
3485
- "compressionType": "setGzip",
3486
- "x": 460,
3487
- "y": 360,
3491
+ "links": [
3492
+ "e057797d0b796145"
3493
+ ],
3494
+ "linkType": "static",
3495
+ "timeout": "30",
3496
+ "x": 670,
3497
+ "y": 100,
3488
3498
  "wires": [
3489
- [
3490
- "238111a6a4d2eb17"
3491
- ],
3492
3499
  []
3493
3500
  ]
3494
3501
  },
3495
3502
  {
3496
- "id": "238111a6a4d2eb17",
3497
- "type": "test",
3498
- "z": "5866424ac23291eb",
3503
+ "id": "455bee5a8bfcd16f",
3504
+ "type": "link call",
3505
+ "z": "d9c7ae0e.cb9a9",
3499
3506
  "name": "",
3500
- "errorFactor": 0,
3501
- "escapeString": false,
3502
- "infiniteIsNull": false,
3503
- "payload": "[[1,2],[3,4]]",
3504
- "payloadType": "json",
3505
- "result": "<table><tr><td><![CDATA[1]]></td><td><![CDATA[2]]></td></tr><tr><td><![CDATA[3]]></td><td><![CDATA[4]]></td></tr></table>",
3506
- "resultType": "str",
3507
- "resultProperty": "msg.payload",
3508
- "topic": "",
3509
- "x": 170,
3510
- "y": 360,
3507
+ "links": [
3508
+ "ef3c3bb841e5b85a"
3509
+ ],
3510
+ "linkType": "static",
3511
+ "timeout": "30",
3512
+ "x": 320,
3513
+ "y": 740,
3511
3514
  "wires": [
3512
3515
  [
3513
- "911d448d61a99628"
3514
- ],
3515
- [
3516
- "93c7047f87bbf964"
3517
- ],
3518
- [
3519
- "4a732ba4ce49193b"
3516
+ "52839bfb05b91f4c"
3520
3517
  ]
3521
3518
  ]
3522
3519
  },
3523
3520
  {
3524
- "id": "4a732ba4ce49193b",
3525
- "type": "test",
3526
- "z": "5866424ac23291eb",
3521
+ "id": "810e0fa7d63baab2",
3522
+ "type": "link call",
3523
+ "z": "d9c7ae0e.cb9a9",
3527
3524
  "name": "",
3528
- "errorFactor": 0,
3529
- "escapeString": false,
3530
- "infiniteIsNull": false,
3531
- "payload": "[[1,2],[3,4]]",
3532
- "payloadType": "json",
3533
- "result": "[[\"0\",[[\"0\",1],[\"1\",2]]],[\"1\",[[\"0\",3],[\"1\",4]]]]",
3534
- "resultType": "json",
3535
- "resultProperty": "msg.payload",
3536
- "topic": "",
3537
- "x": 160,
3538
- "y": 440,
3539
- "wires": [
3525
+ "links": [
3526
+ "e057797d0b796145"
3527
+ ],
3528
+ "linkType": "static",
3529
+ "timeout": "30",
3530
+ "x": 350,
3531
+ "y": 940,
3532
+ "wires": [
3533
+ [
3534
+ "6bda6a7cf990884d"
3535
+ ]
3536
+ ]
3537
+ },
3538
+ {
3539
+ "id": "6bda6a7cf990884d",
3540
+ "type": "debug",
3541
+ "z": "d9c7ae0e.cb9a9",
3542
+ "name": "Done",
3543
+ "active": true,
3544
+ "tosidebar": true,
3545
+ "console": false,
3546
+ "tostatus": false,
3547
+ "complete": "payload",
3548
+ "targetType": "msg",
3549
+ "statusVal": "",
3550
+ "statusType": "auto",
3551
+ "x": 570,
3552
+ "y": 960,
3553
+ "wires": []
3554
+ },
3555
+ {
3556
+ "id": "52839bfb05b91f4c",
3557
+ "type": "Monitor Flow",
3558
+ "z": "d9c7ae0e.cb9a9",
3559
+ "name": "",
3560
+ "x": 550,
3561
+ "y": 740,
3562
+ "wires": [
3563
+ [
3564
+ "11ca1573aaaf8288"
3565
+ ]
3566
+ ]
3567
+ },
3568
+ {
3569
+ "id": "39f69c675d39c38c",
3570
+ "type": "Monitor Flow",
3571
+ "z": "d9c7ae0e.cb9a9",
3572
+ "name": "",
3573
+ "x": 550,
3574
+ "y": 820,
3575
+ "wires": [
3576
+ [
3577
+ "6fe703fe6cf5f12d"
3578
+ ]
3579
+ ]
3580
+ },
3581
+ {
3582
+ "id": "6fe703fe6cf5f12d",
3583
+ "type": "link call",
3584
+ "z": "d9c7ae0e.cb9a9",
3585
+ "name": "",
3586
+ "links": [
3587
+ "8bc4d0adfbe612e5"
3588
+ ],
3589
+ "linkType": "static",
3590
+ "timeout": "30",
3591
+ "x": 330,
3592
+ "y": 880,
3593
+ "wires": [
3594
+ [
3595
+ "810e0fa7d63baab2"
3596
+ ]
3597
+ ]
3598
+ },
3599
+ {
3600
+ "id": "11ca1573aaaf8288",
3601
+ "type": "link call",
3602
+ "z": "d9c7ae0e.cb9a9",
3603
+ "name": "",
3604
+ "links": [
3605
+ "0c1e0f0f3543e49e"
3606
+ ],
3607
+ "linkType": "static",
3608
+ "timeout": "30",
3609
+ "x": 340,
3610
+ "y": 780,
3611
+ "wires": [
3612
+ [
3613
+ "7d7f98d9f9c42629"
3614
+ ]
3615
+ ]
3616
+ },
3617
+ {
3618
+ "id": "93c7047f87bbf964",
3619
+ "type": "debug",
3620
+ "z": "5866424ac23291eb",
3621
+ "name": "error",
3622
+ "active": true,
3623
+ "tosidebar": true,
3624
+ "console": false,
3625
+ "tostatus": false,
3626
+ "complete": "true",
3627
+ "targetType": "full",
3628
+ "statusVal": "",
3629
+ "statusType": "auto",
3630
+ "x": 970,
3631
+ "y": 200,
3632
+ "wires": []
3633
+ },
3634
+ {
3635
+ "id": "de625a76baddbeab",
3636
+ "type": "transform",
3637
+ "z": "5866424ac23291eb",
3638
+ "name": "",
3639
+ "actionSource": "JSON",
3640
+ "actionTarget": "CSV",
3641
+ "sourceProperty": "msg.payload",
3642
+ "targetProperty": "msg.payload",
3643
+ "topicProperty": "msg.topic",
3644
+ "maxMessages": 1000,
3645
+ "schema": "{\"type\":\"record\",\"fields\":[{\"name\":\"name\",\"type\":\"string\"}]}",
3646
+ "schemaType": "json",
3647
+ "skipLeading": 0,
3648
+ "skipTrailing": 0,
3649
+ "delimiter": ",",
3650
+ "compressionType": "setGzip",
3651
+ "x": 630,
3652
+ "y": 280,
3653
+ "wires": [
3654
+ [
3655
+ "b8a38eb268a6e0c8"
3656
+ ],
3657
+ []
3658
+ ]
3659
+ },
3660
+ {
3661
+ "id": "911d448d61a99628",
3662
+ "type": "transform",
3663
+ "z": "5866424ac23291eb",
3664
+ "name": "",
3665
+ "actionSource": "Array",
3666
+ "actionTarget": "HTML",
3667
+ "sourceProperty": "msg.payload",
3668
+ "targetProperty": "msg.payload",
3669
+ "topicProperty": "msg.topic",
3670
+ "maxMessages": 1000,
3671
+ "schema": "{\"type\":\"record\",\"fields\":[{\"name\":\"name\",\"type\":\"string\"}]}",
3672
+ "schemaType": "json",
3673
+ "skipLeading": 0,
3674
+ "skipTrailing": 0,
3675
+ "delimiter": ",",
3676
+ "compressionType": "setGzip",
3677
+ "x": 640,
3678
+ "y": 360,
3679
+ "wires": [
3680
+ [
3681
+ "238111a6a4d2eb17"
3682
+ ],
3683
+ []
3684
+ ]
3685
+ },
3686
+ {
3687
+ "id": "238111a6a4d2eb17",
3688
+ "type": "test",
3689
+ "z": "5866424ac23291eb",
3690
+ "name": "",
3691
+ "errorFactor": 0,
3692
+ "escapeString": false,
3693
+ "infiniteIsNull": false,
3694
+ "payload": "[[1,2],[3,4]]",
3695
+ "payloadType": "json",
3696
+ "result": "<table><tr><td><![CDATA[1]]></td><td><![CDATA[2]]></td></tr><tr><td><![CDATA[3]]></td><td><![CDATA[4]]></td></tr></table>",
3697
+ "resultType": "str",
3698
+ "resultProperty": "msg.payload",
3699
+ "topic": "",
3700
+ "x": 350,
3701
+ "y": 360,
3702
+ "wires": [
3703
+ [
3704
+ "911d448d61a99628"
3705
+ ],
3706
+ [
3707
+ "93c7047f87bbf964"
3708
+ ],
3709
+ [
3710
+ "4a732ba4ce49193b"
3711
+ ]
3712
+ ]
3713
+ },
3714
+ {
3715
+ "id": "4a732ba4ce49193b",
3716
+ "type": "test",
3717
+ "z": "5866424ac23291eb",
3718
+ "name": "",
3719
+ "errorFactor": 0,
3720
+ "escapeString": false,
3721
+ "infiniteIsNull": false,
3722
+ "payload": "[[1,2],[3,4]]",
3723
+ "payloadType": "json",
3724
+ "result": "[[\"0\",[[\"0\",1],[\"1\",2]]],[\"1\",[[\"0\",3],[\"1\",4]]]]",
3725
+ "resultType": "json",
3726
+ "resultProperty": "msg.payload",
3727
+ "topic": "",
3728
+ "x": 340,
3729
+ "y": 440,
3730
+ "wires": [
3540
3731
  [
3541
3732
  "dd65575382bcf216"
3542
3733
  ],
@@ -3577,7 +3768,7 @@
3577
3768
  "stringType": "str",
3578
3769
  "delimiter": ",",
3579
3770
  "compressionType": "setGzip",
3580
- "x": 460,
3771
+ "x": 640,
3581
3772
  "y": 440,
3582
3773
  "wires": [
3583
3774
  [
@@ -3602,7 +3793,7 @@
3602
3793
  "resultType": "json",
3603
3794
  "resultProperty": "msg.payload",
3604
3795
  "topic": "",
3605
- "x": 170,
3796
+ "x": 350,
3606
3797
  "y": 520,
3607
3798
  "wires": [
3608
3799
  [
@@ -3611,7 +3802,9 @@
3611
3802
  [
3612
3803
  "93c7047f87bbf964"
3613
3804
  ],
3614
- []
3805
+ [
3806
+ "3c77d5233e994214"
3807
+ ]
3615
3808
  ]
3616
3809
  },
3617
3810
  {
@@ -3631,7 +3824,7 @@
3631
3824
  "skipTrailing": 0,
3632
3825
  "delimiter": ",",
3633
3826
  "compressionType": "setGzip",
3634
- "x": 460,
3827
+ "x": 640,
3635
3828
  "y": 520,
3636
3829
  "wires": [
3637
3830
  [
@@ -3656,7 +3849,7 @@
3656
3849
  "resultType": "str",
3657
3850
  "resultProperty": "msg.payload",
3658
3851
  "topic": "",
3659
- "x": 170,
3852
+ "x": 350,
3660
3853
  "y": 40,
3661
3854
  "wires": [
3662
3855
  [
@@ -3687,7 +3880,7 @@
3687
3880
  "skipTrailing": 0,
3688
3881
  "delimiter": ",",
3689
3882
  "compressionType": "setGzip",
3690
- "x": 450,
3883
+ "x": 630,
3691
3884
  "y": 40,
3692
3885
  "wires": [
3693
3886
  [
@@ -3712,7 +3905,7 @@
3712
3905
  "resultType": "str",
3713
3906
  "resultProperty": "msg.payload",
3714
3907
  "topic": "",
3715
- "x": 150,
3908
+ "x": 330,
3716
3909
  "y": 120,
3717
3910
  "wires": [
3718
3911
  [
@@ -3743,7 +3936,7 @@
3743
3936
  "skipTrailing": 0,
3744
3937
  "delimiter": ",",
3745
3938
  "compressionType": "setGzip",
3746
- "x": 450,
3939
+ "x": 630,
3747
3940
  "y": 120,
3748
3941
  "wires": [
3749
3942
  [
@@ -3771,7 +3964,7 @@
3771
3964
  "skipTrailing": 0,
3772
3965
  "delimiter": ",",
3773
3966
  "compressionType": "setGzip",
3774
- "x": 460,
3967
+ "x": 640,
3775
3968
  "y": 200,
3776
3969
  "wires": [
3777
3970
  [
@@ -3796,7 +3989,7 @@
3796
3989
  "resultType": "str",
3797
3990
  "resultProperty": "msg.payload",
3798
3991
  "topic": "",
3799
- "x": 170,
3992
+ "x": 350,
3800
3993
  "y": 200,
3801
3994
  "wires": [
3802
3995
  [
@@ -3824,7 +4017,7 @@
3824
4017
  "resultType": "str",
3825
4018
  "resultProperty": "msg.payload",
3826
4019
  "topic": "",
3827
- "x": 170,
4020
+ "x": 350,
3828
4021
  "y": 280,
3829
4022
  "wires": [
3830
4023
  [
@@ -3838,6 +4031,31 @@
3838
4031
  ]
3839
4032
  ]
3840
4033
  },
4034
+ {
4035
+ "id": "ef3c3bb841e5b85a",
4036
+ "type": "link in",
4037
+ "z": "5866424ac23291eb",
4038
+ "name": "transform array",
4039
+ "links": [],
4040
+ "x": 105,
4041
+ "y": 40,
4042
+ "wires": [
4043
+ [
4044
+ "16fb26ead524acd9"
4045
+ ]
4046
+ ]
4047
+ },
4048
+ {
4049
+ "id": "3c77d5233e994214",
4050
+ "type": "link out",
4051
+ "z": "5866424ac23291eb",
4052
+ "name": "transform array finished",
4053
+ "mode": "return",
4054
+ "links": [],
4055
+ "x": 555,
4056
+ "y": 620,
4057
+ "wires": []
4058
+ },
3841
4059
  {
3842
4060
  "id": "49b2ad130416e0a0",
3843
4061
  "type": "transform",
@@ -4206,7 +4424,7 @@
4206
4424
  "b60875427c4e1dab"
4207
4425
  ],
4208
4426
  [
4209
- "a411a1f479258d72"
4427
+ "731e0f954b971546"
4210
4428
  ]
4211
4429
  ]
4212
4430
  },
@@ -4223,8 +4441,8 @@
4223
4441
  "targetType": "msg",
4224
4442
  "statusVal": "",
4225
4443
  "statusType": "auto",
4226
- "x": 690,
4227
- "y": 660,
4444
+ "x": 1070,
4445
+ "y": 720,
4228
4446
  "wires": []
4229
4447
  },
4230
4448
  {
@@ -4594,7 +4812,10 @@
4594
4812
  [
4595
4813
  "3113b8a9e4b92296"
4596
4814
  ],
4597
- []
4815
+ [
4816
+ "a411a1f479258d72",
4817
+ "d8e481b0d9a11465"
4818
+ ]
4598
4819
  ]
4599
4820
  },
4600
4821
  {
@@ -4637,24 +4858,49 @@
4637
4858
  ]
4638
4859
  },
4639
4860
  {
4640
- "id": "ee2d5b0149699bfd",
4641
- "type": "transform",
4642
- "z": "65b5beda2b73b7b5",
4643
- "name": "",
4644
- "actionSource": "Buffer",
4645
- "actionTarget": "Compressed",
4646
- "sourceProperty": "msg.payload",
4647
- "targetProperty": "msg.payload",
4648
- "topicProperty": "msg.topic",
4649
- "maxMessages": 1000,
4650
- "schema": "{\"type\":\"record\",\"fields\":[{\"name\":\"name\",\"type\":\"string\"}]}",
4651
- "schemaType": "json",
4652
- "skipLeading": 0,
4653
- "skipTrailing": 0,
4654
- "delimiter": ",",
4655
- "compressionType": "setGzip",
4656
- "x": 520,
4657
- "y": 80,
4861
+ "id": "2605139b45f1f105",
4862
+ "type": "link in",
4863
+ "z": "1374c39ae82adb4e",
4864
+ "name": "transform date",
4865
+ "links": [],
4866
+ "x": 75,
4867
+ "y": 160,
4868
+ "wires": [
4869
+ [
4870
+ "d96341af5b44e199"
4871
+ ]
4872
+ ]
4873
+ },
4874
+ {
4875
+ "id": "d8e481b0d9a11465",
4876
+ "type": "link out",
4877
+ "z": "1374c39ae82adb4e",
4878
+ "name": "trans form date finish",
4879
+ "mode": "return",
4880
+ "links": [],
4881
+ "x": 1235,
4882
+ "y": 680,
4883
+ "wires": []
4884
+ },
4885
+ {
4886
+ "id": "ee2d5b0149699bfd",
4887
+ "type": "transform",
4888
+ "z": "65b5beda2b73b7b5",
4889
+ "name": "",
4890
+ "actionSource": "Buffer",
4891
+ "actionTarget": "Compressed",
4892
+ "sourceProperty": "msg.payload",
4893
+ "targetProperty": "msg.payload",
4894
+ "topicProperty": "msg.topic",
4895
+ "maxMessages": 1000,
4896
+ "schema": "{\"type\":\"record\",\"fields\":[{\"name\":\"name\",\"type\":\"string\"}]}",
4897
+ "schemaType": "json",
4898
+ "skipLeading": 0,
4899
+ "skipTrailing": 0,
4900
+ "delimiter": ",",
4901
+ "compressionType": "setGzip",
4902
+ "x": 520,
4903
+ "y": 80,
4658
4904
  "wires": [
4659
4905
  [
4660
4906
  "5dcab80a65f78002"
@@ -4669,7 +4915,7 @@
4669
4915
  "type": "debug",
4670
4916
  "z": "65b5beda2b73b7b5",
4671
4917
  "name": "debug",
4672
- "active": true,
4918
+ "active": false,
4673
4919
  "tosidebar": true,
4674
4920
  "console": false,
4675
4921
  "tostatus": false,
@@ -4913,7 +5159,9 @@
4913
5159
  [
4914
5160
  "10a0adbf5535121a"
4915
5161
  ],
4916
- []
5162
+ [
5163
+ "84bf5aaa74b38e59"
5164
+ ]
4917
5165
  ]
4918
5166
  },
4919
5167
  {
@@ -4957,69 +5205,174 @@
4957
5205
  ]
4958
5206
  },
4959
5207
  {
4960
- "id": "47a287530ed838e7",
5208
+ "id": "0c1e0f0f3543e49e",
5209
+ "type": "link in",
5210
+ "z": "65b5beda2b73b7b5",
5211
+ "name": "transform compress",
5212
+ "links": [],
5213
+ "x": 75,
5214
+ "y": 40,
5215
+ "wires": [
5216
+ [
5217
+ "d38095883a4a54ac"
5218
+ ]
5219
+ ]
5220
+ },
5221
+ {
5222
+ "id": "84bf5aaa74b38e59",
5223
+ "type": "link out",
5224
+ "z": "65b5beda2b73b7b5",
5225
+ "name": "transform compress finished",
5226
+ "mode": "return",
5227
+ "links": [],
5228
+ "x": 305,
5229
+ "y": 760,
5230
+ "wires": []
5231
+ },
5232
+ {
5233
+ "id": "5ac2ef6c.d0953",
5234
+ "type": "test",
5235
+ "z": "e45553957f2b6fab",
5236
+ "name": "",
5237
+ "errorFactor": "",
5238
+ "escapeString": false,
5239
+ "payload": "{\"a\":1,\"b\":1}",
5240
+ "payloadType": "json",
5241
+ "result": "{\"a\":1,\"b\":1}",
5242
+ "resultType": "json",
5243
+ "resultProperty": "msg.payload",
5244
+ "topic": "",
5245
+ "x": 280,
5246
+ "y": 100,
5247
+ "wires": [
5248
+ [
5249
+ "2ce3786.acae688"
5250
+ ],
5251
+ [
5252
+ "039806dcd68d6ff2"
5253
+ ],
5254
+ [
5255
+ "d49331e9f6193c4f"
5256
+ ]
5257
+ ]
5258
+ },
5259
+ {
5260
+ "id": "2ce3786.acae688",
4961
5261
  "type": "transform",
4962
- "z": "460ae66eec4b7f8a",
5262
+ "z": "e45553957f2b6fab",
4963
5263
  "name": "",
4964
- "actionSource": "String",
5264
+ "actionSource": "JSON",
4965
5265
  "deleteSource": "true",
4966
5266
  "deleteSourceType": "bool",
4967
- "actionTarget": "Append",
4968
- "sourceProperty": "msg.payload",
4969
- "targetProperty": "msg.payload",
4970
- "topicProperty": "msg.topic",
4971
- "index": 0,
4972
- "maxMessages": 1000,
4973
- "radix": 10,
4974
- "schema": "{\"type\":\"record\",\"fields\":[{\"name\":\"name\",\"type\":\"string\"}]}",
5267
+ "actionTarget": "JSON",
5268
+ "sourceProperty": "",
5269
+ "targetProperty": "",
5270
+ "topicProperty": "",
5271
+ "JSONataSource": "",
5272
+ "JSONataTarget": "",
5273
+ "index": "",
5274
+ "maxMessages": "",
5275
+ "maxDate": "",
5276
+ "minDate": "",
5277
+ "maxNumber": "",
5278
+ "minNumber": "",
5279
+ "maxString": "",
5280
+ "minString": "",
5281
+ "radix": "",
5282
+ "schema": "",
4975
5283
  "schemaType": "str",
4976
- "skipLeading": 0,
4977
- "skipTrailing": 0,
4978
- "string": "atest",
5284
+ "skipLeading": "",
5285
+ "skipTrailing": "",
5286
+ "string": "",
4979
5287
  "stringType": "str",
4980
5288
  "delimiter": ",",
4981
5289
  "compressionType": "setGzip",
4982
- "x": 500,
4983
- "y": 40,
5290
+ "x": 640,
5291
+ "y": 20,
4984
5292
  "wires": [
4985
5293
  [
4986
- "9ec96a604b0f3e20"
5294
+ "5ac2ef6c.d0953"
4987
5295
  ],
4988
5296
  [
4989
- "925117734d8e96b5"
5297
+ "039806dcd68d6ff2"
4990
5298
  ]
4991
5299
  ]
4992
5300
  },
4993
5301
  {
4994
- "id": "9ec96a604b0f3e20",
5302
+ "id": "d49331e9f6193c4f",
4995
5303
  "type": "test",
4996
- "z": "460ae66eec4b7f8a",
5304
+ "z": "e45553957f2b6fab",
4997
5305
  "name": "",
4998
- "errorFactor": 0,
5306
+ "errorFactor": "",
4999
5307
  "escapeString": false,
5000
- "infiniteIsNull": false,
5001
- "payload": "abc",
5002
- "payloadType": "str",
5003
- "result": "abcatest",
5004
- "resultType": "str",
5308
+ "payload": "{\"in\":{\"a\":1,\"b\":1}}",
5309
+ "payloadType": "json",
5310
+ "result": "1",
5311
+ "resultType": "num",
5005
5312
  "resultProperty": "msg.payload",
5006
5313
  "topic": "",
5007
- "x": 140,
5008
- "y": 40,
5314
+ "x": 270,
5315
+ "y": 240,
5009
5316
  "wires": [
5010
5317
  [
5011
- "47a287530ed838e7"
5318
+ "670969e02ee29ad1"
5012
5319
  ],
5013
- [],
5014
5320
  [
5015
- "8d8bb2e1192b3a8c"
5321
+ "039806dcd68d6ff2"
5322
+ ],
5323
+ [
5324
+ "5e2a7ceef9de11bf"
5016
5325
  ]
5017
5326
  ]
5018
5327
  },
5019
5328
  {
5020
- "id": "925117734d8e96b5",
5329
+ "id": "670969e02ee29ad1",
5330
+ "type": "transform",
5331
+ "z": "e45553957f2b6fab",
5332
+ "name": "",
5333
+ "actionSource": "JSON",
5334
+ "deleteSource": "true",
5335
+ "deleteSourceType": "bool",
5336
+ "actionTarget": "JSON",
5337
+ "sourceProperty": "",
5338
+ "targetProperty": "",
5339
+ "topicProperty": "",
5340
+ "JSONataSource": "in.a",
5341
+ "JSONataSourceType": "jsonata",
5342
+ "JSONataTarget": "",
5343
+ "JSONataTargetType": "jsonata",
5344
+ "index": "",
5345
+ "maxMessages": "",
5346
+ "maxDate": "",
5347
+ "minDate": "",
5348
+ "maxNumber": "",
5349
+ "minNumber": "",
5350
+ "maxString": "",
5351
+ "minString": "",
5352
+ "radix": "",
5353
+ "schema": "",
5354
+ "schemaType": "str",
5355
+ "skipLeading": "",
5356
+ "skipTrailing": "",
5357
+ "string": "",
5358
+ "stringType": "str",
5359
+ "delimiter": ",",
5360
+ "compressionType": "setGzip",
5361
+ "x": 640,
5362
+ "y": 160,
5363
+ "wires": [
5364
+ [
5365
+ "d49331e9f6193c4f"
5366
+ ],
5367
+ [
5368
+ "039806dcd68d6ff2"
5369
+ ]
5370
+ ]
5371
+ },
5372
+ {
5373
+ "id": "039806dcd68d6ff2",
5021
5374
  "type": "debug",
5022
- "z": "460ae66eec4b7f8a",
5375
+ "z": "e45553957f2b6fab",
5023
5376
  "name": "error",
5024
5377
  "active": true,
5025
5378
  "tosidebar": true,
@@ -5030,80 +5383,116 @@
5030
5383
  "statusVal": "",
5031
5384
  "statusType": "auto",
5032
5385
  "x": 930,
5033
- "y": 2140,
5386
+ "y": 220,
5034
5387
  "wires": []
5035
5388
  },
5036
5389
  {
5037
- "id": "8d8bb2e1192b3a8c",
5390
+ "id": "b02379a693c4f95d",
5391
+ "type": "link out",
5392
+ "z": "e45553957f2b6fab",
5393
+ "name": "link out 4",
5394
+ "mode": "return",
5395
+ "links": [],
5396
+ "x": 545,
5397
+ "y": 380,
5398
+ "wires": []
5399
+ },
5400
+ {
5401
+ "id": "8bc4d0adfbe612e5",
5402
+ "type": "link in",
5403
+ "z": "e45553957f2b6fab",
5404
+ "name": "transform json",
5405
+ "links": [],
5406
+ "x": 75,
5407
+ "y": 40,
5408
+ "wires": [
5409
+ [
5410
+ "5ac2ef6c.d0953"
5411
+ ]
5412
+ ]
5413
+ },
5414
+ {
5415
+ "id": "5e2a7ceef9de11bf",
5038
5416
  "type": "test",
5039
- "z": "460ae66eec4b7f8a",
5417
+ "z": "e45553957f2b6fab",
5040
5418
  "name": "",
5041
- "errorFactor": 0,
5419
+ "errorFactor": "",
5042
5420
  "escapeString": false,
5043
- "infiniteIsNull": false,
5044
- "payload": "{\"a\":\"test\"}",
5421
+ "payload": "{\"in\":{\"a\":1,\"b\":1}}",
5045
5422
  "payloadType": "json",
5046
- "result": "{\"b\":\"t\"}",
5047
- "resultType": "json",
5423
+ "result": "1",
5424
+ "resultType": "num",
5048
5425
  "resultProperty": "msg.payload",
5049
5426
  "topic": "",
5050
- "x": 160,
5051
- "y": 120,
5427
+ "x": 290,
5428
+ "y": 360,
5052
5429
  "wires": [
5053
5430
  [
5054
- "517c89e4609e0e70"
5431
+ "96f0fb80a916acba"
5055
5432
  ],
5056
- [],
5057
5433
  [
5058
- "f78d540c53a64514"
5434
+ "039806dcd68d6ff2"
5435
+ ],
5436
+ [
5437
+ "b02379a693c4f95d"
5059
5438
  ]
5060
5439
  ]
5061
5440
  },
5062
5441
  {
5063
- "id": "517c89e4609e0e70",
5442
+ "id": "96f0fb80a916acba",
5064
5443
  "type": "transform",
5065
- "z": "460ae66eec4b7f8a",
5444
+ "z": "e45553957f2b6fab",
5066
5445
  "name": "",
5067
- "actionSource": "String",
5446
+ "actionSource": "JSON",
5068
5447
  "deleteSource": "true",
5069
5448
  "deleteSourceType": "bool",
5070
- "actionTarget": "CharAt",
5071
- "sourceProperty": "msg.payload.a",
5072
- "targetProperty": "msg.payload.b",
5073
- "topicProperty": "msg.topic",
5074
- "index": 0,
5075
- "maxMessages": 1000,
5076
- "radix": 10,
5077
- "schema": "{\"type\":\"record\",\"fields\":[{\"name\":\"name\",\"type\":\"string\"}]}",
5449
+ "actionTarget": "JSON",
5450
+ "sourceProperty": "",
5451
+ "targetProperty": "",
5452
+ "topicProperty": "",
5453
+ "JSONataSource": "",
5454
+ "JSONataSourceType": "jsonata",
5455
+ "JSONataTarget": "in.a",
5456
+ "JSONataTargetType": "jsonata",
5457
+ "index": "",
5458
+ "maxMessages": "",
5459
+ "maxDate": "",
5460
+ "minDate": "",
5461
+ "maxNumber": "",
5462
+ "minNumber": "",
5463
+ "maxString": "",
5464
+ "minString": "",
5465
+ "radix": "",
5466
+ "schema": "",
5078
5467
  "schemaType": "str",
5079
- "skipLeading": 0,
5080
- "skipTrailing": 0,
5081
- "string": "a",
5082
- "stringType": "msg",
5468
+ "skipLeading": "",
5469
+ "skipTrailing": "",
5470
+ "string": "",
5471
+ "stringType": "str",
5083
5472
  "delimiter": ",",
5084
5473
  "compressionType": "setGzip",
5085
- "x": 500,
5086
- "y": 120,
5474
+ "x": 660,
5475
+ "y": 280,
5087
5476
  "wires": [
5088
5477
  [
5089
- "8d8bb2e1192b3a8c"
5478
+ "5e2a7ceef9de11bf"
5090
5479
  ],
5091
5480
  [
5092
- "925117734d8e96b5"
5481
+ "039806dcd68d6ff2"
5093
5482
  ]
5094
5483
  ]
5095
5484
  },
5096
5485
  {
5097
- "id": "88582559dcf028bb",
5486
+ "id": "47a287530ed838e7",
5098
5487
  "type": "transform",
5099
5488
  "z": "460ae66eec4b7f8a",
5100
5489
  "name": "",
5101
5490
  "actionSource": "String",
5102
- "deleteSource": "false",
5491
+ "deleteSource": "true",
5103
5492
  "deleteSourceType": "bool",
5104
5493
  "actionTarget": "Append",
5105
- "sourceProperty": "msg.payload.a",
5106
- "targetProperty": "msg.payload.b",
5494
+ "sourceProperty": "msg.payload",
5495
+ "targetProperty": "msg.payload",
5107
5496
  "topicProperty": "msg.topic",
5108
5497
  "index": 0,
5109
5498
  "maxMessages": 1000,
@@ -5112,15 +5501,15 @@
5112
5501
  "schemaType": "str",
5113
5502
  "skipLeading": 0,
5114
5503
  "skipTrailing": 0,
5115
- "string": "=>",
5504
+ "string": "atest",
5116
5505
  "stringType": "str",
5117
5506
  "delimiter": ",",
5118
5507
  "compressionType": "setGzip",
5119
5508
  "x": 500,
5120
- "y": 200,
5509
+ "y": 40,
5121
5510
  "wires": [
5122
5511
  [
5123
- "f78d540c53a64514"
5512
+ "9ec96a604b0f3e20"
5124
5513
  ],
5125
5514
  [
5126
5515
  "925117734d8e96b5"
@@ -5128,12 +5517,153 @@
5128
5517
  ]
5129
5518
  },
5130
5519
  {
5131
- "id": "f78d540c53a64514",
5520
+ "id": "9ec96a604b0f3e20",
5132
5521
  "type": "test",
5133
5522
  "z": "460ae66eec4b7f8a",
5134
5523
  "name": "",
5135
5524
  "errorFactor": 0,
5136
- "escapeString": true,
5525
+ "escapeString": false,
5526
+ "infiniteIsNull": false,
5527
+ "payload": "abc",
5528
+ "payloadType": "str",
5529
+ "result": "abcatest",
5530
+ "resultType": "str",
5531
+ "resultProperty": "msg.payload",
5532
+ "topic": "",
5533
+ "x": 240,
5534
+ "y": 40,
5535
+ "wires": [
5536
+ [
5537
+ "47a287530ed838e7"
5538
+ ],
5539
+ [
5540
+ "925117734d8e96b5"
5541
+ ],
5542
+ [
5543
+ "8d8bb2e1192b3a8c"
5544
+ ]
5545
+ ]
5546
+ },
5547
+ {
5548
+ "id": "925117734d8e96b5",
5549
+ "type": "debug",
5550
+ "z": "460ae66eec4b7f8a",
5551
+ "name": "error",
5552
+ "active": true,
5553
+ "tosidebar": true,
5554
+ "console": false,
5555
+ "tostatus": false,
5556
+ "complete": "true",
5557
+ "targetType": "full",
5558
+ "statusVal": "",
5559
+ "statusType": "auto",
5560
+ "x": 890,
5561
+ "y": 80,
5562
+ "wires": []
5563
+ },
5564
+ {
5565
+ "id": "8d8bb2e1192b3a8c",
5566
+ "type": "test",
5567
+ "z": "460ae66eec4b7f8a",
5568
+ "name": "",
5569
+ "errorFactor": 0,
5570
+ "escapeString": false,
5571
+ "infiniteIsNull": false,
5572
+ "payload": "{\"a\":\"test\"}",
5573
+ "payloadType": "json",
5574
+ "result": "{\"b\":\"t\"}",
5575
+ "resultType": "json",
5576
+ "resultProperty": "msg.payload",
5577
+ "topic": "",
5578
+ "x": 160,
5579
+ "y": 120,
5580
+ "wires": [
5581
+ [
5582
+ "517c89e4609e0e70"
5583
+ ],
5584
+ [
5585
+ "925117734d8e96b5"
5586
+ ],
5587
+ [
5588
+ "f78d540c53a64514"
5589
+ ]
5590
+ ]
5591
+ },
5592
+ {
5593
+ "id": "517c89e4609e0e70",
5594
+ "type": "transform",
5595
+ "z": "460ae66eec4b7f8a",
5596
+ "name": "",
5597
+ "actionSource": "String",
5598
+ "deleteSource": "true",
5599
+ "deleteSourceType": "bool",
5600
+ "actionTarget": "CharAt",
5601
+ "sourceProperty": "msg.payload.a",
5602
+ "targetProperty": "msg.payload.b",
5603
+ "topicProperty": "msg.topic",
5604
+ "index": 0,
5605
+ "maxMessages": 1000,
5606
+ "radix": 10,
5607
+ "schema": "{\"type\":\"record\",\"fields\":[{\"name\":\"name\",\"type\":\"string\"}]}",
5608
+ "schemaType": "str",
5609
+ "skipLeading": 0,
5610
+ "skipTrailing": 0,
5611
+ "string": "a",
5612
+ "stringType": "msg",
5613
+ "delimiter": ",",
5614
+ "compressionType": "setGzip",
5615
+ "x": 500,
5616
+ "y": 120,
5617
+ "wires": [
5618
+ [
5619
+ "8d8bb2e1192b3a8c"
5620
+ ],
5621
+ [
5622
+ "925117734d8e96b5"
5623
+ ]
5624
+ ]
5625
+ },
5626
+ {
5627
+ "id": "88582559dcf028bb",
5628
+ "type": "transform",
5629
+ "z": "460ae66eec4b7f8a",
5630
+ "name": "",
5631
+ "actionSource": "String",
5632
+ "deleteSource": "false",
5633
+ "deleteSourceType": "bool",
5634
+ "actionTarget": "Append",
5635
+ "sourceProperty": "msg.payload.a",
5636
+ "targetProperty": "msg.payload.b",
5637
+ "topicProperty": "msg.topic",
5638
+ "index": 0,
5639
+ "maxMessages": 1000,
5640
+ "radix": 10,
5641
+ "schema": "{\"type\":\"record\",\"fields\":[{\"name\":\"name\",\"type\":\"string\"}]}",
5642
+ "schemaType": "str",
5643
+ "skipLeading": 0,
5644
+ "skipTrailing": 0,
5645
+ "string": "=>",
5646
+ "stringType": "str",
5647
+ "delimiter": ",",
5648
+ "compressionType": "setGzip",
5649
+ "x": 500,
5650
+ "y": 200,
5651
+ "wires": [
5652
+ [
5653
+ "f78d540c53a64514"
5654
+ ],
5655
+ [
5656
+ "925117734d8e96b5"
5657
+ ]
5658
+ ]
5659
+ },
5660
+ {
5661
+ "id": "f78d540c53a64514",
5662
+ "type": "test",
5663
+ "z": "460ae66eec4b7f8a",
5664
+ "name": "",
5665
+ "errorFactor": 0,
5666
+ "escapeString": true,
5137
5667
  "infiniteIsNull": false,
5138
5668
  "payload": "{\"a\":\"test\"}",
5139
5669
  "payloadType": "json",
@@ -5147,7 +5677,9 @@
5147
5677
  [
5148
5678
  "88582559dcf028bb"
5149
5679
  ],
5150
- [],
5680
+ [
5681
+ "925117734d8e96b5"
5682
+ ],
5151
5683
  [
5152
5684
  "270a0e8c4f3d5172"
5153
5685
  ]
@@ -5173,7 +5705,9 @@
5173
5705
  [
5174
5706
  "daeadb001d8ec243"
5175
5707
  ],
5176
- [],
5708
+ [
5709
+ "925117734d8e96b5"
5710
+ ],
5177
5711
  [
5178
5712
  "c64612fcd16ee4c2"
5179
5713
  ]
@@ -5233,7 +5767,9 @@
5233
5767
  [
5234
5768
  "4314006f6dc95d97"
5235
5769
  ],
5236
- [],
5770
+ [
5771
+ "925117734d8e96b5"
5772
+ ],
5237
5773
  [
5238
5774
  "7c1ffb0b49742528"
5239
5775
  ]
@@ -5349,12 +5885,20 @@
5349
5885
  "actionSource": "String",
5350
5886
  "deleteSource": "true",
5351
5887
  "deleteSourceType": "bool",
5352
- "actionTarget": "Date",
5888
+ "actionTarget": "DateLocal",
5353
5889
  "sourceProperty": "msg.payload.a",
5354
5890
  "targetProperty": "msg.payload.b",
5355
5891
  "topicProperty": "msg.topic",
5892
+ "JSONataSource": "",
5893
+ "JSONataTarget": "",
5356
5894
  "index": "1",
5357
5895
  "maxMessages": 1000,
5896
+ "maxDate": "",
5897
+ "minDate": "",
5898
+ "maxNumber": "",
5899
+ "minNumber": "",
5900
+ "maxString": "",
5901
+ "minString": "",
5358
5902
  "radix": 10,
5359
5903
  "schema": "{\"type\":\"record\",\"fields\":[{\"name\":\"name\",\"type\":\"string\"}]}",
5360
5904
  "schemaType": "str",
@@ -5364,7 +5908,7 @@
5364
5908
  "stringType": "str",
5365
5909
  "delimiter": ",",
5366
5910
  "compressionType": "setGzip",
5367
- "x": 490,
5911
+ "x": 510,
5368
5912
  "y": 600,
5369
5913
  "wires": [
5370
5914
  [
@@ -5387,8 +5931,18 @@
5387
5931
  "sourceProperty": "msg.payload.a",
5388
5932
  "targetProperty": "msg.payload.b",
5389
5933
  "topicProperty": "msg.topic",
5934
+ "JSONataSource": "",
5935
+ "JSONataSourceType": "jsonata",
5936
+ "JSONataTarget": "",
5937
+ "JSONataTargetType": "jsonata",
5390
5938
  "index": "1",
5391
5939
  "maxMessages": 1000,
5940
+ "maxDate": "",
5941
+ "minDate": "",
5942
+ "maxNumber": "",
5943
+ "minNumber": "",
5944
+ "maxString": "",
5945
+ "minString": "",
5392
5946
  "radix": 10,
5393
5947
  "schema": "{\"type\":\"record\",\"fields\":[{\"name\":\"name\",\"type\":\"string\"}]}",
5394
5948
  "schemaType": "str",
@@ -5565,7 +6119,9 @@
5565
6119
  [
5566
6120
  "5a4cf5bbdd78ca08"
5567
6121
  ],
5568
- [],
6122
+ [
6123
+ "925117734d8e96b5"
6124
+ ],
5569
6125
  [
5570
6126
  "2a5e51b612e3b1f8"
5571
6127
  ]
@@ -5591,7 +6147,9 @@
5591
6147
  [
5592
6148
  "d950412c4738c78f"
5593
6149
  ],
5594
- [],
6150
+ [
6151
+ "925117734d8e96b5"
6152
+ ],
5595
6153
  [
5596
6154
  "dc4920acde5f87e4"
5597
6155
  ]
@@ -5603,21 +6161,23 @@
5603
6161
  "z": "460ae66eec4b7f8a",
5604
6162
  "name": "",
5605
6163
  "errorFactor": 0,
5606
- "escapeString": true,
6164
+ "escapeString": false,
5607
6165
  "infiniteIsNull": false,
5608
6166
  "payload": "{\"a\":\"1/1/2001\"}",
5609
6167
  "payloadType": "json",
5610
- "result": "{\"b\":978267600000}",
5611
- "resultType": "json",
6168
+ "result": "$boolean(b.toLocaleDateString()=\"01/01/2001\")",
6169
+ "resultType": "jsonata",
5612
6170
  "resultProperty": "msg.payload",
5613
6171
  "topic": "",
5614
- "x": 190,
6172
+ "x": 170,
5615
6173
  "y": 600,
5616
6174
  "wires": [
5617
6175
  [
5618
6176
  "072e7d19acea716f"
5619
6177
  ],
5620
- [],
6178
+ [
6179
+ "925117734d8e96b5"
6180
+ ],
5621
6181
  [
5622
6182
  "71bde3f27fe075fc"
5623
6183
  ]
@@ -5699,7 +6259,9 @@
5699
6259
  [
5700
6260
  "4c20187ba4f4d732"
5701
6261
  ],
5702
- [],
6262
+ [
6263
+ "925117734d8e96b5"
6264
+ ],
5703
6265
  [
5704
6266
  "186e62ee33add8f7"
5705
6267
  ]
@@ -5751,7 +6313,9 @@
5751
6313
  [
5752
6314
  "fd3ddc020e4e4dd5"
5753
6315
  ],
5754
- [],
6316
+ [
6317
+ "925117734d8e96b5"
6318
+ ],
5755
6319
  [
5756
6320
  "dcc18294163735c9"
5757
6321
  ]
@@ -6712,87 +7276,143 @@
6712
7276
  [
6713
7277
  "925117734d8e96b5"
6714
7278
  ],
6715
- []
6716
- ]
6717
- },
6718
- {
6719
- "id": "2a9b4180.1b8ffe",
6720
- "type": "inject",
6721
- "z": "924bb2b7.03fd1",
6722
- "name": "json xcel worksheets",
6723
- "props": [
6724
- {
6725
- "p": "payload"
6726
- },
6727
- {
6728
- "p": "topic",
6729
- "vt": "str"
6730
- }
6731
- ],
6732
- "repeat": "",
6733
- "crontab": "",
6734
- "once": false,
6735
- "onceDelay": 0.1,
6736
- "topic": "",
6737
- "payload": "{\"worksheet1\":[[11,12],[21,22],[31,32]],\"worksheet2\":[[11,12],[21,22]]}",
6738
- "payloadType": "json",
6739
- "x": 110,
6740
- "y": 60,
6741
- "wires": [
6742
7279
  [
6743
- "b99caf39.d57c9"
7280
+ "bee4fdd51ea59704"
6744
7281
  ]
6745
7282
  ]
6746
7283
  },
6747
7284
  {
6748
- "id": "b99caf39.d57c9",
6749
- "type": "transform",
6750
- "z": "924bb2b7.03fd1",
6751
- "name": "",
6752
- "actionSource": "Array",
6753
- "actionTarget": "XLSX",
6754
- "sourceProperty": "msg.payload",
6755
- "targetProperty": "msg.xlsx",
6756
- "topicProperty": "msg.topic",
6757
- "maxMessages": 1000,
6758
- "schema": "{\"type\":\"record\",\"fields\":[{\"name\":\"name\",\"type\":\"string\"}]}",
6759
- "schemaType": "json",
6760
- "skipLeading": 0,
6761
- "skipTrailing": 0,
6762
- "delimiter": ",",
6763
- "x": 380,
6764
- "y": 60,
7285
+ "id": "e057797d0b796145",
7286
+ "type": "link in",
7287
+ "z": "460ae66eec4b7f8a",
7288
+ "name": "transform string in",
7289
+ "links": [],
7290
+ "x": 55,
7291
+ "y": 40,
6765
7292
  "wires": [
6766
7293
  [
6767
- "e234842f.2946a8",
6768
- "7bde11d2.378e6"
6769
- ],
6770
- [
6771
- "3db2b919.ea68d6"
7294
+ "9ec96a604b0f3e20"
6772
7295
  ]
6773
7296
  ]
6774
7297
  },
6775
7298
  {
6776
- "id": "7bde11d2.378e6",
6777
- "type": "transform",
7299
+ "id": "bee4fdd51ea59704",
7300
+ "type": "link out",
7301
+ "z": "460ae66eec4b7f8a",
7302
+ "name": "transform string",
7303
+ "mode": "return",
7304
+ "links": [],
7305
+ "x": 335,
7306
+ "y": 2340,
7307
+ "wires": []
7308
+ },
7309
+ {
7310
+ "id": "3db2b919.ea68d6",
7311
+ "type": "debug",
6778
7312
  "z": "924bb2b7.03fd1",
6779
- "name": "",
6780
- "actionSource": "Array",
6781
- "actionTarget": "XLSXObject",
6782
- "sourceProperty": "msg.payload",
6783
- "targetProperty": "msg.xlsxobject",
6784
- "topicProperty": "msg.topic",
6785
- "maxMessages": 1000,
7313
+ "name": "error",
7314
+ "active": true,
7315
+ "tosidebar": true,
7316
+ "console": false,
7317
+ "tostatus": false,
7318
+ "complete": "true",
7319
+ "targetType": "full",
7320
+ "statusVal": "",
7321
+ "statusType": "auto",
7322
+ "x": 730,
7323
+ "y": 420,
7324
+ "wires": []
7325
+ },
7326
+ {
7327
+ "id": "32a48f00e9c32747",
7328
+ "type": "Monitor Flow",
7329
+ "z": "924bb2b7.03fd1",
7330
+ "name": "",
7331
+ "x": 590,
7332
+ "y": 20,
7333
+ "wires": [
7334
+ [
7335
+ "7794ab9c1ff64390"
7336
+ ]
7337
+ ]
7338
+ },
7339
+ {
7340
+ "id": "4e471cf4f77579e9",
7341
+ "type": "link out",
7342
+ "z": "924bb2b7.03fd1",
7343
+ "name": "transform xlsx finish",
7344
+ "mode": "return",
7345
+ "links": [],
7346
+ "x": 745,
7347
+ "y": 60,
7348
+ "wires": []
7349
+ },
7350
+ {
7351
+ "id": "0e4f57304e89edb8",
7352
+ "type": "test",
7353
+ "z": "924bb2b7.03fd1",
7354
+ "name": "",
7355
+ "errorFactor": 0,
7356
+ "escapeString": false,
7357
+ "infiniteIsNull": false,
7358
+ "payload": "{\"worksheet1\":[[11,12],[21,22],[31,32]],\"worksheet2\":[[11,12],[21,22]]}",
7359
+ "payloadType": "json",
7360
+ "result": "{\"worksheet1\":[[11,12],[21,22],[31,32]],\"worksheet2\":[[11,12],[21,22]]}",
7361
+ "resultType": "json",
7362
+ "resultProperty": "msg.payload",
7363
+ "topic": "",
7364
+ "x": 260,
7365
+ "y": 40,
7366
+ "wires": [
7367
+ [
7368
+ "32a48f00e9c32747"
7369
+ ],
7370
+ [
7371
+ "3db2b919.ea68d6"
7372
+ ],
7373
+ [
7374
+ "4e471cf4f77579e9"
7375
+ ]
7376
+ ]
7377
+ },
7378
+ {
7379
+ "id": "7794ab9c1ff64390",
7380
+ "type": "transform",
7381
+ "z": "924bb2b7.03fd1",
7382
+ "name": "",
7383
+ "actionSource": "Array",
7384
+ "deleteSource": "true",
7385
+ "deleteSourceType": "bool",
7386
+ "actionTarget": "XLSX",
7387
+ "sourceProperty": "msg.payload",
7388
+ "targetProperty": "msg.payload",
7389
+ "topicProperty": "msg.topic",
7390
+ "JSONataSource": "",
7391
+ "JSONataSourceType": "jsonata",
7392
+ "JSONataTarget": "",
7393
+ "JSONataTargetType": "jsonata",
7394
+ "index": 0,
7395
+ "maxMessages": 1000,
7396
+ "maxDate": "",
7397
+ "minDate": "",
7398
+ "maxNumber": 0,
7399
+ "minNumber": 0,
7400
+ "maxString": "",
7401
+ "minString": "",
7402
+ "radix": 10,
6786
7403
  "schema": "{\"type\":\"record\",\"fields\":[{\"name\":\"name\",\"type\":\"string\"}]}",
6787
- "schemaType": "json",
7404
+ "schemaType": "str",
6788
7405
  "skipLeading": 0,
6789
7406
  "skipTrailing": 0,
7407
+ "string": "",
7408
+ "stringType": "str",
6790
7409
  "delimiter": ",",
6791
- "x": 360,
6792
- "y": 120,
7410
+ "compressionType": "setGzip",
7411
+ "x": 520,
7412
+ "y": 140,
6793
7413
  "wires": [
6794
7414
  [
6795
- "8e6f5298.ccab4"
7415
+ "69cf00efd482d012"
6796
7416
  ],
6797
7417
  [
6798
7418
  "3db2b919.ea68d6"
@@ -6800,26 +7420,43 @@
6800
7420
  ]
6801
7421
  },
6802
7422
  {
6803
- "id": "8e6f5298.ccab4",
7423
+ "id": "000cda4258683bde",
6804
7424
  "type": "transform",
6805
7425
  "z": "924bb2b7.03fd1",
6806
7426
  "name": "",
6807
7427
  "actionSource": "XLSX",
6808
- "actionTarget": "Array",
6809
- "sourceProperty": "msg.xlsx",
6810
- "targetProperty": "msg.array",
7428
+ "deleteSource": "true",
7429
+ "deleteSourceType": "bool",
7430
+ "actionTarget": "XLSXObject",
7431
+ "sourceProperty": "msg.payload",
7432
+ "targetProperty": "msg.payload",
6811
7433
  "topicProperty": "msg.topic",
7434
+ "JSONataSource": "",
7435
+ "JSONataSourceType": "jsonata",
7436
+ "JSONataTarget": "",
7437
+ "JSONataTargetType": "jsonata",
7438
+ "index": 0,
6812
7439
  "maxMessages": 1000,
7440
+ "maxDate": "",
7441
+ "minDate": "",
7442
+ "maxNumber": 0,
7443
+ "minNumber": 0,
7444
+ "maxString": "",
7445
+ "minString": "",
7446
+ "radix": 10,
6813
7447
  "schema": "{\"type\":\"record\",\"fields\":[{\"name\":\"name\",\"type\":\"string\"}]}",
6814
- "schemaType": "json",
7448
+ "schemaType": "str",
6815
7449
  "skipLeading": 0,
6816
7450
  "skipTrailing": 0,
7451
+ "string": "",
7452
+ "stringType": "str",
6817
7453
  "delimiter": ",",
7454
+ "compressionType": "setGzip",
6818
7455
  "x": 380,
6819
- "y": 180,
7456
+ "y": 220,
6820
7457
  "wires": [
6821
7458
  [
6822
- "3db2b919.ea68d6"
7459
+ "7208e9201d7f1fcf"
6823
7460
  ],
6824
7461
  [
6825
7462
  "3db2b919.ea68d6"
@@ -6827,35 +7464,94 @@
6827
7464
  ]
6828
7465
  },
6829
7466
  {
6830
- "id": "e234842f.2946a8",
7467
+ "id": "dd556f2fb8c84838",
6831
7468
  "type": "transform",
6832
7469
  "z": "924bb2b7.03fd1",
6833
7470
  "name": "",
6834
- "actionSource": "XLSX",
6835
- "actionTarget": "XLSXObject",
6836
- "sourceProperty": "msg.xlsx",
6837
- "targetProperty": "msg.xlsx2xlsxObject",
7471
+ "actionSource": "XLSXObject",
7472
+ "deleteSource": "true",
7473
+ "deleteSourceType": "bool",
7474
+ "actionTarget": "JSON",
7475
+ "sourceProperty": "msg.payload",
7476
+ "targetProperty": "msg.payload",
6838
7477
  "topicProperty": "msg.topic",
7478
+ "JSONataSource": "",
7479
+ "JSONataSourceType": "jsonata",
7480
+ "JSONataTarget": "",
7481
+ "JSONataTargetType": "jsonata",
7482
+ "index": 0,
6839
7483
  "maxMessages": 1000,
7484
+ "maxDate": "",
7485
+ "minDate": "",
7486
+ "maxNumber": 0,
7487
+ "minNumber": 0,
7488
+ "maxString": "",
7489
+ "minString": "",
7490
+ "radix": 10,
6840
7491
  "schema": "{\"type\":\"record\",\"fields\":[{\"name\":\"name\",\"type\":\"string\"}]}",
6841
- "schemaType": "json",
7492
+ "schemaType": "str",
6842
7493
  "skipLeading": 0,
6843
7494
  "skipTrailing": 0,
7495
+ "string": "",
7496
+ "stringType": "str",
6844
7497
  "delimiter": ",",
6845
- "x": 660,
6846
- "y": 60,
7498
+ "compressionType": "setGzip",
7499
+ "x": 160,
7500
+ "y": 320,
6847
7501
  "wires": [
6848
7502
  [
6849
- "5312687f.3fff48"
7503
+ "0e4f57304e89edb8"
6850
7504
  ],
6851
- []
7505
+ [
7506
+ "3db2b919.ea68d6"
7507
+ ]
6852
7508
  ]
6853
7509
  },
6854
7510
  {
6855
- "id": "5312687f.3fff48",
6856
- "type": "debug",
7511
+ "id": "7208e9201d7f1fcf",
7512
+ "type": "Monitor Flow",
7513
+ "z": "924bb2b7.03fd1",
7514
+ "name": "",
7515
+ "x": 750,
7516
+ "y": 220,
7517
+ "wires": [
7518
+ [
7519
+ "dd556f2fb8c84838"
7520
+ ]
7521
+ ]
7522
+ },
7523
+ {
7524
+ "id": "69cf00efd482d012",
7525
+ "type": "Monitor Flow",
7526
+ "z": "924bb2b7.03fd1",
7527
+ "name": "",
7528
+ "x": 750,
7529
+ "y": 140,
7530
+ "wires": [
7531
+ [
7532
+ "000cda4258683bde"
7533
+ ]
7534
+ ]
7535
+ },
7536
+ {
7537
+ "id": "6ed524d3e461526d",
7538
+ "type": "link in",
6857
7539
  "z": "924bb2b7.03fd1",
6858
- "name": "base",
7540
+ "name": "transform xlsx",
7541
+ "links": [],
7542
+ "x": 45,
7543
+ "y": 40,
7544
+ "wires": [
7545
+ [
7546
+ "0e4f57304e89edb8"
7547
+ ]
7548
+ ]
7549
+ },
7550
+ {
7551
+ "id": "835d891c3b7b9451",
7552
+ "type": "debug",
7553
+ "z": "d98540e8ed31a4a1",
7554
+ "name": "debug 3",
6859
7555
  "active": true,
6860
7556
  "tosidebar": true,
6861
7557
  "console": false,
@@ -6864,15 +7560,149 @@
6864
7560
  "targetType": "full",
6865
7561
  "statusVal": "",
6866
7562
  "statusType": "auto",
6867
- "x": 870,
6868
- "y": 60,
7563
+ "x": 740,
7564
+ "y": 420,
6869
7565
  "wires": []
6870
7566
  },
6871
7567
  {
6872
- "id": "3db2b919.ea68d6",
6873
- "type": "debug",
6874
- "z": "924bb2b7.03fd1",
7568
+ "id": "b850a29956571494",
7569
+ "type": "logisticRegression",
7570
+ "z": "d98540e8ed31a4a1",
7571
+ "name": "",
7572
+ "modelName": "test",
7573
+ "action": "fit",
7574
+ "learningRate": 0.1,
7575
+ "iterations": 2000,
7576
+ "fitIntercept": true,
7577
+ "l2": 0,
7578
+ "tolerance": 1e-7,
7579
+ "verbose": false,
7580
+ "threshold": 0.5,
7581
+ "x": 420,
7582
+ "y": 180,
7583
+ "wires": [
7584
+ [
7585
+ "835d891c3b7b9451",
7586
+ "1c969461651d15fa"
7587
+ ]
7588
+ ]
7589
+ },
7590
+ {
7591
+ "id": "1c969461651d15fa",
7592
+ "type": "test",
7593
+ "z": "d98540e8ed31a4a1",
7594
+ "name": "",
7595
+ "errorFactor": 0,
7596
+ "escapeString": false,
7597
+ "infiniteIsNull": false,
7598
+ "payload": "{\"X\":[[0,0],[0,1],[1,0],[1,1]],\"y\":[0,1,1,1]}",
7599
+ "payloadType": "json",
7600
+ "result": "Model fitted and stored as: test",
7601
+ "resultType": "str",
7602
+ "resultProperty": "msg.result",
7603
+ "topic": "",
7604
+ "x": 180,
7605
+ "y": 80,
7606
+ "wires": [
7607
+ [
7608
+ "b850a29956571494"
7609
+ ],
7610
+ [],
7611
+ [
7612
+ "f903d1b11568c38c"
7613
+ ]
7614
+ ]
7615
+ },
7616
+ {
7617
+ "id": "a4ff87db6b6a4889",
7618
+ "type": "logisticRegression",
7619
+ "z": "d98540e8ed31a4a1",
7620
+ "name": "",
7621
+ "modelName": "test",
7622
+ "action": "predict",
7623
+ "learningRate": 0.1,
7624
+ "iterations": 2000,
7625
+ "fitIntercept": true,
7626
+ "l2": 0,
7627
+ "tolerance": 1e-7,
7628
+ "verbose": false,
7629
+ "threshold": 0.5,
7630
+ "x": 460,
7631
+ "y": 360,
7632
+ "wires": [
7633
+ [
7634
+ "835d891c3b7b9451",
7635
+ "f903d1b11568c38c",
7636
+ "21167b6b6f5c0cbc"
7637
+ ]
7638
+ ]
7639
+ },
7640
+ {
7641
+ "id": "f903d1b11568c38c",
7642
+ "type": "test",
7643
+ "z": "d98540e8ed31a4a1",
7644
+ "name": "",
7645
+ "errorFactor": 0,
7646
+ "escapeString": false,
7647
+ "infiniteIsNull": false,
7648
+ "payload": "[[0, 0], [1, 1], [0.5, 0.5]]",
7649
+ "payloadType": "json",
7650
+ "result": "[0,1,1]",
7651
+ "resultType": "json",
7652
+ "resultProperty": "msg.result",
7653
+ "topic": "",
7654
+ "x": 140,
7655
+ "y": 280,
7656
+ "wires": [
7657
+ [
7658
+ "a4ff87db6b6a4889"
7659
+ ],
7660
+ [],
7661
+ []
7662
+ ]
7663
+ },
7664
+ {
7665
+ "id": "21167b6b6f5c0cbc",
7666
+ "type": "logisticRegression",
7667
+ "z": "d98540e8ed31a4a1",
6875
7668
  "name": "",
7669
+ "modelName": "test",
7670
+ "action": "predictProba",
7671
+ "learningRate": 0.1,
7672
+ "iterations": 2000,
7673
+ "fitIntercept": true,
7674
+ "l2": 0,
7675
+ "tolerance": 1e-7,
7676
+ "verbose": false,
7677
+ "threshold": 0.5,
7678
+ "x": 440,
7679
+ "y": 480,
7680
+ "wires": [
7681
+ [
7682
+ "835d891c3b7b9451"
7683
+ ]
7684
+ ]
7685
+ },
7686
+ {
7687
+ "id": "6dcc4342cb95db99",
7688
+ "type": "columnar",
7689
+ "z": "8aa8799ad5afca2b",
7690
+ "name": "",
7691
+ "action": "appendFile",
7692
+ "filePath": "C:\\Users\\peter\\data\\columnarStore\\test",
7693
+ "x": 350,
7694
+ "y": 180,
7695
+ "wires": [
7696
+ [
7697
+ "f7056a42ba573367"
7698
+ ]
7699
+ ]
7700
+ },
7701
+ {
7702
+ "id": "f7056a42ba573367",
7703
+ "type": "debug",
7704
+ "z": "8aa8799ad5afca2b",
7705
+ "name": "debug 4",
6876
7706
  "active": true,
6877
7707
  "tosidebar": true,
6878
7708
  "console": false,
@@ -6881,8 +7711,354 @@
6881
7711
  "targetType": "full",
6882
7712
  "statusVal": "",
6883
7713
  "statusType": "auto",
6884
- "x": 870,
6885
- "y": 160,
7714
+ "x": 700,
7715
+ "y": 360,
6886
7716
  "wires": []
7717
+ },
7718
+ {
7719
+ "id": "69adf3d24df340b6",
7720
+ "type": "inject",
7721
+ "z": "8aa8799ad5afca2b",
7722
+ "name": "",
7723
+ "props": [
7724
+ {
7725
+ "p": "payload"
7726
+ },
7727
+ {
7728
+ "p": "topic",
7729
+ "vt": "str"
7730
+ }
7731
+ ],
7732
+ "repeat": "",
7733
+ "crontab": "",
7734
+ "once": false,
7735
+ "onceDelay": 0.1,
7736
+ "topic": "",
7737
+ "payload": "{\"records\":[{\"name\":\"John\",\"age\":30,\"city\":\"NYC\"},{\"name\":\"Jane\",\"age\":25,\"city\":\"LA\"}]}",
7738
+ "payloadType": "json",
7739
+ "x": 90,
7740
+ "y": 180,
7741
+ "wires": [
7742
+ [
7743
+ "6dcc4342cb95db99"
7744
+ ]
7745
+ ]
7746
+ },
7747
+ {
7748
+ "id": "c4db16448a22def4",
7749
+ "type": "inject",
7750
+ "z": "8aa8799ad5afca2b",
7751
+ "name": "",
7752
+ "props": [
7753
+ {
7754
+ "p": "payload"
7755
+ },
7756
+ {
7757
+ "p": "topic",
7758
+ "vt": "str"
7759
+ }
7760
+ ],
7761
+ "repeat": "",
7762
+ "crontab": "",
7763
+ "once": false,
7764
+ "onceDelay": 0.1,
7765
+ "topic": "",
7766
+ "payload": "",
7767
+ "payloadType": "date",
7768
+ "x": 100,
7769
+ "y": 280,
7770
+ "wires": [
7771
+ [
7772
+ "cb96c887a71c3cba"
7773
+ ]
7774
+ ]
7775
+ },
7776
+ {
7777
+ "id": "cb96c887a71c3cba",
7778
+ "type": "columnar",
7779
+ "z": "8aa8799ad5afca2b",
7780
+ "name": "",
7781
+ "action": "readFile",
7782
+ "filePath": "C:\\Users\\peter\\data\\columnarStore\\test",
7783
+ "x": 340,
7784
+ "y": 280,
7785
+ "wires": [
7786
+ [
7787
+ "f7056a42ba573367"
7788
+ ]
7789
+ ]
7790
+ },
7791
+ {
7792
+ "id": "a7c85ce48c4baa7b",
7793
+ "type": "columnar",
7794
+ "z": "8aa8799ad5afca2b",
7795
+ "name": "",
7796
+ "action": "sqlQuery",
7797
+ "filePath": "C:\\Users\\peter\\data\\columnarStore\\test",
7798
+ "sqlQuery": "select * from ? limit 4",
7799
+ "outputProperty": "",
7800
+ "x": 340,
7801
+ "y": 360,
7802
+ "wires": [
7803
+ [
7804
+ "f7056a42ba573367"
7805
+ ]
7806
+ ]
7807
+ },
7808
+ {
7809
+ "id": "17aa1ae56c2be540",
7810
+ "type": "inject",
7811
+ "z": "8aa8799ad5afca2b",
7812
+ "name": "",
7813
+ "props": [
7814
+ {
7815
+ "p": "payload"
7816
+ },
7817
+ {
7818
+ "p": "topic",
7819
+ "vt": "str"
7820
+ }
7821
+ ],
7822
+ "repeat": "",
7823
+ "crontab": "",
7824
+ "once": false,
7825
+ "onceDelay": 0.1,
7826
+ "topic": "",
7827
+ "payload": "{\"sql\":\"SELECT COUNT(*) AS cnt FROM ? a LIMIT 10\"}",
7828
+ "payloadType": "json",
7829
+ "x": 90,
7830
+ "y": 360,
7831
+ "wires": [
7832
+ [
7833
+ "a7c85ce48c4baa7b"
7834
+ ]
7835
+ ]
7836
+ },
7837
+ {
7838
+ "id": "50413b0ca082d563",
7839
+ "type": "columnar",
7840
+ "z": "8aa8799ad5afca2b",
7841
+ "name": "",
7842
+ "action": "sqlQuery",
7843
+ "filePath": "C:\\Users\\peter\\data\\columnarStore\\test",
7844
+ "sqlQuery": "SELECT \"a1\" as test,:msg.payload as name,COUNT(*) AS cnt1 FROM ? a where name= :msg.payload",
7845
+ "outputProperty": "payload",
7846
+ "parameterMappings": [
7847
+ {
7848
+ "paramName": "name",
7849
+ "msgPath": "payload"
7850
+ }
7851
+ ],
7852
+ "x": 370,
7853
+ "y": 500,
7854
+ "wires": [
7855
+ [
7856
+ "f7056a42ba573367"
7857
+ ]
7858
+ ]
7859
+ },
7860
+ {
7861
+ "id": "34909ff6e5e0f6a7",
7862
+ "type": "inject",
7863
+ "z": "8aa8799ad5afca2b",
7864
+ "name": "",
7865
+ "props": [
7866
+ {
7867
+ "p": "payload"
7868
+ },
7869
+ {
7870
+ "p": "topic",
7871
+ "vt": "str"
7872
+ }
7873
+ ],
7874
+ "repeat": "",
7875
+ "crontab": "",
7876
+ "once": false,
7877
+ "onceDelay": 0.1,
7878
+ "topic": "",
7879
+ "payload": "John",
7880
+ "payloadType": "str",
7881
+ "x": 90,
7882
+ "y": 520,
7883
+ "wires": [
7884
+ [
7885
+ "50413b0ca082d563",
7886
+ "a1caf329e4e87dbc"
7887
+ ]
7888
+ ]
7889
+ },
7890
+ {
7891
+ "id": "a1caf329e4e87dbc",
7892
+ "type": "columnar",
7893
+ "z": "8aa8799ad5afca2b",
7894
+ "name": "",
7895
+ "action": "sqlQuery",
7896
+ "filePath": "C:\\Users\\peter\\data\\columnarStore\\test",
7897
+ "sqlQuery": "SELECT :msg.payload as tes from ? limit 5",
7898
+ "outputProperty": "payload",
7899
+ "parameterMappings": [
7900
+ {
7901
+ "paramName": "name",
7902
+ "msgPath": "payload"
7903
+ }
7904
+ ],
7905
+ "x": 370,
7906
+ "y": 580,
7907
+ "wires": [
7908
+ [
7909
+ "f7056a42ba573367"
7910
+ ]
7911
+ ]
7912
+ },
7913
+ {
7914
+ "id": "ce0e3fb3e004b4af",
7915
+ "type": "columnar",
7916
+ "z": "8aa8799ad5afca2b",
7917
+ "name": "",
7918
+ "action": "sqlQuery",
7919
+ "filePath": "C:\\Users\\peter\\data\\columnarStore\\test",
7920
+ "sqlQuery": "SELECT a.name,COUNT(*) AS cnt FROM ? a group by name",
7921
+ "outputProperty": "payload",
7922
+ "parameterMappings": [
7923
+ {
7924
+ "paramName": "name",
7925
+ "msgPath": "payload"
7926
+ }
7927
+ ],
7928
+ "x": 420,
7929
+ "y": 740,
7930
+ "wires": [
7931
+ [
7932
+ "f7056a42ba573367"
7933
+ ]
7934
+ ]
7935
+ },
7936
+ {
7937
+ "id": "343f59f36e7293df",
7938
+ "type": "columnar",
7939
+ "z": "8aa8799ad5afca2b",
7940
+ "name": "",
7941
+ "action": "sqlQuery",
7942
+ "filePath": "C:\\Users\\peter\\data\\columnarStore\\test",
7943
+ "sqlQuery": "select a.name from ? a where name=\"John\" limit 4",
7944
+ "outputProperty": "",
7945
+ "x": 420,
7946
+ "y": 660,
7947
+ "wires": [
7948
+ [
7949
+ "f7056a42ba573367"
7950
+ ]
7951
+ ]
7952
+ },
7953
+ {
7954
+ "id": "babd195c3d0980dd",
7955
+ "type": "inject",
7956
+ "z": "8aa8799ad5afca2b",
7957
+ "name": "",
7958
+ "props": [
7959
+ {
7960
+ "p": "payload"
7961
+ },
7962
+ {
7963
+ "p": "topic",
7964
+ "vt": "str"
7965
+ }
7966
+ ],
7967
+ "repeat": "",
7968
+ "crontab": "",
7969
+ "once": false,
7970
+ "onceDelay": 0.1,
7971
+ "topic": "",
7972
+ "payload": "",
7973
+ "payloadType": "date",
7974
+ "x": 120,
7975
+ "y": 660,
7976
+ "wires": [
7977
+ [
7978
+ "343f59f36e7293df",
7979
+ "ce0e3fb3e004b4af"
7980
+ ]
7981
+ ]
7982
+ },
7983
+ {
7984
+ "id": "0960f3c3ca9ba2dc",
7985
+ "type": "inject",
7986
+ "z": "8aa8799ad5afca2b",
7987
+ "name": "",
7988
+ "props": [
7989
+ {
7990
+ "p": "payload"
7991
+ },
7992
+ {
7993
+ "p": "topic",
7994
+ "vt": "str"
7995
+ }
7996
+ ],
7997
+ "repeat": "",
7998
+ "crontab": "",
7999
+ "once": false,
8000
+ "onceDelay": 0.1,
8001
+ "topic": "",
8002
+ "payload": "John",
8003
+ "payloadType": "str",
8004
+ "x": 90,
8005
+ "y": 480,
8006
+ "wires": [
8007
+ [
8008
+ "50413b0ca082d563"
8009
+ ]
8010
+ ]
8011
+ },
8012
+ {
8013
+ "id": "a61df296c3a578e2",
8014
+ "type": "columnar",
8015
+ "z": "8aa8799ad5afca2b",
8016
+ "name": "",
8017
+ "action": "sqlQuery",
8018
+ "filePath": "C:\\Users\\peter\\data\\columnarStore\\test",
8019
+ "sqlQuery": "SELECT \"a1\" as test,:msg.payload as name, FROM ? a where name= :msg.payload",
8020
+ "outputProperty": "payload",
8021
+ "parameterMappings": [
8022
+ {
8023
+ "paramName": "name",
8024
+ "msgPath": "payload"
8025
+ }
8026
+ ],
8027
+ "x": 370,
8028
+ "y": 440,
8029
+ "wires": [
8030
+ [
8031
+ "f7056a42ba573367"
8032
+ ]
8033
+ ]
8034
+ },
8035
+ {
8036
+ "id": "e88b60b96a6ce42a",
8037
+ "type": "inject",
8038
+ "z": "8aa8799ad5afca2b",
8039
+ "name": "",
8040
+ "props": [
8041
+ {
8042
+ "p": "payload"
8043
+ },
8044
+ {
8045
+ "p": "topic",
8046
+ "vt": "str"
8047
+ }
8048
+ ],
8049
+ "repeat": "",
8050
+ "crontab": "",
8051
+ "once": false,
8052
+ "onceDelay": 0.1,
8053
+ "topic": "",
8054
+ "payload": "John",
8055
+ "payloadType": "str",
8056
+ "x": 90,
8057
+ "y": 420,
8058
+ "wires": [
8059
+ [
8060
+ "a61df296c3a578e2"
8061
+ ]
8062
+ ]
6887
8063
  }
6888
8064
  ]