blob: 251af54305fa103244a72110c60a4f6feddfd8bc [file] [log] [blame]
Rob Daugherty38f72072018-03-14 02:07:32 -04001<?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" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="1.8.2">
3 <bpmn:process id="DoCreateServiceInstanceV2" name="DoCreateServiceInstanceV2" isExecutable="true">
4 <bpmn:startEvent id="StartEvent_1" name="Start">
5 <bpmn:outgoing>SequenceFlow_0g8qp84</bpmn:outgoing>
6 </bpmn:startEvent>
7 <bpmn:sequenceFlow id="SequenceFlow_0651nnp" sourceRef="ScriptTask_1" targetRef="ScriptTask_2" />
8 <bpmn:sequenceFlow id="SequenceFlow_0u0ptz7" sourceRef="ScriptTask_2" targetRef="ScriptTask_3" />
9 <bpmn:exclusiveGateway id="ExclusiveGateway_1" name="Run SDNC Request?">
10 <bpmn:incoming>SequenceFlow_0ekno6w</bpmn:incoming>
11 <bpmn:outgoing>SequenceFlow_1t50vt9</bpmn:outgoing>
12 <bpmn:outgoing>SequenceFlow_0xhy3o1</bpmn:outgoing>
13 </bpmn:exclusiveGateway>
14 <bpmn:sequenceFlow id="SequenceFlow_0ekno6w" sourceRef="ScriptTask_3" targetRef="ExclusiveGateway_1" />
15 <bpmn:sequenceFlow id="SequenceFlow_1t50vt9" name="Yes" sourceRef="ExclusiveGateway_1" targetRef="ScriptTask_4">
16 <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[#{execution.getVariable("callSDNC")}]]></bpmn:conditionExpression>
17 </bpmn:sequenceFlow>
18 <bpmn:endEvent id="EndEvent_2" name="End">
19 <bpmn:incoming>SequenceFlow_0xhy3o1</bpmn:incoming>
20 </bpmn:endEvent>
21 <bpmn:sequenceFlow id="SequenceFlow_0xhy3o1" name="No" sourceRef="ExclusiveGateway_1" targetRef="EndEvent_2" />
22 <bpmn:endEvent id="EndEvent_1" name="End">
23 <bpmn:incoming>SequenceFlow_0eryvle</bpmn:incoming>
24 </bpmn:endEvent>
25 <bpmn:sequenceFlow id="SequenceFlow_0eryvle" sourceRef="ScriptTask_4" targetRef="EndEvent_1" />
26 <bpmn:scriptTask id="ScriptTask_1" name="Create Service Instance (A&#38;AI)" scriptFormat="groovy">
27 <bpmn:incoming>SequenceFlow_0g8qp84</bpmn:incoming>
28 <bpmn:outgoing>SequenceFlow_0651nnp</bpmn:outgoing>
29 <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
30def dcsi = new DoCreateServiceInstanceV2()
31dcsi.createServiceInstance(execution)]]></bpmn:script>
32 </bpmn:scriptTask>
33 <bpmn:scriptTask id="ScriptTask_2" name="Create Project (A&#38;AI)" scriptFormat="groovy">
34 <bpmn:incoming>SequenceFlow_0651nnp</bpmn:incoming>
35 <bpmn:outgoing>SequenceFlow_0u0ptz7</bpmn:outgoing>
36 <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
37def dcsi = new DoCreateServiceInstanceV2()
38dcsi.createProject(execution)]]></bpmn:script>
39 </bpmn:scriptTask>
40 <bpmn:scriptTask id="ScriptTask_3" name="Create Owning Entity (A&#38;AI)" scriptFormat="groovy">
41 <bpmn:incoming>SequenceFlow_0u0ptz7</bpmn:incoming>
42 <bpmn:outgoing>SequenceFlow_0ekno6w</bpmn:outgoing>
43 <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
44def dcsi = new DoCreateServiceInstanceV2()
45dcsi.createOwningEntity(execution)]]></bpmn:script>
46 </bpmn:scriptTask>
47 <bpmn:scriptTask id="ScriptTask_4" name="Create Service Instance (SDNC)" scriptFormat="groovy">
48 <bpmn:incoming>SequenceFlow_1t50vt9</bpmn:incoming>
49 <bpmn:outgoing>SequenceFlow_0eryvle</bpmn:outgoing>
50 <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
51def dcsi = new DoCreateServiceInstanceV2()
52dcsi.sdncCreateServiceInstance(execution)]]></bpmn:script>
53 </bpmn:scriptTask>
54 <bpmn:subProcess id="SubProcess_0lezgt7" name="Error Handling" triggeredByEvent="true">
55 <bpmn:startEvent id="ErrorEvent_2" name="Error">
56 <bpmn:outgoing>SequenceFlow_0mk8fd7</bpmn:outgoing>
57 <bpmn:errorEventDefinition />
58 </bpmn:startEvent>
59 <bpmn:endEvent id="EndEvent_3" name="End">
60 <bpmn:incoming>SequenceFlow_14mdxgk</bpmn:incoming>
61 </bpmn:endEvent>
62 <bpmn:sequenceFlow id="SequenceFlow_0mk8fd7" sourceRef="ErrorEvent_2" targetRef="SubTask_1" />
63 <bpmn:sequenceFlow id="SequenceFlow_14mdxgk" sourceRef="SubTask_1" targetRef="EndEvent_3" />
64 <bpmn:callActivity id="SubTask_1" name="DoCreate Rollback" calledElement="DoCreateServiceInstanceRollbackV2">
65 <bpmn:extensionElements>
66 <camunda:in source="sdncRollback" target="sdncRollback" />
67 <camunda:in source="aaiServiceInstanceRollback" target="aaiServiceInstanceRollback" />
68 <camunda:in source="ServiceDecomposition" target="ServiceDecomposition" />
69 </bpmn:extensionElements>
70 <bpmn:incoming>SequenceFlow_0mk8fd7</bpmn:incoming>
71 <bpmn:outgoing>SequenceFlow_14mdxgk</bpmn:outgoing>
72 </bpmn:callActivity>
73 </bpmn:subProcess>
74 <bpmn:sequenceFlow id="SequenceFlow_0g8qp84" sourceRef="StartEvent_1" targetRef="ScriptTask_1" />
75 </bpmn:process>
76 <bpmndi:BPMNDiagram id="BPMNDiagram_1">
77 <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="DoCreateServiceInstanceV2">
78 <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
79 <dc:Bounds x="166" y="102" width="36" height="36" />
80 <bpmndi:BPMNLabel>
81 <dc:Bounds x="173" y="138" width="23" height="12" />
82 </bpmndi:BPMNLabel>
83 </bpmndi:BPMNShape>
84 <bpmndi:BPMNEdge id="SequenceFlow_0651nnp_di" bpmnElement="SequenceFlow_0651nnp">
85 <di:waypoint xsi:type="dc:Point" x="371" y="120" />
86 <di:waypoint xsi:type="dc:Point" x="442" y="120" />
87 <bpmndi:BPMNLabel>
88 <dc:Bounds x="406.5" y="99" width="0" height="12" />
89 </bpmndi:BPMNLabel>
90 </bpmndi:BPMNEdge>
91 <bpmndi:BPMNEdge id="SequenceFlow_0u0ptz7_di" bpmnElement="SequenceFlow_0u0ptz7">
92 <di:waypoint xsi:type="dc:Point" x="542" y="120" />
93 <di:waypoint xsi:type="dc:Point" x="620" y="120" />
94 <bpmndi:BPMNLabel>
95 <dc:Bounds x="581" y="99" width="0" height="12" />
96 </bpmndi:BPMNLabel>
97 </bpmndi:BPMNEdge>
98 <bpmndi:BPMNShape id="ExclusiveGateway_1hnvq9n_di" bpmnElement="ExclusiveGateway_1" isMarkerVisible="true">
99 <dc:Bounds x="784" y="95" width="50" height="50" />
100 <bpmndi:BPMNLabel>
101 <dc:Bounds x="773" y="67" width="72" height="24" />
102 </bpmndi:BPMNLabel>
103 </bpmndi:BPMNShape>
104 <bpmndi:BPMNEdge id="SequenceFlow_0ekno6w_di" bpmnElement="SequenceFlow_0ekno6w">
105 <di:waypoint xsi:type="dc:Point" x="720" y="120" />
106 <di:waypoint xsi:type="dc:Point" x="784" y="120" />
107 <bpmndi:BPMNLabel>
108 <dc:Bounds x="752" y="99" width="0" height="12" />
109 </bpmndi:BPMNLabel>
110 </bpmndi:BPMNEdge>
111 <bpmndi:BPMNEdge id="SequenceFlow_1t50vt9_di" bpmnElement="SequenceFlow_1t50vt9">
112 <di:waypoint xsi:type="dc:Point" x="834" y="120" />
113 <di:waypoint xsi:type="dc:Point" x="911" y="120" />
114 <bpmndi:BPMNLabel>
115 <dc:Bounds x="856" y="94" width="14" height="12" />
116 </bpmndi:BPMNLabel>
117 </bpmndi:BPMNEdge>
118 <bpmndi:BPMNShape id="EndEvent_1tlnfr4_di" bpmnElement="EndEvent_2">
119 <dc:Bounds x="791" y="196" width="36" height="36" />
120 <bpmndi:BPMNLabel>
121 <dc:Bounds x="800" y="236" width="19" height="12" />
122 </bpmndi:BPMNLabel>
123 </bpmndi:BPMNShape>
124 <bpmndi:BPMNEdge id="SequenceFlow_0xhy3o1_di" bpmnElement="SequenceFlow_0xhy3o1">
125 <di:waypoint xsi:type="dc:Point" x="809" y="145" />
126 <di:waypoint xsi:type="dc:Point" x="809" y="196" />
127 <bpmndi:BPMNLabel>
128 <dc:Bounds x="815" y="165" width="18" height="12" />
129 </bpmndi:BPMNLabel>
130 </bpmndi:BPMNEdge>
131 <bpmndi:BPMNShape id="EndEvent_015y2ht_di" bpmnElement="EndEvent_1">
132 <dc:Bounds x="1078" y="102" width="36" height="36" />
133 <bpmndi:BPMNLabel>
134 <dc:Bounds x="1087" y="142" width="19" height="12" />
135 </bpmndi:BPMNLabel>
136 </bpmndi:BPMNShape>
137 <bpmndi:BPMNEdge id="SequenceFlow_0eryvle_di" bpmnElement="SequenceFlow_0eryvle">
138 <di:waypoint xsi:type="dc:Point" x="1011" y="120" />
139 <di:waypoint xsi:type="dc:Point" x="1078" y="120" />
140 <bpmndi:BPMNLabel>
141 <dc:Bounds x="1044.5" y="99" width="0" height="12" />
142 </bpmndi:BPMNLabel>
143 </bpmndi:BPMNEdge>
144 <bpmndi:BPMNShape id="ScriptTask_1qtzumy_di" bpmnElement="ScriptTask_1">
145 <dc:Bounds x="271" y="80" width="100" height="80" />
146 </bpmndi:BPMNShape>
147 <bpmndi:BPMNShape id="ScriptTask_10octqt_di" bpmnElement="ScriptTask_2">
148 <dc:Bounds x="442" y="80" width="100" height="80" />
149 </bpmndi:BPMNShape>
150 <bpmndi:BPMNShape id="ScriptTask_140drj4_di" bpmnElement="ScriptTask_3">
151 <dc:Bounds x="620" y="80" width="100" height="80" />
152 </bpmndi:BPMNShape>
153 <bpmndi:BPMNShape id="ScriptTask_1q37c16_di" bpmnElement="ScriptTask_4">
154 <dc:Bounds x="911" y="80" width="100" height="80" />
155 </bpmndi:BPMNShape>
156 <bpmndi:BPMNShape id="SubProcess_1p4inl6_di" bpmnElement="SubProcess_0lezgt7" isExpanded="true">
157 <dc:Bounds x="368" y="268" width="350" height="200" />
158 </bpmndi:BPMNShape>
159 <bpmndi:BPMNShape id="StartEvent_0g6sxcc_di" bpmnElement="ErrorEvent_2">
160 <dc:Bounds x="409" y="335" width="36" height="36" />
161 <bpmndi:BPMNLabel>
162 <dc:Bounds x="415" y="375" width="25" height="12" />
163 </bpmndi:BPMNLabel>
164 </bpmndi:BPMNShape>
165 <bpmndi:BPMNShape id="EndEvent_061qhx5_di" bpmnElement="EndEvent_3">
166 <dc:Bounds x="623" y="335" width="36" height="36" />
167 <bpmndi:BPMNLabel>
168 <dc:Bounds x="632" y="375" width="19" height="12" />
169 </bpmndi:BPMNLabel>
170 </bpmndi:BPMNShape>
171 <bpmndi:BPMNEdge id="SequenceFlow_0g8qp84_di" bpmnElement="SequenceFlow_0g8qp84">
172 <di:waypoint xsi:type="dc:Point" x="202" y="120" />
173 <di:waypoint xsi:type="dc:Point" x="271" y="120" />
174 <bpmndi:BPMNLabel>
175 <dc:Bounds x="191.5" y="99" width="90" height="12" />
176 </bpmndi:BPMNLabel>
177 </bpmndi:BPMNEdge>
178 <bpmndi:BPMNEdge id="SequenceFlow_0mk8fd7_di" bpmnElement="SequenceFlow_0mk8fd7">
179 <di:waypoint xsi:type="dc:Point" x="445" y="353" />
180 <di:waypoint xsi:type="dc:Point" x="482" y="353" />
181 <bpmndi:BPMNLabel>
182 <dc:Bounds x="463.5" y="332" width="0" height="12" />
183 </bpmndi:BPMNLabel>
184 </bpmndi:BPMNEdge>
185 <bpmndi:BPMNEdge id="SequenceFlow_14mdxgk_di" bpmnElement="SequenceFlow_14mdxgk">
186 <di:waypoint xsi:type="dc:Point" x="582" y="353" />
187 <di:waypoint xsi:type="dc:Point" x="623" y="353" />
188 <bpmndi:BPMNLabel>
189 <dc:Bounds x="602.5" y="332" width="0" height="12" />
190 </bpmndi:BPMNLabel>
191 </bpmndi:BPMNEdge>
192 <bpmndi:BPMNShape id="CallActivity_1jzchuz_di" bpmnElement="SubTask_1">
193 <dc:Bounds x="482" y="313" width="100" height="80" />
194 </bpmndi:BPMNShape>
195 </bpmndi:BPMNPlane>
196 </bpmndi:BPMNDiagram>
197</bpmn:definitions>