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
|
@@ -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",
|
|
@@ -4206,7 +4382,7 @@
|
|
|
4206
4382
|
"b60875427c4e1dab"
|
|
4207
4383
|
],
|
|
4208
4384
|
[
|
|
4209
|
-
"
|
|
4385
|
+
"731e0f954b971546"
|
|
4210
4386
|
]
|
|
4211
4387
|
]
|
|
4212
4388
|
},
|
|
@@ -4223,8 +4399,8 @@
|
|
|
4223
4399
|
"targetType": "msg",
|
|
4224
4400
|
"statusVal": "",
|
|
4225
4401
|
"statusType": "auto",
|
|
4226
|
-
"x":
|
|
4227
|
-
"y":
|
|
4402
|
+
"x": 1070,
|
|
4403
|
+
"y": 720,
|
|
4228
4404
|
"wires": []
|
|
4229
4405
|
},
|
|
4230
4406
|
{
|
|
@@ -4594,7 +4770,10 @@
|
|
|
4594
4770
|
[
|
|
4595
4771
|
"3113b8a9e4b92296"
|
|
4596
4772
|
],
|
|
4597
|
-
[
|
|
4773
|
+
[
|
|
4774
|
+
"a411a1f479258d72",
|
|
4775
|
+
"d8e481b0d9a11465"
|
|
4776
|
+
]
|
|
4598
4777
|
]
|
|
4599
4778
|
},
|
|
4600
4779
|
{
|
|
@@ -4636,6 +4815,31 @@
|
|
|
4636
4815
|
[]
|
|
4637
4816
|
]
|
|
4638
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
|
+
},
|
|
4639
4843
|
{
|
|
4640
4844
|
"id": "ee2d5b0149699bfd",
|
|
4641
4845
|
"type": "transform",
|
|
@@ -4669,7 +4873,7 @@
|
|
|
4669
4873
|
"type": "debug",
|
|
4670
4874
|
"z": "65b5beda2b73b7b5",
|
|
4671
4875
|
"name": "debug",
|
|
4672
|
-
"active":
|
|
4876
|
+
"active": false,
|
|
4673
4877
|
"tosidebar": true,
|
|
4674
4878
|
"console": false,
|
|
4675
4879
|
"tostatus": false,
|
|
@@ -4913,7 +5117,9 @@
|
|
|
4913
5117
|
[
|
|
4914
5118
|
"10a0adbf5535121a"
|
|
4915
5119
|
],
|
|
4916
|
-
[
|
|
5120
|
+
[
|
|
5121
|
+
"84bf5aaa74b38e59"
|
|
5122
|
+
]
|
|
4917
5123
|
]
|
|
4918
5124
|
},
|
|
4919
5125
|
{
|
|
@@ -4956,6 +5162,284 @@
|
|
|
4956
5162
|
]
|
|
4957
5163
|
]
|
|
4958
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
|
+
},
|
|
4959
5443
|
{
|
|
4960
5444
|
"id": "47a287530ed838e7",
|
|
4961
5445
|
"type": "transform",
|
|
@@ -5004,13 +5488,15 @@
|
|
|
5004
5488
|
"resultType": "str",
|
|
5005
5489
|
"resultProperty": "msg.payload",
|
|
5006
5490
|
"topic": "",
|
|
5007
|
-
"x":
|
|
5491
|
+
"x": 240,
|
|
5008
5492
|
"y": 40,
|
|
5009
5493
|
"wires": [
|
|
5010
5494
|
[
|
|
5011
5495
|
"47a287530ed838e7"
|
|
5012
5496
|
],
|
|
5013
|
-
[
|
|
5497
|
+
[
|
|
5498
|
+
"925117734d8e96b5"
|
|
5499
|
+
],
|
|
5014
5500
|
[
|
|
5015
5501
|
"8d8bb2e1192b3a8c"
|
|
5016
5502
|
]
|
|
@@ -5029,8 +5515,8 @@
|
|
|
5029
5515
|
"targetType": "full",
|
|
5030
5516
|
"statusVal": "",
|
|
5031
5517
|
"statusType": "auto",
|
|
5032
|
-
"x":
|
|
5033
|
-
"y":
|
|
5518
|
+
"x": 890,
|
|
5519
|
+
"y": 80,
|
|
5034
5520
|
"wires": []
|
|
5035
5521
|
},
|
|
5036
5522
|
{
|
|
@@ -5053,7 +5539,9 @@
|
|
|
5053
5539
|
[
|
|
5054
5540
|
"517c89e4609e0e70"
|
|
5055
5541
|
],
|
|
5056
|
-
[
|
|
5542
|
+
[
|
|
5543
|
+
"925117734d8e96b5"
|
|
5544
|
+
],
|
|
5057
5545
|
[
|
|
5058
5546
|
"f78d540c53a64514"
|
|
5059
5547
|
]
|
|
@@ -5147,7 +5635,9 @@
|
|
|
5147
5635
|
[
|
|
5148
5636
|
"88582559dcf028bb"
|
|
5149
5637
|
],
|
|
5150
|
-
[
|
|
5638
|
+
[
|
|
5639
|
+
"925117734d8e96b5"
|
|
5640
|
+
],
|
|
5151
5641
|
[
|
|
5152
5642
|
"270a0e8c4f3d5172"
|
|
5153
5643
|
]
|
|
@@ -5173,7 +5663,9 @@
|
|
|
5173
5663
|
[
|
|
5174
5664
|
"daeadb001d8ec243"
|
|
5175
5665
|
],
|
|
5176
|
-
[
|
|
5666
|
+
[
|
|
5667
|
+
"925117734d8e96b5"
|
|
5668
|
+
],
|
|
5177
5669
|
[
|
|
5178
5670
|
"c64612fcd16ee4c2"
|
|
5179
5671
|
]
|
|
@@ -5233,7 +5725,9 @@
|
|
|
5233
5725
|
[
|
|
5234
5726
|
"4314006f6dc95d97"
|
|
5235
5727
|
],
|
|
5236
|
-
[
|
|
5728
|
+
[
|
|
5729
|
+
"925117734d8e96b5"
|
|
5730
|
+
],
|
|
5237
5731
|
[
|
|
5238
5732
|
"7c1ffb0b49742528"
|
|
5239
5733
|
]
|
|
@@ -5349,12 +5843,20 @@
|
|
|
5349
5843
|
"actionSource": "String",
|
|
5350
5844
|
"deleteSource": "true",
|
|
5351
5845
|
"deleteSourceType": "bool",
|
|
5352
|
-
"actionTarget": "
|
|
5846
|
+
"actionTarget": "DateLocal",
|
|
5353
5847
|
"sourceProperty": "msg.payload.a",
|
|
5354
5848
|
"targetProperty": "msg.payload.b",
|
|
5355
5849
|
"topicProperty": "msg.topic",
|
|
5850
|
+
"JSONataSource": "",
|
|
5851
|
+
"JSONataTarget": "",
|
|
5356
5852
|
"index": "1",
|
|
5357
5853
|
"maxMessages": 1000,
|
|
5854
|
+
"maxDate": "",
|
|
5855
|
+
"minDate": "",
|
|
5856
|
+
"maxNumber": "",
|
|
5857
|
+
"minNumber": "",
|
|
5858
|
+
"maxString": "",
|
|
5859
|
+
"minString": "",
|
|
5358
5860
|
"radix": 10,
|
|
5359
5861
|
"schema": "{\"type\":\"record\",\"fields\":[{\"name\":\"name\",\"type\":\"string\"}]}",
|
|
5360
5862
|
"schemaType": "str",
|
|
@@ -5364,7 +5866,7 @@
|
|
|
5364
5866
|
"stringType": "str",
|
|
5365
5867
|
"delimiter": ",",
|
|
5366
5868
|
"compressionType": "setGzip",
|
|
5367
|
-
"x":
|
|
5869
|
+
"x": 510,
|
|
5368
5870
|
"y": 600,
|
|
5369
5871
|
"wires": [
|
|
5370
5872
|
[
|
|
@@ -5387,8 +5889,18 @@
|
|
|
5387
5889
|
"sourceProperty": "msg.payload.a",
|
|
5388
5890
|
"targetProperty": "msg.payload.b",
|
|
5389
5891
|
"topicProperty": "msg.topic",
|
|
5892
|
+
"JSONataSource": "",
|
|
5893
|
+
"JSONataSourceType": "jsonata",
|
|
5894
|
+
"JSONataTarget": "",
|
|
5895
|
+
"JSONataTargetType": "jsonata",
|
|
5390
5896
|
"index": "1",
|
|
5391
5897
|
"maxMessages": 1000,
|
|
5898
|
+
"maxDate": "",
|
|
5899
|
+
"minDate": "",
|
|
5900
|
+
"maxNumber": "",
|
|
5901
|
+
"minNumber": "",
|
|
5902
|
+
"maxString": "",
|
|
5903
|
+
"minString": "",
|
|
5392
5904
|
"radix": 10,
|
|
5393
5905
|
"schema": "{\"type\":\"record\",\"fields\":[{\"name\":\"name\",\"type\":\"string\"}]}",
|
|
5394
5906
|
"schemaType": "str",
|
|
@@ -5565,7 +6077,9 @@
|
|
|
5565
6077
|
[
|
|
5566
6078
|
"5a4cf5bbdd78ca08"
|
|
5567
6079
|
],
|
|
5568
|
-
[
|
|
6080
|
+
[
|
|
6081
|
+
"925117734d8e96b5"
|
|
6082
|
+
],
|
|
5569
6083
|
[
|
|
5570
6084
|
"2a5e51b612e3b1f8"
|
|
5571
6085
|
]
|
|
@@ -5591,7 +6105,9 @@
|
|
|
5591
6105
|
[
|
|
5592
6106
|
"d950412c4738c78f"
|
|
5593
6107
|
],
|
|
5594
|
-
[
|
|
6108
|
+
[
|
|
6109
|
+
"925117734d8e96b5"
|
|
6110
|
+
],
|
|
5595
6111
|
[
|
|
5596
6112
|
"dc4920acde5f87e4"
|
|
5597
6113
|
]
|
|
@@ -5603,21 +6119,23 @@
|
|
|
5603
6119
|
"z": "460ae66eec4b7f8a",
|
|
5604
6120
|
"name": "",
|
|
5605
6121
|
"errorFactor": 0,
|
|
5606
|
-
"escapeString":
|
|
6122
|
+
"escapeString": false,
|
|
5607
6123
|
"infiniteIsNull": false,
|
|
5608
6124
|
"payload": "{\"a\":\"1/1/2001\"}",
|
|
5609
6125
|
"payloadType": "json",
|
|
5610
|
-
"result": "
|
|
5611
|
-
"resultType": "
|
|
6126
|
+
"result": "$boolean(b.toLocaleDateString()=\"01/01/2001\")",
|
|
6127
|
+
"resultType": "jsonata",
|
|
5612
6128
|
"resultProperty": "msg.payload",
|
|
5613
6129
|
"topic": "",
|
|
5614
|
-
"x":
|
|
6130
|
+
"x": 170,
|
|
5615
6131
|
"y": 600,
|
|
5616
6132
|
"wires": [
|
|
5617
6133
|
[
|
|
5618
6134
|
"072e7d19acea716f"
|
|
5619
6135
|
],
|
|
5620
|
-
[
|
|
6136
|
+
[
|
|
6137
|
+
"925117734d8e96b5"
|
|
6138
|
+
],
|
|
5621
6139
|
[
|
|
5622
6140
|
"71bde3f27fe075fc"
|
|
5623
6141
|
]
|
|
@@ -5699,7 +6217,9 @@
|
|
|
5699
6217
|
[
|
|
5700
6218
|
"4c20187ba4f4d732"
|
|
5701
6219
|
],
|
|
5702
|
-
[
|
|
6220
|
+
[
|
|
6221
|
+
"925117734d8e96b5"
|
|
6222
|
+
],
|
|
5703
6223
|
[
|
|
5704
6224
|
"186e62ee33add8f7"
|
|
5705
6225
|
]
|
|
@@ -5751,7 +6271,9 @@
|
|
|
5751
6271
|
[
|
|
5752
6272
|
"fd3ddc020e4e4dd5"
|
|
5753
6273
|
],
|
|
5754
|
-
[
|
|
6274
|
+
[
|
|
6275
|
+
"925117734d8e96b5"
|
|
6276
|
+
],
|
|
5755
6277
|
[
|
|
5756
6278
|
"dcc18294163735c9"
|
|
5757
6279
|
]
|
|
@@ -6712,60 +7234,143 @@
|
|
|
6712
7234
|
[
|
|
6713
7235
|
"925117734d8e96b5"
|
|
6714
7236
|
],
|
|
6715
|
-
[
|
|
7237
|
+
[
|
|
7238
|
+
"bee4fdd51ea59704"
|
|
7239
|
+
]
|
|
6716
7240
|
]
|
|
6717
7241
|
},
|
|
6718
7242
|
{
|
|
6719
|
-
"id": "
|
|
6720
|
-
"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",
|
|
6721
7270
|
"z": "924bb2b7.03fd1",
|
|
6722
|
-
"name": "
|
|
6723
|
-
"
|
|
6724
|
-
|
|
6725
|
-
|
|
6726
|
-
|
|
6727
|
-
|
|
6728
|
-
|
|
6729
|
-
|
|
6730
|
-
|
|
6731
|
-
|
|
6732
|
-
"
|
|
6733
|
-
"
|
|
6734
|
-
|
|
6735
|
-
|
|
6736
|
-
"
|
|
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,
|
|
6737
7316
|
"payload": "{\"worksheet1\":[[11,12],[21,22],[31,32]],\"worksheet2\":[[11,12],[21,22]]}",
|
|
6738
7317
|
"payloadType": "json",
|
|
6739
|
-
"
|
|
6740
|
-
"
|
|
7318
|
+
"result": "",
|
|
7319
|
+
"resultType": "date",
|
|
7320
|
+
"resultProperty": "msg.payload",
|
|
7321
|
+
"topic": "",
|
|
7322
|
+
"x": 260,
|
|
7323
|
+
"y": 40,
|
|
6741
7324
|
"wires": [
|
|
6742
7325
|
[
|
|
6743
|
-
"
|
|
7326
|
+
"32a48f00e9c32747"
|
|
7327
|
+
],
|
|
7328
|
+
[
|
|
7329
|
+
"3db2b919.ea68d6"
|
|
7330
|
+
],
|
|
7331
|
+
[
|
|
7332
|
+
"4e471cf4f77579e9"
|
|
6744
7333
|
]
|
|
6745
7334
|
]
|
|
6746
7335
|
},
|
|
6747
7336
|
{
|
|
6748
|
-
"id": "
|
|
7337
|
+
"id": "7794ab9c1ff64390",
|
|
6749
7338
|
"type": "transform",
|
|
6750
7339
|
"z": "924bb2b7.03fd1",
|
|
6751
7340
|
"name": "",
|
|
6752
7341
|
"actionSource": "Array",
|
|
7342
|
+
"deleteSource": "true",
|
|
7343
|
+
"deleteSourceType": "bool",
|
|
6753
7344
|
"actionTarget": "XLSX",
|
|
6754
7345
|
"sourceProperty": "msg.payload",
|
|
6755
|
-
"targetProperty": "msg.
|
|
7346
|
+
"targetProperty": "msg.payload",
|
|
6756
7347
|
"topicProperty": "msg.topic",
|
|
7348
|
+
"JSONataSource": "",
|
|
7349
|
+
"JSONataSourceType": "jsonata",
|
|
7350
|
+
"JSONataTarget": "",
|
|
7351
|
+
"JSONataTargetType": "jsonata",
|
|
7352
|
+
"index": 0,
|
|
6757
7353
|
"maxMessages": 1000,
|
|
7354
|
+
"maxDate": "",
|
|
7355
|
+
"minDate": "",
|
|
7356
|
+
"maxNumber": 0,
|
|
7357
|
+
"minNumber": 0,
|
|
7358
|
+
"maxString": "",
|
|
7359
|
+
"minString": "",
|
|
7360
|
+
"radix": 10,
|
|
6758
7361
|
"schema": "{\"type\":\"record\",\"fields\":[{\"name\":\"name\",\"type\":\"string\"}]}",
|
|
6759
|
-
"schemaType": "
|
|
7362
|
+
"schemaType": "str",
|
|
6760
7363
|
"skipLeading": 0,
|
|
6761
7364
|
"skipTrailing": 0,
|
|
7365
|
+
"string": "",
|
|
7366
|
+
"stringType": "str",
|
|
6762
7367
|
"delimiter": ",",
|
|
6763
|
-
"
|
|
6764
|
-
"
|
|
7368
|
+
"compressionType": "setGzip",
|
|
7369
|
+
"x": 520,
|
|
7370
|
+
"y": 140,
|
|
6765
7371
|
"wires": [
|
|
6766
7372
|
[
|
|
6767
|
-
"
|
|
6768
|
-
"7bde11d2.378e6"
|
|
7373
|
+
"69cf00efd482d012"
|
|
6769
7374
|
],
|
|
6770
7375
|
[
|
|
6771
7376
|
"3db2b919.ea68d6"
|
|
@@ -6773,26 +7378,43 @@
|
|
|
6773
7378
|
]
|
|
6774
7379
|
},
|
|
6775
7380
|
{
|
|
6776
|
-
"id": "
|
|
7381
|
+
"id": "000cda4258683bde",
|
|
6777
7382
|
"type": "transform",
|
|
6778
7383
|
"z": "924bb2b7.03fd1",
|
|
6779
7384
|
"name": "",
|
|
6780
|
-
"actionSource": "
|
|
7385
|
+
"actionSource": "XLSX",
|
|
7386
|
+
"deleteSource": "true",
|
|
7387
|
+
"deleteSourceType": "bool",
|
|
6781
7388
|
"actionTarget": "XLSXObject",
|
|
6782
7389
|
"sourceProperty": "msg.payload",
|
|
6783
|
-
"targetProperty": "msg.
|
|
7390
|
+
"targetProperty": "msg.payload",
|
|
6784
7391
|
"topicProperty": "msg.topic",
|
|
7392
|
+
"JSONataSource": "",
|
|
7393
|
+
"JSONataSourceType": "jsonata",
|
|
7394
|
+
"JSONataTarget": "",
|
|
7395
|
+
"JSONataTargetType": "jsonata",
|
|
7396
|
+
"index": 0,
|
|
6785
7397
|
"maxMessages": 1000,
|
|
7398
|
+
"maxDate": "",
|
|
7399
|
+
"minDate": "",
|
|
7400
|
+
"maxNumber": 0,
|
|
7401
|
+
"minNumber": 0,
|
|
7402
|
+
"maxString": "",
|
|
7403
|
+
"minString": "",
|
|
7404
|
+
"radix": 10,
|
|
6786
7405
|
"schema": "{\"type\":\"record\",\"fields\":[{\"name\":\"name\",\"type\":\"string\"}]}",
|
|
6787
|
-
"schemaType": "
|
|
7406
|
+
"schemaType": "str",
|
|
6788
7407
|
"skipLeading": 0,
|
|
6789
7408
|
"skipTrailing": 0,
|
|
7409
|
+
"string": "",
|
|
7410
|
+
"stringType": "str",
|
|
6790
7411
|
"delimiter": ",",
|
|
6791
|
-
"
|
|
6792
|
-
"
|
|
7412
|
+
"compressionType": "setGzip",
|
|
7413
|
+
"x": 380,
|
|
7414
|
+
"y": 220,
|
|
6793
7415
|
"wires": [
|
|
6794
7416
|
[
|
|
6795
|
-
"
|
|
7417
|
+
"7208e9201d7f1fcf"
|
|
6796
7418
|
],
|
|
6797
7419
|
[
|
|
6798
7420
|
"3db2b919.ea68d6"
|
|
@@ -6800,26 +7422,43 @@
|
|
|
6800
7422
|
]
|
|
6801
7423
|
},
|
|
6802
7424
|
{
|
|
6803
|
-
"id": "
|
|
7425
|
+
"id": "dd556f2fb8c84838",
|
|
6804
7426
|
"type": "transform",
|
|
6805
7427
|
"z": "924bb2b7.03fd1",
|
|
6806
7428
|
"name": "",
|
|
6807
|
-
"actionSource": "
|
|
6808
|
-
"
|
|
6809
|
-
"
|
|
6810
|
-
"
|
|
7429
|
+
"actionSource": "XLSXObject",
|
|
7430
|
+
"deleteSource": "true",
|
|
7431
|
+
"deleteSourceType": "bool",
|
|
7432
|
+
"actionTarget": "JSON",
|
|
7433
|
+
"sourceProperty": "msg.payload",
|
|
7434
|
+
"targetProperty": "msg.payload",
|
|
6811
7435
|
"topicProperty": "msg.topic",
|
|
7436
|
+
"JSONataSource": "",
|
|
7437
|
+
"JSONataSourceType": "jsonata",
|
|
7438
|
+
"JSONataTarget": "",
|
|
7439
|
+
"JSONataTargetType": "jsonata",
|
|
7440
|
+
"index": 0,
|
|
6812
7441
|
"maxMessages": 1000,
|
|
7442
|
+
"maxDate": "",
|
|
7443
|
+
"minDate": "",
|
|
7444
|
+
"maxNumber": 0,
|
|
7445
|
+
"minNumber": 0,
|
|
7446
|
+
"maxString": "",
|
|
7447
|
+
"minString": "",
|
|
7448
|
+
"radix": 10,
|
|
6813
7449
|
"schema": "{\"type\":\"record\",\"fields\":[{\"name\":\"name\",\"type\":\"string\"}]}",
|
|
6814
|
-
"schemaType": "
|
|
7450
|
+
"schemaType": "str",
|
|
6815
7451
|
"skipLeading": 0,
|
|
6816
7452
|
"skipTrailing": 0,
|
|
7453
|
+
"string": "",
|
|
7454
|
+
"stringType": "str",
|
|
6817
7455
|
"delimiter": ",",
|
|
6818
|
-
"
|
|
6819
|
-
"
|
|
7456
|
+
"compressionType": "setGzip",
|
|
7457
|
+
"x": 140,
|
|
7458
|
+
"y": 320,
|
|
6820
7459
|
"wires": [
|
|
6821
7460
|
[
|
|
6822
|
-
"
|
|
7461
|
+
"0e4f57304e89edb8"
|
|
6823
7462
|
],
|
|
6824
7463
|
[
|
|
6825
7464
|
"3db2b919.ea68d6"
|
|
@@ -6827,62 +7466,43 @@
|
|
|
6827
7466
|
]
|
|
6828
7467
|
},
|
|
6829
7468
|
{
|
|
6830
|
-
"id": "
|
|
6831
|
-
"type": "
|
|
7469
|
+
"id": "7208e9201d7f1fcf",
|
|
7470
|
+
"type": "Monitor Flow",
|
|
6832
7471
|
"z": "924bb2b7.03fd1",
|
|
6833
7472
|
"name": "",
|
|
6834
|
-
"
|
|
6835
|
-
"
|
|
6836
|
-
"sourceProperty": "msg.xlsx",
|
|
6837
|
-
"targetProperty": "msg.xlsx2xlsxObject",
|
|
6838
|
-
"topicProperty": "msg.topic",
|
|
6839
|
-
"maxMessages": 1000,
|
|
6840
|
-
"schema": "{\"type\":\"record\",\"fields\":[{\"name\":\"name\",\"type\":\"string\"}]}",
|
|
6841
|
-
"schemaType": "json",
|
|
6842
|
-
"skipLeading": 0,
|
|
6843
|
-
"skipTrailing": 0,
|
|
6844
|
-
"delimiter": ",",
|
|
6845
|
-
"x": 660,
|
|
6846
|
-
"y": 60,
|
|
7473
|
+
"x": 750,
|
|
7474
|
+
"y": 220,
|
|
6847
7475
|
"wires": [
|
|
6848
7476
|
[
|
|
6849
|
-
"
|
|
6850
|
-
]
|
|
6851
|
-
[]
|
|
7477
|
+
"dd556f2fb8c84838"
|
|
7478
|
+
]
|
|
6852
7479
|
]
|
|
6853
7480
|
},
|
|
6854
7481
|
{
|
|
6855
|
-
"id": "
|
|
6856
|
-
"type": "
|
|
7482
|
+
"id": "69cf00efd482d012",
|
|
7483
|
+
"type": "Monitor Flow",
|
|
6857
7484
|
"z": "924bb2b7.03fd1",
|
|
6858
|
-
"name": "
|
|
6859
|
-
"
|
|
6860
|
-
"
|
|
6861
|
-
"
|
|
6862
|
-
|
|
6863
|
-
|
|
6864
|
-
|
|
6865
|
-
|
|
6866
|
-
"statusType": "auto",
|
|
6867
|
-
"x": 870,
|
|
6868
|
-
"y": 60,
|
|
6869
|
-
"wires": []
|
|
7485
|
+
"name": "",
|
|
7486
|
+
"x": 750,
|
|
7487
|
+
"y": 140,
|
|
7488
|
+
"wires": [
|
|
7489
|
+
[
|
|
7490
|
+
"000cda4258683bde"
|
|
7491
|
+
]
|
|
7492
|
+
]
|
|
6870
7493
|
},
|
|
6871
7494
|
{
|
|
6872
|
-
"id": "
|
|
6873
|
-
"type": "
|
|
7495
|
+
"id": "6ed524d3e461526d",
|
|
7496
|
+
"type": "link in",
|
|
6874
7497
|
"z": "924bb2b7.03fd1",
|
|
6875
|
-
"name": "",
|
|
6876
|
-
"
|
|
6877
|
-
"
|
|
6878
|
-
"
|
|
6879
|
-
"
|
|
6880
|
-
|
|
6881
|
-
|
|
6882
|
-
|
|
6883
|
-
|
|
6884
|
-
"x": 870,
|
|
6885
|
-
"y": 160,
|
|
6886
|
-
"wires": []
|
|
7498
|
+
"name": "transform xlsx",
|
|
7499
|
+
"links": [],
|
|
7500
|
+
"x": 45,
|
|
7501
|
+
"y": 40,
|
|
7502
|
+
"wires": [
|
|
7503
|
+
[
|
|
7504
|
+
"0e4f57304e89edb8"
|
|
7505
|
+
]
|
|
7506
|
+
]
|
|
6887
7507
|
}
|
|
6888
7508
|
]
|