Merge changes I49db843f,I6c6d7a50
[so.git] / bpmn / so-bpmn-building-blocks / src / main / resources / subprocess / BuildingBlock / AssignServiceInstanceBB.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_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="1.8.2">
3   <bpmn:process id="AssignServiceInstanceBB" name="AssignServiceInstanceBB" isExecutable="true">
4     <bpmn:startEvent id="Start_AssignServiceInstanceBB">
5       <bpmn:outgoing>SequenceFlow_1xr6chl</bpmn:outgoing>
6     </bpmn:startEvent>
7     <bpmn:serviceTask id="Task_CreateServiceInstance" name="&#10;AAI&#10;Create&#10;(svc instance)&#10;" camunda:expression="${AAICreateTasks.createServiceInstance(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
8       <bpmn:incoming>SequenceFlow_1h6t7yr</bpmn:incoming>
9       <bpmn:outgoing>SequenceFlow_0czewtx</bpmn:outgoing>
10     </bpmn:serviceTask>
11     <bpmn:serviceTask id="Task_CreateProject" name="&#10;AAI&#10;Create&#10;(project)&#10;" camunda:expression="${AAICreateTasks.createProject(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
12       <bpmn:incoming>SequenceFlow_0czewtx</bpmn:incoming>
13       <bpmn:outgoing>SequenceFlow_1t55i01</bpmn:outgoing>
14     </bpmn:serviceTask>
15     <bpmn:serviceTask id="Task_CreateOwningEntity" name="&#10;AAI&#10;Create&#10;(owning entity)&#10;" camunda:expression="${AAICreateTasks.createOwningEntity(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
16       <bpmn:incoming>SequenceFlow_1t55i01</bpmn:incoming>
17       <bpmn:outgoing>SequenceFlow_0aef1l8</bpmn:outgoing>
18     </bpmn:serviceTask>
19     <bpmn:serviceTask id="Task_AssignServiceInstance" name="&#10;SDNC&#10;Create Assign Request&#10;(svc instance)&#10;" camunda:expression="${SDNCAssignTasks.assignServiceInstance(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
20       <bpmn:incoming>SequenceFlow_0aef1l8</bpmn:incoming>
21       <bpmn:outgoing>SequenceFlow_1vmf5yv</bpmn:outgoing>
22     </bpmn:serviceTask>
23     <bpmn:sequenceFlow id="SequenceFlow_1xr6chl" sourceRef="Start_AssignServiceInstanceBB" targetRef="Task_CreateServiceSubscription" />
24     <bpmn:sequenceFlow id="SequenceFlow_0czewtx" sourceRef="Task_CreateServiceInstance" targetRef="Task_CreateProject" />
25     <bpmn:sequenceFlow id="SequenceFlow_1t55i01" sourceRef="Task_CreateProject" targetRef="Task_CreateOwningEntity" />
26     <bpmn:endEvent id="End_AssignServiceInstanceBB">
27       <bpmn:incoming>SequenceFlow_14xl505</bpmn:incoming>
28     </bpmn:endEvent>
29     <bpmn:sequenceFlow id="SequenceFlow_14xl505" sourceRef="Task_UpdateServiceOstatusToAssigned" targetRef="End_AssignServiceInstanceBB" />
30     <bpmn:serviceTask id="Task_UpdateServiceOstatusToAssigned" name="&#10;AAI&#10;Update&#10;(svc instance)&#10;" camunda:expression="${AAIUpdateTasks.updateOrchestrationStatusAssignedService(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
31       <bpmn:incoming>SequenceFlow_0c6u1cp</bpmn:incoming>
32       <bpmn:outgoing>SequenceFlow_14xl505</bpmn:outgoing>
33     </bpmn:serviceTask>
34     <bpmn:sequenceFlow id="SequenceFlow_1h6t7yr" sourceRef="Task_CreateServiceSubscription" targetRef="Task_CreateServiceInstance" />
35     <bpmn:serviceTask id="Task_CreateServiceSubscription" name="&#10;AAI&#10;Create&#10;(svc subscrip)&#10;" camunda:expression="${AAICreateTasks.createServiceSubscription(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
36       <bpmn:incoming>SequenceFlow_1xr6chl</bpmn:incoming>
37       <bpmn:outgoing>SequenceFlow_1h6t7yr</bpmn:outgoing>
38     </bpmn:serviceTask>
39     <bpmn:sequenceFlow id="SequenceFlow_0aef1l8" sourceRef="Task_CreateOwningEntity" targetRef="Task_AssignServiceInstance" />
40     <bpmn:callActivity id="CallActivity_sdncHandler" name="SDNC Assign (svc instance)" calledElement="SDNCHandler">
41       <bpmn:extensionElements>
42         <camunda:in source="SDNCRequest" target="SDNCRequest" />
43         <camunda:out source="SDNCResponse" target="SDNCResponse" />
44         <camunda:out source="WorkflowException" target="WorkflowException" />
45         <camunda:in source="mso-request-id" target="mso-request-id" />
46       </bpmn:extensionElements>
47       <bpmn:incoming>SequenceFlow_1vmf5yv</bpmn:incoming>
48       <bpmn:outgoing>SequenceFlow_0c6u1cp</bpmn:outgoing>
49     </bpmn:callActivity>
50     <bpmn:sequenceFlow id="SequenceFlow_1vmf5yv" sourceRef="Task_AssignServiceInstance" targetRef="CallActivity_sdncHandler" />
51     <bpmn:sequenceFlow id="SequenceFlow_0c6u1cp" sourceRef="CallActivity_sdncHandler" targetRef="Task_UpdateServiceOstatusToAssigned" />
52   </bpmn:process>
53   <bpmn:error id="Error_02g61p6" name="gDelegateError" errorCode="7000" />
54   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
55     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="AssignServiceInstanceBB">
56       <bpmndi:BPMNShape id="StartEvent_0kxwniy_di" bpmnElement="Start_AssignServiceInstanceBB">
57         <dc:Bounds x="68" y="90" width="36" height="36" />
58         <bpmndi:BPMNLabel>
59           <dc:Bounds x="75" y="126" width="23" height="12" />
60         </bpmndi:BPMNLabel>
61       </bpmndi:BPMNShape>
62       <bpmndi:BPMNShape id="ServiceTask_0028k7a_di" bpmnElement="Task_CreateServiceInstance">
63         <dc:Bounds x="290" y="68" width="100" height="80" />
64       </bpmndi:BPMNShape>
65       <bpmndi:BPMNShape id="ServiceTask_0oh47a9_di" bpmnElement="Task_CreateProject">
66         <dc:Bounds x="431" y="68" width="100" height="80" />
67       </bpmndi:BPMNShape>
68       <bpmndi:BPMNShape id="ServiceTask_06hn530_di" bpmnElement="Task_CreateOwningEntity">
69         <dc:Bounds x="577" y="68" width="100" height="80" />
70       </bpmndi:BPMNShape>
71       <bpmndi:BPMNShape id="ServiceTask_13t22km_di" bpmnElement="Task_AssignServiceInstance">
72         <dc:Bounds x="719" y="68" width="100" height="80" />
73       </bpmndi:BPMNShape>
74       <bpmndi:BPMNEdge id="SequenceFlow_1xr6chl_di" bpmnElement="SequenceFlow_1xr6chl">
75         <di:waypoint xsi:type="dc:Point" x="104" y="108" />
76         <di:waypoint xsi:type="dc:Point" x="153" y="108" />
77         <bpmndi:BPMNLabel>
78           <dc:Bounds x="83.5" y="87" width="90" height="12" />
79         </bpmndi:BPMNLabel>
80       </bpmndi:BPMNEdge>
81       <bpmndi:BPMNEdge id="SequenceFlow_0czewtx_di" bpmnElement="SequenceFlow_0czewtx">
82         <di:waypoint xsi:type="dc:Point" x="390" y="108" />
83         <di:waypoint xsi:type="dc:Point" x="431" y="108" />
84         <bpmndi:BPMNLabel>
85           <dc:Bounds x="322" y="87" width="90" height="12" />
86         </bpmndi:BPMNLabel>
87       </bpmndi:BPMNEdge>
88       <bpmndi:BPMNEdge id="SequenceFlow_1t55i01_di" bpmnElement="SequenceFlow_1t55i01">
89         <di:waypoint xsi:type="dc:Point" x="531" y="108" />
90         <di:waypoint xsi:type="dc:Point" x="577" y="108" />
91         <bpmndi:BPMNLabel>
92           <dc:Bounds x="464" y="87" width="90" height="12" />
93         </bpmndi:BPMNLabel>
94       </bpmndi:BPMNEdge>
95       <bpmndi:BPMNShape id="EndEvent_0qdq7wj_di" bpmnElement="End_AssignServiceInstanceBB">
96         <dc:Bounds x="1150" y="90" width="36" height="36" />
97         <bpmndi:BPMNLabel>
98           <dc:Bounds x="1123" y="130" width="90" height="12" />
99         </bpmndi:BPMNLabel>
100       </bpmndi:BPMNShape>
101       <bpmndi:BPMNEdge id="SequenceFlow_14xl505_di" bpmnElement="SequenceFlow_14xl505">
102         <di:waypoint xsi:type="dc:Point" x="1104" y="108" />
103         <di:waypoint xsi:type="dc:Point" x="1150" y="108" />
104         <bpmndi:BPMNLabel>
105           <dc:Bounds x="1082" y="87" width="90" height="12" />
106         </bpmndi:BPMNLabel>
107       </bpmndi:BPMNEdge>
108       <bpmndi:BPMNShape id="ServiceTask_1dgenhy_di" bpmnElement="Task_UpdateServiceOstatusToAssigned">
109         <dc:Bounds x="1004" y="68" width="100" height="80" />
110       </bpmndi:BPMNShape>
111       <bpmndi:BPMNEdge id="SequenceFlow_1h6t7yr_di" bpmnElement="SequenceFlow_1h6t7yr">
112         <di:waypoint xsi:type="dc:Point" x="253" y="108" />
113         <di:waypoint xsi:type="dc:Point" x="290" y="108" />
114         <bpmndi:BPMNLabel>
115           <dc:Bounds x="227" y="87" width="90" height="12" />
116         </bpmndi:BPMNLabel>
117       </bpmndi:BPMNEdge>
118       <bpmndi:BPMNShape id="ServiceTask_09fq3rp_di" bpmnElement="Task_CreateServiceSubscription">
119         <dc:Bounds x="153" y="68" width="100" height="80" />
120       </bpmndi:BPMNShape>
121       <bpmndi:BPMNEdge id="SequenceFlow_0aef1l8_di" bpmnElement="SequenceFlow_0aef1l8">
122         <di:waypoint xsi:type="dc:Point" x="677" y="108" />
123         <di:waypoint xsi:type="dc:Point" x="719" y="108" />
124         <bpmndi:BPMNLabel>
125           <dc:Bounds x="653" y="87" width="90" height="12" />
126         </bpmndi:BPMNLabel>
127       </bpmndi:BPMNEdge>
128       <bpmndi:BPMNShape id="CallActivity_037c9st_di" bpmnElement="CallActivity_sdncHandler">
129         <dc:Bounds x="862" y="68" width="100" height="80" />
130       </bpmndi:BPMNShape>
131       <bpmndi:BPMNEdge id="SequenceFlow_1vmf5yv_di" bpmnElement="SequenceFlow_1vmf5yv">
132         <di:waypoint xsi:type="dc:Point" x="819" y="108" />
133         <di:waypoint xsi:type="dc:Point" x="862" y="108" />
134         <bpmndi:BPMNLabel>
135           <dc:Bounds x="840.5" y="87" width="0" height="12" />
136         </bpmndi:BPMNLabel>
137       </bpmndi:BPMNEdge>
138       <bpmndi:BPMNEdge id="SequenceFlow_0c6u1cp_di" bpmnElement="SequenceFlow_0c6u1cp">
139         <di:waypoint xsi:type="dc:Point" x="962" y="108" />
140         <di:waypoint xsi:type="dc:Point" x="1004" y="108" />
141         <bpmndi:BPMNLabel>
142           <dc:Bounds x="983" y="87" width="0" height="12" />
143         </bpmndi:BPMNLabel>
144       </bpmndi:BPMNEdge>
145     </bpmndi:BPMNPlane>
146   </bpmndi:BPMNDiagram>
147 </bpmn:definitions>