blob: 9d47888b148556043534f2a9bf2138abcf31cfad [file] [log] [blame]
Isaac Manuel Raj9d7ec172020-03-04 19:17:47 +05301<?xml version="1.0" encoding="UTF-8"?>
hetengjiao177987a2020-09-18 10:08:26 +08002<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:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.4.1">
Isaac Manuel Raj9d7ec172020-03-04 19:17:47 +05303 <bpmn:process id="DoCreateSliceServiceInstance" name="DoCreateSliceServiceInstance" isExecutable="true">
4 <bpmn:startEvent id="createNS_StartEvent" name="createNS_StartEvent">
5 <bpmn:outgoing>SequenceFlow_1qo2pln</bpmn:outgoing>
6 </bpmn:startEvent>
7 <bpmn:sequenceFlow id="SequenceFlow_1qo2pln" sourceRef="createNS_StartEvent" targetRef="PreprocessIncomingRequest_task" />
hetengjiao177987a2020-09-18 10:08:26 +08008 <bpmn:sequenceFlow id="SequenceFlow_0khtova" sourceRef="PreprocessIncomingRequest_task" targetRef="ScriptTask_1g378se" />
Isaac Manuel Raj9d7ec172020-03-04 19:17:47 +05309 <bpmn:scriptTask id="Task_09nzhwk" name="Create service profile" scriptFormat="groovy">
10 <bpmn:incoming>SequenceFlow_17u69c4</bpmn:incoming>
11 <bpmn:outgoing>SequenceFlow_1uiz85h</bpmn:outgoing>
12 <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
13def dcsi = new DoCreateSliceServiceInstance()
14dcsi.createServiceProfile(execution)</bpmn:script>
15 </bpmn:scriptTask>
16 <bpmn:scriptTask id="PreprocessIncomingRequest_task" name="Preprocess Incoming Request" scriptFormat="groovy">
17 <bpmn:incoming>SequenceFlow_1qo2pln</bpmn:incoming>
18 <bpmn:outgoing>SequenceFlow_0khtova</bpmn:outgoing>
19 <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
20def dcsi = new DoCreateSliceServiceInstance()
21dcsi.preProcessRequest(execution)</bpmn:script>
22 </bpmn:scriptTask>
23 <bpmn:scriptTask id="instantiate_NSTask" name="create Slice Service in AAI" scriptFormat="groovy">
hetengjiao177987a2020-09-18 10:08:26 +080024 <bpmn:incoming>SequenceFlow_11gmz7e</bpmn:incoming>
Isaac Manuel Raj9d7ec172020-03-04 19:17:47 +053025 <bpmn:outgoing>SequenceFlow_0g5bwvl</bpmn:outgoing>
26 <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
27def dcsi = new DoCreateSliceServiceInstance()
28dcsi.instantiateSliceService(execution)</bpmn:script>
29 </bpmn:scriptTask>
30 <bpmn:endEvent id="EndEvent_1x6k78c">
31 <bpmn:incoming>SequenceFlow_1uiz85h</bpmn:incoming>
32 </bpmn:endEvent>
33 <bpmn:sequenceFlow id="SequenceFlow_1uiz85h" sourceRef="Task_09nzhwk" targetRef="EndEvent_1x6k78c" />
34 <bpmn:sequenceFlow id="SequenceFlow_0g5bwvl" sourceRef="instantiate_NSTask" targetRef="ScriptTask_18rzwzb" />
35 <bpmn:scriptTask id="ScriptTask_18rzwzb" name="Create Allottedsource" scriptFormat="groovy">
36 <bpmn:incoming>SequenceFlow_0g5bwvl</bpmn:incoming>
37 <bpmn:outgoing>SequenceFlow_17u69c4</bpmn:outgoing>
38 <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
39def dcsi = new DoCreateSliceServiceInstance()
40dcsi.createAllottedResource(execution)</bpmn:script>
41 </bpmn:scriptTask>
42 <bpmn:sequenceFlow id="SequenceFlow_17u69c4" sourceRef="ScriptTask_18rzwzb" targetRef="Task_09nzhwk" />
hetengjiao177987a2020-09-18 10:08:26 +080043 <bpmn:scriptTask id="ScriptTask_1g378se" name="Prepare ServiceProfile&#10;Decompose Service&#10;" scriptFormat="groovy">
44 <bpmn:incoming>SequenceFlow_0khtova</bpmn:incoming>
45 <bpmn:outgoing>SequenceFlow_1wafqwa</bpmn:outgoing>
46 <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
47def dcsi= new CreateSliceService()
48dcsi.prepareDecomposeService(execution)</bpmn:script>
49 </bpmn:scriptTask>
50 <bpmn:callActivity id="CallActivity_0svmkxh" name="Call Decompose Service" calledElement="DecomposeService">
51 <bpmn:extensionElements>
52 <camunda:in source="msoRequestId" target="msoRequestId" />
53 <camunda:in source="serviceInstanceId" target="serviceInstanceId" />
54 <camunda:in source="serviceModelInfo" target="serviceModelInfo" />
55 <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled" />
56 <camunda:out source="serviceDecomposition" target="serviceProfileDecomposition" />
57 <camunda:out source="WorkflowException" target="WorkflowException" />
58 </bpmn:extensionElements>
59 <bpmn:incoming>SequenceFlow_1wafqwa</bpmn:incoming>
60 <bpmn:outgoing>SequenceFlow_11gmz7e</bpmn:outgoing>
61 </bpmn:callActivity>
62 <bpmn:sequenceFlow id="SequenceFlow_1wafqwa" sourceRef="ScriptTask_1g378se" targetRef="CallActivity_0svmkxh" />
63 <bpmn:sequenceFlow id="SequenceFlow_11gmz7e" sourceRef="CallActivity_0svmkxh" targetRef="instantiate_NSTask" />
Isaac Manuel Raj9d7ec172020-03-04 19:17:47 +053064 </bpmn:process>
65 <bpmndi:BPMNDiagram id="BPMNDiagram_1">
66 <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="DoCreateSliceServiceInstance">
67 <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="createNS_StartEvent">
68 <dc:Bounds x="175" y="111" width="36" height="36" />
69 <bpmndi:BPMNLabel>
70 <dc:Bounds x="152" y="147" width="83" height="24" />
71 </bpmndi:BPMNLabel>
72 </bpmndi:BPMNShape>
73 <bpmndi:BPMNEdge id="SequenceFlow_1qo2pln_di" bpmnElement="SequenceFlow_1qo2pln">
74 <di:waypoint x="211" y="129" />
75 <di:waypoint x="251" y="129" />
76 <di:waypoint x="251" y="129" />
77 <di:waypoint x="293" y="129" />
78 <bpmndi:BPMNLabel>
79 <dc:Bounds x="266" y="123" width="0" height="12" />
80 </bpmndi:BPMNLabel>
81 </bpmndi:BPMNEdge>
82 <bpmndi:BPMNEdge id="SequenceFlow_0khtova_di" bpmnElement="SequenceFlow_0khtova">
83 <di:waypoint x="393" y="129" />
hetengjiao177987a2020-09-18 10:08:26 +080084 <di:waypoint x="440" y="129" />
Isaac Manuel Raj9d7ec172020-03-04 19:17:47 +053085 <bpmndi:BPMNLabel>
86 <dc:Bounds x="436" y="108" width="0" height="12" />
87 </bpmndi:BPMNLabel>
88 </bpmndi:BPMNEdge>
89 <bpmndi:BPMNShape id="ScriptTask_1dw39hg_di" bpmnElement="Task_09nzhwk">
hetengjiao177987a2020-09-18 10:08:26 +080090 <dc:Bounds x="1120" y="89" width="100" height="80" />
Isaac Manuel Raj9d7ec172020-03-04 19:17:47 +053091 </bpmndi:BPMNShape>
92 <bpmndi:BPMNShape id="ScriptTask_03j6ogo_di" bpmnElement="PreprocessIncomingRequest_task">
93 <dc:Bounds x="293" y="89" width="100" height="80" />
94 </bpmndi:BPMNShape>
95 <bpmndi:BPMNShape id="ScriptTask_1qmmew8_di" bpmnElement="instantiate_NSTask">
hetengjiao177987a2020-09-18 10:08:26 +080096 <dc:Bounds x="790" y="89" width="100" height="80" />
Isaac Manuel Raj9d7ec172020-03-04 19:17:47 +053097 </bpmndi:BPMNShape>
98 <bpmndi:BPMNShape id="EndEvent_15pcuuc_di" bpmnElement="EndEvent_1x6k78c">
hetengjiao177987a2020-09-18 10:08:26 +080099 <dc:Bounds x="1292" y="111" width="36" height="36" />
Isaac Manuel Raj9d7ec172020-03-04 19:17:47 +0530100 <bpmndi:BPMNLabel>
101 <dc:Bounds x="412" y="617" width="90" height="12" />
102 </bpmndi:BPMNLabel>
103 </bpmndi:BPMNShape>
104 <bpmndi:BPMNEdge id="SequenceFlow_1uiz85h_di" bpmnElement="SequenceFlow_1uiz85h">
hetengjiao177987a2020-09-18 10:08:26 +0800105 <di:waypoint x="1220" y="129" />
106 <di:waypoint x="1292" y="129" />
Isaac Manuel Raj9d7ec172020-03-04 19:17:47 +0530107 <bpmndi:BPMNLabel>
108 <dc:Bounds x="631" y="108" width="0" height="12" />
109 </bpmndi:BPMNLabel>
110 </bpmndi:BPMNEdge>
111 <bpmndi:BPMNEdge id="SequenceFlow_0g5bwvl_di" bpmnElement="SequenceFlow_0g5bwvl">
hetengjiao177987a2020-09-18 10:08:26 +0800112 <di:waypoint x="890" y="129" />
113 <di:waypoint x="960" y="129" />
Isaac Manuel Raj9d7ec172020-03-04 19:17:47 +0530114 </bpmndi:BPMNEdge>
115 <bpmndi:BPMNShape id="ScriptTask_18rzwzb_di" bpmnElement="ScriptTask_18rzwzb">
hetengjiao177987a2020-09-18 10:08:26 +0800116 <dc:Bounds x="960" y="89" width="100" height="80" />
Isaac Manuel Raj9d7ec172020-03-04 19:17:47 +0530117 </bpmndi:BPMNShape>
118 <bpmndi:BPMNEdge id="SequenceFlow_17u69c4_di" bpmnElement="SequenceFlow_17u69c4">
hetengjiao177987a2020-09-18 10:08:26 +0800119 <di:waypoint x="1060" y="129" />
120 <di:waypoint x="1120" y="129" />
121 </bpmndi:BPMNEdge>
122 <bpmndi:BPMNShape id="ScriptTask_1g378se_di" bpmnElement="ScriptTask_1g378se">
123 <dc:Bounds x="440" y="89" width="100" height="80" />
124 </bpmndi:BPMNShape>
125 <bpmndi:BPMNShape id="CallActivity_0svmkxh_di" bpmnElement="CallActivity_0svmkxh">
126 <dc:Bounds x="610" y="89" width="100" height="80" />
127 </bpmndi:BPMNShape>
128 <bpmndi:BPMNEdge id="SequenceFlow_1wafqwa_di" bpmnElement="SequenceFlow_1wafqwa">
129 <di:waypoint x="540" y="129" />
130 <di:waypoint x="610" y="129" />
131 </bpmndi:BPMNEdge>
132 <bpmndi:BPMNEdge id="SequenceFlow_11gmz7e_di" bpmnElement="SequenceFlow_11gmz7e">
133 <di:waypoint x="710" y="129" />
134 <di:waypoint x="790" y="129" />
Isaac Manuel Raj9d7ec172020-03-04 19:17:47 +0530135 </bpmndi:BPMNEdge>
136 </bpmndi:BPMNPlane>
137 </bpmndi:BPMNDiagram>
hetengjiao3e4d7032020-09-25 16:17:33 +0800138</bpmn:definitions>