Containerization feature of SO
[so.git] / bpmn / so-bpmn-building-blocks / src / main / resources / subprocess / BuildingBlock / CreateNetworkCollectionBB.bpmn
1 <?xml version="1.0" encoding="UTF-8"?>
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:camunda="http://camunda.org/schema/1.0/bpmn" 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">
3   <bpmn2:process id="CreateNetworkCollectionBB" name="CreateNetworkCollectionBB" isExecutable="true">
4     <bpmn2:startEvent id="createNetworkCollection_startEvent" name="Start Flow">
5       <bpmn2:outgoing>SequenceFlow_1maepy7</bpmn2:outgoing>
6     </bpmn2:startEvent>
7     <bpmn2:endEvent id="createNetworkCollection_EndEvent" name="End Flow">
8       <bpmn2:incoming>SequenceFlow_0hhklb4</bpmn2:incoming>
9     </bpmn2:endEvent>
10     <bpmn2:serviceTask id="BuildName_ServiceTask" name="Buld Collection and Instance Names" camunda:expression="${CreateNetworkCollection.buildNetworkCollectionName(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}  ">
11       <bpmn2:incoming>SequenceFlow_1maepy7</bpmn2:incoming>
12       <bpmn2:outgoing>SequenceFlow_06rq9pi</bpmn2:outgoing>
13     </bpmn2:serviceTask>
14     <bpmn2:sequenceFlow id="SequenceFlow_1maepy7" sourceRef="createNetworkCollection_startEvent" targetRef="BuildName_ServiceTask" />
15     <bpmn2:serviceTask id="ServiceTask_create_NetworkCollection" name="Create Network Collection in AAI&#10;" camunda:expression="${AAICreateTasks.createNetworkCollection(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
16       <bpmn2:incoming>SequenceFlow_06rq9pi</bpmn2:incoming>
17       <bpmn2:outgoing>SequenceFlow_05yxpu5</bpmn2:outgoing>
18     </bpmn2:serviceTask>
19     <bpmn2:sequenceFlow id="SequenceFlow_06rq9pi" sourceRef="BuildName_ServiceTask" targetRef="ServiceTask_create_NetworkCollection" />
20     <bpmn2:serviceTask id="ServiceTask_create_NetworkCollectionInstanceGroup" name="Create Network Collection Instance Group in AAI&#10;" camunda:expression="${AAICreateTasks.createNetworkCollectionInstanceGroup(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
21       <bpmn2:incoming>SequenceFlow_05yxpu5</bpmn2:incoming>
22       <bpmn2:outgoing>SequenceFlow_0z4c30j</bpmn2:outgoing>
23     </bpmn2:serviceTask>
24     <bpmn2:serviceTask id="ServiceTask_Connect_Collection_to_InstanceGroup" name="Connect Collection to InstanceGroup&#10;" camunda:expression="${CreateNetworkCollection.connectCollectionToInstanceGroup(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}  ">
25       <bpmn2:incoming>SequenceFlow_0z4c30j</bpmn2:incoming>
26       <bpmn2:outgoing>SequenceFlow_1hij1px</bpmn2:outgoing>
27     </bpmn2:serviceTask>
28     <bpmn2:sequenceFlow id="SequenceFlow_05yxpu5" sourceRef="ServiceTask_create_NetworkCollection" targetRef="ServiceTask_create_NetworkCollectionInstanceGroup" />
29     <bpmn2:sequenceFlow id="SequenceFlow_0z4c30j" sourceRef="ServiceTask_create_NetworkCollectionInstanceGroup" targetRef="ServiceTask_Connect_Collection_to_InstanceGroup" />
30     <bpmn2:serviceTask id="ServiceTask_Connect_Collection_to_ServiceInstance" name="Connect Collection to ServiceInstance&#10;" camunda:expression="${CreateNetworkCollection.connectCollectionToServiceInstance(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}  ">
31       <bpmn2:incoming>SequenceFlow_1hij1px</bpmn2:incoming>
32       <bpmn2:outgoing>SequenceFlow_0hhklb4</bpmn2:outgoing>
33     </bpmn2:serviceTask>
34     <bpmn2:sequenceFlow id="SequenceFlow_1hij1px" sourceRef="ServiceTask_Connect_Collection_to_InstanceGroup" targetRef="ServiceTask_Connect_Collection_to_ServiceInstance" />
35     <bpmn2:sequenceFlow id="SequenceFlow_0hhklb4" sourceRef="ServiceTask_Connect_Collection_to_ServiceInstance" targetRef="createNetworkCollection_EndEvent" />
36   </bpmn2:process>
37   <bpmn2:error id="Error_2" name="MSOWorkflowException" errorCode="MSOWorkflowException" />
38   <bpmn2:error id="Error_1" name="java.lang.Exception" errorCode="java.lang.Exception" />
39   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
40     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="CreateNetworkCollectionBB">
41       <bpmndi:BPMNShape id="StartEvent_0lbwmd1_di" bpmnElement="createNetworkCollection_startEvent">
42         <dc:Bounds x="236" y="-55" width="36" height="36" />
43         <bpmndi:BPMNLabel>
44           <dc:Bounds x="230" y="-14" width="48" height="14" />
45         </bpmndi:BPMNLabel>
46       </bpmndi:BPMNShape>
47       <bpmndi:BPMNShape id="EndEvent_10l9a3s_di" bpmnElement="createNetworkCollection_EndEvent">
48         <dc:Bounds x="1132" y="-55" width="36" height="36" />
49         <bpmndi:BPMNLabel>
50           <dc:Bounds x="1128" y="-19" width="45" height="12" />
51         </bpmndi:BPMNLabel>
52       </bpmndi:BPMNShape>
53       <bpmndi:BPMNShape id="ServiceTask_08q9eo4_di" bpmnElement="BuildName_ServiceTask">
54         <dc:Bounds x="346" y="-77" width="100" height="80" />
55       </bpmndi:BPMNShape>
56       <bpmndi:BPMNEdge id="SequenceFlow_1maepy7_di" bpmnElement="SequenceFlow_1maepy7">
57         <di:waypoint xsi:type="dc:Point" x="272" y="-37" />
58         <di:waypoint xsi:type="dc:Point" x="346" y="-37" />
59         <bpmndi:BPMNLabel>
60           <dc:Bounds x="309" y="-52" width="0" height="0" />
61         </bpmndi:BPMNLabel>
62       </bpmndi:BPMNEdge>
63       <bpmndi:BPMNShape id="ServiceTask_02qnccl_di" bpmnElement="ServiceTask_create_NetworkCollection">
64         <dc:Bounds x="508" y="-77" width="100" height="80" />
65       </bpmndi:BPMNShape>
66       <bpmndi:BPMNEdge id="SequenceFlow_06rq9pi_di" bpmnElement="SequenceFlow_06rq9pi">
67         <di:waypoint xsi:type="dc:Point" x="446" y="-37" />
68         <di:waypoint xsi:type="dc:Point" x="508" y="-37" />
69         <bpmndi:BPMNLabel>
70           <dc:Bounds x="477" y="-52" width="0" height="0" />
71         </bpmndi:BPMNLabel>
72       </bpmndi:BPMNEdge>
73       <bpmndi:BPMNShape id="ServiceTask_1ae59gw_di" bpmnElement="ServiceTask_create_NetworkCollectionInstanceGroup">
74         <dc:Bounds x="671" y="-77" width="100" height="80" />
75       </bpmndi:BPMNShape>
76       <bpmndi:BPMNShape id="ServiceTask_1r7c1iy_di" bpmnElement="ServiceTask_Connect_Collection_to_InstanceGroup">
77         <dc:Bounds x="817" y="-77" width="100" height="80" />
78       </bpmndi:BPMNShape>
79       <bpmndi:BPMNEdge id="SequenceFlow_05yxpu5_di" bpmnElement="SequenceFlow_05yxpu5">
80         <di:waypoint xsi:type="dc:Point" x="608" y="-37" />
81         <di:waypoint xsi:type="dc:Point" x="671" y="-37" />
82         <bpmndi:BPMNLabel>
83           <dc:Bounds x="640" y="-62" width="0" height="0" />
84         </bpmndi:BPMNLabel>
85       </bpmndi:BPMNEdge>
86       <bpmndi:BPMNEdge id="SequenceFlow_0z4c30j_di" bpmnElement="SequenceFlow_0z4c30j">
87         <di:waypoint xsi:type="dc:Point" x="771" y="-37" />
88         <di:waypoint xsi:type="dc:Point" x="817" y="-37" />
89         <bpmndi:BPMNLabel>
90           <dc:Bounds x="794" y="-62" width="0" height="0" />
91         </bpmndi:BPMNLabel>
92       </bpmndi:BPMNEdge>
93       <bpmndi:BPMNShape id="ServiceTask_15u6tzt_di" bpmnElement="ServiceTask_Connect_Collection_to_ServiceInstance">
94         <dc:Bounds x="982" y="-77" width="100" height="80" />
95       </bpmndi:BPMNShape>
96       <bpmndi:BPMNEdge id="SequenceFlow_1hij1px_di" bpmnElement="SequenceFlow_1hij1px">
97         <di:waypoint xsi:type="dc:Point" x="917" y="-37" />
98         <di:waypoint xsi:type="dc:Point" x="982" y="-37" />
99         <bpmndi:BPMNLabel>
100           <dc:Bounds x="950" y="-62" width="0" height="0" />
101         </bpmndi:BPMNLabel>
102       </bpmndi:BPMNEdge>
103       <bpmndi:BPMNEdge id="SequenceFlow_0hhklb4_di" bpmnElement="SequenceFlow_0hhklb4">
104         <di:waypoint xsi:type="dc:Point" x="1082" y="-37" />
105         <di:waypoint xsi:type="dc:Point" x="1132" y="-37" />
106         <bpmndi:BPMNLabel>
107           <dc:Bounds x="1107" y="-62" width="0" height="0" />
108         </bpmndi:BPMNLabel>
109       </bpmndi:BPMNEdge>
110     </bpmndi:BPMNPlane>
111   </bpmndi:BPMNDiagram>
112 </bpmn2:definitions>