node-red-contrib-prib-functions 0.23.2 → 0.23.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +139 -141
- package/lib/AlphaBeta.js +32 -0
- package/lib/GraphDB.js +40 -9
- package/lib/MinMax.js +17 -0
- package/lib/Tree.js +64 -0
- package/lib/objectExtensions.js +28 -5
- package/lib/timeDimension.js +36 -0
- package/package.json +4 -3
- package/test/02-graphdb.js +46 -0
- package/test/data/.config.nodes.json +1 -1
- package/test/data/.config.nodes.json.backup +2 -2
- package/test/data/.flow.json.backup +813 -193
- package/test/data/flow.json +809 -191
- package/test/data/package-lock.json +11 -11
- package/test/data/shares/.config.nodes.json +589 -0
- package/test/data/shares/.config.runtime.json +4 -0
- package/test/data/shares/.config.runtime.json.backup +3 -0
- package/test/data/shares/.config.users.json +32 -0
- package/test/data/shares/.config.users.json.backup +29 -0
- package/test/data/shares/.flow.json.backup +230 -0
- package/test/data/shares/.flow_cred.json.backup +3 -0
- package/test/data/shares/flow.json +267 -0
- package/test/data/shares/flow_cred.json +3 -0
- package/test/data/shares/package.json +6 -0
- package/test/data/shares/settings.js +544 -0
- package/testing/test.js +8 -7
- package/transform/transform.html +23 -2
- package/transform/transform.js +239 -283
- package/transform/xlsx2.js +74 -0
package/test/data/flow.json
CHANGED
|
@@ -117,6 +117,14 @@
|
|
|
117
117
|
"info": "",
|
|
118
118
|
"env": []
|
|
119
119
|
},
|
|
120
|
+
{
|
|
121
|
+
"id": "e45553957f2b6fab",
|
|
122
|
+
"type": "tab",
|
|
123
|
+
"label": "transform json",
|
|
124
|
+
"disabled": false,
|
|
125
|
+
"info": "",
|
|
126
|
+
"env": []
|
|
127
|
+
},
|
|
120
128
|
{
|
|
121
129
|
"id": "460ae66eec4b7f8a",
|
|
122
130
|
"type": "tab",
|
|
@@ -3129,44 +3137,6 @@
|
|
|
3129
3137
|
]
|
|
3130
3138
|
]
|
|
3131
3139
|
},
|
|
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
3140
|
{
|
|
3171
3141
|
"id": "d9a04503.7fc3a8",
|
|
3172
3142
|
"type": "debug",
|
|
@@ -3220,28 +3190,6 @@
|
|
|
3220
3190
|
[]
|
|
3221
3191
|
]
|
|
3222
3192
|
},
|
|
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
3193
|
{
|
|
3246
3194
|
"id": "eaa68e41.81cce",
|
|
3247
3195
|
"type": "transform",
|
|
@@ -3309,8 +3257,31 @@
|
|
|
3309
3257
|
"z": "d9c7ae0e.cb9a9",
|
|
3310
3258
|
"name": "",
|
|
3311
3259
|
"actionSource": "ISO8385",
|
|
3312
|
-
"
|
|
3260
|
+
"deleteSource": "true",
|
|
3261
|
+
"deleteSourceType": "bool",
|
|
3262
|
+
"actionTarget": "JSON",
|
|
3263
|
+
"sourceProperty": "",
|
|
3264
|
+
"targetProperty": "",
|
|
3265
|
+
"topicProperty": "",
|
|
3266
|
+
"JSONataSource": "",
|
|
3267
|
+
"JSONataTarget": "",
|
|
3268
|
+
"index": "",
|
|
3269
|
+
"maxMessages": "",
|
|
3270
|
+
"maxDate": "",
|
|
3271
|
+
"minDate": "",
|
|
3272
|
+
"maxNumber": "",
|
|
3273
|
+
"minNumber": "",
|
|
3274
|
+
"maxString": "",
|
|
3275
|
+
"minString": "",
|
|
3276
|
+
"radix": "",
|
|
3277
|
+
"schema": "",
|
|
3278
|
+
"schemaType": "str",
|
|
3279
|
+
"skipLeading": "",
|
|
3280
|
+
"skipTrailing": "",
|
|
3281
|
+
"string": "",
|
|
3282
|
+
"stringType": "str",
|
|
3313
3283
|
"delimiter": ",",
|
|
3284
|
+
"compressionType": "setGzip",
|
|
3314
3285
|
"x": 510,
|
|
3315
3286
|
"y": 420,
|
|
3316
3287
|
"wires": [
|
|
@@ -3338,8 +3309,8 @@
|
|
|
3338
3309
|
"actionSource": "JSON",
|
|
3339
3310
|
"actionTarget": "HTML",
|
|
3340
3311
|
"delimiter": ",",
|
|
3341
|
-
"x":
|
|
3342
|
-
"y":
|
|
3312
|
+
"x": 540,
|
|
3313
|
+
"y": 320,
|
|
3343
3314
|
"wires": [
|
|
3344
3315
|
[
|
|
3345
3316
|
"d9a04503.7fc3a8"
|
|
@@ -3423,6 +3394,184 @@
|
|
|
3423
3394
|
[]
|
|
3424
3395
|
]
|
|
3425
3396
|
},
|
|
3397
|
+
{
|
|
3398
|
+
"id": "7d7f98d9f9c42629",
|
|
3399
|
+
"type": "link call",
|
|
3400
|
+
"z": "d9c7ae0e.cb9a9",
|
|
3401
|
+
"name": "",
|
|
3402
|
+
"links": [
|
|
3403
|
+
"2605139b45f1f105"
|
|
3404
|
+
],
|
|
3405
|
+
"linkType": "static",
|
|
3406
|
+
"timeout": "30",
|
|
3407
|
+
"x": 340,
|
|
3408
|
+
"y": 820,
|
|
3409
|
+
"wires": [
|
|
3410
|
+
[
|
|
3411
|
+
"39f69c675d39c38c"
|
|
3412
|
+
]
|
|
3413
|
+
]
|
|
3414
|
+
},
|
|
3415
|
+
{
|
|
3416
|
+
"id": "93648bfe54fe290b",
|
|
3417
|
+
"type": "inject",
|
|
3418
|
+
"z": "d9c7ae0e.cb9a9",
|
|
3419
|
+
"name": "",
|
|
3420
|
+
"props": [
|
|
3421
|
+
{
|
|
3422
|
+
"p": "payload"
|
|
3423
|
+
},
|
|
3424
|
+
{
|
|
3425
|
+
"p": "topic",
|
|
3426
|
+
"vt": "str"
|
|
3427
|
+
}
|
|
3428
|
+
],
|
|
3429
|
+
"repeat": "",
|
|
3430
|
+
"crontab": "",
|
|
3431
|
+
"once": false,
|
|
3432
|
+
"onceDelay": 0.1,
|
|
3433
|
+
"topic": "",
|
|
3434
|
+
"payload": "",
|
|
3435
|
+
"payloadType": "date",
|
|
3436
|
+
"x": 120,
|
|
3437
|
+
"y": 740,
|
|
3438
|
+
"wires": [
|
|
3439
|
+
[
|
|
3440
|
+
"455bee5a8bfcd16f"
|
|
3441
|
+
]
|
|
3442
|
+
]
|
|
3443
|
+
},
|
|
3444
|
+
{
|
|
3445
|
+
"id": "44ba2e4231a7cf77",
|
|
3446
|
+
"type": "link call",
|
|
3447
|
+
"z": "d9c7ae0e.cb9a9",
|
|
3448
|
+
"name": "",
|
|
3449
|
+
"links": [
|
|
3450
|
+
"e057797d0b796145"
|
|
3451
|
+
],
|
|
3452
|
+
"linkType": "static",
|
|
3453
|
+
"timeout": "30",
|
|
3454
|
+
"x": 670,
|
|
3455
|
+
"y": 100,
|
|
3456
|
+
"wires": [
|
|
3457
|
+
[]
|
|
3458
|
+
]
|
|
3459
|
+
},
|
|
3460
|
+
{
|
|
3461
|
+
"id": "455bee5a8bfcd16f",
|
|
3462
|
+
"type": "link call",
|
|
3463
|
+
"z": "d9c7ae0e.cb9a9",
|
|
3464
|
+
"name": "",
|
|
3465
|
+
"links": [
|
|
3466
|
+
"ef3c3bb841e5b85a"
|
|
3467
|
+
],
|
|
3468
|
+
"linkType": "static",
|
|
3469
|
+
"timeout": "30",
|
|
3470
|
+
"x": 320,
|
|
3471
|
+
"y": 740,
|
|
3472
|
+
"wires": [
|
|
3473
|
+
[
|
|
3474
|
+
"52839bfb05b91f4c"
|
|
3475
|
+
]
|
|
3476
|
+
]
|
|
3477
|
+
},
|
|
3478
|
+
{
|
|
3479
|
+
"id": "810e0fa7d63baab2",
|
|
3480
|
+
"type": "link call",
|
|
3481
|
+
"z": "d9c7ae0e.cb9a9",
|
|
3482
|
+
"name": "",
|
|
3483
|
+
"links": [
|
|
3484
|
+
"e057797d0b796145"
|
|
3485
|
+
],
|
|
3486
|
+
"linkType": "static",
|
|
3487
|
+
"timeout": "30",
|
|
3488
|
+
"x": 350,
|
|
3489
|
+
"y": 940,
|
|
3490
|
+
"wires": [
|
|
3491
|
+
[
|
|
3492
|
+
"6bda6a7cf990884d"
|
|
3493
|
+
]
|
|
3494
|
+
]
|
|
3495
|
+
},
|
|
3496
|
+
{
|
|
3497
|
+
"id": "6bda6a7cf990884d",
|
|
3498
|
+
"type": "debug",
|
|
3499
|
+
"z": "d9c7ae0e.cb9a9",
|
|
3500
|
+
"name": "Done",
|
|
3501
|
+
"active": true,
|
|
3502
|
+
"tosidebar": true,
|
|
3503
|
+
"console": false,
|
|
3504
|
+
"tostatus": false,
|
|
3505
|
+
"complete": "payload",
|
|
3506
|
+
"targetType": "msg",
|
|
3507
|
+
"statusVal": "",
|
|
3508
|
+
"statusType": "auto",
|
|
3509
|
+
"x": 570,
|
|
3510
|
+
"y": 960,
|
|
3511
|
+
"wires": []
|
|
3512
|
+
},
|
|
3513
|
+
{
|
|
3514
|
+
"id": "52839bfb05b91f4c",
|
|
3515
|
+
"type": "Monitor Flow",
|
|
3516
|
+
"z": "d9c7ae0e.cb9a9",
|
|
3517
|
+
"name": "",
|
|
3518
|
+
"x": 550,
|
|
3519
|
+
"y": 740,
|
|
3520
|
+
"wires": [
|
|
3521
|
+
[
|
|
3522
|
+
"11ca1573aaaf8288"
|
|
3523
|
+
]
|
|
3524
|
+
]
|
|
3525
|
+
},
|
|
3526
|
+
{
|
|
3527
|
+
"id": "39f69c675d39c38c",
|
|
3528
|
+
"type": "Monitor Flow",
|
|
3529
|
+
"z": "d9c7ae0e.cb9a9",
|
|
3530
|
+
"name": "",
|
|
3531
|
+
"x": 550,
|
|
3532
|
+
"y": 820,
|
|
3533
|
+
"wires": [
|
|
3534
|
+
[
|
|
3535
|
+
"6fe703fe6cf5f12d"
|
|
3536
|
+
]
|
|
3537
|
+
]
|
|
3538
|
+
},
|
|
3539
|
+
{
|
|
3540
|
+
"id": "6fe703fe6cf5f12d",
|
|
3541
|
+
"type": "link call",
|
|
3542
|
+
"z": "d9c7ae0e.cb9a9",
|
|
3543
|
+
"name": "",
|
|
3544
|
+
"links": [
|
|
3545
|
+
"8bc4d0adfbe612e5"
|
|
3546
|
+
],
|
|
3547
|
+
"linkType": "static",
|
|
3548
|
+
"timeout": "30",
|
|
3549
|
+
"x": 330,
|
|
3550
|
+
"y": 880,
|
|
3551
|
+
"wires": [
|
|
3552
|
+
[
|
|
3553
|
+
"810e0fa7d63baab2"
|
|
3554
|
+
]
|
|
3555
|
+
]
|
|
3556
|
+
},
|
|
3557
|
+
{
|
|
3558
|
+
"id": "11ca1573aaaf8288",
|
|
3559
|
+
"type": "link call",
|
|
3560
|
+
"z": "d9c7ae0e.cb9a9",
|
|
3561
|
+
"name": "",
|
|
3562
|
+
"links": [
|
|
3563
|
+
"0c1e0f0f3543e49e"
|
|
3564
|
+
],
|
|
3565
|
+
"linkType": "static",
|
|
3566
|
+
"timeout": "30",
|
|
3567
|
+
"x": 340,
|
|
3568
|
+
"y": 780,
|
|
3569
|
+
"wires": [
|
|
3570
|
+
[
|
|
3571
|
+
"7d7f98d9f9c42629"
|
|
3572
|
+
]
|
|
3573
|
+
]
|
|
3574
|
+
},
|
|
3426
3575
|
{
|
|
3427
3576
|
"id": "93c7047f87bbf964",
|
|
3428
3577
|
"type": "debug",
|
|
@@ -3457,7 +3606,7 @@
|
|
|
3457
3606
|
"skipTrailing": 0,
|
|
3458
3607
|
"delimiter": ",",
|
|
3459
3608
|
"compressionType": "setGzip",
|
|
3460
|
-
"x":
|
|
3609
|
+
"x": 630,
|
|
3461
3610
|
"y": 280,
|
|
3462
3611
|
"wires": [
|
|
3463
3612
|
[
|
|
@@ -3483,7 +3632,7 @@
|
|
|
3483
3632
|
"skipTrailing": 0,
|
|
3484
3633
|
"delimiter": ",",
|
|
3485
3634
|
"compressionType": "setGzip",
|
|
3486
|
-
"x":
|
|
3635
|
+
"x": 640,
|
|
3487
3636
|
"y": 360,
|
|
3488
3637
|
"wires": [
|
|
3489
3638
|
[
|
|
@@ -3506,7 +3655,7 @@
|
|
|
3506
3655
|
"resultType": "str",
|
|
3507
3656
|
"resultProperty": "msg.payload",
|
|
3508
3657
|
"topic": "",
|
|
3509
|
-
"x":
|
|
3658
|
+
"x": 350,
|
|
3510
3659
|
"y": 360,
|
|
3511
3660
|
"wires": [
|
|
3512
3661
|
[
|
|
@@ -3534,7 +3683,7 @@
|
|
|
3534
3683
|
"resultType": "json",
|
|
3535
3684
|
"resultProperty": "msg.payload",
|
|
3536
3685
|
"topic": "",
|
|
3537
|
-
"x":
|
|
3686
|
+
"x": 340,
|
|
3538
3687
|
"y": 440,
|
|
3539
3688
|
"wires": [
|
|
3540
3689
|
[
|
|
@@ -3577,7 +3726,7 @@
|
|
|
3577
3726
|
"stringType": "str",
|
|
3578
3727
|
"delimiter": ",",
|
|
3579
3728
|
"compressionType": "setGzip",
|
|
3580
|
-
"x":
|
|
3729
|
+
"x": 640,
|
|
3581
3730
|
"y": 440,
|
|
3582
3731
|
"wires": [
|
|
3583
3732
|
[
|
|
@@ -3602,7 +3751,7 @@
|
|
|
3602
3751
|
"resultType": "json",
|
|
3603
3752
|
"resultProperty": "msg.payload",
|
|
3604
3753
|
"topic": "",
|
|
3605
|
-
"x":
|
|
3754
|
+
"x": 350,
|
|
3606
3755
|
"y": 520,
|
|
3607
3756
|
"wires": [
|
|
3608
3757
|
[
|
|
@@ -3611,7 +3760,9 @@
|
|
|
3611
3760
|
[
|
|
3612
3761
|
"93c7047f87bbf964"
|
|
3613
3762
|
],
|
|
3614
|
-
[
|
|
3763
|
+
[
|
|
3764
|
+
"3c77d5233e994214"
|
|
3765
|
+
]
|
|
3615
3766
|
]
|
|
3616
3767
|
},
|
|
3617
3768
|
{
|
|
@@ -3631,7 +3782,7 @@
|
|
|
3631
3782
|
"skipTrailing": 0,
|
|
3632
3783
|
"delimiter": ",",
|
|
3633
3784
|
"compressionType": "setGzip",
|
|
3634
|
-
"x":
|
|
3785
|
+
"x": 640,
|
|
3635
3786
|
"y": 520,
|
|
3636
3787
|
"wires": [
|
|
3637
3788
|
[
|
|
@@ -3656,7 +3807,7 @@
|
|
|
3656
3807
|
"resultType": "str",
|
|
3657
3808
|
"resultProperty": "msg.payload",
|
|
3658
3809
|
"topic": "",
|
|
3659
|
-
"x":
|
|
3810
|
+
"x": 350,
|
|
3660
3811
|
"y": 40,
|
|
3661
3812
|
"wires": [
|
|
3662
3813
|
[
|
|
@@ -3687,7 +3838,7 @@
|
|
|
3687
3838
|
"skipTrailing": 0,
|
|
3688
3839
|
"delimiter": ",",
|
|
3689
3840
|
"compressionType": "setGzip",
|
|
3690
|
-
"x":
|
|
3841
|
+
"x": 630,
|
|
3691
3842
|
"y": 40,
|
|
3692
3843
|
"wires": [
|
|
3693
3844
|
[
|
|
@@ -3712,7 +3863,7 @@
|
|
|
3712
3863
|
"resultType": "str",
|
|
3713
3864
|
"resultProperty": "msg.payload",
|
|
3714
3865
|
"topic": "",
|
|
3715
|
-
"x":
|
|
3866
|
+
"x": 330,
|
|
3716
3867
|
"y": 120,
|
|
3717
3868
|
"wires": [
|
|
3718
3869
|
[
|
|
@@ -3743,7 +3894,7 @@
|
|
|
3743
3894
|
"skipTrailing": 0,
|
|
3744
3895
|
"delimiter": ",",
|
|
3745
3896
|
"compressionType": "setGzip",
|
|
3746
|
-
"x":
|
|
3897
|
+
"x": 630,
|
|
3747
3898
|
"y": 120,
|
|
3748
3899
|
"wires": [
|
|
3749
3900
|
[
|
|
@@ -3771,7 +3922,7 @@
|
|
|
3771
3922
|
"skipTrailing": 0,
|
|
3772
3923
|
"delimiter": ",",
|
|
3773
3924
|
"compressionType": "setGzip",
|
|
3774
|
-
"x":
|
|
3925
|
+
"x": 640,
|
|
3775
3926
|
"y": 200,
|
|
3776
3927
|
"wires": [
|
|
3777
3928
|
[
|
|
@@ -3796,7 +3947,7 @@
|
|
|
3796
3947
|
"resultType": "str",
|
|
3797
3948
|
"resultProperty": "msg.payload",
|
|
3798
3949
|
"topic": "",
|
|
3799
|
-
"x":
|
|
3950
|
+
"x": 350,
|
|
3800
3951
|
"y": 200,
|
|
3801
3952
|
"wires": [
|
|
3802
3953
|
[
|
|
@@ -3824,7 +3975,7 @@
|
|
|
3824
3975
|
"resultType": "str",
|
|
3825
3976
|
"resultProperty": "msg.payload",
|
|
3826
3977
|
"topic": "",
|
|
3827
|
-
"x":
|
|
3978
|
+
"x": 350,
|
|
3828
3979
|
"y": 280,
|
|
3829
3980
|
"wires": [
|
|
3830
3981
|
[
|
|
@@ -3838,6 +3989,31 @@
|
|
|
3838
3989
|
]
|
|
3839
3990
|
]
|
|
3840
3991
|
},
|
|
3992
|
+
{
|
|
3993
|
+
"id": "ef3c3bb841e5b85a",
|
|
3994
|
+
"type": "link in",
|
|
3995
|
+
"z": "5866424ac23291eb",
|
|
3996
|
+
"name": "transform array",
|
|
3997
|
+
"links": [],
|
|
3998
|
+
"x": 105,
|
|
3999
|
+
"y": 40,
|
|
4000
|
+
"wires": [
|
|
4001
|
+
[
|
|
4002
|
+
"16fb26ead524acd9"
|
|
4003
|
+
]
|
|
4004
|
+
]
|
|
4005
|
+
},
|
|
4006
|
+
{
|
|
4007
|
+
"id": "3c77d5233e994214",
|
|
4008
|
+
"type": "link out",
|
|
4009
|
+
"z": "5866424ac23291eb",
|
|
4010
|
+
"name": "transform array finished",
|
|
4011
|
+
"mode": "return",
|
|
4012
|
+
"links": [],
|
|
4013
|
+
"x": 555,
|
|
4014
|
+
"y": 620,
|
|
4015
|
+
"wires": []
|
|
4016
|
+
},
|
|
3841
4017
|
{
|
|
3842
4018
|
"id": "49b2ad130416e0a0",
|
|
3843
4019
|
"type": "transform",
|
|
@@ -4595,7 +4771,8 @@
|
|
|
4595
4771
|
"3113b8a9e4b92296"
|
|
4596
4772
|
],
|
|
4597
4773
|
[
|
|
4598
|
-
"a411a1f479258d72"
|
|
4774
|
+
"a411a1f479258d72",
|
|
4775
|
+
"d8e481b0d9a11465"
|
|
4599
4776
|
]
|
|
4600
4777
|
]
|
|
4601
4778
|
},
|
|
@@ -4638,6 +4815,31 @@
|
|
|
4638
4815
|
[]
|
|
4639
4816
|
]
|
|
4640
4817
|
},
|
|
4818
|
+
{
|
|
4819
|
+
"id": "2605139b45f1f105",
|
|
4820
|
+
"type": "link in",
|
|
4821
|
+
"z": "1374c39ae82adb4e",
|
|
4822
|
+
"name": "transform date",
|
|
4823
|
+
"links": [],
|
|
4824
|
+
"x": 75,
|
|
4825
|
+
"y": 160,
|
|
4826
|
+
"wires": [
|
|
4827
|
+
[
|
|
4828
|
+
"d96341af5b44e199"
|
|
4829
|
+
]
|
|
4830
|
+
]
|
|
4831
|
+
},
|
|
4832
|
+
{
|
|
4833
|
+
"id": "d8e481b0d9a11465",
|
|
4834
|
+
"type": "link out",
|
|
4835
|
+
"z": "1374c39ae82adb4e",
|
|
4836
|
+
"name": "trans form date finish",
|
|
4837
|
+
"mode": "return",
|
|
4838
|
+
"links": [],
|
|
4839
|
+
"x": 1235,
|
|
4840
|
+
"y": 680,
|
|
4841
|
+
"wires": []
|
|
4842
|
+
},
|
|
4641
4843
|
{
|
|
4642
4844
|
"id": "ee2d5b0149699bfd",
|
|
4643
4845
|
"type": "transform",
|
|
@@ -4671,7 +4873,7 @@
|
|
|
4671
4873
|
"type": "debug",
|
|
4672
4874
|
"z": "65b5beda2b73b7b5",
|
|
4673
4875
|
"name": "debug",
|
|
4674
|
-
"active":
|
|
4876
|
+
"active": false,
|
|
4675
4877
|
"tosidebar": true,
|
|
4676
4878
|
"console": false,
|
|
4677
4879
|
"tostatus": false,
|
|
@@ -4915,7 +5117,9 @@
|
|
|
4915
5117
|
[
|
|
4916
5118
|
"10a0adbf5535121a"
|
|
4917
5119
|
],
|
|
4918
|
-
[
|
|
5120
|
+
[
|
|
5121
|
+
"84bf5aaa74b38e59"
|
|
5122
|
+
]
|
|
4919
5123
|
]
|
|
4920
5124
|
},
|
|
4921
5125
|
{
|
|
@@ -4958,6 +5162,284 @@
|
|
|
4958
5162
|
]
|
|
4959
5163
|
]
|
|
4960
5164
|
},
|
|
5165
|
+
{
|
|
5166
|
+
"id": "0c1e0f0f3543e49e",
|
|
5167
|
+
"type": "link in",
|
|
5168
|
+
"z": "65b5beda2b73b7b5",
|
|
5169
|
+
"name": "transform compress",
|
|
5170
|
+
"links": [],
|
|
5171
|
+
"x": 75,
|
|
5172
|
+
"y": 40,
|
|
5173
|
+
"wires": [
|
|
5174
|
+
[
|
|
5175
|
+
"d38095883a4a54ac"
|
|
5176
|
+
]
|
|
5177
|
+
]
|
|
5178
|
+
},
|
|
5179
|
+
{
|
|
5180
|
+
"id": "84bf5aaa74b38e59",
|
|
5181
|
+
"type": "link out",
|
|
5182
|
+
"z": "65b5beda2b73b7b5",
|
|
5183
|
+
"name": "transform compress finished",
|
|
5184
|
+
"mode": "return",
|
|
5185
|
+
"links": [],
|
|
5186
|
+
"x": 305,
|
|
5187
|
+
"y": 760,
|
|
5188
|
+
"wires": []
|
|
5189
|
+
},
|
|
5190
|
+
{
|
|
5191
|
+
"id": "5ac2ef6c.d0953",
|
|
5192
|
+
"type": "test",
|
|
5193
|
+
"z": "e45553957f2b6fab",
|
|
5194
|
+
"name": "",
|
|
5195
|
+
"errorFactor": "",
|
|
5196
|
+
"escapeString": false,
|
|
5197
|
+
"payload": "{\"a\":1,\"b\":1}",
|
|
5198
|
+
"payloadType": "json",
|
|
5199
|
+
"result": "{\"a\":1,\"b\":1}",
|
|
5200
|
+
"resultType": "json",
|
|
5201
|
+
"resultProperty": "msg.payload",
|
|
5202
|
+
"topic": "",
|
|
5203
|
+
"x": 280,
|
|
5204
|
+
"y": 100,
|
|
5205
|
+
"wires": [
|
|
5206
|
+
[
|
|
5207
|
+
"2ce3786.acae688"
|
|
5208
|
+
],
|
|
5209
|
+
[
|
|
5210
|
+
"039806dcd68d6ff2"
|
|
5211
|
+
],
|
|
5212
|
+
[
|
|
5213
|
+
"d49331e9f6193c4f"
|
|
5214
|
+
]
|
|
5215
|
+
]
|
|
5216
|
+
},
|
|
5217
|
+
{
|
|
5218
|
+
"id": "2ce3786.acae688",
|
|
5219
|
+
"type": "transform",
|
|
5220
|
+
"z": "e45553957f2b6fab",
|
|
5221
|
+
"name": "",
|
|
5222
|
+
"actionSource": "JSON",
|
|
5223
|
+
"deleteSource": "true",
|
|
5224
|
+
"deleteSourceType": "bool",
|
|
5225
|
+
"actionTarget": "JSON",
|
|
5226
|
+
"sourceProperty": "",
|
|
5227
|
+
"targetProperty": "",
|
|
5228
|
+
"topicProperty": "",
|
|
5229
|
+
"JSONataSource": "",
|
|
5230
|
+
"JSONataTarget": "",
|
|
5231
|
+
"index": "",
|
|
5232
|
+
"maxMessages": "",
|
|
5233
|
+
"maxDate": "",
|
|
5234
|
+
"minDate": "",
|
|
5235
|
+
"maxNumber": "",
|
|
5236
|
+
"minNumber": "",
|
|
5237
|
+
"maxString": "",
|
|
5238
|
+
"minString": "",
|
|
5239
|
+
"radix": "",
|
|
5240
|
+
"schema": "",
|
|
5241
|
+
"schemaType": "str",
|
|
5242
|
+
"skipLeading": "",
|
|
5243
|
+
"skipTrailing": "",
|
|
5244
|
+
"string": "",
|
|
5245
|
+
"stringType": "str",
|
|
5246
|
+
"delimiter": ",",
|
|
5247
|
+
"compressionType": "setGzip",
|
|
5248
|
+
"x": 640,
|
|
5249
|
+
"y": 20,
|
|
5250
|
+
"wires": [
|
|
5251
|
+
[
|
|
5252
|
+
"5ac2ef6c.d0953"
|
|
5253
|
+
],
|
|
5254
|
+
[
|
|
5255
|
+
"039806dcd68d6ff2"
|
|
5256
|
+
]
|
|
5257
|
+
]
|
|
5258
|
+
},
|
|
5259
|
+
{
|
|
5260
|
+
"id": "d49331e9f6193c4f",
|
|
5261
|
+
"type": "test",
|
|
5262
|
+
"z": "e45553957f2b6fab",
|
|
5263
|
+
"name": "",
|
|
5264
|
+
"errorFactor": "",
|
|
5265
|
+
"escapeString": false,
|
|
5266
|
+
"payload": "{\"in\":{\"a\":1,\"b\":1}}",
|
|
5267
|
+
"payloadType": "json",
|
|
5268
|
+
"result": "1",
|
|
5269
|
+
"resultType": "num",
|
|
5270
|
+
"resultProperty": "msg.payload",
|
|
5271
|
+
"topic": "",
|
|
5272
|
+
"x": 270,
|
|
5273
|
+
"y": 240,
|
|
5274
|
+
"wires": [
|
|
5275
|
+
[
|
|
5276
|
+
"670969e02ee29ad1"
|
|
5277
|
+
],
|
|
5278
|
+
[
|
|
5279
|
+
"039806dcd68d6ff2"
|
|
5280
|
+
],
|
|
5281
|
+
[
|
|
5282
|
+
"5e2a7ceef9de11bf"
|
|
5283
|
+
]
|
|
5284
|
+
]
|
|
5285
|
+
},
|
|
5286
|
+
{
|
|
5287
|
+
"id": "670969e02ee29ad1",
|
|
5288
|
+
"type": "transform",
|
|
5289
|
+
"z": "e45553957f2b6fab",
|
|
5290
|
+
"name": "",
|
|
5291
|
+
"actionSource": "JSON",
|
|
5292
|
+
"deleteSource": "true",
|
|
5293
|
+
"deleteSourceType": "bool",
|
|
5294
|
+
"actionTarget": "JSON",
|
|
5295
|
+
"sourceProperty": "",
|
|
5296
|
+
"targetProperty": "",
|
|
5297
|
+
"topicProperty": "",
|
|
5298
|
+
"JSONataSource": "in.a",
|
|
5299
|
+
"JSONataSourceType": "jsonata",
|
|
5300
|
+
"JSONataTarget": "",
|
|
5301
|
+
"JSONataTargetType": "jsonata",
|
|
5302
|
+
"index": "",
|
|
5303
|
+
"maxMessages": "",
|
|
5304
|
+
"maxDate": "",
|
|
5305
|
+
"minDate": "",
|
|
5306
|
+
"maxNumber": "",
|
|
5307
|
+
"minNumber": "",
|
|
5308
|
+
"maxString": "",
|
|
5309
|
+
"minString": "",
|
|
5310
|
+
"radix": "",
|
|
5311
|
+
"schema": "",
|
|
5312
|
+
"schemaType": "str",
|
|
5313
|
+
"skipLeading": "",
|
|
5314
|
+
"skipTrailing": "",
|
|
5315
|
+
"string": "",
|
|
5316
|
+
"stringType": "str",
|
|
5317
|
+
"delimiter": ",",
|
|
5318
|
+
"compressionType": "setGzip",
|
|
5319
|
+
"x": 640,
|
|
5320
|
+
"y": 160,
|
|
5321
|
+
"wires": [
|
|
5322
|
+
[
|
|
5323
|
+
"d49331e9f6193c4f"
|
|
5324
|
+
],
|
|
5325
|
+
[
|
|
5326
|
+
"039806dcd68d6ff2"
|
|
5327
|
+
]
|
|
5328
|
+
]
|
|
5329
|
+
},
|
|
5330
|
+
{
|
|
5331
|
+
"id": "039806dcd68d6ff2",
|
|
5332
|
+
"type": "debug",
|
|
5333
|
+
"z": "e45553957f2b6fab",
|
|
5334
|
+
"name": "error",
|
|
5335
|
+
"active": true,
|
|
5336
|
+
"tosidebar": true,
|
|
5337
|
+
"console": false,
|
|
5338
|
+
"tostatus": false,
|
|
5339
|
+
"complete": "true",
|
|
5340
|
+
"targetType": "full",
|
|
5341
|
+
"statusVal": "",
|
|
5342
|
+
"statusType": "auto",
|
|
5343
|
+
"x": 930,
|
|
5344
|
+
"y": 220,
|
|
5345
|
+
"wires": []
|
|
5346
|
+
},
|
|
5347
|
+
{
|
|
5348
|
+
"id": "b02379a693c4f95d",
|
|
5349
|
+
"type": "link out",
|
|
5350
|
+
"z": "e45553957f2b6fab",
|
|
5351
|
+
"name": "link out 4",
|
|
5352
|
+
"mode": "return",
|
|
5353
|
+
"links": [],
|
|
5354
|
+
"x": 545,
|
|
5355
|
+
"y": 380,
|
|
5356
|
+
"wires": []
|
|
5357
|
+
},
|
|
5358
|
+
{
|
|
5359
|
+
"id": "8bc4d0adfbe612e5",
|
|
5360
|
+
"type": "link in",
|
|
5361
|
+
"z": "e45553957f2b6fab",
|
|
5362
|
+
"name": "transform json",
|
|
5363
|
+
"links": [],
|
|
5364
|
+
"x": 75,
|
|
5365
|
+
"y": 40,
|
|
5366
|
+
"wires": [
|
|
5367
|
+
[
|
|
5368
|
+
"5ac2ef6c.d0953"
|
|
5369
|
+
]
|
|
5370
|
+
]
|
|
5371
|
+
},
|
|
5372
|
+
{
|
|
5373
|
+
"id": "5e2a7ceef9de11bf",
|
|
5374
|
+
"type": "test",
|
|
5375
|
+
"z": "e45553957f2b6fab",
|
|
5376
|
+
"name": "",
|
|
5377
|
+
"errorFactor": "",
|
|
5378
|
+
"escapeString": false,
|
|
5379
|
+
"payload": "{\"in\":{\"a\":1,\"b\":1}}",
|
|
5380
|
+
"payloadType": "json",
|
|
5381
|
+
"result": "1",
|
|
5382
|
+
"resultType": "num",
|
|
5383
|
+
"resultProperty": "msg.payload",
|
|
5384
|
+
"topic": "",
|
|
5385
|
+
"x": 290,
|
|
5386
|
+
"y": 360,
|
|
5387
|
+
"wires": [
|
|
5388
|
+
[
|
|
5389
|
+
"96f0fb80a916acba"
|
|
5390
|
+
],
|
|
5391
|
+
[
|
|
5392
|
+
"039806dcd68d6ff2"
|
|
5393
|
+
],
|
|
5394
|
+
[
|
|
5395
|
+
"b02379a693c4f95d"
|
|
5396
|
+
]
|
|
5397
|
+
]
|
|
5398
|
+
},
|
|
5399
|
+
{
|
|
5400
|
+
"id": "96f0fb80a916acba",
|
|
5401
|
+
"type": "transform",
|
|
5402
|
+
"z": "e45553957f2b6fab",
|
|
5403
|
+
"name": "",
|
|
5404
|
+
"actionSource": "JSON",
|
|
5405
|
+
"deleteSource": "true",
|
|
5406
|
+
"deleteSourceType": "bool",
|
|
5407
|
+
"actionTarget": "JSON",
|
|
5408
|
+
"sourceProperty": "",
|
|
5409
|
+
"targetProperty": "",
|
|
5410
|
+
"topicProperty": "",
|
|
5411
|
+
"JSONataSource": "",
|
|
5412
|
+
"JSONataSourceType": "jsonata",
|
|
5413
|
+
"JSONataTarget": "in.a",
|
|
5414
|
+
"JSONataTargetType": "jsonata",
|
|
5415
|
+
"index": "",
|
|
5416
|
+
"maxMessages": "",
|
|
5417
|
+
"maxDate": "",
|
|
5418
|
+
"minDate": "",
|
|
5419
|
+
"maxNumber": "",
|
|
5420
|
+
"minNumber": "",
|
|
5421
|
+
"maxString": "",
|
|
5422
|
+
"minString": "",
|
|
5423
|
+
"radix": "",
|
|
5424
|
+
"schema": "",
|
|
5425
|
+
"schemaType": "str",
|
|
5426
|
+
"skipLeading": "",
|
|
5427
|
+
"skipTrailing": "",
|
|
5428
|
+
"string": "",
|
|
5429
|
+
"stringType": "str",
|
|
5430
|
+
"delimiter": ",",
|
|
5431
|
+
"compressionType": "setGzip",
|
|
5432
|
+
"x": 660,
|
|
5433
|
+
"y": 280,
|
|
5434
|
+
"wires": [
|
|
5435
|
+
[
|
|
5436
|
+
"5e2a7ceef9de11bf"
|
|
5437
|
+
],
|
|
5438
|
+
[
|
|
5439
|
+
"039806dcd68d6ff2"
|
|
5440
|
+
]
|
|
5441
|
+
]
|
|
5442
|
+
},
|
|
4961
5443
|
{
|
|
4962
5444
|
"id": "47a287530ed838e7",
|
|
4963
5445
|
"type": "transform",
|
|
@@ -5006,13 +5488,15 @@
|
|
|
5006
5488
|
"resultType": "str",
|
|
5007
5489
|
"resultProperty": "msg.payload",
|
|
5008
5490
|
"topic": "",
|
|
5009
|
-
"x":
|
|
5491
|
+
"x": 240,
|
|
5010
5492
|
"y": 40,
|
|
5011
5493
|
"wires": [
|
|
5012
5494
|
[
|
|
5013
5495
|
"47a287530ed838e7"
|
|
5014
5496
|
],
|
|
5015
|
-
[
|
|
5497
|
+
[
|
|
5498
|
+
"925117734d8e96b5"
|
|
5499
|
+
],
|
|
5016
5500
|
[
|
|
5017
5501
|
"8d8bb2e1192b3a8c"
|
|
5018
5502
|
]
|
|
@@ -5031,8 +5515,8 @@
|
|
|
5031
5515
|
"targetType": "full",
|
|
5032
5516
|
"statusVal": "",
|
|
5033
5517
|
"statusType": "auto",
|
|
5034
|
-
"x":
|
|
5035
|
-
"y":
|
|
5518
|
+
"x": 890,
|
|
5519
|
+
"y": 80,
|
|
5036
5520
|
"wires": []
|
|
5037
5521
|
},
|
|
5038
5522
|
{
|
|
@@ -5055,7 +5539,9 @@
|
|
|
5055
5539
|
[
|
|
5056
5540
|
"517c89e4609e0e70"
|
|
5057
5541
|
],
|
|
5058
|
-
[
|
|
5542
|
+
[
|
|
5543
|
+
"925117734d8e96b5"
|
|
5544
|
+
],
|
|
5059
5545
|
[
|
|
5060
5546
|
"f78d540c53a64514"
|
|
5061
5547
|
]
|
|
@@ -5149,7 +5635,9 @@
|
|
|
5149
5635
|
[
|
|
5150
5636
|
"88582559dcf028bb"
|
|
5151
5637
|
],
|
|
5152
|
-
[
|
|
5638
|
+
[
|
|
5639
|
+
"925117734d8e96b5"
|
|
5640
|
+
],
|
|
5153
5641
|
[
|
|
5154
5642
|
"270a0e8c4f3d5172"
|
|
5155
5643
|
]
|
|
@@ -5175,7 +5663,9 @@
|
|
|
5175
5663
|
[
|
|
5176
5664
|
"daeadb001d8ec243"
|
|
5177
5665
|
],
|
|
5178
|
-
[
|
|
5666
|
+
[
|
|
5667
|
+
"925117734d8e96b5"
|
|
5668
|
+
],
|
|
5179
5669
|
[
|
|
5180
5670
|
"c64612fcd16ee4c2"
|
|
5181
5671
|
]
|
|
@@ -5233,9 +5723,11 @@
|
|
|
5233
5723
|
"y": 360,
|
|
5234
5724
|
"wires": [
|
|
5235
5725
|
[
|
|
5236
|
-
"4314006f6dc95d97"
|
|
5726
|
+
"4314006f6dc95d97"
|
|
5727
|
+
],
|
|
5728
|
+
[
|
|
5729
|
+
"925117734d8e96b5"
|
|
5237
5730
|
],
|
|
5238
|
-
[],
|
|
5239
5731
|
[
|
|
5240
5732
|
"7c1ffb0b49742528"
|
|
5241
5733
|
]
|
|
@@ -5351,12 +5843,20 @@
|
|
|
5351
5843
|
"actionSource": "String",
|
|
5352
5844
|
"deleteSource": "true",
|
|
5353
5845
|
"deleteSourceType": "bool",
|
|
5354
|
-
"actionTarget": "
|
|
5846
|
+
"actionTarget": "DateLocal",
|
|
5355
5847
|
"sourceProperty": "msg.payload.a",
|
|
5356
5848
|
"targetProperty": "msg.payload.b",
|
|
5357
5849
|
"topicProperty": "msg.topic",
|
|
5850
|
+
"JSONataSource": "",
|
|
5851
|
+
"JSONataTarget": "",
|
|
5358
5852
|
"index": "1",
|
|
5359
5853
|
"maxMessages": 1000,
|
|
5854
|
+
"maxDate": "",
|
|
5855
|
+
"minDate": "",
|
|
5856
|
+
"maxNumber": "",
|
|
5857
|
+
"minNumber": "",
|
|
5858
|
+
"maxString": "",
|
|
5859
|
+
"minString": "",
|
|
5360
5860
|
"radix": 10,
|
|
5361
5861
|
"schema": "{\"type\":\"record\",\"fields\":[{\"name\":\"name\",\"type\":\"string\"}]}",
|
|
5362
5862
|
"schemaType": "str",
|
|
@@ -5366,7 +5866,7 @@
|
|
|
5366
5866
|
"stringType": "str",
|
|
5367
5867
|
"delimiter": ",",
|
|
5368
5868
|
"compressionType": "setGzip",
|
|
5369
|
-
"x":
|
|
5869
|
+
"x": 510,
|
|
5370
5870
|
"y": 600,
|
|
5371
5871
|
"wires": [
|
|
5372
5872
|
[
|
|
@@ -5389,8 +5889,18 @@
|
|
|
5389
5889
|
"sourceProperty": "msg.payload.a",
|
|
5390
5890
|
"targetProperty": "msg.payload.b",
|
|
5391
5891
|
"topicProperty": "msg.topic",
|
|
5892
|
+
"JSONataSource": "",
|
|
5893
|
+
"JSONataSourceType": "jsonata",
|
|
5894
|
+
"JSONataTarget": "",
|
|
5895
|
+
"JSONataTargetType": "jsonata",
|
|
5392
5896
|
"index": "1",
|
|
5393
5897
|
"maxMessages": 1000,
|
|
5898
|
+
"maxDate": "",
|
|
5899
|
+
"minDate": "",
|
|
5900
|
+
"maxNumber": "",
|
|
5901
|
+
"minNumber": "",
|
|
5902
|
+
"maxString": "",
|
|
5903
|
+
"minString": "",
|
|
5394
5904
|
"radix": 10,
|
|
5395
5905
|
"schema": "{\"type\":\"record\",\"fields\":[{\"name\":\"name\",\"type\":\"string\"}]}",
|
|
5396
5906
|
"schemaType": "str",
|
|
@@ -5567,7 +6077,9 @@
|
|
|
5567
6077
|
[
|
|
5568
6078
|
"5a4cf5bbdd78ca08"
|
|
5569
6079
|
],
|
|
5570
|
-
[
|
|
6080
|
+
[
|
|
6081
|
+
"925117734d8e96b5"
|
|
6082
|
+
],
|
|
5571
6083
|
[
|
|
5572
6084
|
"2a5e51b612e3b1f8"
|
|
5573
6085
|
]
|
|
@@ -5593,7 +6105,9 @@
|
|
|
5593
6105
|
[
|
|
5594
6106
|
"d950412c4738c78f"
|
|
5595
6107
|
],
|
|
5596
|
-
[
|
|
6108
|
+
[
|
|
6109
|
+
"925117734d8e96b5"
|
|
6110
|
+
],
|
|
5597
6111
|
[
|
|
5598
6112
|
"dc4920acde5f87e4"
|
|
5599
6113
|
]
|
|
@@ -5605,21 +6119,23 @@
|
|
|
5605
6119
|
"z": "460ae66eec4b7f8a",
|
|
5606
6120
|
"name": "",
|
|
5607
6121
|
"errorFactor": 0,
|
|
5608
|
-
"escapeString":
|
|
6122
|
+
"escapeString": false,
|
|
5609
6123
|
"infiniteIsNull": false,
|
|
5610
6124
|
"payload": "{\"a\":\"1/1/2001\"}",
|
|
5611
6125
|
"payloadType": "json",
|
|
5612
|
-
"result": "
|
|
5613
|
-
"resultType": "
|
|
6126
|
+
"result": "$boolean(b.toLocaleDateString()=\"01/01/2001\")",
|
|
6127
|
+
"resultType": "jsonata",
|
|
5614
6128
|
"resultProperty": "msg.payload",
|
|
5615
6129
|
"topic": "",
|
|
5616
|
-
"x":
|
|
6130
|
+
"x": 170,
|
|
5617
6131
|
"y": 600,
|
|
5618
6132
|
"wires": [
|
|
5619
6133
|
[
|
|
5620
6134
|
"072e7d19acea716f"
|
|
5621
6135
|
],
|
|
5622
|
-
[
|
|
6136
|
+
[
|
|
6137
|
+
"925117734d8e96b5"
|
|
6138
|
+
],
|
|
5623
6139
|
[
|
|
5624
6140
|
"71bde3f27fe075fc"
|
|
5625
6141
|
]
|
|
@@ -5701,7 +6217,9 @@
|
|
|
5701
6217
|
[
|
|
5702
6218
|
"4c20187ba4f4d732"
|
|
5703
6219
|
],
|
|
5704
|
-
[
|
|
6220
|
+
[
|
|
6221
|
+
"925117734d8e96b5"
|
|
6222
|
+
],
|
|
5705
6223
|
[
|
|
5706
6224
|
"186e62ee33add8f7"
|
|
5707
6225
|
]
|
|
@@ -5753,7 +6271,9 @@
|
|
|
5753
6271
|
[
|
|
5754
6272
|
"fd3ddc020e4e4dd5"
|
|
5755
6273
|
],
|
|
5756
|
-
[
|
|
6274
|
+
[
|
|
6275
|
+
"925117734d8e96b5"
|
|
6276
|
+
],
|
|
5757
6277
|
[
|
|
5758
6278
|
"dcc18294163735c9"
|
|
5759
6279
|
]
|
|
@@ -6714,60 +7234,143 @@
|
|
|
6714
7234
|
[
|
|
6715
7235
|
"925117734d8e96b5"
|
|
6716
7236
|
],
|
|
6717
|
-
[
|
|
7237
|
+
[
|
|
7238
|
+
"bee4fdd51ea59704"
|
|
7239
|
+
]
|
|
6718
7240
|
]
|
|
6719
7241
|
},
|
|
6720
7242
|
{
|
|
6721
|
-
"id": "
|
|
6722
|
-
"type": "
|
|
7243
|
+
"id": "e057797d0b796145",
|
|
7244
|
+
"type": "link in",
|
|
7245
|
+
"z": "460ae66eec4b7f8a",
|
|
7246
|
+
"name": "transform string in",
|
|
7247
|
+
"links": [],
|
|
7248
|
+
"x": 55,
|
|
7249
|
+
"y": 40,
|
|
7250
|
+
"wires": [
|
|
7251
|
+
[
|
|
7252
|
+
"9ec96a604b0f3e20"
|
|
7253
|
+
]
|
|
7254
|
+
]
|
|
7255
|
+
},
|
|
7256
|
+
{
|
|
7257
|
+
"id": "bee4fdd51ea59704",
|
|
7258
|
+
"type": "link out",
|
|
7259
|
+
"z": "460ae66eec4b7f8a",
|
|
7260
|
+
"name": "transform string",
|
|
7261
|
+
"mode": "return",
|
|
7262
|
+
"links": [],
|
|
7263
|
+
"x": 335,
|
|
7264
|
+
"y": 2340,
|
|
7265
|
+
"wires": []
|
|
7266
|
+
},
|
|
7267
|
+
{
|
|
7268
|
+
"id": "3db2b919.ea68d6",
|
|
7269
|
+
"type": "debug",
|
|
6723
7270
|
"z": "924bb2b7.03fd1",
|
|
6724
|
-
"name": "
|
|
6725
|
-
"
|
|
6726
|
-
|
|
6727
|
-
|
|
6728
|
-
|
|
6729
|
-
|
|
6730
|
-
|
|
6731
|
-
|
|
6732
|
-
|
|
6733
|
-
|
|
6734
|
-
"
|
|
6735
|
-
"
|
|
6736
|
-
|
|
6737
|
-
|
|
6738
|
-
"
|
|
7271
|
+
"name": "error",
|
|
7272
|
+
"active": true,
|
|
7273
|
+
"tosidebar": true,
|
|
7274
|
+
"console": false,
|
|
7275
|
+
"tostatus": false,
|
|
7276
|
+
"complete": "true",
|
|
7277
|
+
"targetType": "full",
|
|
7278
|
+
"statusVal": "",
|
|
7279
|
+
"statusType": "auto",
|
|
7280
|
+
"x": 730,
|
|
7281
|
+
"y": 420,
|
|
7282
|
+
"wires": []
|
|
7283
|
+
},
|
|
7284
|
+
{
|
|
7285
|
+
"id": "32a48f00e9c32747",
|
|
7286
|
+
"type": "Monitor Flow",
|
|
7287
|
+
"z": "924bb2b7.03fd1",
|
|
7288
|
+
"name": "",
|
|
7289
|
+
"x": 590,
|
|
7290
|
+
"y": 20,
|
|
7291
|
+
"wires": [
|
|
7292
|
+
[
|
|
7293
|
+
"7794ab9c1ff64390"
|
|
7294
|
+
]
|
|
7295
|
+
]
|
|
7296
|
+
},
|
|
7297
|
+
{
|
|
7298
|
+
"id": "4e471cf4f77579e9",
|
|
7299
|
+
"type": "link out",
|
|
7300
|
+
"z": "924bb2b7.03fd1",
|
|
7301
|
+
"name": "transform xlsx finish",
|
|
7302
|
+
"mode": "return",
|
|
7303
|
+
"links": [],
|
|
7304
|
+
"x": 745,
|
|
7305
|
+
"y": 60,
|
|
7306
|
+
"wires": []
|
|
7307
|
+
},
|
|
7308
|
+
{
|
|
7309
|
+
"id": "0e4f57304e89edb8",
|
|
7310
|
+
"type": "test",
|
|
7311
|
+
"z": "924bb2b7.03fd1",
|
|
7312
|
+
"name": "",
|
|
7313
|
+
"errorFactor": 0,
|
|
7314
|
+
"escapeString": false,
|
|
7315
|
+
"infiniteIsNull": false,
|
|
6739
7316
|
"payload": "{\"worksheet1\":[[11,12],[21,22],[31,32]],\"worksheet2\":[[11,12],[21,22]]}",
|
|
6740
7317
|
"payloadType": "json",
|
|
6741
|
-
"
|
|
6742
|
-
"
|
|
7318
|
+
"result": "{\"worksheet1\":[[11,12],[21,22],[31,32]],\"worksheet2\":[[11,12],[21,22]]}",
|
|
7319
|
+
"resultType": "json",
|
|
7320
|
+
"resultProperty": "msg.payload",
|
|
7321
|
+
"topic": "",
|
|
7322
|
+
"x": 260,
|
|
7323
|
+
"y": 40,
|
|
6743
7324
|
"wires": [
|
|
6744
7325
|
[
|
|
6745
|
-
"
|
|
7326
|
+
"32a48f00e9c32747"
|
|
7327
|
+
],
|
|
7328
|
+
[
|
|
7329
|
+
"3db2b919.ea68d6"
|
|
7330
|
+
],
|
|
7331
|
+
[
|
|
7332
|
+
"4e471cf4f77579e9"
|
|
6746
7333
|
]
|
|
6747
7334
|
]
|
|
6748
7335
|
},
|
|
6749
7336
|
{
|
|
6750
|
-
"id": "
|
|
7337
|
+
"id": "7794ab9c1ff64390",
|
|
6751
7338
|
"type": "transform",
|
|
6752
7339
|
"z": "924bb2b7.03fd1",
|
|
6753
7340
|
"name": "",
|
|
6754
7341
|
"actionSource": "Array",
|
|
7342
|
+
"deleteSource": "true",
|
|
7343
|
+
"deleteSourceType": "bool",
|
|
6755
7344
|
"actionTarget": "XLSX",
|
|
6756
7345
|
"sourceProperty": "msg.payload",
|
|
6757
|
-
"targetProperty": "msg.
|
|
7346
|
+
"targetProperty": "msg.payload",
|
|
6758
7347
|
"topicProperty": "msg.topic",
|
|
7348
|
+
"JSONataSource": "",
|
|
7349
|
+
"JSONataSourceType": "jsonata",
|
|
7350
|
+
"JSONataTarget": "",
|
|
7351
|
+
"JSONataTargetType": "jsonata",
|
|
7352
|
+
"index": 0,
|
|
6759
7353
|
"maxMessages": 1000,
|
|
7354
|
+
"maxDate": "",
|
|
7355
|
+
"minDate": "",
|
|
7356
|
+
"maxNumber": 0,
|
|
7357
|
+
"minNumber": 0,
|
|
7358
|
+
"maxString": "",
|
|
7359
|
+
"minString": "",
|
|
7360
|
+
"radix": 10,
|
|
6760
7361
|
"schema": "{\"type\":\"record\",\"fields\":[{\"name\":\"name\",\"type\":\"string\"}]}",
|
|
6761
|
-
"schemaType": "
|
|
7362
|
+
"schemaType": "str",
|
|
6762
7363
|
"skipLeading": 0,
|
|
6763
7364
|
"skipTrailing": 0,
|
|
7365
|
+
"string": "",
|
|
7366
|
+
"stringType": "str",
|
|
6764
7367
|
"delimiter": ",",
|
|
6765
|
-
"
|
|
6766
|
-
"
|
|
7368
|
+
"compressionType": "setGzip",
|
|
7369
|
+
"x": 520,
|
|
7370
|
+
"y": 140,
|
|
6767
7371
|
"wires": [
|
|
6768
7372
|
[
|
|
6769
|
-
"
|
|
6770
|
-
"7bde11d2.378e6"
|
|
7373
|
+
"69cf00efd482d012"
|
|
6771
7374
|
],
|
|
6772
7375
|
[
|
|
6773
7376
|
"3db2b919.ea68d6"
|
|
@@ -6775,26 +7378,43 @@
|
|
|
6775
7378
|
]
|
|
6776
7379
|
},
|
|
6777
7380
|
{
|
|
6778
|
-
"id": "
|
|
7381
|
+
"id": "000cda4258683bde",
|
|
6779
7382
|
"type": "transform",
|
|
6780
7383
|
"z": "924bb2b7.03fd1",
|
|
6781
7384
|
"name": "",
|
|
6782
|
-
"actionSource": "
|
|
7385
|
+
"actionSource": "XLSX",
|
|
7386
|
+
"deleteSource": "true",
|
|
7387
|
+
"deleteSourceType": "bool",
|
|
6783
7388
|
"actionTarget": "XLSXObject",
|
|
6784
7389
|
"sourceProperty": "msg.payload",
|
|
6785
|
-
"targetProperty": "msg.
|
|
7390
|
+
"targetProperty": "msg.payload",
|
|
6786
7391
|
"topicProperty": "msg.topic",
|
|
7392
|
+
"JSONataSource": "",
|
|
7393
|
+
"JSONataSourceType": "jsonata",
|
|
7394
|
+
"JSONataTarget": "",
|
|
7395
|
+
"JSONataTargetType": "jsonata",
|
|
7396
|
+
"index": 0,
|
|
6787
7397
|
"maxMessages": 1000,
|
|
7398
|
+
"maxDate": "",
|
|
7399
|
+
"minDate": "",
|
|
7400
|
+
"maxNumber": 0,
|
|
7401
|
+
"minNumber": 0,
|
|
7402
|
+
"maxString": "",
|
|
7403
|
+
"minString": "",
|
|
7404
|
+
"radix": 10,
|
|
6788
7405
|
"schema": "{\"type\":\"record\",\"fields\":[{\"name\":\"name\",\"type\":\"string\"}]}",
|
|
6789
|
-
"schemaType": "
|
|
7406
|
+
"schemaType": "str",
|
|
6790
7407
|
"skipLeading": 0,
|
|
6791
7408
|
"skipTrailing": 0,
|
|
7409
|
+
"string": "",
|
|
7410
|
+
"stringType": "str",
|
|
6792
7411
|
"delimiter": ",",
|
|
6793
|
-
"
|
|
6794
|
-
"
|
|
7412
|
+
"compressionType": "setGzip",
|
|
7413
|
+
"x": 380,
|
|
7414
|
+
"y": 220,
|
|
6795
7415
|
"wires": [
|
|
6796
7416
|
[
|
|
6797
|
-
"
|
|
7417
|
+
"7208e9201d7f1fcf"
|
|
6798
7418
|
],
|
|
6799
7419
|
[
|
|
6800
7420
|
"3db2b919.ea68d6"
|
|
@@ -6802,26 +7422,43 @@
|
|
|
6802
7422
|
]
|
|
6803
7423
|
},
|
|
6804
7424
|
{
|
|
6805
|
-
"id": "
|
|
7425
|
+
"id": "dd556f2fb8c84838",
|
|
6806
7426
|
"type": "transform",
|
|
6807
7427
|
"z": "924bb2b7.03fd1",
|
|
6808
7428
|
"name": "",
|
|
6809
|
-
"actionSource": "
|
|
6810
|
-
"
|
|
6811
|
-
"
|
|
6812
|
-
"
|
|
7429
|
+
"actionSource": "XLSXObject",
|
|
7430
|
+
"deleteSource": "true",
|
|
7431
|
+
"deleteSourceType": "bool",
|
|
7432
|
+
"actionTarget": "JSON",
|
|
7433
|
+
"sourceProperty": "msg.payload",
|
|
7434
|
+
"targetProperty": "msg.payload",
|
|
6813
7435
|
"topicProperty": "msg.topic",
|
|
7436
|
+
"JSONataSource": "",
|
|
7437
|
+
"JSONataSourceType": "jsonata",
|
|
7438
|
+
"JSONataTarget": "",
|
|
7439
|
+
"JSONataTargetType": "jsonata",
|
|
7440
|
+
"index": 0,
|
|
6814
7441
|
"maxMessages": 1000,
|
|
7442
|
+
"maxDate": "",
|
|
7443
|
+
"minDate": "",
|
|
7444
|
+
"maxNumber": 0,
|
|
7445
|
+
"minNumber": 0,
|
|
7446
|
+
"maxString": "",
|
|
7447
|
+
"minString": "",
|
|
7448
|
+
"radix": 10,
|
|
6815
7449
|
"schema": "{\"type\":\"record\",\"fields\":[{\"name\":\"name\",\"type\":\"string\"}]}",
|
|
6816
|
-
"schemaType": "
|
|
7450
|
+
"schemaType": "str",
|
|
6817
7451
|
"skipLeading": 0,
|
|
6818
7452
|
"skipTrailing": 0,
|
|
7453
|
+
"string": "",
|
|
7454
|
+
"stringType": "str",
|
|
6819
7455
|
"delimiter": ",",
|
|
6820
|
-
"
|
|
6821
|
-
"
|
|
7456
|
+
"compressionType": "setGzip",
|
|
7457
|
+
"x": 160,
|
|
7458
|
+
"y": 320,
|
|
6822
7459
|
"wires": [
|
|
6823
7460
|
[
|
|
6824
|
-
"
|
|
7461
|
+
"0e4f57304e89edb8"
|
|
6825
7462
|
],
|
|
6826
7463
|
[
|
|
6827
7464
|
"3db2b919.ea68d6"
|
|
@@ -6829,62 +7466,43 @@
|
|
|
6829
7466
|
]
|
|
6830
7467
|
},
|
|
6831
7468
|
{
|
|
6832
|
-
"id": "
|
|
6833
|
-
"type": "
|
|
7469
|
+
"id": "7208e9201d7f1fcf",
|
|
7470
|
+
"type": "Monitor Flow",
|
|
6834
7471
|
"z": "924bb2b7.03fd1",
|
|
6835
7472
|
"name": "",
|
|
6836
|
-
"
|
|
6837
|
-
"
|
|
6838
|
-
"sourceProperty": "msg.xlsx",
|
|
6839
|
-
"targetProperty": "msg.xlsx2xlsxObject",
|
|
6840
|
-
"topicProperty": "msg.topic",
|
|
6841
|
-
"maxMessages": 1000,
|
|
6842
|
-
"schema": "{\"type\":\"record\",\"fields\":[{\"name\":\"name\",\"type\":\"string\"}]}",
|
|
6843
|
-
"schemaType": "json",
|
|
6844
|
-
"skipLeading": 0,
|
|
6845
|
-
"skipTrailing": 0,
|
|
6846
|
-
"delimiter": ",",
|
|
6847
|
-
"x": 660,
|
|
6848
|
-
"y": 60,
|
|
7473
|
+
"x": 750,
|
|
7474
|
+
"y": 220,
|
|
6849
7475
|
"wires": [
|
|
6850
7476
|
[
|
|
6851
|
-
"
|
|
6852
|
-
]
|
|
6853
|
-
[]
|
|
7477
|
+
"dd556f2fb8c84838"
|
|
7478
|
+
]
|
|
6854
7479
|
]
|
|
6855
7480
|
},
|
|
6856
7481
|
{
|
|
6857
|
-
"id": "
|
|
6858
|
-
"type": "
|
|
7482
|
+
"id": "69cf00efd482d012",
|
|
7483
|
+
"type": "Monitor Flow",
|
|
6859
7484
|
"z": "924bb2b7.03fd1",
|
|
6860
|
-
"name": "
|
|
6861
|
-
"
|
|
6862
|
-
"
|
|
6863
|
-
"
|
|
6864
|
-
|
|
6865
|
-
|
|
6866
|
-
|
|
6867
|
-
|
|
6868
|
-
"statusType": "auto",
|
|
6869
|
-
"x": 870,
|
|
6870
|
-
"y": 60,
|
|
6871
|
-
"wires": []
|
|
7485
|
+
"name": "",
|
|
7486
|
+
"x": 750,
|
|
7487
|
+
"y": 140,
|
|
7488
|
+
"wires": [
|
|
7489
|
+
[
|
|
7490
|
+
"000cda4258683bde"
|
|
7491
|
+
]
|
|
7492
|
+
]
|
|
6872
7493
|
},
|
|
6873
7494
|
{
|
|
6874
|
-
"id": "
|
|
6875
|
-
"type": "
|
|
7495
|
+
"id": "6ed524d3e461526d",
|
|
7496
|
+
"type": "link in",
|
|
6876
7497
|
"z": "924bb2b7.03fd1",
|
|
6877
|
-
"name": "",
|
|
6878
|
-
"
|
|
6879
|
-
"
|
|
6880
|
-
"
|
|
6881
|
-
"
|
|
6882
|
-
|
|
6883
|
-
|
|
6884
|
-
|
|
6885
|
-
|
|
6886
|
-
"x": 870,
|
|
6887
|
-
"y": 160,
|
|
6888
|
-
"wires": []
|
|
7498
|
+
"name": "transform xlsx",
|
|
7499
|
+
"links": [],
|
|
7500
|
+
"x": 45,
|
|
7501
|
+
"y": 40,
|
|
7502
|
+
"wires": [
|
|
7503
|
+
[
|
|
7504
|
+
"0e4f57304e89edb8"
|
|
7505
|
+
]
|
|
7506
|
+
]
|
|
6889
7507
|
}
|
|
6890
7508
|
]
|