]> git.somenet.org - pub/jan/aic18.git/blob - sentiment-analysis/src/main/resources/sentiment-analysis.bpmn
move stuff around
[pub/jan/aic18.git] / sentiment-analysis / src / main / resources / sentiment-analysis.bpmn
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_0co5an7" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="2.0.3">
3   <bpmn:collaboration id="Collaboration_1x8eoy3">
4     <bpmn:participant id="Participant_0gzc3m9" name="Sentiment Analysis" processRef="Process_1" />
5   </bpmn:collaboration>
6   <bpmn:process id="Process_1" isExecutable="true">
7     <bpmn:laneSet id="LaneSet_1u08y0e">
8       <bpmn:lane id="Lane_1b2gu73" name="Failover (Stage 2)">
9         <bpmn:documentation>Stage 2</bpmn:documentation>
10         <bpmn:flowNodeRef>Task_05u1qwp</bpmn:flowNodeRef>
11       </bpmn:lane>
12       <bpmn:lane id="Lane_1stnhfw" name="Services">
13         <bpmn:flowNodeRef>Task_1rt5mbt</bpmn:flowNodeRef>
14         <bpmn:flowNodeRef>Task_1n6iu8h</bpmn:flowNodeRef>
15         <bpmn:flowNodeRef>Task_1cfglzc</bpmn:flowNodeRef>
16       </bpmn:lane>
17       <bpmn:lane id="Lane_07tjk3y" name="Flow">
18         <bpmn:flowNodeRef>Task_1kanz3j</bpmn:flowNodeRef>
19         <bpmn:flowNodeRef>Task_0fs65yp</bpmn:flowNodeRef>
20         <bpmn:flowNodeRef>Task_1tosag4</bpmn:flowNodeRef>
21         <bpmn:flowNodeRef>EndEvent_0bmuv13</bpmn:flowNodeRef>
22         <bpmn:flowNodeRef>StartEvent_1t6nxib</bpmn:flowNodeRef>
23         <bpmn:flowNodeRef>ExclusiveGateway_0onybdl</bpmn:flowNodeRef>
24       </bpmn:lane>
25     </bpmn:laneSet>
26     <bpmn:sequenceFlow id="SequenceFlow_0utq8ut" sourceRef="Task_05u1qwp" targetRef="Task_1rt5mbt" />
27     <bpmn:sequenceFlow id="SequenceFlow_1xc6g12" sourceRef="Task_05u1qwp" targetRef="Task_1cfglzc" />
28     <bpmn:sequenceFlow id="SequenceFlow_0azrswq" sourceRef="Task_05u1qwp" targetRef="Task_1n6iu8h" />
29     <bpmn:sequenceFlow id="SequenceFlow_03ohp0o" sourceRef="Task_1tosag4" targetRef="Task_1n6iu8h" />
30     <bpmn:sequenceFlow id="SequenceFlow_0okj60f" sourceRef="ExclusiveGateway_0onybdl" targetRef="Task_1tosag4">
31       <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">len(terms) == 0</bpmn:conditionExpression>
32     </bpmn:sequenceFlow>
33     <bpmn:sequenceFlow id="SequenceFlow_1a5mps5" sourceRef="Task_1kanz3j" targetRef="Task_1rt5mbt" />
34     <bpmn:subProcess id="Task_1rt5mbt" name="Twitter Service">
35       <bpmn:incoming>SequenceFlow_0utq8ut</bpmn:incoming>
36       <bpmn:incoming>SequenceFlow_1a5mps5</bpmn:incoming>
37     </bpmn:subProcess>
38     <bpmn:subProcess id="Task_1n6iu8h" name="Report Service">
39       <bpmn:incoming>SequenceFlow_0azrswq</bpmn:incoming>
40       <bpmn:incoming>SequenceFlow_03ohp0o</bpmn:incoming>
41     </bpmn:subProcess>
42     <bpmn:subProcess id="Task_05u1qwp" name="Fallback Service">
43       <bpmn:outgoing>SequenceFlow_0utq8ut</bpmn:outgoing>
44       <bpmn:outgoing>SequenceFlow_1xc6g12</bpmn:outgoing>
45       <bpmn:outgoing>SequenceFlow_0azrswq</bpmn:outgoing>
46     </bpmn:subProcess>
47     <bpmn:task id="Task_1kanz3j" name="Load Twitter Data">
48       <bpmn:incoming>SequenceFlow_10v2c9r</bpmn:incoming>
49       <bpmn:outgoing>SequenceFlow_1a5mps5</bpmn:outgoing>
50       <bpmn:outgoing>SequenceFlow_1gbx7mw</bpmn:outgoing>
51       <bpmn:property id="Property_0qnzisj" name="__targetRef_placeholder" />
52       <bpmn:dataInputAssociation id="DataInputAssociation_0qg613d">
53         <bpmn:sourceRef>DataObjectReference_1paeomp</bpmn:sourceRef>
54         <bpmn:targetRef>Property_0qnzisj</bpmn:targetRef>
55       </bpmn:dataInputAssociation>
56     </bpmn:task>
57     <bpmn:sequenceFlow id="SequenceFlow_10v2c9r" sourceRef="ExclusiveGateway_0onybdl" targetRef="Task_1kanz3j" />
58     <bpmn:task id="Task_0fs65yp" name="Analyze">
59       <bpmn:incoming>SequenceFlow_1gbx7mw</bpmn:incoming>
60       <bpmn:outgoing>SequenceFlow_0azv06r</bpmn:outgoing>
61       <bpmn:outgoing>SequenceFlow_032ipyi</bpmn:outgoing>
62     </bpmn:task>
63     <bpmn:subProcess id="Task_1cfglzc" name="Analysis Service">
64       <bpmn:incoming>SequenceFlow_1xc6g12</bpmn:incoming>
65       <bpmn:incoming>SequenceFlow_0azv06r</bpmn:incoming>
66     </bpmn:subProcess>
67     <bpmn:task id="Task_1tosag4" name="Generate Report">
68       <bpmn:incoming>SequenceFlow_0okj60f</bpmn:incoming>
69       <bpmn:outgoing>SequenceFlow_03ohp0o</bpmn:outgoing>
70       <bpmn:dataOutputAssociation id="DataOutputAssociation_0iwh0gi">
71         <bpmn:targetRef>DataObjectReference_10ouwro</bpmn:targetRef>
72       </bpmn:dataOutputAssociation>
73       <bpmn:dataOutputAssociation id="DataOutputAssociation_1ustd8r">
74         <bpmn:targetRef>DataObjectReference_10ouwro</bpmn:targetRef>
75       </bpmn:dataOutputAssociation>
76     </bpmn:task>
77     <bpmn:dataObjectReference id="DataObjectReference_10ouwro" name="&#60;output&#62;&#10;report" dataObjectRef="DataObject_1aetk4r" />
78     <bpmn:dataObject id="DataObject_1aetk4r" />
79     <bpmn:endEvent id="EndEvent_0bmuv13">
80       <bpmn:property id="Property_00nk8ci" name="__targetRef_placeholder" />
81       <bpmn:dataInputAssociation id="DataInputAssociation_1mm9v77">
82         <bpmn:sourceRef>DataObjectReference_10ouwro</bpmn:sourceRef>
83         <bpmn:targetRef>Property_00nk8ci</bpmn:targetRef>
84       </bpmn:dataInputAssociation>
85     </bpmn:endEvent>
86     <bpmn:sequenceFlow id="SequenceFlow_0azv06r" sourceRef="Task_0fs65yp" targetRef="Task_1cfglzc" />
87     <bpmn:startEvent id="StartEvent_1t6nxib" camunda:formKey="terms">
88       <bpmn:extensionElements>
89         <camunda:formData>
90           <camunda:formField id="terms" type="" />
91         </camunda:formData>
92       </bpmn:extensionElements>
93       <bpmn:dataOutputAssociation id="DataOutputAssociation_1u87f7i">
94         <bpmn:targetRef>DataObjectReference_1paeomp</bpmn:targetRef>
95       </bpmn:dataOutputAssociation>
96     </bpmn:startEvent>
97     <bpmn:sequenceFlow id="SequenceFlow_1gbx7mw" sourceRef="Task_1kanz3j" targetRef="Task_0fs65yp" />
98     <bpmn:sequenceFlow id="SequenceFlow_032ipyi" sourceRef="Task_0fs65yp" targetRef="ExclusiveGateway_0onybdl" />
99     <bpmn:dataObjectReference id="DataObjectReference_1paeomp" name="&#60;input&#62;&#10;terms" dataObjectRef="DataObject_0mtrivu" />
100     <bpmn:dataObject id="DataObject_0mtrivu" />
101     <bpmn:exclusiveGateway id="ExclusiveGateway_0onybdl">
102       <bpmn:incoming>SequenceFlow_032ipyi</bpmn:incoming>
103       <bpmn:outgoing>SequenceFlow_0okj60f</bpmn:outgoing>
104       <bpmn:outgoing>SequenceFlow_10v2c9r</bpmn:outgoing>
105     </bpmn:exclusiveGateway>
106     <bpmn:association id="Association_1ukj08x" sourceRef="Lane_07tjk3y" targetRef="TextAnnotation_1qbyziq" />
107     <bpmn:textAnnotation id="TextAnnotation_1qbyziq">
108       <bpmn:text>All terms are analyzed</bpmn:text>
109     </bpmn:textAnnotation>
110   </bpmn:process>
111   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
112     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_1x8eoy3">
113       <bpmndi:BPMNShape id="Participant_0gzc3m9_di" bpmnElement="Participant_0gzc3m9">
114         <dc:Bounds x="-3.5" y="-254.5" width="1147" height="543" />
115       </bpmndi:BPMNShape>
116       <bpmndi:BPMNShape id="SubProcess_06upc1d_di" bpmnElement="Task_05u1qwp">
117         <dc:Bounds x="621" y="-202" width="100" height="80" />
118       </bpmndi:BPMNShape>
119       <bpmndi:BPMNShape id="SubProcess_0sbp815_di" bpmnElement="Task_1n6iu8h" isExpanded="false">
120         <dc:Bounds x="772" y="-31" width="100" height="80" />
121       </bpmndi:BPMNShape>
122       <bpmndi:BPMNShape id="SubProcess_13bf266_di" bpmnElement="Task_1cfglzc">
123         <dc:Bounds x="464" y="-31" width="100" height="80" />
124       </bpmndi:BPMNShape>
125       <bpmndi:BPMNShape id="SubProcess_0z94igi_di" bpmnElement="Task_1rt5mbt">
126         <dc:Bounds x="281" y="-31" width="100" height="80" />
127       </bpmndi:BPMNShape>
128       <bpmndi:BPMNShape id="EndEvent_0bmuv13_di" bpmnElement="EndEvent_0bmuv13">
129         <dc:Bounds x="1084" y="168" width="36" height="36" />
130       </bpmndi:BPMNShape>
131       <bpmndi:BPMNShape id="DataObjectReference_10ouwro_di" bpmnElement="DataObjectReference_10ouwro">
132         <dc:Bounds x="961" y="161" width="36" height="50" />
133         <bpmndi:BPMNLabel>
134           <dc:Bounds x="958" y="218" width="44" height="27" />
135         </bpmndi:BPMNLabel>
136       </bpmndi:BPMNShape>
137       <bpmndi:BPMNEdge id="DataInputAssociation_1mm9v77_di" bpmnElement="DataInputAssociation_1mm9v77">
138         <di:waypoint x="997" y="186" />
139         <di:waypoint x="1084" y="186" />
140       </bpmndi:BPMNEdge>
141       <bpmndi:BPMNShape id="Task_1tosag4_di" bpmnElement="Task_1tosag4">
142         <dc:Bounds x="772" y="146" width="100" height="80" />
143       </bpmndi:BPMNShape>
144       <bpmndi:BPMNEdge id="DataOutputAssociation_0iwh0gi_di" bpmnElement="DataOutputAssociation_0iwh0gi">
145         <di:waypoint x="872" y="186" />
146         <di:waypoint x="961" y="186" />
147       </bpmndi:BPMNEdge>
148       <bpmndi:BPMNEdge id="DataOutputAssociation_1ustd8r_di" bpmnElement="DataOutputAssociation_1ustd8r">
149         <di:waypoint x="872" y="186" />
150         <di:waypoint x="961" y="186" />
151       </bpmndi:BPMNEdge>
152       <bpmndi:BPMNShape id="Task_0fs65yp_di" bpmnElement="Task_0fs65yp">
153         <dc:Bounds x="464" y="146" width="100" height="80" />
154       </bpmndi:BPMNShape>
155       <bpmndi:BPMNShape id="Task_1kanz3j_di" bpmnElement="Task_1kanz3j">
156         <dc:Bounds x="281" y="146" width="100" height="80" />
157       </bpmndi:BPMNShape>
158       <bpmndi:BPMNShape id="DataObjectReference_1paeomp_di" bpmnElement="DataObjectReference_1paeomp">
159         <dc:Bounds x="179" y="161" width="36" height="50" />
160         <bpmndi:BPMNLabel>
161           <dc:Bounds x="179" y="218" width="37" height="27" />
162         </bpmndi:BPMNLabel>
163       </bpmndi:BPMNShape>
164       <bpmndi:BPMNEdge id="DataInputAssociation_0qg613d_di" bpmnElement="DataInputAssociation_0qg613d">
165         <di:waypoint x="215" y="186" />
166         <di:waypoint x="281" y="186" />
167       </bpmndi:BPMNEdge>
168       <bpmndi:BPMNShape id="StartEvent_1t6nxib_di" bpmnElement="StartEvent_1t6nxib">
169         <dc:Bounds x="70" y="168" width="36" height="36" />
170       </bpmndi:BPMNShape>
171       <bpmndi:BPMNEdge id="DataOutputAssociation_1u87f7i_di" bpmnElement="DataOutputAssociation_1u87f7i">
172         <di:waypoint x="106" y="186" />
173         <di:waypoint x="179" y="186" />
174       </bpmndi:BPMNEdge>
175       <bpmndi:BPMNEdge id="SequenceFlow_0utq8ut_di" bpmnElement="SequenceFlow_0utq8ut">
176         <di:waypoint x="621" y="-162" />
177         <di:waypoint x="331" y="-162" />
178         <di:waypoint x="331" y="-31" />
179       </bpmndi:BPMNEdge>
180       <bpmndi:BPMNEdge id="SequenceFlow_1xc6g12_di" bpmnElement="SequenceFlow_1xc6g12">
181         <di:waypoint x="621" y="-162" />
182         <di:waypoint x="514" y="-162" />
183         <di:waypoint x="514" y="-31" />
184       </bpmndi:BPMNEdge>
185       <bpmndi:BPMNEdge id="SequenceFlow_0azrswq_di" bpmnElement="SequenceFlow_0azrswq">
186         <di:waypoint x="721" y="-162" />
187         <di:waypoint x="822" y="-162" />
188         <di:waypoint x="822" y="-31" />
189       </bpmndi:BPMNEdge>
190       <bpmndi:BPMNEdge id="SequenceFlow_03ohp0o_di" bpmnElement="SequenceFlow_03ohp0o">
191         <di:waypoint x="822" y="146" />
192         <di:waypoint x="822" y="49" />
193       </bpmndi:BPMNEdge>
194       <bpmndi:BPMNEdge id="SequenceFlow_0okj60f_di" bpmnElement="SequenceFlow_0okj60f">
195         <di:waypoint x="696" y="186" />
196         <di:waypoint x="772" y="186" />
197         <bpmndi:BPMNLabel>
198           <dc:Bounds x="728" y="168" width="12" height="14" />
199         </bpmndi:BPMNLabel>
200       </bpmndi:BPMNEdge>
201       <bpmndi:BPMNEdge id="SequenceFlow_1a5mps5_di" bpmnElement="SequenceFlow_1a5mps5">
202         <di:waypoint x="331" y="146" />
203         <di:waypoint x="331" y="49" />
204       </bpmndi:BPMNEdge>
205       <bpmndi:BPMNShape id="TextAnnotation_1qbyziq_di" bpmnElement="TextAnnotation_1qbyziq">
206         <dc:Bounds x="691" y="240" width="95" height="39" />
207       </bpmndi:BPMNShape>
208       <bpmndi:BPMNEdge id="Association_1ukj08x_di" bpmnElement="Association_1ukj08x">
209         <di:waypoint x="739" y="199" />
210         <di:waypoint x="739" y="240" />
211       </bpmndi:BPMNEdge>
212       <bpmndi:BPMNShape id="Lane_1b2gu73_di" bpmnElement="Lane_1b2gu73">
213         <dc:Bounds x="26.5" y="-254.5" width="1117" height="181" />
214       </bpmndi:BPMNShape>
215       <bpmndi:BPMNShape id="Lane_1stnhfw_di" bpmnElement="Lane_1stnhfw">
216         <dc:Bounds x="26.5" y="-73.5" width="1117" height="181" />
217       </bpmndi:BPMNShape>
218       <bpmndi:BPMNShape id="Lane_07tjk3y_di" bpmnElement="Lane_07tjk3y">
219         <dc:Bounds x="26.5" y="107.5" width="1117" height="181" />
220       </bpmndi:BPMNShape>
221       <bpmndi:BPMNEdge id="SequenceFlow_10v2c9r_di" bpmnElement="SequenceFlow_10v2c9r">
222         <di:waypoint x="671" y="211" />
223         <di:waypoint x="671" y="260" />
224         <di:waypoint x="331" y="260" />
225         <di:waypoint x="331" y="226" />
226       </bpmndi:BPMNEdge>
227       <bpmndi:BPMNEdge id="SequenceFlow_0azv06r_di" bpmnElement="SequenceFlow_0azv06r">
228         <di:waypoint x="514" y="146" />
229         <di:waypoint x="514" y="49" />
230       </bpmndi:BPMNEdge>
231       <bpmndi:BPMNEdge id="SequenceFlow_1gbx7mw_di" bpmnElement="SequenceFlow_1gbx7mw">
232         <di:waypoint x="381" y="186" />
233         <di:waypoint x="464" y="186" />
234       </bpmndi:BPMNEdge>
235       <bpmndi:BPMNEdge id="SequenceFlow_032ipyi_di" bpmnElement="SequenceFlow_032ipyi">
236         <di:waypoint x="564" y="186" />
237         <di:waypoint x="646" y="186" />
238       </bpmndi:BPMNEdge>
239       <bpmndi:BPMNShape id="ExclusiveGateway_0pzjnfx_di" bpmnElement="ExclusiveGateway_0onybdl" isMarkerVisible="true">
240         <dc:Bounds x="646" y="161" width="50" height="50" />
241       </bpmndi:BPMNShape>
242     </bpmndi:BPMNPlane>
243   </bpmndi:BPMNDiagram>
244 </bpmn:definitions>