@5minds/node-red-contrib-processcube 1.7.0-develop-0341ad-m65hjby2 → 1.7.1-develop-5ca024-m693kc4b
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/.processcube/nodered/.config.nodes.json +995 -0
- package/.processcube/nodered/.config.runtime.json +3 -0
- package/.processcube/nodered/.config.users.json +28 -0
- package/.processcube/nodered/config.js +20 -0
- package/{nodered → .processcube/nodered}/flows.json +90 -0
- package/.processcube/nodered/package-lock.json +5169 -0
- package/.processcube/nodered/package.json +6 -0
- package/Dockerfile +14 -4
- package/docker-compose.yml +10 -2
- package/package.json +1 -1
- package/processes/SimpleExternalTask.bpmn +52 -0
- /package/{nodered → .processcube/nodered}/flows_cred.json +0 -0
- /package/{nodered → .processcube/nodered}/settings.js +0 -0
- /package/{nodered → .processcube/nodered}/static/ProcessCube_Logo.svg +0 -0
package/Dockerfile
CHANGED
@@ -1,9 +1,19 @@
|
|
1
1
|
FROM nodered/node-red:4.0.8
|
2
2
|
|
3
|
-
|
3
|
+
FROM nodered/node-red:4.0.8-22
|
4
4
|
|
5
|
-
|
5
|
+
# package
|
6
|
+
USER root
|
6
7
|
|
7
|
-
|
8
|
+
COPY ./ /package_src/
|
9
|
+
RUN cd /package_src/ && npm install
|
10
|
+
|
11
|
+
|
12
|
+
RUN npm install /package_src/
|
13
|
+
|
14
|
+
# defaults
|
15
|
+
USER node-red
|
16
|
+
|
17
|
+
#ENTRYPOINT ["./entrypoint.sh"]
|
18
|
+
ENTRYPOINT ["./entrypoint.sh", "--settings", "/data/config.js"]
|
8
19
|
|
9
|
-
ENTRYPOINT ["./entrypoint.sh"]
|
package/docker-compose.yml
CHANGED
@@ -4,13 +4,21 @@ services:
|
|
4
4
|
build:
|
5
5
|
context: .
|
6
6
|
ports:
|
7
|
-
-
|
7
|
+
# node-red port
|
8
|
+
- 1880:1880
|
9
|
+
# debugger port
|
10
|
+
- 9229:9229
|
8
11
|
environment:
|
9
12
|
- TZ=Europe/Berlin
|
10
13
|
- ENGINE_URL=http://engine:8000
|
11
14
|
- TOPIC=TopicFromENV
|
15
|
+
# start node-red with debugger port open
|
16
|
+
- NODE_OPTIONS=--inspect=0.0.0.0:9229
|
12
17
|
volumes:
|
13
|
-
|
18
|
+
# required for mapping the current source into the directory
|
19
|
+
- ./.:/package_src/
|
20
|
+
# save the flows
|
21
|
+
- ./.processcube/nodered:/data
|
14
22
|
depends_on:
|
15
23
|
- engine
|
16
24
|
- authority
|
package/package.json
CHANGED
@@ -0,0 +1,52 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="SimpleExternalTask_Definition" targetNamespace="http://bpmn.io/schema/bpmn" exporter="5Minds Studio" exporterVersion="1">
|
3
|
+
<bpmn:collaboration id="Collaboration_1cidyxu" name="">
|
4
|
+
<bpmn:participant id="Participant_0px403d" name="SimpleExternalTask" processRef="SimpleExternalTask_Process" />
|
5
|
+
</bpmn:collaboration>
|
6
|
+
<bpmn:process id="SimpleExternalTask_Process" name="SimpleExternalTask" isExecutable="true">
|
7
|
+
<bpmn:laneSet />
|
8
|
+
<bpmn:startEvent id="StartEvent_1" name="Start">
|
9
|
+
<bpmn:outgoing>Flow_0mxbplj</bpmn:outgoing>
|
10
|
+
</bpmn:startEvent>
|
11
|
+
<bpmn:sequenceFlow id="Flow_0mxbplj" sourceRef="StartEvent_1" targetRef="Activity_0x9f550" />
|
12
|
+
<bpmn:endEvent id="Event_1rk4dbx" name="Ende">
|
13
|
+
<bpmn:incoming>Flow_08pua70</bpmn:incoming>
|
14
|
+
</bpmn:endEvent>
|
15
|
+
<bpmn:sequenceFlow id="Flow_08pua70" sourceRef="Activity_0x9f550" targetRef="Event_1rk4dbx" />
|
16
|
+
<bpmn:serviceTask id="Activity_0x9f550" name="Do Simple ETW" camunda:type="external" camunda:topic="the_simple_topic">
|
17
|
+
<bpmn:incoming>Flow_0mxbplj</bpmn:incoming>
|
18
|
+
<bpmn:outgoing>Flow_08pua70</bpmn:outgoing>
|
19
|
+
</bpmn:serviceTask>
|
20
|
+
</bpmn:process>
|
21
|
+
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
22
|
+
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_1cidyxu">
|
23
|
+
<bpmndi:BPMNShape id="Participant_0px403d_di" bpmnElement="Participant_0px403d" isHorizontal="true">
|
24
|
+
<dc:Bounds x="5" y="4" width="485" height="346" />
|
25
|
+
</bpmndi:BPMNShape>
|
26
|
+
<bpmndi:BPMNShape id="StartEvent_1_di" bpmnElement="StartEvent_1">
|
27
|
+
<dc:Bounds x="92" y="152" width="36" height="36" />
|
28
|
+
<bpmndi:BPMNLabel>
|
29
|
+
<dc:Bounds x="98" y="195" width="24" height="14" />
|
30
|
+
</bpmndi:BPMNLabel>
|
31
|
+
</bpmndi:BPMNShape>
|
32
|
+
<bpmndi:BPMNShape id="Event_1rk4dbx_di" bpmnElement="Event_1rk4dbx">
|
33
|
+
<dc:Bounds x="332" y="152" width="36" height="36" />
|
34
|
+
<bpmndi:BPMNLabel>
|
35
|
+
<dc:Bounds x="337" y="195" width="26" height="14" />
|
36
|
+
</bpmndi:BPMNLabel>
|
37
|
+
</bpmndi:BPMNShape>
|
38
|
+
<bpmndi:BPMNShape id="Activity_15mr980_di" bpmnElement="Activity_0x9f550">
|
39
|
+
<dc:Bounds x="180" y="130" width="100" height="80" />
|
40
|
+
<bpmndi:BPMNLabel />
|
41
|
+
</bpmndi:BPMNShape>
|
42
|
+
<bpmndi:BPMNEdge id="Flow_0mxbplj_di" bpmnElement="Flow_0mxbplj">
|
43
|
+
<di:waypoint x="128" y="170" />
|
44
|
+
<di:waypoint x="180" y="170" />
|
45
|
+
</bpmndi:BPMNEdge>
|
46
|
+
<bpmndi:BPMNEdge id="Flow_08pua70_di" bpmnElement="Flow_08pua70">
|
47
|
+
<di:waypoint x="280" y="170" />
|
48
|
+
<di:waypoint x="332" y="170" />
|
49
|
+
</bpmndi:BPMNEdge>
|
50
|
+
</bpmndi:BPMNPlane>
|
51
|
+
</bpmndi:BPMNDiagram>
|
52
|
+
</bpmn:definitions>
|
File without changes
|
File without changes
|
File without changes
|