Fixing ETSI BB execution failure
[so.git] / bpmn / so-bpmn-building-blocks / src / main / resources / subprocess / BuildingBlock / EtsiVnfInstantiateBB.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" id="Definitions_0x13ohc" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="2.0.3">
3   <bpmn:process id="EtsiVnfInstantiateBB" name="&#10;EtsiVnfInstantiateBB" isExecutable="true">
4     <bpmn:serviceTask id="ServiceTask_02e82t2" name="Create &#10;CreateVnfRequest&#10;" camunda:expression="${VnfmAdapterCreateVnfTask.buildCreateVnfRequest(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
5       <bpmn:incoming>SequenceFlow_18fsqzd</bpmn:incoming>
6       <bpmn:outgoing>SequenceFlow_0f0vsnv</bpmn:outgoing>
7     </bpmn:serviceTask>
8     <bpmn:startEvent id="StartEvent_0ru3x55">
9       <bpmn:outgoing>SequenceFlow_016sgof</bpmn:outgoing>
10     </bpmn:startEvent>
11     <bpmn:sequenceFlow id="SequenceFlow_016sgof" sourceRef="StartEvent_0ru3x55" targetRef="ServiceTask_1jf7hlc" />
12     <bpmn:endEvent id="EndEvent_001k15i">
13       <bpmn:incoming>SequenceFlow_0n57z81</bpmn:incoming>
14     </bpmn:endEvent>
15     <bpmn:sequenceFlow id="SequenceFlow_0f0vsnv" sourceRef="ServiceTask_02e82t2" targetRef="ServiceTask_06ao4xu" />
16     <bpmn:serviceTask id="ServiceTask_06ao4xu" name="&#10;Invoke VNFM Adaptor&#10;" camunda:asyncAfter="true" camunda:expression="${VnfmAdapterCreateVnfTask.invokeVnfmAdapter(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
17       <bpmn:incoming>SequenceFlow_0f0vsnv</bpmn:incoming>
18       <bpmn:outgoing>SequenceFlow_0hp0ka1</bpmn:outgoing>
19     </bpmn:serviceTask>
20     <bpmn:serviceTask id="ServiceTask_1jf7hlc" name="&#10;Retrieve Input Parameters&#10;" camunda:asyncAfter="true" camunda:expression="${InputParameterRetrieverTask.getInputParameters(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
21       <bpmn:incoming>SequenceFlow_016sgof</bpmn:incoming>
22       <bpmn:outgoing>SequenceFlow_18fsqzd</bpmn:outgoing>
23     </bpmn:serviceTask>
24     <bpmn:sequenceFlow id="SequenceFlow_18fsqzd" sourceRef="ServiceTask_1jf7hlc" targetRef="ServiceTask_02e82t2" />
25     <bpmn:sequenceFlow id="SequenceFlow_0hp0ka1" sourceRef="ServiceTask_06ao4xu" targetRef="CallActivity_0fuqfru" />
26     <bpmn:callActivity id="CallActivity_0fuqfru" name="Monitor Instantiation Job" calledElement="MonitorVnfmCreateJob">
27       <bpmn:extensionElements>
28         <camunda:out source="WorkflowException" target="WorkflowException" />
29         <camunda:in source="mso-request-id" target="mso-request-id" />
30         <camunda:in source="gBuildingBlockExecution" target="gBuildingBlockExecution" />
31         <camunda:out source="gBuildingBlockExecution" target="gBuildingBlockExecution" />
32         <camunda:in source="createVnfResponse" target="createVnfResponse" />
33         <camunda:out source="WorkflowExceptionErrorMessage" target="WorkflowExceptionErrorMessage" />
34       </bpmn:extensionElements>
35       <bpmn:incoming>SequenceFlow_0hp0ka1</bpmn:incoming>
36       <bpmn:outgoing>SequenceFlow_1owx4yu</bpmn:outgoing>
37     </bpmn:callActivity>
38     <bpmn:sequenceFlow id="SequenceFlow_1owx4yu" sourceRef="CallActivity_0fuqfru" targetRef="CallActivity_0agszsb" />
39     <bpmn:callActivity id="CallActivity_0agszsb" name="Monitor Create Node Status" calledElement="MonitorVnfmCreateNodeStatus">
40       <bpmn:extensionElements>
41         <camunda:in source="gBuildingBlockExecution" target="gBuildingBlockExecution" />
42         <camunda:out source="gBuildingBlockExecution" target="gBuildingBlockExecution" />
43       </bpmn:extensionElements>
44       <bpmn:incoming>SequenceFlow_1owx4yu</bpmn:incoming>
45       <bpmn:outgoing>SequenceFlow_0n57z81</bpmn:outgoing>
46     </bpmn:callActivity>
47     <bpmn:sequenceFlow id="SequenceFlow_0n57z81" sourceRef="CallActivity_0agszsb" targetRef="EndEvent_001k15i" />
48   </bpmn:process>
49   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
50     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="EtsiVnfInstantiateBB">
51       <bpmndi:BPMNShape id="ServiceTask_02e82t1_di" bpmnElement="ServiceTask_02e82t2">
52         <dc:Bounds x="480" y="227" width="100" height="80" />
53       </bpmndi:BPMNShape>
54       <bpmndi:BPMNShape id="StartEvent_0ru3x55_di" bpmnElement="StartEvent_0ru3x55">
55         <dc:Bounds x="232" y="249" width="36" height="36" />
56       </bpmndi:BPMNShape>
57       <bpmndi:BPMNEdge id="SequenceFlow_016sgof_di" bpmnElement="SequenceFlow_016sgof">
58         <di:waypoint x="268" y="267" />
59         <di:waypoint x="332" y="267" />
60       </bpmndi:BPMNEdge>
61       <bpmndi:BPMNShape id="EndEvent_001k15i_di" bpmnElement="EndEvent_001k15i">
62         <dc:Bounds x="1097" y="249" width="36" height="36" />
63       </bpmndi:BPMNShape>
64       <bpmndi:BPMNEdge id="SequenceFlow_0f0vsnv_di" bpmnElement="SequenceFlow_0f0vsnv">
65         <di:waypoint x="580" y="267" />
66         <di:waypoint x="629" y="267" />
67       </bpmndi:BPMNEdge>
68       <bpmndi:BPMNShape id="ServiceTask_06ao4xu_di" bpmnElement="ServiceTask_06ao4xu">
69         <dc:Bounds x="629" y="227" width="100" height="80" />
70       </bpmndi:BPMNShape>
71       <bpmndi:BPMNShape id="ServiceTask_1jf7hlc_di" bpmnElement="ServiceTask_1jf7hlc">
72         <dc:Bounds x="332" y="227" width="100" height="80" />
73       </bpmndi:BPMNShape>
74       <bpmndi:BPMNEdge id="SequenceFlow_18fsqzd_di" bpmnElement="SequenceFlow_18fsqzd">
75         <di:waypoint x="432" y="267" />
76         <di:waypoint x="480" y="267" />
77       </bpmndi:BPMNEdge>
78       <bpmndi:BPMNEdge id="SequenceFlow_0hp0ka1_di" bpmnElement="SequenceFlow_0hp0ka1">
79         <di:waypoint x="729" y="267" />
80         <di:waypoint x="770" y="267" />
81       </bpmndi:BPMNEdge>
82       <bpmndi:BPMNShape id="CallActivity_0fuqfru_di" bpmnElement="CallActivity_0fuqfru">
83         <dc:Bounds x="770" y="227" width="100" height="80" />
84       </bpmndi:BPMNShape>
85       <bpmndi:BPMNEdge id="SequenceFlow_1owx4yu_di" bpmnElement="SequenceFlow_1owx4yu">
86         <di:waypoint x="870" y="267" />
87         <di:waypoint x="928" y="267" />
88       </bpmndi:BPMNEdge>
89       <bpmndi:BPMNShape id="CallActivity_0agszsb_di" bpmnElement="CallActivity_0agszsb">
90         <dc:Bounds x="928" y="227" width="100" height="80" />
91       </bpmndi:BPMNShape>
92       <bpmndi:BPMNEdge id="SequenceFlow_0n57z81_di" bpmnElement="SequenceFlow_0n57z81">
93         <di:waypoint x="1028" y="267" />
94         <di:waypoint x="1097" y="267" />
95       </bpmndi:BPMNEdge>
96     </bpmndi:BPMNPlane>
97   </bpmndi:BPMNDiagram>
98 </bpmn:definitions>