Fix ConfigAssignVnfBB and ConfigDeployVnfBB
[so.git] / bpmn / so-bpmn-building-blocks / src / main / resources / subprocess / BuildingBlock / ConfigAssignVnfBB.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_1ahlzqg" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="1.9.0">
3   <bpmn:process id="ConfigAssignVnfBB" name="ConfigAssignVnfBB" isExecutable="true">
4     <bpmn:startEvent id="StartEvent_1">
5       <bpmn:outgoing>SequenceFlow_0gmfit3</bpmn:outgoing>
6     </bpmn:startEvent>
7     <bpmn:sequenceFlow id="SequenceFlow_0gmfit3" sourceRef="StartEvent_1" targetRef="Task_0bhf6tp" />
8     <bpmn:endEvent id="EndEvent_0lgvk82">
9       <bpmn:incoming>SequenceFlow_1mkhog2</bpmn:incoming>
10     </bpmn:endEvent>
11     <bpmn:sequenceFlow id="SequenceFlow_1mkhog2" sourceRef="Task_1hs1mn0" targetRef="EndEvent_0lgvk82" />
12     <bpmn:callActivity id="CallActivity_1gfzi2g" name="Abstract CDS&#10;(CDS Call)&#10;" calledElement="AbstractCDSProcessingBB">
13       <bpmn:extensionElements>
14         <camunda:out source="WorkflowException" target="WorkflowException" />
15         <camunda:out source="CDSStatus" target="CDSStatus" />
16         <camunda:in source="executionObject" target="executionObject" />
17       </bpmn:extensionElements>
18       <bpmn:incoming>SequenceFlow_05qembo</bpmn:incoming>
19       <bpmn:outgoing>SequenceFlow_0cvsnuu</bpmn:outgoing>
20     </bpmn:callActivity>
21     <bpmn:serviceTask id="Task_1hs1mn0" name="Update AAI&#10;(VNF)&#10;" camunda:expression="${AAIUpdateTasks.updateOrchestrationStatusConfigAssignedVnf(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
22       <bpmn:incoming>SequenceFlow_07tqu82</bpmn:incoming>
23       <bpmn:outgoing>SequenceFlow_1mkhog2</bpmn:outgoing>
24     </bpmn:serviceTask>
25     <bpmn:sequenceFlow id="SequenceFlow_05qembo" sourceRef="Task_0bhf6tp" targetRef="CallActivity_1gfzi2g" />
26     <bpmn:serviceTask id="Task_0bhf6tp" name="PreProcess Abstract CDS Processing" camunda:expression="${ConfigAssignVnf.preProcessAbstractCDSProcessing(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
27       <bpmn:incoming>SequenceFlow_0gmfit3</bpmn:incoming>
28       <bpmn:outgoing>SequenceFlow_05qembo</bpmn:outgoing>
29     </bpmn:serviceTask>
30     <bpmn:exclusiveGateway id="ExclusiveGateway_13q340y" default="SequenceFlow_15gxql1">
31       <bpmn:incoming>SequenceFlow_0cvsnuu</bpmn:incoming>
32       <bpmn:outgoing>SequenceFlow_07tqu82</bpmn:outgoing>
33       <bpmn:outgoing>SequenceFlow_15gxql1</bpmn:outgoing>
34     </bpmn:exclusiveGateway>
35     <bpmn:sequenceFlow id="SequenceFlow_0cvsnuu" sourceRef="CallActivity_1gfzi2g" targetRef="ExclusiveGateway_13q340y" />
36     <bpmn:sequenceFlow id="SequenceFlow_07tqu82" name="success" sourceRef="ExclusiveGateway_13q340y" targetRef="Task_1hs1mn0">
37       <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[#{execution.getVariable("CDSStatus").equals("Success")}]]></bpmn:conditionExpression>
38     </bpmn:sequenceFlow>
39     <bpmn:endEvent id="EndEvent_0mnaj50">
40       <bpmn:incoming>SequenceFlow_15gxql1</bpmn:incoming>
41       <bpmn:errorEventDefinition id="ErrorEventDefinition_1s1hqgm" errorRef="Error_0aovtfv" />
42     </bpmn:endEvent>
43     <bpmn:sequenceFlow id="SequenceFlow_15gxql1" sourceRef="ExclusiveGateway_13q340y" targetRef="EndEvent_0mnaj50" />
44   </bpmn:process>
45   <bpmn:error id="Error_0aovtfv" name="MSOWorkflowException" errorCode="MSOWorkflowException" />
46   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
47     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="ConfigAssignVnfBB">
48       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
49         <dc:Bounds x="507" y="187" width="36" height="36" />
50       </bpmndi:BPMNShape>
51       <bpmndi:BPMNEdge id="SequenceFlow_0gmfit3_di" bpmnElement="SequenceFlow_0gmfit3">
52         <di:waypoint xsi:type="dc:Point" x="543" y="205" />
53         <di:waypoint xsi:type="dc:Point" x="614" y="205" />
54       </bpmndi:BPMNEdge>
55       <bpmndi:BPMNShape id="EndEvent_0lgvk82_di" bpmnElement="EndEvent_0lgvk82">
56         <dc:Bounds x="1307" y="187" width="36" height="36" />
57       </bpmndi:BPMNShape>
58       <bpmndi:BPMNEdge id="SequenceFlow_1mkhog2_di" bpmnElement="SequenceFlow_1mkhog2">
59         <di:waypoint xsi:type="dc:Point" x="1218" y="205" />
60         <di:waypoint xsi:type="dc:Point" x="1307" y="205" />
61       </bpmndi:BPMNEdge>
62       <bpmndi:BPMNShape id="CallActivity_1gfzi2g_di" bpmnElement="CallActivity_1gfzi2g">
63         <dc:Bounds x="788" y="165" width="100" height="80" />
64       </bpmndi:BPMNShape>
65       <bpmndi:BPMNShape id="ServiceTask_0404s6a_di" bpmnElement="Task_1hs1mn0">
66         <dc:Bounds x="1118" y="165" width="100" height="80" />
67       </bpmndi:BPMNShape>
68       <bpmndi:BPMNEdge id="SequenceFlow_05qembo_di" bpmnElement="SequenceFlow_05qembo">
69         <di:waypoint xsi:type="dc:Point" x="714" y="205" />
70         <di:waypoint xsi:type="dc:Point" x="788" y="205" />
71       </bpmndi:BPMNEdge>
72       <bpmndi:BPMNShape id="ServiceTask_01mv1si_di" bpmnElement="Task_0bhf6tp">
73         <dc:Bounds x="614" y="165" width="100" height="80" />
74       </bpmndi:BPMNShape>
75       <bpmndi:BPMNShape id="ExclusiveGateway_13q340y_di" bpmnElement="ExclusiveGateway_13q340y" isMarkerVisible="true">
76         <dc:Bounds x="978" y="180" width="50" height="50" />
77       </bpmndi:BPMNShape>
78       <bpmndi:BPMNEdge id="SequenceFlow_0cvsnuu_di" bpmnElement="SequenceFlow_0cvsnuu">
79         <di:waypoint xsi:type="dc:Point" x="888" y="205" />
80         <di:waypoint xsi:type="dc:Point" x="978" y="205" />
81       </bpmndi:BPMNEdge>
82       <bpmndi:BPMNEdge id="SequenceFlow_07tqu82_di" bpmnElement="SequenceFlow_07tqu82">
83         <di:waypoint xsi:type="dc:Point" x="1028" y="205" />
84         <di:waypoint xsi:type="dc:Point" x="1118" y="205" />
85         <bpmndi:BPMNLabel>
86           <dc:Bounds x="1053" y="187" width="41" height="14" />
87         </bpmndi:BPMNLabel>
88       </bpmndi:BPMNEdge>
89       <bpmndi:BPMNShape id="EndEvent_0mnaj50_di" bpmnElement="EndEvent_0mnaj50">
90         <dc:Bounds x="985" y="327" width="36" height="36" />
91       </bpmndi:BPMNShape>
92       <bpmndi:BPMNEdge id="SequenceFlow_15gxql1_di" bpmnElement="SequenceFlow_15gxql1">
93         <di:waypoint xsi:type="dc:Point" x="1003" y="230" />
94         <di:waypoint xsi:type="dc:Point" x="1003" y="327" />
95       </bpmndi:BPMNEdge>
96     </bpmndi:BPMNPlane>
97   </bpmndi:BPMNDiagram>
98 </bpmn:definitions>