|
1 | 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:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="1.12.0"> |
3 | | - <bpmn:process id="$processTopic" name="$processName Scan" isExecutable="true" camunda:versionTag="3" camunda:historyTimeToLive="30"> |
| 2 | +<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="1.7.2"> |
| 3 | + <bpmn:process id="$processTopic" name="$processName" isExecutable="true" camunda:versionTag="1" camunda:historyTimeToLive="30"> |
4 | 4 | <bpmn:startEvent id="StartEvent_Configure" name="target configured" camunda:formKey="embedded:app:forms/default/configure-target.html"> |
5 | 5 | <bpmn:extensionElements> |
6 | 6 | <camunda:executionListener delegateExpression="${dollar}{checkForAutomatedRunListener}" event="start" /> |
|
14 | 14 | <bpmn:outgoing>SequenceFlow_TargetConfigured</bpmn:outgoing> |
15 | 15 | </bpmn:startEvent> |
16 | 16 | <bpmn:sequenceFlow id="SequenceFlow_TargetConfigured" sourceRef="StartEvent_Configure" targetRef="ServiceTask_DoScan" /> |
17 | | - <bpmn:endEvent id="EndEvent_FinishedPortscan" name="Port Scan finished"> |
| 17 | + <bpmn:endEvent id="EndEvent_FinishedScan" name="Scan finished"> |
18 | 18 | <bpmn:incoming>SequenceFlow_SummaryCreated</bpmn:incoming> |
19 | 19 | </bpmn:endEvent> |
20 | | - <bpmn:sequenceFlow id="SequenceFlow_PortscanFinished" name="finished " sourceRef="ServiceTask_DoScan" targetRef="ExclusiveGateway_AutomatedFinish" /> |
| 20 | + <bpmn:sequenceFlow id="SequenceFlow_ScanFinished" name="finished " sourceRef="ServiceTask_DoScan" targetRef="ExclusiveGateway_AutomatedFinish" /> |
21 | 21 | <bpmn:sequenceFlow id="SequenceFlow_ResultReviewed" name="result reviewed" sourceRef="UserTask_ApproveResults" targetRef="ExclusiveGateway_ResultApproved" /> |
22 | 22 | <bpmn:userTask id="UserTask_ApproveResults" name="Review scan results" camunda:formKey="embedded:app:forms/default/approve-results.html" camunda:candidateGroups="_securebox_admin, _securebox_productowner, _securebox_developer, approver"> |
23 | 23 | <bpmn:extensionElements> |
|
35 | 35 | <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[${dollar}{PROCESS_RESULT_APPROVED == 'approved'}]]></bpmn:conditionExpression> |
36 | 36 | </bpmn:sequenceFlow> |
37 | 37 | <bpmn:exclusiveGateway id="ExclusiveGateway_AutomatedFinish" name="is automated run?"> |
38 | | - <bpmn:incoming>SequenceFlow_PortscanFinished</bpmn:incoming> |
| 38 | + <bpmn:incoming>SequenceFlow_ScanFinished</bpmn:incoming> |
39 | 39 | <bpmn:outgoing>SequenceFlow_ManualFinish</bpmn:outgoing> |
40 | 40 | <bpmn:outgoing>SequenceFlow_AutomatedFinish</bpmn:outgoing> |
41 | 41 | </bpmn:exclusiveGateway> |
|
48 | 48 | <bpmn:serviceTask id="ServiceTask_DoScan" name="Run the scan" camunda:asyncBefore="true" camunda:type="external" camunda:topic="$processTopic"> |
49 | 49 | <bpmn:extensionElements /> |
50 | 50 | <bpmn:incoming>SequenceFlow_TargetConfigured</bpmn:incoming> |
51 | | - <bpmn:outgoing>SequenceFlow_PortscanFinished</bpmn:outgoing> |
| 51 | + <bpmn:outgoing>SequenceFlow_ScanFinished</bpmn:outgoing> |
52 | 52 | </bpmn:serviceTask> |
53 | | - <bpmn:sequenceFlow id="SequenceFlow_SummaryCreated" name="summary created" sourceRef="ServiceTask_CreateSummary" targetRef="EndEvent_FinishedPortscan" /> |
54 | | - <bpmn:serviceTask id="ServiceTask_CreateSummary" name="Create Report Summary" camunda:asyncBefore="true" camunda:delegateExpression="${dollar}{${component}_SummaryGeneratorDelegate}"> |
| 53 | + <bpmn:sequenceFlow id="SequenceFlow_SummaryCreated" name="summary created" sourceRef="ServiceTask_CreateSummary" targetRef="EndEvent_FinishedScan" /> |
| 54 | + <bpmn:serviceTask id="ServiceTask_CreateSummary" name="Create Report Summary" camunda:asyncBefore="true" camunda:delegateExpression="${summaryGeneratorDelegate}"> |
55 | 55 | <bpmn:extensionElements /> |
56 | 56 | <bpmn:incoming>SequenceFlow_ResultApproved</bpmn:incoming> |
57 | 57 | <bpmn:incoming>SequenceFlow_1i44eck</bpmn:incoming> |
|
68 | 68 | <bpmn:outgoing>SequenceFlow_1i44eck</bpmn:outgoing> |
69 | 69 | </bpmn:task> |
70 | 70 | <bpmn:sequenceFlow id="SequenceFlow_1i44eck" sourceRef="DoesNothingTask" targetRef="ServiceTask_CreateSummary" /> |
71 | | - <bpmn:textAnnotation id="TextAnnotation_0lm3esn"> |
72 | | - <bpmn:text>results in a generic format</bpmn:text> |
73 | | - </bpmn:textAnnotation> |
| 71 | + <bpmn:textAnnotation id="TextAnnotation_0lm3esn"> <bpmn:text>results in a generic format</bpmn:text> |
| 72 | +</bpmn:textAnnotation> |
74 | 73 | <bpmn:association id="Association_16qrr9w" sourceRef="DataObjectReference_0vhjx0n" targetRef="TextAnnotation_0lm3esn" /> |
75 | 74 | </bpmn:process> |
76 | 75 | <bpmndi:BPMNDiagram id="BPMNDiagram_1"> |
|
82 | 81 | </bpmndi:BPMNLabel> |
83 | 82 | </bpmndi:BPMNShape> |
84 | 83 | <bpmndi:BPMNEdge id="SequenceFlow_093mevy_di" bpmnElement="SequenceFlow_TargetConfigured"> |
85 | | - <di:waypoint x="64" y="328" /> |
86 | | - <di:waypoint x="142" y="328" /> |
| 84 | + <di:waypoint xsi:type="dc:Point" x="64" y="328" /> |
| 85 | + <di:waypoint xsi:type="dc:Point" x="142" y="328" /> |
87 | 86 | <bpmndi:BPMNLabel> |
88 | 87 | <dc:Bounds x="58" y="303" width="90" height="20" /> |
89 | 88 | </bpmndi:BPMNLabel> |
90 | 89 | </bpmndi:BPMNEdge> |
91 | | - <bpmndi:BPMNShape id="EndEvent_07weexy_di" bpmnElement="EndEvent_FinishedPortscan"> |
| 90 | + <bpmndi:BPMNShape id="EndEvent_07weexy_di" bpmnElement="EndEvent_FinishedScan"> |
92 | 91 | <dc:Bounds x="1309" y="186" width="36" height="36" /> |
93 | 92 | <bpmndi:BPMNLabel> |
94 | | - <dc:Bounds x="1357" y="197" width="90" height="12" /> |
| 93 | + <dc:Bounds x="1369" y="197" width="67" height="12" /> |
95 | 94 | </bpmndi:BPMNLabel> |
96 | 95 | </bpmndi:BPMNShape> |
97 | | - <bpmndi:BPMNEdge id="SequenceFlow_0kjlgbs_di" bpmnElement="SequenceFlow_PortscanFinished"> |
98 | | - <di:waypoint x="242" y="328" /> |
99 | | - <di:waypoint x="437" y="328" /> |
| 96 | + <bpmndi:BPMNEdge id="SequenceFlow_0kjlgbs_di" bpmnElement="SequenceFlow_ScanFinished"> |
| 97 | + <di:waypoint xsi:type="dc:Point" x="242" y="328" /> |
| 98 | + <di:waypoint xsi:type="dc:Point" x="437" y="328" /> |
100 | 99 | <bpmndi:BPMNLabel> |
101 | 100 | <dc:Bounds x="316" y="420" width="38" height="37" /> |
102 | 101 | </bpmndi:BPMNLabel> |
103 | 102 | </bpmndi:BPMNEdge> |
104 | 103 | <bpmndi:BPMNEdge id="SequenceFlow_00fmvcb_di" bpmnElement="SequenceFlow_ResultReviewed"> |
105 | | - <di:waypoint x="673" y="202" /> |
106 | | - <di:waypoint x="760" y="204" /> |
| 104 | + <di:waypoint xsi:type="dc:Point" x="673" y="202" /> |
| 105 | + <di:waypoint xsi:type="dc:Point" x="760" y="204" /> |
107 | 106 | <bpmndi:BPMNLabel> |
108 | 107 | <dc:Bounds x="794" y="176" width="74" height="12" /> |
109 | 108 | </bpmndi:BPMNLabel> |
|
118 | 117 | </bpmndi:BPMNLabel> |
119 | 118 | </bpmndi:BPMNShape> |
120 | 119 | <bpmndi:BPMNEdge id="SequenceFlow_0gjifhk_di" bpmnElement="SequenceFlow_ResultApproved"> |
121 | | - <di:waypoint x="810" y="204" /> |
122 | | - <di:waypoint x="1077" y="204" /> |
| 120 | + <di:waypoint xsi:type="dc:Point" x="810" y="204" /> |
| 121 | + <di:waypoint xsi:type="dc:Point" x="1077" y="204" /> |
123 | 122 | <bpmndi:BPMNLabel> |
124 | 123 | <dc:Bounds x="999" y="150" width="76" height="13" /> |
125 | 124 | </bpmndi:BPMNLabel> |
|
131 | 130 | </bpmndi:BPMNLabel> |
132 | 131 | </bpmndi:BPMNShape> |
133 | 132 | <bpmndi:BPMNEdge id="SequenceFlow_17bwrf0_di" bpmnElement="SequenceFlow_ManualFinish"> |
134 | | - <di:waypoint x="462" y="303" /> |
135 | | - <di:waypoint x="462" y="204" /> |
136 | | - <di:waypoint x="573" y="204" /> |
| 133 | + <di:waypoint xsi:type="dc:Point" x="462" y="303" /> |
| 134 | + <di:waypoint xsi:type="dc:Point" x="462" y="204" /> |
| 135 | + <di:waypoint xsi:type="dc:Point" x="573" y="204" /> |
137 | 136 | <bpmndi:BPMNLabel> |
138 | 137 | <dc:Bounds x="379" y="246" width="65" height="37" /> |
139 | 138 | </bpmndi:BPMNLabel> |
140 | 139 | </bpmndi:BPMNEdge> |
141 | 140 | <bpmndi:BPMNEdge id="SequenceFlow_0s3limw_di" bpmnElement="SequenceFlow_AutomatedFinish"> |
142 | | - <di:waypoint x="462" y="353" /> |
143 | | - <di:waypoint x="462" y="456" /> |
144 | | - <di:waypoint x="1127" y="456" /> |
145 | | - <di:waypoint x="1127" y="244" /> |
| 141 | + <di:waypoint xsi:type="dc:Point" x="462" y="353" /> |
| 142 | + <di:waypoint xsi:type="dc:Point" x="462" y="456" /> |
| 143 | + <di:waypoint xsi:type="dc:Point" x="1127" y="456" /> |
| 144 | + <di:waypoint xsi:type="dc:Point" x="1127" y="244" /> |
146 | 145 | <bpmndi:BPMNLabel> |
147 | 146 | <dc:Bounds x="803" y="503" width="81" height="12" /> |
148 | 147 | </bpmndi:BPMNLabel> |
|
151 | 150 | <dc:Bounds x="142" y="288" width="100" height="80" /> |
152 | 151 | </bpmndi:BPMNShape> |
153 | 152 | <bpmndi:BPMNEdge id="SequenceFlow_150f8k2_di" bpmnElement="SequenceFlow_SummaryCreated"> |
154 | | - <di:waypoint x="1177" y="204" /> |
155 | | - <di:waypoint x="1309" y="204" /> |
| 153 | + <di:waypoint xsi:type="dc:Point" x="1177" y="204" /> |
| 154 | + <di:waypoint xsi:type="dc:Point" x="1309" y="204" /> |
156 | 155 | <bpmndi:BPMNLabel> |
157 | 156 | <dc:Bounds x="1187" y="209" width="85" height="13" /> |
158 | 157 | </bpmndi:BPMNLabel> |
|
170 | 169 | <dc:Bounds x="379" y="420" width="102" height="50" /> |
171 | 170 | </bpmndi:BPMNShape> |
172 | 171 | <bpmndi:BPMNEdge id="Association_16qrr9w_di" bpmnElement="Association_16qrr9w"> |
173 | | - <di:waypoint x="324" y="394" /> |
174 | | - <di:waypoint x="379" y="420" /> |
| 172 | + <di:waypoint xsi:type="dc:Point" x="324" y="394" /> |
| 173 | + <di:waypoint xsi:type="dc:Point" x="379" y="420" /> |
175 | 174 | </bpmndi:BPMNEdge> |
176 | 175 | <bpmndi:BPMNEdge id="SequenceFlow_1z0e6c0_di" bpmnElement="SequenceFlow_ResultRejected"> |
177 | | - <di:waypoint x="785" y="179" /> |
178 | | - <di:waypoint x="785" y="65" /> |
179 | | - <di:waypoint x="995" y="65" /> |
| 176 | + <di:waypoint xsi:type="dc:Point" x="785" y="179" /> |
| 177 | + <di:waypoint xsi:type="dc:Point" x="785" y="65" /> |
| 178 | + <di:waypoint xsi:type="dc:Point" x="995" y="65" /> |
180 | 179 | <bpmndi:BPMNLabel> |
181 | 180 | <dc:Bounds x="849" y="96" width="70" height="13" /> |
182 | 181 | </bpmndi:BPMNLabel> |
|
185 | 184 | <dc:Bounds x="995" y="25" width="100" height="80" /> |
186 | 185 | </bpmndi:BPMNShape> |
187 | 186 | <bpmndi:BPMNEdge id="SequenceFlow_1i44eck_di" bpmnElement="SequenceFlow_1i44eck"> |
188 | | - <di:waypoint x="1095" y="65" /> |
189 | | - <di:waypoint x="1127" y="65" /> |
190 | | - <di:waypoint x="1127" y="164" /> |
| 187 | + <di:waypoint xsi:type="dc:Point" x="1095" y="65" /> |
| 188 | + <di:waypoint xsi:type="dc:Point" x="1127" y="65" /> |
| 189 | + <di:waypoint xsi:type="dc:Point" x="1127" y="164" /> |
191 | 190 | <bpmndi:BPMNLabel> |
192 | 191 | <dc:Bounds x="1066" y="43.5" width="90" height="13" /> |
193 | 192 | </bpmndi:BPMNLabel> |
|
0 commit comments