Containerization feature of SO
[so.git] / bpmn / MSOCoreBPMN / src / test / resources / BaseTaskTest.bpmn
1 <?xml version="1.0" encoding="UTF-8"?>
2 <bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd" id="_IS440DbGEeWouodEI7MXGQ" exporter="camunda modeler" exporterVersion="2.7.0" targetNamespace="http://camunda.org/schema/1.0/bpmn">
3   <bpmn2:process id="BaseTaskTest" name="BaseTaskTest" isExecutable="true">
4     <bpmn2:startEvent id="StartEvent_1">
5       <bpmn2:outgoing>SequenceFlow_1</bpmn2:outgoing>
6     </bpmn2:startEvent>
7     <bpmn2:serviceTask id="ServiceTask_1" camunda:class="org.onap.so.bpmn.core.TestBaseTask$TestTask" name="TestTask">
8       <bpmn2:extensionElements>
9         <camunda:field name="existingString">
10           <camunda:string>Hello World</camunda:string>
11         </camunda:field>
12         <camunda:field name="existingStringFromVar">
13           <camunda:expression>${firstName}</camunda:expression>
14         </camunda:field>
15         <camunda:field name="nonExistingStringFromVar">
16           <camunda:expression>${undefinedVariable}</camunda:expression>
17         </camunda:field>
18         <camunda:field name="existingInteger">
19           <camunda:string>42</camunda:string>
20         </camunda:field>
21         <camunda:field name="existingIntegerFromVar">
22           <camunda:expression>${age}</camunda:expression>
23         </camunda:field>
24         <camunda:field name="nonExistingIntegerFromVar">
25           <camunda:expression>${undefinedVariable}</camunda:expression>
26         </camunda:field>
27         <camunda:field name="existingLong">
28           <camunda:string>123456789</camunda:string>
29         </camunda:field>
30         <camunda:field name="existingLongFromVar">
31           <camunda:expression>${lastVisit}</camunda:expression>
32         </camunda:field>
33         <camunda:field name="nonExistingLongFromVar">
34           <camunda:expression>${undefinedVariable}</camunda:expression>
35         </camunda:field>
36         <camunda:field name="existingOutputVar">
37           <camunda:string>goodVariable</camunda:string>
38         </camunda:field>
39         <camunda:field name="existingBadOutputVar">
40           <camunda:string>bad Variable</camunda:string>
41         </camunda:field>
42       </bpmn2:extensionElements>
43       <bpmn2:incoming>SequenceFlow_1</bpmn2:incoming>
44       <bpmn2:outgoing>SequenceFlow_2</bpmn2:outgoing>
45     </bpmn2:serviceTask>
46     <bpmn2:sequenceFlow id="SequenceFlow_1" name="" sourceRef="StartEvent_1" targetRef="ServiceTask_1"/>
47     <bpmn2:sequenceFlow id="SequenceFlow_2" name="" sourceRef="ServiceTask_1" targetRef="EndEvent_1"/>
48     <bpmn2:endEvent id="EndEvent_1">
49       <bpmn2:incoming>SequenceFlow_2</bpmn2:incoming>
50     </bpmn2:endEvent>
51   </bpmn2:process>
52   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
53     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="BaseTaskTest">
54       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_36" bpmnElement="StartEvent_1">
55         <dc:Bounds height="36.0" width="36.0" x="55.0" y="38.0"/>
56       </bpmndi:BPMNShape>
57       <bpmndi:BPMNShape id="_BPMNShape_ServiceTask_68" bpmnElement="ServiceTask_1">
58         <dc:Bounds height="80.0" width="100.0" x="180.0" y="16.0"/>
59       </bpmndi:BPMNShape>
60       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_1" bpmnElement="SequenceFlow_1" sourceElement="_BPMNShape_StartEvent_36" targetElement="_BPMNShape_ServiceTask_68">
61         <di:waypoint xsi:type="dc:Point" x="91.0" y="56.0"/>
62         <di:waypoint xsi:type="dc:Point" x="180.0" y="56.0"/>
63       </bpmndi:BPMNEdge>
64       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_83" bpmnElement="EndEvent_1">
65         <dc:Bounds height="36.0" width="36.0" x="369.0" y="38.0"/>
66         <bpmndi:BPMNLabel>
67           <dc:Bounds height="0.0" width="0.0" x="387.0" y="79.0"/>
68         </bpmndi:BPMNLabel>
69       </bpmndi:BPMNShape>
70       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_2" bpmnElement="SequenceFlow_2" sourceElement="_BPMNShape_ServiceTask_68" targetElement="_BPMNShape_EndEvent_83">
71         <di:waypoint xsi:type="dc:Point" x="280.0" y="56.0"/>
72         <di:waypoint xsi:type="dc:Point" x="369.0" y="56.0"/>
73         <bpmndi:BPMNLabel>
74           <dc:Bounds height="6.0" width="6.0" x="370.0" y="57.0"/>
75         </bpmndi:BPMNLabel>
76       </bpmndi:BPMNEdge>
77     </bpmndi:BPMNPlane>
78   </bpmndi:BPMNDiagram>
79 </bpmn2:definitions>