]> git.somenet.org - pub/jan/aic18.git/blob - sentiment-analysis/src/main/resources/sentiment-analysis.bpmn
more bpmn-stuff
[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:subProcess id="Task_1rt5mbt" name="Twitter Service">
9       <bpmn:incoming>SequenceFlow_0utq8ut</bpmn:incoming>
10       <bpmn:incoming>SequenceFlow_1a5mps5</bpmn:incoming>
11     </bpmn:subProcess>
12     <bpmn:subProcess id="Task_05u1qwp" name="Fallback Service">
13       <bpmn:outgoing>SequenceFlow_0utq8ut</bpmn:outgoing>
14       <bpmn:outgoing>SequenceFlow_1xc6g12</bpmn:outgoing>
15       <bpmn:outgoing>SequenceFlow_0azrswq</bpmn:outgoing>
16     </bpmn:subProcess>
17     <bpmn:task id="Task_1kanz3j" name="Load Twitter Data">
18       <bpmn:incoming>SequenceFlow_10v2c9r</bpmn:incoming>
19       <bpmn:outgoing>SequenceFlow_1a5mps5</bpmn:outgoing>
20       <bpmn:outgoing>SequenceFlow_1gbx7mw</bpmn:outgoing>
21       <bpmn:property id="Property_0qnzisj" name="__targetRef_placeholder" />
22       <bpmn:dataInputAssociation id="DataInputAssociation_0qg613d">
23         <bpmn:sourceRef>DataObjectReference_1paeomp</bpmn:sourceRef>
24         <bpmn:targetRef>Property_0qnzisj</bpmn:targetRef>
25       </bpmn:dataInputAssociation>
26     </bpmn:task>
27     <bpmn:task id="Task_0fs65yp" name="Analyze">
28       <bpmn:incoming>SequenceFlow_1gbx7mw</bpmn:incoming>
29       <bpmn:outgoing>SequenceFlow_0azv06r</bpmn:outgoing>
30       <bpmn:outgoing>SequenceFlow_032ipyi</bpmn:outgoing>
31     </bpmn:task>
32     <bpmn:subProcess id="Task_1cfglzc" name="Analysis Service">
33       <bpmn:incoming>SequenceFlow_1xc6g12</bpmn:incoming>
34       <bpmn:incoming>SequenceFlow_0azv06r</bpmn:incoming>
35     </bpmn:subProcess>
36     <bpmn:endEvent id="EndEvent_0bmuv13">
37       <bpmn:property id="Property_00nk8ci" name="__targetRef_placeholder" />
38       <bpmn:dataInputAssociation id="DataInputAssociation_1mm9v77">
39         <bpmn:sourceRef>DataObjectReference_10ouwro</bpmn:sourceRef>
40         <bpmn:targetRef>Property_00nk8ci</bpmn:targetRef>
41       </bpmn:dataInputAssociation>
42     </bpmn:endEvent>
43     <bpmn:startEvent id="StartEvent_1t6nxib" camunda:formKey="terms">
44       <bpmn:extensionElements>
45         <camunda:formData>
46           <camunda:formField id="terms" type="" />
47         </camunda:formData>
48       </bpmn:extensionElements>
49       <bpmn:dataOutputAssociation id="DataOutputAssociation_1u87f7i">
50         <bpmn:targetRef>DataObjectReference_1paeomp</bpmn:targetRef>
51       </bpmn:dataOutputAssociation>
52     </bpmn:startEvent>
53     <bpmn:dataObjectReference id="DataObjectReference_1paeomp" name="&#60;input&#62;&#10;terms" dataObjectRef="DataObject_0mtrivu" />
54     <bpmn:dataObject id="DataObject_0mtrivu" />
55     <bpmn:exclusiveGateway id="ExclusiveGateway_0onybdl">
56       <bpmn:incoming>SequenceFlow_032ipyi</bpmn:incoming>
57       <bpmn:outgoing>SequenceFlow_0okj60f</bpmn:outgoing>
58       <bpmn:outgoing>SequenceFlow_10v2c9r</bpmn:outgoing>
59     </bpmn:exclusiveGateway>
60     <bpmn:sequenceFlow id="SequenceFlow_032ipyi" sourceRef="Task_0fs65yp" targetRef="ExclusiveGateway_0onybdl" />
61     <bpmn:sequenceFlow id="SequenceFlow_1gbx7mw" sourceRef="Task_1kanz3j" targetRef="Task_0fs65yp" />
62     <bpmn:sequenceFlow id="SequenceFlow_0azv06r" sourceRef="Task_0fs65yp" targetRef="Task_1cfglzc" />
63     <bpmn:sequenceFlow id="SequenceFlow_10v2c9r" sourceRef="ExclusiveGateway_0onybdl" targetRef="Task_1kanz3j" />
64     <bpmn:sequenceFlow id="SequenceFlow_1a5mps5" sourceRef="Task_1kanz3j" targetRef="Task_1rt5mbt" />
65     <bpmn:sequenceFlow id="SequenceFlow_0okj60f" name="All terms are analyzed" sourceRef="ExclusiveGateway_0onybdl" targetRef="Task_1tosag4">
66       <bpmn:documentation>All terms are analyzed</bpmn:documentation>
67       <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">${terms}==[]</bpmn:conditionExpression>
68     </bpmn:sequenceFlow>
69     <bpmn:sequenceFlow id="SequenceFlow_03ohp0o" sourceRef="Task_1tosag4" targetRef="Task_1n6iu8h" />
70     <bpmn:sequenceFlow id="SequenceFlow_0azrswq" sourceRef="Task_05u1qwp" targetRef="Task_1n6iu8h" />
71     <bpmn:sequenceFlow id="SequenceFlow_1xc6g12" sourceRef="Task_05u1qwp" targetRef="Task_1cfglzc" />
72     <bpmn:sequenceFlow id="SequenceFlow_0utq8ut" sourceRef="Task_05u1qwp" targetRef="Task_1rt5mbt" />
73     <bpmn:dataObjectReference id="DataObjectReference_10ouwro" name="&#60;output&#62;&#10;report" dataObjectRef="DataObject_1aetk4r" />
74     <bpmn:dataObject id="DataObject_1aetk4r" />
75     <bpmn:task id="Task_1tosag4" name="Generate Report">
76       <bpmn:incoming>SequenceFlow_0okj60f</bpmn:incoming>
77       <bpmn:outgoing>SequenceFlow_03ohp0o</bpmn:outgoing>
78       <bpmn:dataOutputAssociation id="DataOutputAssociation_0iwh0gi">
79         <bpmn:targetRef>DataObjectReference_10ouwro</bpmn:targetRef>
80       </bpmn:dataOutputAssociation>
81       <bpmn:dataOutputAssociation id="DataOutputAssociation_1ustd8r">
82         <bpmn:targetRef>DataObjectReference_10ouwro</bpmn:targetRef>
83       </bpmn:dataOutputAssociation>
84     </bpmn:task>
85     <bpmn:subProcess id="Task_1n6iu8h" name="Report Service">
86       <bpmn:incoming>SequenceFlow_0azrswq</bpmn:incoming>
87       <bpmn:incoming>SequenceFlow_03ohp0o</bpmn:incoming>
88     </bpmn:subProcess>
89   </bpmn:process>
90   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
91     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_1x8eoy3">
92       <bpmndi:BPMNShape id="Participant_0gzc3m9_di" bpmnElement="Participant_0gzc3m9">
93         <dc:Bounds x="-2" y="-248" width="1147" height="543" />
94       </bpmndi:BPMNShape>
95       <bpmndi:BPMNShape id="SubProcess_06upc1d_di" bpmnElement="Task_05u1qwp">
96         <dc:Bounds x="622" y="-196" width="100" height="80" />
97       </bpmndi:BPMNShape>
98       <bpmndi:BPMNShape id="SubProcess_0sbp815_di" bpmnElement="Task_1n6iu8h" isExpanded="false">
99         <dc:Bounds x="830" y="-25" width="100" height="80" />
100       </bpmndi:BPMNShape>
101       <bpmndi:BPMNShape id="SubProcess_13bf266_di" bpmnElement="Task_1cfglzc">
102         <dc:Bounds x="465" y="-25" width="100" height="80" />
103       </bpmndi:BPMNShape>
104       <bpmndi:BPMNShape id="SubProcess_0z94igi_di" bpmnElement="Task_1rt5mbt">
105         <dc:Bounds x="282" y="-25" width="100" height="80" />
106       </bpmndi:BPMNShape>
107       <bpmndi:BPMNShape id="EndEvent_0bmuv13_di" bpmnElement="EndEvent_0bmuv13">
108         <dc:Bounds x="1085" y="174" width="36" height="36" />
109       </bpmndi:BPMNShape>
110       <bpmndi:BPMNShape id="DataObjectReference_10ouwro_di" bpmnElement="DataObjectReference_10ouwro">
111         <dc:Bounds x="992" y="167" width="36" height="50" />
112         <bpmndi:BPMNLabel>
113           <dc:Bounds x="989" y="224" width="44" height="27" />
114         </bpmndi:BPMNLabel>
115       </bpmndi:BPMNShape>
116       <bpmndi:BPMNEdge id="DataInputAssociation_1mm9v77_di" bpmnElement="DataInputAssociation_1mm9v77">
117         <di:waypoint x="1028" y="192" />
118         <di:waypoint x="1085" y="192" />
119       </bpmndi:BPMNEdge>
120       <bpmndi:BPMNShape id="Task_1tosag4_di" bpmnElement="Task_1tosag4">
121         <dc:Bounds x="830" y="152" width="100" height="80" />
122       </bpmndi:BPMNShape>
123       <bpmndi:BPMNEdge id="DataOutputAssociation_0iwh0gi_di" bpmnElement="DataOutputAssociation_0iwh0gi">
124         <di:waypoint x="930" y="192" />
125         <di:waypoint x="992" y="192" />
126       </bpmndi:BPMNEdge>
127       <bpmndi:BPMNEdge id="DataOutputAssociation_1ustd8r_di" bpmnElement="DataOutputAssociation_1ustd8r">
128         <di:waypoint x="930" y="192" />
129         <di:waypoint x="992" y="192" />
130       </bpmndi:BPMNEdge>
131       <bpmndi:BPMNShape id="Task_0fs65yp_di" bpmnElement="Task_0fs65yp">
132         <dc:Bounds x="465" y="152" width="100" height="80" />
133       </bpmndi:BPMNShape>
134       <bpmndi:BPMNShape id="Task_1kanz3j_di" bpmnElement="Task_1kanz3j">
135         <dc:Bounds x="282" y="152" width="100" height="80" />
136       </bpmndi:BPMNShape>
137       <bpmndi:BPMNShape id="DataObjectReference_1paeomp_di" bpmnElement="DataObjectReference_1paeomp">
138         <dc:Bounds x="180" y="167" width="36" height="50" />
139         <bpmndi:BPMNLabel>
140           <dc:Bounds x="180" y="224" width="37" height="27" />
141         </bpmndi:BPMNLabel>
142       </bpmndi:BPMNShape>
143       <bpmndi:BPMNEdge id="DataInputAssociation_0qg613d_di" bpmnElement="DataInputAssociation_0qg613d">
144         <di:waypoint x="216" y="192" />
145         <di:waypoint x="282" y="192" />
146       </bpmndi:BPMNEdge>
147       <bpmndi:BPMNShape id="StartEvent_1t6nxib_di" bpmnElement="StartEvent_1t6nxib">
148         <dc:Bounds x="71" y="174" width="36" height="36" />
149       </bpmndi:BPMNShape>
150       <bpmndi:BPMNEdge id="DataOutputAssociation_1u87f7i_di" bpmnElement="DataOutputAssociation_1u87f7i">
151         <di:waypoint x="107" y="192" />
152         <di:waypoint x="180" y="192" />
153       </bpmndi:BPMNEdge>
154       <bpmndi:BPMNEdge id="SequenceFlow_0utq8ut_di" bpmnElement="SequenceFlow_0utq8ut">
155         <di:waypoint x="622" y="-156" />
156         <di:waypoint x="332" y="-156" />
157         <di:waypoint x="332" y="-25" />
158       </bpmndi:BPMNEdge>
159       <bpmndi:BPMNEdge id="SequenceFlow_1xc6g12_di" bpmnElement="SequenceFlow_1xc6g12">
160         <di:waypoint x="622" y="-156" />
161         <di:waypoint x="515" y="-156" />
162         <di:waypoint x="515" y="-25" />
163       </bpmndi:BPMNEdge>
164       <bpmndi:BPMNEdge id="SequenceFlow_0azrswq_di" bpmnElement="SequenceFlow_0azrswq">
165         <di:waypoint x="722" y="-156" />
166         <di:waypoint x="880" y="-156" />
167         <di:waypoint x="880" y="-25" />
168       </bpmndi:BPMNEdge>
169       <bpmndi:BPMNEdge id="SequenceFlow_03ohp0o_di" bpmnElement="SequenceFlow_03ohp0o">
170         <di:waypoint x="880" y="152" />
171         <di:waypoint x="880" y="55" />
172       </bpmndi:BPMNEdge>
173       <bpmndi:BPMNEdge id="SequenceFlow_0okj60f_di" bpmnElement="SequenceFlow_0okj60f">
174         <di:waypoint x="697" y="192" />
175         <di:waypoint x="830" y="192" />
176         <bpmndi:BPMNLabel>
177           <dc:Bounds x="736" y="174" width="62" height="27" />
178         </bpmndi:BPMNLabel>
179       </bpmndi:BPMNEdge>
180       <bpmndi:BPMNEdge id="SequenceFlow_1a5mps5_di" bpmnElement="SequenceFlow_1a5mps5">
181         <di:waypoint x="332" y="152" />
182         <di:waypoint x="332" y="55" />
183       </bpmndi:BPMNEdge>
184       <bpmndi:BPMNEdge id="SequenceFlow_10v2c9r_di" bpmnElement="SequenceFlow_10v2c9r">
185         <di:waypoint x="672" y="217" />
186         <di:waypoint x="672" y="266" />
187         <di:waypoint x="332" y="266" />
188         <di:waypoint x="332" y="232" />
189       </bpmndi:BPMNEdge>
190       <bpmndi:BPMNEdge id="SequenceFlow_0azv06r_di" bpmnElement="SequenceFlow_0azv06r">
191         <di:waypoint x="515" y="152" />
192         <di:waypoint x="515" y="55" />
193       </bpmndi:BPMNEdge>
194       <bpmndi:BPMNEdge id="SequenceFlow_1gbx7mw_di" bpmnElement="SequenceFlow_1gbx7mw">
195         <di:waypoint x="382" y="192" />
196         <di:waypoint x="465" y="192" />
197       </bpmndi:BPMNEdge>
198       <bpmndi:BPMNEdge id="SequenceFlow_032ipyi_di" bpmnElement="SequenceFlow_032ipyi">
199         <di:waypoint x="565" y="192" />
200         <di:waypoint x="647" y="192" />
201       </bpmndi:BPMNEdge>
202       <bpmndi:BPMNShape id="ExclusiveGateway_0pzjnfx_di" bpmnElement="ExclusiveGateway_0onybdl" isMarkerVisible="true">
203         <dc:Bounds x="647" y="167" width="50" height="50" />
204       </bpmndi:BPMNShape>
205     </bpmndi:BPMNPlane>
206   </bpmndi:BPMNDiagram>
207 </bpmn:definitions>