1 <?xml version="1.0" encoding="UTF-8"?>
\r
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:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="_MagIIMOUEeW8asg-vCEgWQ" targetNamespace="http://camunda.org/schema/1.0/bpmn" exporter="Camunda Modeler" exporterVersion="1.4.0" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd">
\r
3 <bpmn2:process id="DecomposeService" name="DecomposeService" isExecutable="true">
\r
4 <bpmn2:startEvent id="createSI_startEvent" name="Start Flow">
\r
5 <bpmn2:outgoing>SequenceFlow_1</bpmn2:outgoing>
\r
7 <bpmn2:sequenceFlow id="SequenceFlow_1" name="" sourceRef="createSI_startEvent" targetRef="preProcessRequest_ScriptTask" />
\r
8 <bpmn2:endEvent id="EndEvent_3">
\r
9 <bpmn2:incoming>SequenceFlow_0tj2l1j</bpmn2:incoming>
\r
11 <bpmn2:subProcess id="SubProcess_06d8lk8" name="Java Exception Handling Sub Process" triggeredByEvent="true">
\r
12 <bpmn2:startEvent id="StartEvent_0yljq9y">
\r
13 <bpmn2:outgoing>SequenceFlow_0tgrn11</bpmn2:outgoing>
\r
14 <bpmn2:errorEventDefinition errorRef="Error_1" />
\r
16 <bpmn2:endEvent id="EndEvent_117lkk3">
\r
17 <bpmn2:incoming>SequenceFlow_0g4aus9</bpmn2:incoming>
\r
19 <bpmn2:sequenceFlow id="SequenceFlow_0tgrn11" sourceRef="StartEvent_0yljq9y" targetRef="processJavaError" />
\r
20 <bpmn2:scriptTask id="processJavaError" name="Process Error" scriptFormat="groovy">
\r
21 <bpmn2:incoming>SequenceFlow_0tgrn11</bpmn2:incoming>
\r
22 <bpmn2:outgoing>SequenceFlow_0g4aus9</bpmn2:outgoing>
\r
23 <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
\r
24 ExceptionUtil exceptionUtil = new ExceptionUtil()
\r
25 exceptionUtil.processJavaException(execution)]]></bpmn2:script>
\r
27 <bpmn2:sequenceFlow id="SequenceFlow_0g4aus9" sourceRef="processJavaError" targetRef="EndEvent_117lkk3" />
\r
29 <bpmn2:scriptTask id="decomposeService_ScriptTask" name="Decompose Service" scriptFormat="groovy">
\r
30 <bpmn2:incoming>SequenceFlow_12vj619</bpmn2:incoming>
\r
31 <bpmn2:outgoing>SequenceFlow_0tj2l1j</bpmn2:outgoing>
\r
32 <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
\r
33 def dds = new DecomposeService()
\r
34 dds.actuallyDecomposeService(execution)]]></bpmn2:script>
\r
36 <bpmn2:sequenceFlow id="SequenceFlow_0tj2l1j" sourceRef="decomposeService_ScriptTask" targetRef="EndEvent_3" />
\r
37 <bpmn2:scriptTask id="preProcessRequest_ScriptTask" name="PreProcess Incoming Request" scriptFormat="groovy">
\r
38 <bpmn2:incoming>SequenceFlow_1</bpmn2:incoming>
\r
39 <bpmn2:outgoing>SequenceFlow_0yxffj2</bpmn2:outgoing>
\r
40 <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
\r
41 def dds = new DecomposeService()
\r
42 dds.preProcessRequest(execution)
\r
45 <bpmn2:sequenceFlow id="SequenceFlow_0yxffj2" sourceRef="preProcessRequest_ScriptTask" targetRef="queryCatalogDB_ScriptTask" />
\r
46 <bpmn2:sequenceFlow id="SequenceFlow_12vj619" sourceRef="queryCatalogDB_ScriptTask" targetRef="decomposeService_ScriptTask" />
\r
47 <bpmn2:scriptTask id="queryCatalogDB_ScriptTask" name="Query Catalog DB" scriptFormat="groovy">
\r
48 <bpmn2:incoming>SequenceFlow_0yxffj2</bpmn2:incoming>
\r
49 <bpmn2:outgoing>SequenceFlow_12vj619</bpmn2:outgoing>
\r
50 <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
\r
51 def dds = new DecomposeService()
\r
52 dds.queryCatalogDb(execution)]]></bpmn2:script>
\r
55 <bpmn2:error id="Error_2" name="MSOWorkflowException" errorCode="MSOWorkflowException" />
\r
56 <bpmn2:error id="Error_1" name="java.lang.Exception" errorCode="java.lang.Exception" />
\r
57 <bpmndi:BPMNDiagram id="BPMNDiagram_1">
\r
58 <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="DecomposeService">
\r
59 <bpmndi:BPMNShape id="_BPMNShape_StartEvent_47" bpmnElement="createSI_startEvent">
\r
60 <dc:Bounds x="152" y="79" width="36" height="36" />
\r
62 <dc:Bounds x="147" y="120" width="48" height="14" />
\r
65 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_1" bpmnElement="SequenceFlow_1" sourceElement="_BPMNShape_StartEvent_47" targetElement="_BPMNShape_ScriptTask_61">
\r
66 <di:waypoint xsi:type="dc:Point" x="188" y="97" />
\r
67 <di:waypoint xsi:type="dc:Point" x="301" y="97" />
\r
69 <dc:Bounds x="245" y="82" width="0" height="0" />
\r
72 <bpmndi:BPMNShape id="_BPMNShape_EndEvent_177" bpmnElement="EndEvent_3">
\r
73 <dc:Bounds x="898" y="79" width="36" height="36" />
\r
75 <dc:Bounds x="916" y="120" width="0" height="0" />
\r
78 <bpmndi:BPMNShape id="SubProcess_06d8lk8_di" bpmnElement="SubProcess_06d8lk8" isExpanded="true">
\r
79 <dc:Bounds x="142" y="243" width="417" height="161" />
\r
81 <bpmndi:BPMNShape id="StartEvent_0yljq9y_di" bpmnElement="StartEvent_0yljq9y">
\r
82 <dc:Bounds x="179" y="310" width="36" height="36" />
\r
84 <dc:Bounds x="197" y="351" width="0" height="0" />
\r
87 <bpmndi:BPMNShape id="EndEvent_117lkk3_di" bpmnElement="EndEvent_117lkk3">
\r
88 <dc:Bounds x="465" y="310" width="36" height="36" />
\r
90 <dc:Bounds x="483" y="351" width="0" height="0" />
\r
93 <bpmndi:BPMNEdge id="SequenceFlow_0tgrn11_di" bpmnElement="SequenceFlow_0tgrn11">
\r
94 <di:waypoint xsi:type="dc:Point" x="215" y="328" />
\r
95 <di:waypoint xsi:type="dc:Point" x="290" y="328" />
\r
97 <dc:Bounds x="253" y="313" width="0" height="0" />
\r
100 <bpmndi:BPMNShape id="ScriptTask_0twd3su_di" bpmnElement="decomposeService_ScriptTask">
\r
101 <dc:Bounds x="708" y="57" width="100" height="80" />
\r
102 </bpmndi:BPMNShape>
\r
103 <bpmndi:BPMNEdge id="SequenceFlow_0tj2l1j_di" bpmnElement="SequenceFlow_0tj2l1j">
\r
104 <di:waypoint xsi:type="dc:Point" x="808" y="97" />
\r
105 <di:waypoint xsi:type="dc:Point" x="898" y="97" />
\r
107 <dc:Bounds x="853" y="82" width="0" height="0" />
\r
108 </bpmndi:BPMNLabel>
\r
110 <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_61" bpmnElement="preProcessRequest_ScriptTask">
\r
111 <dc:Bounds x="301" y="57" width="100" height="80" />
\r
112 </bpmndi:BPMNShape>
\r
113 <bpmndi:BPMNEdge id="SequenceFlow_0yxffj2_di" bpmnElement="SequenceFlow_0yxffj2">
\r
114 <di:waypoint xsi:type="dc:Point" x="401" y="97" />
\r
115 <di:waypoint xsi:type="dc:Point" x="513" y="97" />
\r
117 <dc:Bounds x="457" y="82" width="0" height="0" />
\r
118 </bpmndi:BPMNLabel>
\r
120 <bpmndi:BPMNShape id="ScriptTask_0b5155c_di" bpmnElement="processJavaError">
\r
121 <dc:Bounds x="290" y="288" width="100" height="80" />
\r
122 </bpmndi:BPMNShape>
\r
123 <bpmndi:BPMNEdge id="SequenceFlow_0g4aus9_di" bpmnElement="SequenceFlow_0g4aus9">
\r
124 <di:waypoint xsi:type="dc:Point" x="390" y="328" />
\r
125 <di:waypoint xsi:type="dc:Point" x="465" y="328" />
\r
127 <dc:Bounds x="428" y="313" width="0" height="0" />
\r
128 </bpmndi:BPMNLabel>
\r
130 <bpmndi:BPMNEdge id="SequenceFlow_12vj619_di" bpmnElement="SequenceFlow_12vj619">
\r
131 <di:waypoint xsi:type="dc:Point" x="613" y="97" />
\r
132 <di:waypoint xsi:type="dc:Point" x="708" y="97" />
\r
134 <dc:Bounds x="661" y="82" width="0" height="0" />
\r
135 </bpmndi:BPMNLabel>
\r
137 <bpmndi:BPMNShape id="ScriptTask_17xngtx_di" bpmnElement="queryCatalogDB_ScriptTask">
\r
138 <dc:Bounds x="513" y="57" width="100" height="80" />
\r
139 </bpmndi:BPMNShape>
\r
140 </bpmndi:BPMNPlane>
\r
141 </bpmndi:BPMNDiagram>
\r
142 </bpmn2:definitions>
\r