@5minds/node-red-contrib-processcube 0.3.3 → 0.3.5-feature-1092e6-lxhvslzu
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/Dockerfile +8 -5
- package/docker-compose.yml +6 -6
- package/{.node-red/data/flows.json → nodered/.node-red-contrib-processcube-flows.json.backup} +128 -0
- package/nodered/node-red-contrib-processcube-flows.json +1007 -0
- package/nodered/package.json +16 -0
- package/nodered/sample_fields.json +159 -0
- package/package.json +5 -2
- package/processes/SampleUserTask.bpmn +76 -0
- package/usertask-input.html +31 -0
- package/usertask-input.js +64 -0
- package/usertask-output.html +31 -0
- package/usertask-output.js +45 -0
- package/.node-red/data/.config.nodes.json +0 -563
- package/.node-red/data/.config.nodes.json.backup +0 -563
- package/.node-red/data/.config.runtime.json +0 -4
- package/.node-red/data/.config.runtime.json.backup +0 -3
- package/.node-red/data/.config.users.json +0 -22
- package/.node-red/data/.config.users.json.backup +0 -22
- package/.node-red/data/package-lock.json +0 -19
- package/.node-red/data/package.json +0 -6
- package/.node-red/data/settings.js +0 -560
package/Dockerfile
CHANGED
@@ -1,19 +1,22 @@
|
|
1
1
|
FROM node:20 as builder
|
2
2
|
|
3
|
-
|
4
3
|
COPY ./ /src/node-red-contrib-processcube
|
5
4
|
|
6
5
|
WORKDIR /src/node-red-contrib-processcube
|
7
6
|
|
8
7
|
RUN npm install
|
9
8
|
|
10
|
-
|
11
9
|
FROM nodered/node-red:latest
|
12
10
|
|
13
|
-
|
14
|
-
RUN npm install openapi-red@1.2.5
|
15
|
-
RUN npm install node-red-contrib-postgresql
|
11
|
+
WORKDIR /data
|
16
12
|
|
17
13
|
COPY --from=builder /src/node-red-contrib-processcube /src/node-red-contrib-processcube
|
18
14
|
|
19
15
|
RUN npm install /src/node-red-contrib-processcube/
|
16
|
+
|
17
|
+
COPY nodered/package.json package.json
|
18
|
+
RUN npm install
|
19
|
+
|
20
|
+
COPY nodered/node-red-contrib-processcube-flows.json node-red-contrib-processcube-flows.json
|
21
|
+
|
22
|
+
ENTRYPOINT ["./node_modules/.bin/node-red", "--flowFile", "/data/node-red-contrib-processcube-flows.json"]
|
package/docker-compose.yml
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
services:
|
2
2
|
node-red:
|
3
|
-
image: 5minds/node-red:
|
3
|
+
image: 5minds/node-red:node-red-contrib-processcube
|
4
4
|
build:
|
5
5
|
context: .
|
6
|
-
environment:
|
7
|
-
- TZ=Europe/Berlin
|
8
|
-
#- ENGINE_URL=http://192.168.178.145:56100
|
9
6
|
ports:
|
10
7
|
- "1880:1880"
|
8
|
+
environment:
|
9
|
+
- TZ=Europe/Berlin
|
10
|
+
- ENGINE_URL=http://engine:8000
|
11
|
+
- FLOWS=/nodered/node-red-contrib-processcube-flows.json
|
11
12
|
volumes:
|
12
|
-
-
|
13
|
-
- ./:/data/node_modules/node-red-contrib-processcube
|
13
|
+
- ./nodered/:/nodered/
|
14
14
|
|
15
15
|
engine:
|
16
16
|
image: 5minds/processcube_engine:2024-1
|
package/{.node-red/data/flows.json → nodered/.node-red-contrib-processcube-flows.json.backup}
RENAMED
@@ -7,6 +7,40 @@
|
|
7
7
|
"info": "",
|
8
8
|
"env": []
|
9
9
|
},
|
10
|
+
{
|
11
|
+
"id": "fd3c725340de4f74",
|
12
|
+
"type": "tab",
|
13
|
+
"label": "Flow 2",
|
14
|
+
"disabled": false,
|
15
|
+
"info": "",
|
16
|
+
"env": []
|
17
|
+
},
|
18
|
+
{
|
19
|
+
"id": "405f8c703368777c",
|
20
|
+
"type": "group",
|
21
|
+
"z": "fd3c725340de4f74",
|
22
|
+
"style": {
|
23
|
+
"stroke": "#999999",
|
24
|
+
"stroke-opacity": "1",
|
25
|
+
"fill": "none",
|
26
|
+
"fill-opacity": "1",
|
27
|
+
"label": true,
|
28
|
+
"label-position": "nw",
|
29
|
+
"color": "#a4a4a4"
|
30
|
+
},
|
31
|
+
"nodes": [
|
32
|
+
"ec0be0ef92746967",
|
33
|
+
"090d42845540049c",
|
34
|
+
"846c5269df75c7a1",
|
35
|
+
"4267576c32c782ec",
|
36
|
+
"68cf69be67688af6",
|
37
|
+
"bcfb8893adeb57ed"
|
38
|
+
],
|
39
|
+
"x": 34,
|
40
|
+
"y": 19,
|
41
|
+
"w": 672,
|
42
|
+
"h": 222
|
43
|
+
},
|
10
44
|
{
|
11
45
|
"id": "d042a4c68f51d6ab",
|
12
46
|
"type": "processcube-engine-config",
|
@@ -875,5 +909,99 @@
|
|
875
909
|
"x": 770,
|
876
910
|
"y": 840,
|
877
911
|
"wires": []
|
912
|
+
},
|
913
|
+
{
|
914
|
+
"id": "ec0be0ef92746967",
|
915
|
+
"type": "usertask-input",
|
916
|
+
"z": "fd3c725340de4f74",
|
917
|
+
"g": "405f8c703368777c",
|
918
|
+
"name": "",
|
919
|
+
"engine": "d042a4c68f51d6ab",
|
920
|
+
"x": 130,
|
921
|
+
"y": 140,
|
922
|
+
"wires": [
|
923
|
+
[
|
924
|
+
"090d42845540049c",
|
925
|
+
"846c5269df75c7a1"
|
926
|
+
]
|
927
|
+
]
|
928
|
+
},
|
929
|
+
{
|
930
|
+
"id": "090d42845540049c",
|
931
|
+
"type": "debug",
|
932
|
+
"z": "fd3c725340de4f74",
|
933
|
+
"g": "405f8c703368777c",
|
934
|
+
"name": "debug 10",
|
935
|
+
"active": true,
|
936
|
+
"tosidebar": true,
|
937
|
+
"console": false,
|
938
|
+
"tostatus": false,
|
939
|
+
"complete": "false",
|
940
|
+
"statusVal": "",
|
941
|
+
"statusType": "auto",
|
942
|
+
"x": 340,
|
943
|
+
"y": 80,
|
944
|
+
"wires": []
|
945
|
+
},
|
946
|
+
{
|
947
|
+
"id": "846c5269df75c7a1",
|
948
|
+
"type": "function",
|
949
|
+
"z": "fd3c725340de4f74",
|
950
|
+
"g": "405f8c703368777c",
|
951
|
+
"name": "function 2",
|
952
|
+
"func": "msg.payload = {\n \"hello\": \"world\"\n};\n\nreturn msg;",
|
953
|
+
"outputs": 1,
|
954
|
+
"timeout": 0,
|
955
|
+
"noerr": 0,
|
956
|
+
"initialize": "",
|
957
|
+
"finalize": "",
|
958
|
+
"libs": [],
|
959
|
+
"x": 340,
|
960
|
+
"y": 140,
|
961
|
+
"wires": [
|
962
|
+
[
|
963
|
+
"68cf69be67688af6",
|
964
|
+
"4267576c32c782ec"
|
965
|
+
]
|
966
|
+
]
|
967
|
+
},
|
968
|
+
{
|
969
|
+
"id": "4267576c32c782ec",
|
970
|
+
"type": "usertask-output",
|
971
|
+
"z": "fd3c725340de4f74",
|
972
|
+
"g": "405f8c703368777c",
|
973
|
+
"name": "",
|
974
|
+
"engine": "d042a4c68f51d6ab",
|
975
|
+
"x": 600,
|
976
|
+
"y": 140,
|
977
|
+
"wires": []
|
978
|
+
},
|
979
|
+
{
|
980
|
+
"id": "68cf69be67688af6",
|
981
|
+
"type": "debug",
|
982
|
+
"z": "fd3c725340de4f74",
|
983
|
+
"g": "405f8c703368777c",
|
984
|
+
"name": "debug 11",
|
985
|
+
"active": true,
|
986
|
+
"tosidebar": true,
|
987
|
+
"console": false,
|
988
|
+
"tostatus": false,
|
989
|
+
"complete": "false",
|
990
|
+
"statusVal": "",
|
991
|
+
"statusType": "auto",
|
992
|
+
"x": 580,
|
993
|
+
"y": 200,
|
994
|
+
"wires": []
|
995
|
+
},
|
996
|
+
{
|
997
|
+
"id": "bcfb8893adeb57ed",
|
998
|
+
"type": "comment",
|
999
|
+
"z": "fd3c725340de4f74",
|
1000
|
+
"g": "405f8c703368777c",
|
1001
|
+
"name": "Beispiel für UserTask",
|
1002
|
+
"info": "",
|
1003
|
+
"x": 160,
|
1004
|
+
"y": 60,
|
1005
|
+
"wires": []
|
878
1006
|
}
|
879
1007
|
]
|