Merge "Add unit tests for ExternalAPIUtil"
[so.git] / bpmn / so-bpmn-building-blocks / src / main / resources / subprocess / BuildingBlock / UnassignServiceInstanceBB.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="UnassignServiceInstanceBB" name="UnassignServiceInstanceBB" isExecutable="true">
4     <bpmn:startEvent id="Start_UnassignServiceInstanceBB">
5       <bpmn:outgoing>SequenceFlow_0fzrhkc</bpmn:outgoing>
6     </bpmn:startEvent>
7     <bpmn:serviceTask id="Task_AAIDeleteServiceInstance" name="&#10;AAI&#10;Delete &#10;(svc instance)&#10;" camunda:expression="${AAIDeleteTasks.deleteServiceInstance(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
8       <bpmn:incoming>SequenceFlow_0uzdp0c</bpmn:incoming>
9       <bpmn:outgoing>SequenceFlow_0sfeg65</bpmn:outgoing>
10     </bpmn:serviceTask>
11     <bpmn:sequenceFlow id="SequenceFlow_0sfeg65" sourceRef="Task_AAIDeleteServiceInstance" targetRef="End_UnassignServiceInstanceBB" />
12     <bpmn:serviceTask id="Task_SdncUnassignServiceInstance" name="&#10;SDNC&#10;Unassign&#10;(svc instance)&#10;" camunda:expression="${SDNCUnassignTasks.unassignServiceInstance(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
13       <bpmn:incoming>SequenceFlow_0fzrhkc</bpmn:incoming>
14       <bpmn:outgoing>SequenceFlow_00dyi16</bpmn:outgoing>
15     </bpmn:serviceTask>
16     <bpmn:endEvent id="End_UnassignServiceInstanceBB">
17       <bpmn:incoming>SequenceFlow_0sfeg65</bpmn:incoming>
18     </bpmn:endEvent>
19     <bpmn:sequenceFlow id="SequenceFlow_0fzrhkc" sourceRef="Start_UnassignServiceInstanceBB" targetRef="Task_SdncUnassignServiceInstance" />
20     <bpmn:callActivity id="CallActivity_sdncHandlerCall" name="SDNC Unassign (svc instance)" calledElement="SDNCHandler">
21       <bpmn:extensionElements>
22         <camunda:in source="SDNCRequest" target="SDNCRequest" />
23         <camunda:out source="SDNCResponse" target="SDNCResponse" />
24       </bpmn:extensionElements>
25       <bpmn:incoming>SequenceFlow_00dyi16</bpmn:incoming>
26       <bpmn:outgoing>SequenceFlow_0uzdp0c</bpmn:outgoing>
27     </bpmn:callActivity>
28     <bpmn:sequenceFlow id="SequenceFlow_00dyi16" sourceRef="Task_SdncUnassignServiceInstance" targetRef="CallActivity_sdncHandlerCall" />
29     <bpmn:sequenceFlow id="SequenceFlow_0uzdp0c" sourceRef="CallActivity_sdncHandlerCall" targetRef="Task_AAIDeleteServiceInstance" />
30   </bpmn:process>
31   <bpmn:error id="Error_041z84w" name="gDelegateError" errorCode="7000" />
32   <bpmn:error id="Error_027m7l6" name="Failed orchestration status verification" errorCode="7000" />
33   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
34     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="UnassignServiceInstanceBB">
35       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="Start_UnassignServiceInstanceBB">
36         <dc:Bounds x="444" y="213" width="36" height="36" />
37         <bpmndi:BPMNLabel>
38           <dc:Bounds x="452" y="256" width="23" height="12" />
39         </bpmndi:BPMNLabel>
40       </bpmndi:BPMNShape>
41       <bpmndi:BPMNShape id="ServiceTask_0ltb3dj_di" bpmnElement="Task_AAIDeleteServiceInstance">
42         <dc:Bounds x="819" y="191" width="100" height="80" />
43       </bpmndi:BPMNShape>
44       <bpmndi:BPMNEdge id="SequenceFlow_0sfeg65_di" bpmnElement="SequenceFlow_0sfeg65">
45         <di:waypoint xsi:type="dc:Point" x="919" y="231" />
46         <di:waypoint xsi:type="dc:Point" x="961" y="231" />
47         <bpmndi:BPMNLabel>
48           <dc:Bounds x="895" y="210" width="90" height="12" />
49         </bpmndi:BPMNLabel>
50       </bpmndi:BPMNEdge>
51       <bpmndi:BPMNShape id="ServiceTask_11klnmn_di" bpmnElement="Task_SdncUnassignServiceInstance">
52         <dc:Bounds x="510" y="191" width="100" height="80" />
53       </bpmndi:BPMNShape>
54       <bpmndi:BPMNShape id="EndEvent_1p34ka9_di" bpmnElement="End_UnassignServiceInstanceBB">
55         <dc:Bounds x="961" y="213" width="36" height="36" />
56         <bpmndi:BPMNLabel>
57           <dc:Bounds x="937" y="255" width="90" height="12" />
58         </bpmndi:BPMNLabel>
59       </bpmndi:BPMNShape>
60       <bpmndi:BPMNEdge id="SequenceFlow_0fzrhkc_di" bpmnElement="SequenceFlow_0fzrhkc">
61         <di:waypoint xsi:type="dc:Point" x="480" y="231" />
62         <di:waypoint xsi:type="dc:Point" x="510" y="231" />
63         <bpmndi:BPMNLabel>
64           <dc:Bounds x="450" y="210" width="90" height="12" />
65         </bpmndi:BPMNLabel>
66       </bpmndi:BPMNEdge>
67       <bpmndi:BPMNShape id="CallActivity_0q2i7pr_di" bpmnElement="CallActivity_sdncHandlerCall">
68         <dc:Bounds x="668" y="191" width="100" height="80" />
69       </bpmndi:BPMNShape>
70       <bpmndi:BPMNEdge id="SequenceFlow_00dyi16_di" bpmnElement="SequenceFlow_00dyi16">
71         <di:waypoint xsi:type="dc:Point" x="610" y="231" />
72         <di:waypoint xsi:type="dc:Point" x="668" y="231" />
73         <bpmndi:BPMNLabel>
74           <dc:Bounds x="639" y="210" width="0" height="12" />
75         </bpmndi:BPMNLabel>
76       </bpmndi:BPMNEdge>
77       <bpmndi:BPMNEdge id="SequenceFlow_0uzdp0c_di" bpmnElement="SequenceFlow_0uzdp0c">
78         <di:waypoint xsi:type="dc:Point" x="768" y="231" />
79         <di:waypoint xsi:type="dc:Point" x="819" y="231" />
80         <bpmndi:BPMNLabel>
81           <dc:Bounds x="793.5" y="210" width="0" height="12" />
82         </bpmndi:BPMNLabel>
83       </bpmndi:BPMNEdge>
84     </bpmndi:BPMNPlane>
85   </bpmndi:BPMNDiagram>
86 </bpmn:definitions>