@5minds/node-red-contrib-processcube 1.0.1-develop-6736f8-lz2nfmy5 → 1.1.0-develop-3ff031-lz2nv5y2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,3 @@
1
+ {
2
+ "$": "5734715650ad0e2f488ff78226956694NX4T+QkHGMiy67VaEDstg8xD7Z8kNywCkq+GrSTQz7ttIGBCvHQfpyNBVWzSH8Aq9x4P3kH7avpdOoc2owoMDjEeBmS8uKg021bt/ukf+Vn1KHJLA6NVAIh6"
3
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@5minds/node-red-contrib-processcube",
3
- "version": "1.0.1-develop-6736f8-lz2nfmy5",
3
+ "version": "1.1.0-develop-3ff031-lz2nv5y2",
4
4
  "license": "MIT",
5
5
  "description": "Node-RED nodes for ProcessCube",
6
6
  "scripts": {
@@ -2,19 +2,24 @@
2
2
  RED.nodes.registerType('processcube-engine-config', {
3
3
  category: 'config',
4
4
  defaults: {
5
+ name : { value: '' },
5
6
  url: { value: 'http://engine:8000', required: true },
6
7
  },
7
8
  label: function () {
8
- return this.url;
9
+ return this.name || this.url;
9
10
  },
10
11
  credentials: {
11
12
  clientId: { type: 'text' },
12
13
  clientSecret: { type: 'password' },
13
- },
14
+ }
14
15
  });
15
16
  </script>
16
17
 
17
18
  <script type="text/html" data-template-name="processcube-engine-config">
19
+ <div class="form-row">
20
+ <label for="node-config-input-name"><i class="fa fa-tag"></i> Name</label>
21
+ <input type="text" id="node-config-input-name" />
22
+ </div>
18
23
  <div class="form-row">
19
24
  <label for="node-config-input-url"><i class="fa fa-bookmark"></i> Url</label>
20
25
  <input type="text" id="node-config-input-url" />
@@ -0,0 +1,82 @@
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="External-Task-Auth-Sample_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="External-Task-Auth-Sample" processRef="External-Task-Auth-Sample_Process" />
5
+ </bpmn:collaboration>
6
+ <bpmn:process id="External-Task-Auth-Sample_Process" name="External-Task-Auth-Sample" isExecutable="true">
7
+ <bpmn:laneSet />
8
+ <bpmn:startEvent id="StartEvent_1" name="Start">
9
+ <bpmn:outgoing>Flow_1ld6sfg</bpmn:outgoing>
10
+ </bpmn:startEvent>
11
+ <bpmn:sequenceFlow id="Flow_1ld6sfg" sourceRef="StartEvent_1" targetRef="Activity_0u64tc3" />
12
+ <bpmn:sequenceFlow id="Flow_06m00cc" sourceRef="Activity_0u64tc3" targetRef="Activity_07p3p4z" />
13
+ <bpmn:endEvent id="Event_1itn9nv">
14
+ <bpmn:incoming>Flow_1m5vjpz</bpmn:incoming>
15
+ </bpmn:endEvent>
16
+ <bpmn:sequenceFlow id="Flow_1m5vjpz" sourceRef="Activity_07p3p4z" targetRef="Event_1itn9nv" />
17
+ <bpmn:sequenceFlow id="Flow_0ltw0h7" sourceRef="Event_0fz5x27" targetRef="Event_0rv3086" />
18
+ <bpmn:endEvent id="Event_0rv3086">
19
+ <bpmn:incoming>Flow_0ltw0h7</bpmn:incoming>
20
+ </bpmn:endEvent>
21
+ <bpmn:serviceTask id="Activity_0u64tc3" name="Topic: &#34;Test_Auth&#34;" camunda:type="external" camunda:topic="Test_Auth">
22
+ <bpmn:incoming>Flow_1ld6sfg</bpmn:incoming>
23
+ <bpmn:outgoing>Flow_06m00cc</bpmn:outgoing>
24
+ </bpmn:serviceTask>
25
+ <bpmn:serviceTask id="Activity_07p3p4z" name="Topic: &#34;SampleError_Auth&#34;" camunda:type="external" camunda:topic="SampleError_Auth">
26
+ <bpmn:incoming>Flow_06m00cc</bpmn:incoming>
27
+ <bpmn:outgoing>Flow_1m5vjpz</bpmn:outgoing>
28
+ </bpmn:serviceTask>
29
+ <bpmn:boundaryEvent id="Event_0fz5x27" attachedToRef="Activity_07p3p4z">
30
+ <bpmn:outgoing>Flow_0ltw0h7</bpmn:outgoing>
31
+ <bpmn:errorEventDefinition id="ErrorEventDefinition_1owejc3" errorRef="Error_tYBTV3t5" />
32
+ </bpmn:boundaryEvent>
33
+ </bpmn:process>
34
+ <bpmn:error id="Error_tYBTV3t5" errorCode="MyErrorCode" />
35
+ <bpmndi:BPMNDiagram id="BPMNDiagram_1">
36
+ <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_1cidyxu">
37
+ <bpmndi:BPMNShape id="Participant_0px403d_di" bpmnElement="Participant_0px403d" isHorizontal="true">
38
+ <dc:Bounds x="5" y="4" width="655" height="346" />
39
+ </bpmndi:BPMNShape>
40
+ <bpmndi:BPMNShape id="StartEvent_1_di" bpmnElement="StartEvent_1">
41
+ <dc:Bounds x="92" y="152" width="36" height="36" />
42
+ <bpmndi:BPMNLabel>
43
+ <dc:Bounds x="98" y="195" width="24" height="14" />
44
+ </bpmndi:BPMNLabel>
45
+ </bpmndi:BPMNShape>
46
+ <bpmndi:BPMNShape id="Event_1itn9nv_di" bpmnElement="Event_1itn9nv">
47
+ <dc:Bounds x="502" y="152" width="36" height="36" />
48
+ </bpmndi:BPMNShape>
49
+ <bpmndi:BPMNShape id="Event_0rv3086_di" bpmnElement="Event_0rv3086">
50
+ <dc:Bounds x="502" y="272" width="36" height="36" />
51
+ </bpmndi:BPMNShape>
52
+ <bpmndi:BPMNShape id="Activity_1yv65fq_di" bpmnElement="Activity_0u64tc3">
53
+ <dc:Bounds x="180" y="130" width="100" height="80" />
54
+ <bpmndi:BPMNLabel />
55
+ </bpmndi:BPMNShape>
56
+ <bpmndi:BPMNShape id="Activity_1dgy0dm_di" bpmnElement="Activity_07p3p4z">
57
+ <dc:Bounds x="340" y="130" width="100" height="80" />
58
+ <bpmndi:BPMNLabel />
59
+ </bpmndi:BPMNShape>
60
+ <bpmndi:BPMNShape id="Event_1is2r7x_di" bpmnElement="Event_0fz5x27">
61
+ <dc:Bounds x="372" y="192" width="36" height="36" />
62
+ </bpmndi:BPMNShape>
63
+ <bpmndi:BPMNEdge id="Flow_1ld6sfg_di" bpmnElement="Flow_1ld6sfg">
64
+ <di:waypoint x="128" y="170" />
65
+ <di:waypoint x="180" y="170" />
66
+ </bpmndi:BPMNEdge>
67
+ <bpmndi:BPMNEdge id="Flow_06m00cc_di" bpmnElement="Flow_06m00cc">
68
+ <di:waypoint x="280" y="170" />
69
+ <di:waypoint x="340" y="170" />
70
+ </bpmndi:BPMNEdge>
71
+ <bpmndi:BPMNEdge id="Flow_1m5vjpz_di" bpmnElement="Flow_1m5vjpz">
72
+ <di:waypoint x="440" y="170" />
73
+ <di:waypoint x="502" y="170" />
74
+ </bpmndi:BPMNEdge>
75
+ <bpmndi:BPMNEdge id="Flow_0ltw0h7_di" bpmnElement="Flow_0ltw0h7">
76
+ <di:waypoint x="390" y="228" />
77
+ <di:waypoint x="390" y="290" />
78
+ <di:waypoint x="502" y="290" />
79
+ </bpmndi:BPMNEdge>
80
+ </bpmndi:BPMNPlane>
81
+ </bpmndi:BPMNDiagram>
82
+ </bpmn:definitions>
@@ -0,0 +1,63 @@
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="User-Task-Auth-Sample_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="User-Task-Auth-Sample" processRef="User-Task-Auth-Sample_Process" />
5
+ </bpmn:collaboration>
6
+ <bpmn:process id="User-Task-Auth-Sample_Process" name="User-Task-Auth-Sample" isExecutable="true">
7
+ <bpmn:laneSet>
8
+ <bpmn:lane id="Lane_1xzf0d3" name="Lane">
9
+ <bpmn:flowNodeRef>StartEvent_1</bpmn:flowNodeRef>
10
+ <bpmn:flowNodeRef>user_task_auth</bpmn:flowNodeRef>
11
+ <bpmn:flowNodeRef>Event_03cwr86</bpmn:flowNodeRef>
12
+ </bpmn:lane>
13
+ </bpmn:laneSet>
14
+ <bpmn:startEvent id="StartEvent_1" name="Start">
15
+ <bpmn:outgoing>Flow_1t268h6</bpmn:outgoing>
16
+ </bpmn:startEvent>
17
+ <bpmn:sequenceFlow id="Flow_1t268h6" sourceRef="StartEvent_1" targetRef="user_task_auth" />
18
+ <bpmn:userTask id="user_task_auth" name="User Task">
19
+ <bpmn:extensionElements>
20
+ <camunda:formData>
21
+ <camunda:formField id="field_01" label="Field 01" type="string" />
22
+ <camunda:formField id="field_02" label="Field 02" type="string" />
23
+ </camunda:formData>
24
+ </bpmn:extensionElements>
25
+ <bpmn:incoming>Flow_1t268h6</bpmn:incoming>
26
+ <bpmn:outgoing>Flow_1t2shtu</bpmn:outgoing>
27
+ </bpmn:userTask>
28
+ <bpmn:endEvent id="Event_03cwr86">
29
+ <bpmn:incoming>Flow_1t2shtu</bpmn:incoming>
30
+ </bpmn:endEvent>
31
+ <bpmn:sequenceFlow id="Flow_1t2shtu" sourceRef="user_task_auth" targetRef="Event_03cwr86" />
32
+ </bpmn:process>
33
+ <bpmndi:BPMNDiagram id="BPMNDiagram_1">
34
+ <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_1cidyxu">
35
+ <bpmndi:BPMNShape id="Participant_0px403d_di" bpmnElement="Participant_0px403d" isHorizontal="true">
36
+ <dc:Bounds x="5" y="4" width="445" height="346" />
37
+ </bpmndi:BPMNShape>
38
+ <bpmndi:BPMNShape id="Lane_1xzf0d3_di" bpmnElement="Lane_1xzf0d3" isHorizontal="true">
39
+ <dc:Bounds x="35" y="4" width="415" height="346" />
40
+ </bpmndi:BPMNShape>
41
+ <bpmndi:BPMNShape id="StartEvent_1_di" bpmnElement="StartEvent_1">
42
+ <dc:Bounds x="92" y="152" width="36" height="36" />
43
+ <bpmndi:BPMNLabel>
44
+ <dc:Bounds x="98" y="195" width="24" height="14" />
45
+ </bpmndi:BPMNLabel>
46
+ </bpmndi:BPMNShape>
47
+ <bpmndi:BPMNShape id="Activity_0c7im8g_di" bpmnElement="user_task_auth">
48
+ <dc:Bounds x="190" y="130" width="100" height="80" />
49
+ </bpmndi:BPMNShape>
50
+ <bpmndi:BPMNShape id="Event_03cwr86_di" bpmnElement="Event_03cwr86">
51
+ <dc:Bounds x="352" y="152" width="36" height="36" />
52
+ </bpmndi:BPMNShape>
53
+ <bpmndi:BPMNEdge id="Flow_1t268h6_di" bpmnElement="Flow_1t268h6">
54
+ <di:waypoint x="128" y="170" />
55
+ <di:waypoint x="190" y="170" />
56
+ </bpmndi:BPMNEdge>
57
+ <bpmndi:BPMNEdge id="Flow_1t2shtu_di" bpmnElement="Flow_1t2shtu">
58
+ <di:waypoint x="290" y="170" />
59
+ <di:waypoint x="352" y="170" />
60
+ </bpmndi:BPMNEdge>
61
+ </bpmndi:BPMNPlane>
62
+ </bpmndi:BPMNDiagram>
63
+ </bpmn:definitions>