AT&T 1712 and 1802 release code
[so.git] / bpmn / MSOCommonBPMN / src / main / resources / subprocess / BuildingBlock / AppCClient.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:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="1.9.0">
3   <bpmn:process id="AppCClient" name="AppCClient" isExecutable="true">
4     <bpmn:startEvent id="StartEvent_1" name="Start">
5       <bpmn:outgoing>SequenceFlow_1wz1rfg</bpmn:outgoing>
6     </bpmn:startEvent>
7     <bpmn:sequenceFlow id="SequenceFlow_1wz1rfg" sourceRef="StartEvent_1" targetRef="PreProcessRequest" />
8     <bpmn:scriptTask id="PreProcessRequest" name="PreProcessRequest" scriptFormat="groovy">
9       <bpmn:incoming>SequenceFlow_1wz1rfg</bpmn:incoming>
10       <bpmn:outgoing>SequenceFlow_14vlkf4</bpmn:outgoing>
11       <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
12 def acc = new AppCClient()
13 acc.preProcessRequest(execution)]]></bpmn:script>
14     </bpmn:scriptTask>
15     <bpmn:endEvent id="EndEvent_1k6463v">
16       <bpmn:incoming>SequenceFlow_1j937vi</bpmn:incoming>
17     </bpmn:endEvent>
18     <bpmn:sequenceFlow id="SequenceFlow_14vlkf4" sourceRef="PreProcessRequest" targetRef="Task_12dmd3n" />
19     <bpmn:sequenceFlow id="SequenceFlow_1j937vi" sourceRef="Task_12dmd3n" targetRef="EndEvent_1k6463v" />
20     <bpmn:scriptTask id="Task_12dmd3n" name="Call APP-C VNF Start" scriptFormat="groovy">
21       <bpmn:incoming>SequenceFlow_14vlkf4</bpmn:incoming>
22       <bpmn:outgoing>SequenceFlow_1j937vi</bpmn:outgoing>
23       <bpmn:script><![CDATA[import org.onap.appc.client.lcm.model.Action
24 import org.openecomp.mso.bpmn.common.scripts.*
25 def acc = new AppCClient()
26 acc.runAppcCommand(execution)]]></bpmn:script>
27     </bpmn:scriptTask>
28     <bpmn:subProcess id="SubProcess_1qgfsqz" triggeredByEvent="true">
29       <bpmn:startEvent id="StartEvent_0d3qxzd">
30         <bpmn:outgoing>SequenceFlow_1wi3avf</bpmn:outgoing>
31         <bpmn:errorEventDefinition />
32       </bpmn:startEvent>
33       <bpmn:endEvent id="EndEvent_187ulsw">
34         <bpmn:incoming>SequenceFlow_1gq753e</bpmn:incoming>
35       </bpmn:endEvent>
36       <bpmn:sequenceFlow id="SequenceFlow_1gq753e" sourceRef="Task_0a36o0m" targetRef="EndEvent_187ulsw" />
37       <bpmn:sequenceFlow id="SequenceFlow_1wi3avf" sourceRef="StartEvent_0d3qxzd" targetRef="Task_0a36o0m" />
38       <bpmn:scriptTask id="Task_0a36o0m" name="Process Error" scriptFormat="groovy">
39         <bpmn:incoming>SequenceFlow_1wi3avf</bpmn:incoming>
40         <bpmn:outgoing>SequenceFlow_1gq753e</bpmn:outgoing>
41         <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
42
43 ExceptionUtil ex = new ExceptionUtil()
44 ex.processSubflowsBPMNException(execution)]]></bpmn:script>
45       </bpmn:scriptTask>
46     </bpmn:subProcess>
47   </bpmn:process>
48   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
49     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="AppCClient">
50       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
51         <dc:Bounds x="173" y="102" width="36" height="36" />
52         <bpmndi:BPMNLabel>
53           <dc:Bounds x="179" y="138" width="24" height="12" />
54         </bpmndi:BPMNLabel>
55       </bpmndi:BPMNShape>
56       <bpmndi:BPMNEdge id="SequenceFlow_1wz1rfg_di" bpmnElement="SequenceFlow_1wz1rfg">
57         <di:waypoint xsi:type="dc:Point" x="209" y="120" />
58         <di:waypoint xsi:type="dc:Point" x="306" y="119" />
59         <bpmndi:BPMNLabel>
60           <dc:Bounds x="257.5" y="98.5" width="0" height="12" />
61         </bpmndi:BPMNLabel>
62       </bpmndi:BPMNEdge>
63       <bpmndi:BPMNShape id="ScriptTask_0369vot_di" bpmnElement="PreProcessRequest">
64         <dc:Bounds x="306" y="79" width="100" height="80" />
65       </bpmndi:BPMNShape>
66       <bpmndi:BPMNShape id="EndEvent_1k6463v_di" bpmnElement="EndEvent_1k6463v">
67         <dc:Bounds x="844" y="102" width="36" height="36" />
68         <bpmndi:BPMNLabel>
69           <dc:Bounds x="817" y="142" width="90" height="12" />
70         </bpmndi:BPMNLabel>
71       </bpmndi:BPMNShape>
72       <bpmndi:BPMNEdge id="SequenceFlow_14vlkf4_di" bpmnElement="SequenceFlow_14vlkf4">
73         <di:waypoint xsi:type="dc:Point" x="406" y="119" />
74         <di:waypoint xsi:type="dc:Point" x="471" y="119" />
75         <di:waypoint xsi:type="dc:Point" x="471" y="120" />
76         <di:waypoint xsi:type="dc:Point" x="520" y="120" />
77         <bpmndi:BPMNLabel>
78           <dc:Bounds x="441" y="113.5" width="90" height="12" />
79         </bpmndi:BPMNLabel>
80       </bpmndi:BPMNEdge>
81       <bpmndi:BPMNEdge id="SequenceFlow_1j937vi_di" bpmnElement="SequenceFlow_1j937vi">
82         <di:waypoint xsi:type="dc:Point" x="620" y="120" />
83         <di:waypoint xsi:type="dc:Point" x="740" y="120" />
84         <di:waypoint xsi:type="dc:Point" x="740" y="120" />
85         <di:waypoint xsi:type="dc:Point" x="844" y="120" />
86         <bpmndi:BPMNLabel>
87           <dc:Bounds x="710" y="114" width="90" height="12" />
88         </bpmndi:BPMNLabel>
89       </bpmndi:BPMNEdge>
90       <bpmndi:BPMNShape id="ScriptTask_08gicz7_di" bpmnElement="Task_12dmd3n">
91         <dc:Bounds x="520" y="80" width="100" height="80" />
92       </bpmndi:BPMNShape>
93       <bpmndi:BPMNShape id="SubProcess_0l79snr_di" bpmnElement="SubProcess_1qgfsqz" isExpanded="true">
94         <dc:Bounds x="124" y="271" width="340" height="159" />
95       </bpmndi:BPMNShape>
96       <bpmndi:BPMNShape id="StartEvent_0d8xcpk_di" bpmnElement="StartEvent_0d3qxzd">
97         <dc:Bounds x="150" y="332" width="36" height="36" />
98         <bpmndi:BPMNLabel>
99           <dc:Bounds x="168" y="372" width="0" height="12" />
100         </bpmndi:BPMNLabel>
101       </bpmndi:BPMNShape>
102       <bpmndi:BPMNShape id="EndEvent_187ulsw_di" bpmnElement="EndEvent_187ulsw">
103         <dc:Bounds x="394" y="332" width="36" height="36" />
104         <bpmndi:BPMNLabel>
105           <dc:Bounds x="412" y="372" width="0" height="12" />
106         </bpmndi:BPMNLabel>
107       </bpmndi:BPMNShape>
108       <bpmndi:BPMNEdge id="SequenceFlow_1gq753e_di" bpmnElement="SequenceFlow_1gq753e">
109         <di:waypoint xsi:type="dc:Point" x="334" y="350" />
110         <di:waypoint xsi:type="dc:Point" x="394" y="350" />
111         <bpmndi:BPMNLabel>
112           <dc:Bounds x="364" y="329" width="0" height="12" />
113         </bpmndi:BPMNLabel>
114       </bpmndi:BPMNEdge>
115       <bpmndi:BPMNEdge id="SequenceFlow_1wi3avf_di" bpmnElement="SequenceFlow_1wi3avf">
116         <di:waypoint xsi:type="dc:Point" x="186" y="350" />
117         <di:waypoint xsi:type="dc:Point" x="234" y="350" />
118         <bpmndi:BPMNLabel>
119           <dc:Bounds x="210" y="329" width="0" height="12" />
120         </bpmndi:BPMNLabel>
121       </bpmndi:BPMNEdge>
122       <bpmndi:BPMNShape id="ScriptTask_1wumcac_di" bpmnElement="Task_0a36o0m">
123         <dc:Bounds x="234" y="310" width="100" height="80" />
124       </bpmndi:BPMNShape>
125     </bpmndi:BPMNPlane>
126   </bpmndi:BPMNDiagram>
127 </bpmn:definitions>