@5minds/node-red-contrib-processcube 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,742 @@
1
+ [
2
+ {
3
+ "id": "a23d2e782beb66f4",
4
+ "type": "tab",
5
+ "label": "Flow 1",
6
+ "disabled": false,
7
+ "info": "",
8
+ "env": []
9
+ },
10
+ {
11
+ "id": "84f18cf9bf25b858",
12
+ "type": "openApi-red",
13
+ "z": "a23d2e782beb66f4",
14
+ "name": "Engine",
15
+ "openApiUrl": "http://192.168.178.145:56100/atlas_engine/api/v1/swagger",
16
+ "configUrlNode": "",
17
+ "api": "ExternalTasks",
18
+ "server": "",
19
+ "keepAuth": false,
20
+ "alternServer": false,
21
+ "operation": "get/external_tasks/deployed_topics",
22
+ "operationData": {
23
+ "description": "Fetches a list of all ExternalTask topics from all deployed Process Models.",
24
+ "tags": [
25
+ "ExternalTasks"
26
+ ],
27
+ "responses": {
28
+ "200": {
29
+ "description": "A list of all ExternalTask topics from all deployed Process Models.",
30
+ "content": {
31
+ "application/json": {
32
+ "schema": {
33
+ "description": "A list of all ExternalTask topics from all deployed Process Models.",
34
+ "type": "array",
35
+ "items": {
36
+ "type": "string"
37
+ },
38
+ "example": [
39
+ "myTopic",
40
+ "myOtherTopic",
41
+ "myThirdTopic",
42
+ "myFourthTopic"
43
+ ]
44
+ }
45
+ }
46
+ }
47
+ }
48
+ },
49
+ "security": [
50
+ {
51
+ "bearerAuth": []
52
+ }
53
+ ],
54
+ "operationId": "get/external_tasks/deployed_topics",
55
+ "withoutOriginalOpId": true,
56
+ "pathName": "/external_tasks/deployed_topics",
57
+ "method": "get",
58
+ "path": "/external_tasks/deployed_topics"
59
+ },
60
+ "errorHandling": "throw exception",
61
+ "internalErrors": {
62
+ "readUrl": false,
63
+ "parameters": false
64
+ },
65
+ "parameters": [],
66
+ "requestContentType": "application/json",
67
+ "responseContentType": "application/json",
68
+ "showDescription": true,
69
+ "devMode": false,
70
+ "outputs": 1,
71
+ "_version": "1.2.5",
72
+ "x": 310,
73
+ "y": 360,
74
+ "wires": [
75
+ [
76
+ "ee2e9eb1d613da90"
77
+ ]
78
+ ]
79
+ },
80
+ {
81
+ "id": "ee2e9eb1d613da90",
82
+ "type": "debug",
83
+ "z": "a23d2e782beb66f4",
84
+ "name": "debug 2",
85
+ "active": true,
86
+ "tosidebar": true,
87
+ "console": false,
88
+ "tostatus": false,
89
+ "complete": "false",
90
+ "statusVal": "",
91
+ "statusType": "auto",
92
+ "x": 500,
93
+ "y": 360,
94
+ "wires": []
95
+ },
96
+ {
97
+ "id": "2d115b489271921f",
98
+ "type": "inject",
99
+ "z": "a23d2e782beb66f4",
100
+ "name": "",
101
+ "props": [
102
+ {
103
+ "p": "payload"
104
+ },
105
+ {
106
+ "p": "topic",
107
+ "vt": "str"
108
+ },
109
+ {
110
+ "p": "openApiToken",
111
+ "v": "ZHVtbXlfdG9rZW4=",
112
+ "vt": "str"
113
+ }
114
+ ],
115
+ "repeat": "",
116
+ "crontab": "",
117
+ "once": false,
118
+ "onceDelay": 0.1,
119
+ "topic": "",
120
+ "payload": "go",
121
+ "payloadType": "str",
122
+ "x": 90,
123
+ "y": 360,
124
+ "wires": [
125
+ [
126
+ "84f18cf9bf25b858"
127
+ ]
128
+ ]
129
+ },
130
+ {
131
+ "id": "4c80d7de3e3b9e51",
132
+ "type": "externaltask-input",
133
+ "z": "a23d2e782beb66f4",
134
+ "name": "processmodels",
135
+ "topic": "processmodels",
136
+ "x": 100,
137
+ "y": 460,
138
+ "wires": [
139
+ [
140
+ "548bec9dd5260598"
141
+ ]
142
+ ]
143
+ },
144
+ {
145
+ "id": "c2acc73b60c2efc6",
146
+ "type": "externaltask-output",
147
+ "z": "a23d2e782beb66f4",
148
+ "name": "processmodels end",
149
+ "x": 970,
150
+ "y": 460,
151
+ "wires": []
152
+ },
153
+ {
154
+ "id": "f0e993037904bc90",
155
+ "type": "function",
156
+ "z": "a23d2e782beb66f4",
157
+ "name": "set access token",
158
+ "func": "msg.openApiToken = \"ZHVtbXlfdG9rZW4=\";\n\nreturn msg;",
159
+ "outputs": 1,
160
+ "timeout": 0,
161
+ "noerr": 0,
162
+ "initialize": "",
163
+ "finalize": "",
164
+ "libs": [],
165
+ "x": 490,
166
+ "y": 460,
167
+ "wires": [
168
+ [
169
+ "8ddbc0d73cec1cdc",
170
+ "3b1997a0ca78f819"
171
+ ]
172
+ ]
173
+ },
174
+ {
175
+ "id": "8ddbc0d73cec1cdc",
176
+ "type": "openApi-red",
177
+ "z": "a23d2e782beb66f4",
178
+ "name": "",
179
+ "openApiUrl": "http://engine:8000/atlas_engine/api/v1/swagger",
180
+ "configUrlNode": "",
181
+ "api": "ProcessModels",
182
+ "server": "",
183
+ "keepAuth": false,
184
+ "alternServer": false,
185
+ "operation": "get/process_models",
186
+ "operationData": {
187
+ "description": "Gets all currently deployed Process Models.",
188
+ "tags": [
189
+ "ProcessModels"
190
+ ],
191
+ "responses": {
192
+ "200": {
193
+ "content": {
194
+ "application/json": {
195
+ "schema": {
196
+ "description": "A list of ProcessModels.",
197
+ "type": "object",
198
+ "required": [
199
+ "processModels",
200
+ "totalCount"
201
+ ],
202
+ "properties": {
203
+ "processModels": {
204
+ "description": "The ProcessModels.",
205
+ "type": "array",
206
+ "items": {
207
+ "description": "A ProcessModel.",
208
+ "type": "object",
209
+ "required": [
210
+ "processDefinitionId",
211
+ "processModelId",
212
+ "isExecutable",
213
+ "startEvents",
214
+ "endEvents",
215
+ "flowNodes"
216
+ ],
217
+ "properties": {
218
+ "processDefinitionId": {
219
+ "description": "The ID of the ProcessDefinition that contains the ProcessModel.",
220
+ "type": "string"
221
+ },
222
+ "processModelId": {
223
+ "description": "The ID of the ProcessModel.",
224
+ "type": "string"
225
+ },
226
+ "processModelName": {
227
+ "description": "The name of the ProcessModel.",
228
+ "type": "string"
229
+ },
230
+ "version": {
231
+ "description": "The version of the ProcessModel.",
232
+ "type": "string"
233
+ },
234
+ "isExecutable": {
235
+ "description": "A flag indicating whether the ProcessModel can be started.",
236
+ "type": "boolean"
237
+ },
238
+ "startEvents": {
239
+ "description": "The StartEvents contained in the ProcessModel.",
240
+ "type": "array",
241
+ "items": {
242
+ "description": "A StartEvent.",
243
+ "type": "object",
244
+ "required": [
245
+ "id",
246
+ "customProperties",
247
+ "processModelId"
248
+ ],
249
+ "properties": {
250
+ "id": {
251
+ "type": "string",
252
+ "description": "The ID of the BaseElement."
253
+ },
254
+ "customProperties": {
255
+ "type": "object",
256
+ "description": "The custom properties of the BaseElement.",
257
+ "additionalProperties": {
258
+ "type": "string"
259
+ }
260
+ },
261
+ "documentation": {
262
+ "type": "array",
263
+ "description": "The documentation of the BaseElement.",
264
+ "items": {
265
+ "type": "string"
266
+ }
267
+ },
268
+ "processModelId": {
269
+ "type": "string",
270
+ "description": "The ID of the ProcessModel that contains the BaseElement."
271
+ },
272
+ "processModelName": {
273
+ "type": "string",
274
+ "description": "The name of the ProcessModel that contains the BaseElement."
275
+ },
276
+ "name": {
277
+ "description": "The name of the FlowNode.",
278
+ "type": "string"
279
+ },
280
+ "flowNodeType": {
281
+ "description": "The type of a BPMN element.",
282
+ "type": "string",
283
+ "enum": [
284
+ "bpmn:Task",
285
+ "bpmn:BusinessRuleTask",
286
+ "bpmn:UserTask",
287
+ "bpmn:ExclusiveGateway",
288
+ "bpmn:ParallelGateway",
289
+ "bpmn:ServiceTask",
290
+ "bpmn:StartEvent",
291
+ "bpmn:EndEvent",
292
+ "bpmn:IntermediateCatchEvent",
293
+ "bpmn:IntermediateThrowEvent",
294
+ "bpmn:ScriptTask",
295
+ "bpmn:BoundaryEvent",
296
+ "bpmn:CallActivity",
297
+ "bpmn:SubProcess",
298
+ "bpmn:ManualTask",
299
+ "bpmn:ComplexGateway",
300
+ "bpmn:InclusiveGateway",
301
+ "bpmn:EventBasedGateway",
302
+ "bpmn:SendTask",
303
+ "bpmn:ReceiveTask"
304
+ ],
305
+ "$$ref": "http://192.168.178.145:56100/atlas_engine/api/v1/swagger#/components/schemas/BpmnType"
306
+ },
307
+ "timerType": {
308
+ "description": "The type of the timer.",
309
+ "type": "string"
310
+ },
311
+ "timerValue": {
312
+ "description": "The value of the timer.",
313
+ "type": "string"
314
+ }
315
+ },
316
+ "$$ref": "http://192.168.178.145:56100/atlas_engine/api/v1/swagger#/components/schemas/StartEventViewModel"
317
+ }
318
+ },
319
+ "endEvents": {
320
+ "description": "The EndEvents contained in the ProcessModel.",
321
+ "type": "array",
322
+ "items": {
323
+ "description": "An EndEvent.",
324
+ "type": "object",
325
+ "required": [
326
+ "id",
327
+ "customProperties",
328
+ "processModelId"
329
+ ],
330
+ "properties": {
331
+ "id": {
332
+ "type": "string",
333
+ "description": "The ID of the BaseElement."
334
+ },
335
+ "customProperties": {
336
+ "type": "object",
337
+ "description": "The custom properties of the BaseElement.",
338
+ "additionalProperties": {
339
+ "type": "string"
340
+ }
341
+ },
342
+ "documentation": {
343
+ "type": "array",
344
+ "description": "The documentation of the BaseElement.",
345
+ "items": {
346
+ "type": "string"
347
+ }
348
+ },
349
+ "processModelId": {
350
+ "type": "string",
351
+ "description": "The ID of the ProcessModel that contains the BaseElement."
352
+ },
353
+ "processModelName": {
354
+ "type": "string",
355
+ "description": "The name of the ProcessModel that contains the BaseElement."
356
+ },
357
+ "name": {
358
+ "description": "The name of the FlowNode.",
359
+ "type": "string"
360
+ },
361
+ "flowNodeType": {
362
+ "description": "The type of a BPMN element.",
363
+ "type": "string",
364
+ "enum": [
365
+ "bpmn:Task",
366
+ "bpmn:BusinessRuleTask",
367
+ "bpmn:UserTask",
368
+ "bpmn:ExclusiveGateway",
369
+ "bpmn:ParallelGateway",
370
+ "bpmn:ServiceTask",
371
+ "bpmn:StartEvent",
372
+ "bpmn:EndEvent",
373
+ "bpmn:IntermediateCatchEvent",
374
+ "bpmn:IntermediateThrowEvent",
375
+ "bpmn:ScriptTask",
376
+ "bpmn:BoundaryEvent",
377
+ "bpmn:CallActivity",
378
+ "bpmn:SubProcess",
379
+ "bpmn:ManualTask",
380
+ "bpmn:ComplexGateway",
381
+ "bpmn:InclusiveGateway",
382
+ "bpmn:EventBasedGateway",
383
+ "bpmn:SendTask",
384
+ "bpmn:ReceiveTask"
385
+ ],
386
+ "$$ref": "http://192.168.178.145:56100/atlas_engine/api/v1/swagger#/components/schemas/BpmnType"
387
+ },
388
+ "errorName": {
389
+ "description": "The name of the error.",
390
+ "type": "string"
391
+ },
392
+ "errorCode": {
393
+ "description": "The code of the error.",
394
+ "type": "string"
395
+ },
396
+ "errorMessage": {
397
+ "description": "The message of the error.",
398
+ "type": "string"
399
+ }
400
+ },
401
+ "$$ref": "http://192.168.178.145:56100/atlas_engine/api/v1/swagger#/components/schemas/EndEventViewModel"
402
+ }
403
+ },
404
+ "flowNodes": {
405
+ "description": "The FlowNodes contained in the ProcessModel.",
406
+ "type": "array",
407
+ "items": {
408
+ "description": "A FlowNode.",
409
+ "type": "object",
410
+ "required": [
411
+ "id",
412
+ "customProperties",
413
+ "processModelId"
414
+ ],
415
+ "properties": {
416
+ "id": {
417
+ "type": "string",
418
+ "description": "The ID of the BaseElement."
419
+ },
420
+ "customProperties": {
421
+ "type": "object",
422
+ "description": "The custom properties of the BaseElement.",
423
+ "additionalProperties": {
424
+ "type": "string"
425
+ }
426
+ },
427
+ "documentation": {
428
+ "type": "array",
429
+ "description": "The documentation of the BaseElement.",
430
+ "items": {
431
+ "type": "string"
432
+ }
433
+ },
434
+ "processModelId": {
435
+ "type": "string",
436
+ "description": "The ID of the ProcessModel that contains the BaseElement."
437
+ },
438
+ "processModelName": {
439
+ "type": "string",
440
+ "description": "The name of the ProcessModel that contains the BaseElement."
441
+ },
442
+ "name": {
443
+ "description": "The name of the FlowNode.",
444
+ "type": "string"
445
+ },
446
+ "flowNodeType": {
447
+ "description": "The type of a BPMN element.",
448
+ "type": "string",
449
+ "enum": [
450
+ "bpmn:Task",
451
+ "bpmn:BusinessRuleTask",
452
+ "bpmn:UserTask",
453
+ "bpmn:ExclusiveGateway",
454
+ "bpmn:ParallelGateway",
455
+ "bpmn:ServiceTask",
456
+ "bpmn:StartEvent",
457
+ "bpmn:EndEvent",
458
+ "bpmn:IntermediateCatchEvent",
459
+ "bpmn:IntermediateThrowEvent",
460
+ "bpmn:ScriptTask",
461
+ "bpmn:BoundaryEvent",
462
+ "bpmn:CallActivity",
463
+ "bpmn:SubProcess",
464
+ "bpmn:ManualTask",
465
+ "bpmn:ComplexGateway",
466
+ "bpmn:InclusiveGateway",
467
+ "bpmn:EventBasedGateway",
468
+ "bpmn:SendTask",
469
+ "bpmn:ReceiveTask"
470
+ ],
471
+ "$$ref": "http://192.168.178.145:56100/atlas_engine/api/v1/swagger#/components/schemas/BpmnType"
472
+ }
473
+ },
474
+ "$$ref": "http://192.168.178.145:56100/atlas_engine/api/v1/swagger#/components/schemas/FlowNodeViewModel"
475
+ }
476
+ }
477
+ },
478
+ "$$ref": "http://192.168.178.145:56100/atlas_engine/api/v1/swagger#/components/schemas/ProcessModel"
479
+ }
480
+ },
481
+ "totalCount": {
482
+ "description": "The total number of ProcessModels.",
483
+ "type": "number"
484
+ }
485
+ },
486
+ "$$ref": "http://192.168.178.145:56100/atlas_engine/api/v1/swagger#/components/schemas/ProcessModelList"
487
+ }
488
+ }
489
+ }
490
+ }
491
+ },
492
+ "security": [
493
+ {
494
+ "bearerAuth": []
495
+ }
496
+ ],
497
+ "operationId": "get/process_models",
498
+ "withoutOriginalOpId": true,
499
+ "pathName": "/process_models",
500
+ "method": "get",
501
+ "path": "/process_models"
502
+ },
503
+ "errorHandling": "throw exception",
504
+ "internalErrors": {
505
+ "readUrl": false
506
+ },
507
+ "parameters": [],
508
+ "requestContentType": "application/json",
509
+ "responseContentType": "application/json",
510
+ "showDescription": true,
511
+ "devMode": false,
512
+ "outputs": 1,
513
+ "_version": "1.2.5",
514
+ "x": 720,
515
+ "y": 460,
516
+ "wires": [
517
+ [
518
+ "c2acc73b60c2efc6",
519
+ "5027f959a5839630",
520
+ "c5a5fd3f9c76acf6"
521
+ ]
522
+ ]
523
+ },
524
+ {
525
+ "id": "3b1997a0ca78f819",
526
+ "type": "debug",
527
+ "z": "a23d2e782beb66f4",
528
+ "name": "debug 3",
529
+ "active": true,
530
+ "tosidebar": true,
531
+ "console": false,
532
+ "tostatus": false,
533
+ "complete": "payload",
534
+ "targetType": "msg",
535
+ "statusVal": "",
536
+ "statusType": "auto",
537
+ "x": 680,
538
+ "y": 540,
539
+ "wires": []
540
+ },
541
+ {
542
+ "id": "5027f959a5839630",
543
+ "type": "debug",
544
+ "z": "a23d2e782beb66f4",
545
+ "name": "debug 4",
546
+ "active": true,
547
+ "tosidebar": true,
548
+ "console": false,
549
+ "tostatus": false,
550
+ "complete": "false",
551
+ "statusVal": "",
552
+ "statusType": "auto",
553
+ "x": 900,
554
+ "y": 540,
555
+ "wires": []
556
+ },
557
+ {
558
+ "id": "548bec9dd5260598",
559
+ "type": "delay",
560
+ "z": "a23d2e782beb66f4",
561
+ "name": "",
562
+ "pauseType": "delay",
563
+ "timeout": "5",
564
+ "timeoutUnits": "seconds",
565
+ "rate": "1",
566
+ "nbRateUnits": "1",
567
+ "rateUnits": "second",
568
+ "randomFirst": "1",
569
+ "randomLast": "5",
570
+ "randomUnits": "seconds",
571
+ "drop": false,
572
+ "allowrate": false,
573
+ "outputs": 1,
574
+ "x": 300,
575
+ "y": 460,
576
+ "wires": [
577
+ [
578
+ "f0e993037904bc90"
579
+ ]
580
+ ]
581
+ },
582
+ {
583
+ "id": "2991a5e6df2b87d2",
584
+ "type": "externaltask-input",
585
+ "z": "a23d2e782beb66f4",
586
+ "name": "Test",
587
+ "topic": "Test",
588
+ "x": 90,
589
+ "y": 600,
590
+ "wires": [
591
+ [
592
+ "d56bb7cd73fd220c",
593
+ "75c7bb5cc34e354a"
594
+ ]
595
+ ]
596
+ },
597
+ {
598
+ "id": "911fde53bcbb7e3f",
599
+ "type": "externaltask-output",
600
+ "z": "a23d2e782beb66f4",
601
+ "name": "Test Ende",
602
+ "x": 500,
603
+ "y": 600,
604
+ "wires": []
605
+ },
606
+ {
607
+ "id": "d56bb7cd73fd220c",
608
+ "type": "delay",
609
+ "z": "a23d2e782beb66f4",
610
+ "name": "",
611
+ "pauseType": "delay",
612
+ "timeout": "5",
613
+ "timeoutUnits": "seconds",
614
+ "rate": "1",
615
+ "nbRateUnits": "1",
616
+ "rateUnits": "second",
617
+ "randomFirst": "1",
618
+ "randomLast": "5",
619
+ "randomUnits": "seconds",
620
+ "drop": false,
621
+ "allowrate": false,
622
+ "outputs": 1,
623
+ "x": 280,
624
+ "y": 600,
625
+ "wires": [
626
+ [
627
+ "911fde53bcbb7e3f",
628
+ "69aec57d8bb00292"
629
+ ]
630
+ ]
631
+ },
632
+ {
633
+ "id": "75c7bb5cc34e354a",
634
+ "type": "debug",
635
+ "z": "a23d2e782beb66f4",
636
+ "name": "debug 1",
637
+ "active": true,
638
+ "tosidebar": true,
639
+ "console": false,
640
+ "tostatus": false,
641
+ "complete": "false",
642
+ "statusVal": "",
643
+ "statusType": "auto",
644
+ "x": 260,
645
+ "y": 680,
646
+ "wires": []
647
+ },
648
+ {
649
+ "id": "c5a5fd3f9c76acf6",
650
+ "type": "debug",
651
+ "z": "a23d2e782beb66f4",
652
+ "name": "debug 5",
653
+ "active": true,
654
+ "tosidebar": true,
655
+ "console": false,
656
+ "tostatus": false,
657
+ "complete": "externalTaskId",
658
+ "targetType": "msg",
659
+ "statusVal": "",
660
+ "statusType": "auto",
661
+ "x": 900,
662
+ "y": 620,
663
+ "wires": []
664
+ },
665
+ {
666
+ "id": "69aec57d8bb00292",
667
+ "type": "debug",
668
+ "z": "a23d2e782beb66f4",
669
+ "name": "debug 6",
670
+ "active": true,
671
+ "tosidebar": true,
672
+ "console": false,
673
+ "tostatus": false,
674
+ "complete": "externalTaskId",
675
+ "targetType": "msg",
676
+ "statusVal": "",
677
+ "statusType": "auto",
678
+ "x": 480,
679
+ "y": 680,
680
+ "wires": []
681
+ },
682
+ {
683
+ "id": "fe0eb72aeb3ebbc2",
684
+ "type": "process-start",
685
+ "z": "a23d2e782beb66f4",
686
+ "name": "start Process \"Hello world\"",
687
+ "processmodel": "HelloWorld_Process",
688
+ "startevent": "StartEvent_1",
689
+ "x": 500,
690
+ "y": 120,
691
+ "wires": [
692
+ [
693
+ "1686330823da3f45"
694
+ ]
695
+ ]
696
+ },
697
+ {
698
+ "id": "64f430c40bc1f75b",
699
+ "type": "http in",
700
+ "z": "a23d2e782beb66f4",
701
+ "name": "",
702
+ "url": "/start_process",
703
+ "method": "post",
704
+ "upload": false,
705
+ "swaggerDoc": "",
706
+ "x": 150,
707
+ "y": 120,
708
+ "wires": [
709
+ [
710
+ "54731bdfca83ceda",
711
+ "fe0eb72aeb3ebbc2"
712
+ ]
713
+ ]
714
+ },
715
+ {
716
+ "id": "54731bdfca83ceda",
717
+ "type": "debug",
718
+ "z": "a23d2e782beb66f4",
719
+ "name": "debug 7",
720
+ "active": true,
721
+ "tosidebar": true,
722
+ "console": false,
723
+ "tostatus": false,
724
+ "complete": "false",
725
+ "statusVal": "",
726
+ "statusType": "auto",
727
+ "x": 380,
728
+ "y": 200,
729
+ "wires": []
730
+ },
731
+ {
732
+ "id": "1686330823da3f45",
733
+ "type": "http response",
734
+ "z": "a23d2e782beb66f4",
735
+ "name": "",
736
+ "statusCode": "200",
737
+ "headers": {},
738
+ "x": 760,
739
+ "y": 120,
740
+ "wires": []
741
+ }
742
+ ]