@5minds/node-red-contrib-processcube 1.6.6 → 1.7.1-develop-f30464-m66qfl7q

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,3 @@
1
+ {
2
+ "$": "5d7c53f0f3d1dc26cd25a85073705d5di4Ue0Ef2vGha68TTUOcoV5OBshKW5v7QEOLnBIu3RL9tfs+EmI5GyT799hBS"
3
+ }
@@ -0,0 +1,20 @@
1
+
2
+ // let cause of merge custom settings
3
+
4
+ let config = {};
5
+
6
+ try {
7
+ config = require('./settings.js');
8
+ } catch (e) {
9
+ console.log(">>>", e);
10
+ }
11
+
12
+ process.on('uncaughtException', (err) => {
13
+ console.error(`Uncaught Exception: ${err}`, {});
14
+ });
15
+
16
+ process.on('unhandledRejection', (reason, promise) => {
17
+ console.error(`Unhandled Rejection at ${promise} reason: ${reason}`, {});
18
+ });
19
+
20
+ module.exports = config;
@@ -103,6 +103,14 @@
103
103
  "info": "",
104
104
  "env": []
105
105
  },
106
+ {
107
+ "id": "ecd7ca447e4d1f47",
108
+ "type": "tab",
109
+ "label": "Deploy process model",
110
+ "disabled": false,
111
+ "info": "",
112
+ "env": []
113
+ },
106
114
  {
107
115
  "id": "4c59118134081e05",
108
116
  "type": "group",
@@ -627,6 +635,30 @@
627
635
  "w": 792,
628
636
  "h": 142
629
637
  },
638
+ {
639
+ "id": "be22a2d8eb2e28c4",
640
+ "type": "group",
641
+ "z": "a23d2e782beb66f4",
642
+ "style": {
643
+ "stroke": "#999999",
644
+ "stroke-opacity": "1",
645
+ "fill": "none",
646
+ "fill-opacity": "1",
647
+ "label": true,
648
+ "label-position": "nw",
649
+ "color": "#a4a4a4"
650
+ },
651
+ "nodes": [
652
+ "53a1d67f1dfa05fe",
653
+ "d513d7e0c850c44d",
654
+ "6f6e80c41332e9c1",
655
+ "0cf6a2ec7112f5f6"
656
+ ],
657
+ "x": 34,
658
+ "y": 979,
659
+ "w": 652,
660
+ "h": 142
661
+ },
630
662
  {
631
663
  "id": "42e6796dddd9d4db",
632
664
  "type": "processcube-engine-config",
@@ -1039,6 +1071,72 @@
1039
1071
  "y": 780,
1040
1072
  "wires": []
1041
1073
  },
1074
+ {
1075
+ "id": "53a1d67f1dfa05fe",
1076
+ "type": "externaltask-input",
1077
+ "z": "a23d2e782beb66f4",
1078
+ "g": "be22a2d8eb2e28c4",
1079
+ "name": "the_simple_topic",
1080
+ "engine": "42e6796dddd9d4db",
1081
+ "topic": "the_simple_topic",
1082
+ "topicType": "str",
1083
+ "workerConfig": "{}",
1084
+ "workerConfigType": "json",
1085
+ "x": 140,
1086
+ "y": 1080,
1087
+ "wires": [
1088
+ [
1089
+ "d513d7e0c850c44d"
1090
+ ]
1091
+ ]
1092
+ },
1093
+ {
1094
+ "id": "d513d7e0c850c44d",
1095
+ "type": "delay",
1096
+ "z": "a23d2e782beb66f4",
1097
+ "g": "be22a2d8eb2e28c4",
1098
+ "name": "",
1099
+ "pauseType": "delay",
1100
+ "timeout": "10",
1101
+ "timeoutUnits": "seconds",
1102
+ "rate": "1",
1103
+ "nbRateUnits": "1",
1104
+ "rateUnits": "second",
1105
+ "randomFirst": "1",
1106
+ "randomLast": "5",
1107
+ "randomUnits": "seconds",
1108
+ "drop": false,
1109
+ "allowrate": false,
1110
+ "outputs": 1,
1111
+ "x": 350,
1112
+ "y": 1080,
1113
+ "wires": [
1114
+ [
1115
+ "6f6e80c41332e9c1"
1116
+ ]
1117
+ ]
1118
+ },
1119
+ {
1120
+ "id": "6f6e80c41332e9c1",
1121
+ "type": "externaltask-output",
1122
+ "z": "a23d2e782beb66f4",
1123
+ "g": "be22a2d8eb2e28c4",
1124
+ "name": "",
1125
+ "x": 570,
1126
+ "y": 1080,
1127
+ "wires": []
1128
+ },
1129
+ {
1130
+ "id": "0cf6a2ec7112f5f6",
1131
+ "type": "comment",
1132
+ "z": "a23d2e782beb66f4",
1133
+ "g": "be22a2d8eb2e28c4",
1134
+ "name": "Handle: the_simple_topic",
1135
+ "info": "",
1136
+ "x": 170,
1137
+ "y": 1020,
1138
+ "wires": []
1139
+ },
1042
1140
  {
1043
1141
  "id": "82533b02fb9a9f04",
1044
1142
  "type": "comment",
@@ -2905,5 +3003,101 @@
2905
3003
  "8c8d9afd13c5c796"
2906
3004
  ]
2907
3005
  ]
3006
+ },
3007
+ {
3008
+ "id": "f380d237ed2a51a4",
3009
+ "type": "processdefinition-query",
3010
+ "z": "ecd7ca447e4d1f47",
3011
+ "name": "",
3012
+ "engine": "42e6796dddd9d4db",
3013
+ "query": "{}",
3014
+ "query_type": "json",
3015
+ "models_only": false,
3016
+ "x": 390,
3017
+ "y": 120,
3018
+ "wires": [
3019
+ [
3020
+ "0dca34052917987a"
3021
+ ]
3022
+ ]
3023
+ },
3024
+ {
3025
+ "id": "89e4082b2afa6ed4",
3026
+ "type": "inject",
3027
+ "z": "ecd7ca447e4d1f47",
3028
+ "name": "",
3029
+ "props": [
3030
+ {
3031
+ "p": "payload"
3032
+ },
3033
+ {
3034
+ "p": "topic",
3035
+ "vt": "str"
3036
+ }
3037
+ ],
3038
+ "repeat": "",
3039
+ "crontab": "",
3040
+ "once": false,
3041
+ "onceDelay": 0.1,
3042
+ "topic": "",
3043
+ "payload": "",
3044
+ "payloadType": "date",
3045
+ "x": 190,
3046
+ "y": 120,
3047
+ "wires": [
3048
+ [
3049
+ "f380d237ed2a51a4"
3050
+ ]
3051
+ ]
3052
+ },
3053
+ {
3054
+ "id": "af52431420fa7e15",
3055
+ "type": "debug",
3056
+ "z": "ecd7ca447e4d1f47",
3057
+ "name": "debug 2",
3058
+ "active": true,
3059
+ "tosidebar": true,
3060
+ "console": false,
3061
+ "tostatus": false,
3062
+ "complete": "false",
3063
+ "statusVal": "",
3064
+ "statusType": "auto",
3065
+ "x": 1060,
3066
+ "y": 120,
3067
+ "wires": []
3068
+ },
3069
+ {
3070
+ "id": "0dca34052917987a",
3071
+ "type": "function",
3072
+ "z": "ecd7ca447e4d1f47",
3073
+ "name": "get process to deploy",
3074
+ "func": "const processDefinitionToDeploy = msg.payload.processDefinitions.find(def => def.processDefinitionId === 'ProcessModelToDeploy_Definition');\n\nmsg.payload = processDefinitionToDeploy.xml;\n\nreturn msg;",
3075
+ "outputs": 1,
3076
+ "timeout": 0,
3077
+ "noerr": 0,
3078
+ "initialize": "",
3079
+ "finalize": "",
3080
+ "libs": [],
3081
+ "x": 640,
3082
+ "y": 120,
3083
+ "wires": [
3084
+ [
3085
+ "86888146d3f4b2a6"
3086
+ ]
3087
+ ]
3088
+ },
3089
+ {
3090
+ "id": "86888146d3f4b2a6",
3091
+ "type": "processdefinition-deploy",
3092
+ "z": "ecd7ca447e4d1f47",
3093
+ "name": "Deploy Process",
3094
+ "engine": "42e6796dddd9d4db",
3095
+ "x": 860,
3096
+ "y": 120,
3097
+ "wires": [
3098
+ [
3099
+ "af52431420fa7e15"
3100
+ ]
3101
+ ]
2908
3102
  }
2909
3103
  ]