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