blob: 7e8b63e71928da064218ea77ab1fe19faf4904e2 [file] [log] [blame]
guanwenyao8b216bf2018-03-28 17:42:46 +08001<?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:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="1.10.0">
3 <bpmn:process id="DoScaleVFCServiceInstance" name="DoScaleVFCServiceInstance" isExecutable="true">
4 <bpmn:startEvent id="scaleNS_StartEvent" name="scaleNS_StartEvent">
5 <bpmn:outgoing>SequenceFlow_00w1ntj</bpmn:outgoing>
6 </bpmn:startEvent>
7 <bpmn:scriptTask id="PreprocessIncomingRequest_task" name="PreprocessIncomingRequest" scriptFormat="groovy">
8 <bpmn:incoming>SequenceFlow_00w1ntj</bpmn:incoming>
9 <bpmn:outgoing>SequenceFlow_0izumqq</bpmn:outgoing>
10 <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
11def dcsi = new DoScaleVFCNetworkServiceInstance()
12dcsi.preProcessRequest(execution)]]></bpmn:script>
13 </bpmn:scriptTask>
14 <bpmn:scriptTask id="Task_0ia872k" name="Scale Network Service" scriptFormat="groovy">
15 <bpmn:incoming>SequenceFlow_0izumqq</bpmn:incoming>
16 <bpmn:outgoing>SequenceFlow_0hzy01n</bpmn:outgoing>
17 <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
18def dcsi = new DoScaleVFCNetworkServiceInstance()
19dcsi.scaleNetworkService(execution)]]></bpmn:script>
20 </bpmn:scriptTask>
21 <bpmn:sequenceFlow id="SequenceFlow_00w1ntj" sourceRef="scaleNS_StartEvent" targetRef="PreprocessIncomingRequest_task" />
22 <bpmn:sequenceFlow id="SequenceFlow_0izumqq" sourceRef="PreprocessIncomingRequest_task" targetRef="Task_0ia872k" />
23 <bpmn:endEvent id="EndEvent_1r0dxhy">
24 <bpmn:incoming>SequenceFlow_18hdal9</bpmn:incoming>
25 </bpmn:endEvent>
26 <bpmn:sequenceFlow id="SequenceFlow_18hdal9" sourceRef="finishNSScale_Task" targetRef="EndEvent_1r0dxhy" />
27 <bpmn:scriptTask id="finishNSScale_Task" name="Finish NS Scale" scriptFormat="groovy">
28 <bpmn:incoming>SequenceFlow_0hzy01n</bpmn:incoming>
29 <bpmn:outgoing>SequenceFlow_18hdal9</bpmn:outgoing>
30 <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
31def dcsi = new DoScaleVFCNetworkServiceInstance()
32dcsi.finishNSScale(execution)]]></bpmn:script>
33 </bpmn:scriptTask>
34 <bpmn:sequenceFlow id="SequenceFlow_0hzy01n" sourceRef="Task_0ia872k" targetRef="finishNSScale_Task" />
35 </bpmn:process>
36 <bpmndi:BPMNDiagram id="BPMNDiagram_1">
37 <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="DoScaleVFCServiceInstance">
38 <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="scaleNS_StartEvent">
39 <dc:Bounds x="-33" y="182" width="36" height="36" />
40 <bpmndi:BPMNLabel>
41 <dc:Bounds x="-56" y="218" width="83" height="24" />
42 </bpmndi:BPMNLabel>
43 </bpmndi:BPMNShape>
44 <bpmndi:BPMNShape id="ScriptTask_0fxwmkv_di" bpmnElement="PreprocessIncomingRequest_task">
45 <dc:Bounds x="117" y="160" width="100" height="80" />
46 </bpmndi:BPMNShape>
47 <bpmndi:BPMNShape id="ScriptTask_14ppugf_di" bpmnElement="Task_0ia872k">
48 <dc:Bounds x="739" y="160" width="100" height="80" />
49 </bpmndi:BPMNShape>
50 <bpmndi:BPMNEdge id="SequenceFlow_00w1ntj_di" bpmnElement="SequenceFlow_00w1ntj">
51 <di:waypoint xsi:type="dc:Point" x="3" y="200" />
52 <di:waypoint xsi:type="dc:Point" x="117" y="200" />
53 <bpmndi:BPMNLabel>
54 <dc:Bounds x="15" y="179" width="90" height="12" />
55 </bpmndi:BPMNLabel>
56 </bpmndi:BPMNEdge>
57 <bpmndi:BPMNEdge id="SequenceFlow_0izumqq_di" bpmnElement="SequenceFlow_0izumqq">
58 <di:waypoint xsi:type="dc:Point" x="217" y="200" />
59 <di:waypoint xsi:type="dc:Point" x="739" y="200" />
60 <bpmndi:BPMNLabel>
61 <dc:Bounds x="433" y="179" width="90" height="12" />
62 </bpmndi:BPMNLabel>
63 </bpmndi:BPMNEdge>
64 <bpmndi:BPMNShape id="EndEvent_1r0dxhy_di" bpmnElement="EndEvent_1r0dxhy">
65 <dc:Bounds x="771" y="676" width="36" height="36" />
66 <bpmndi:BPMNLabel>
67 <dc:Bounds x="744" y="716" width="90" height="12" />
68 </bpmndi:BPMNLabel>
69 </bpmndi:BPMNShape>
70 <bpmndi:BPMNEdge id="SequenceFlow_18hdal9_di" bpmnElement="SequenceFlow_18hdal9">
71 <di:waypoint xsi:type="dc:Point" x="789" y="451" />
72 <di:waypoint xsi:type="dc:Point" x="789" y="676" />
73 <bpmndi:BPMNLabel>
74 <dc:Bounds x="759" y="557.5" width="90" height="12" />
75 </bpmndi:BPMNLabel>
76 </bpmndi:BPMNEdge>
77 <bpmndi:BPMNShape id="ScriptTask_1elwlqc_di" bpmnElement="finishNSScale_Task">
78 <dc:Bounds x="739" y="371" width="100" height="80" />
79 </bpmndi:BPMNShape>
80 <bpmndi:BPMNEdge id="SequenceFlow_0hzy01n_di" bpmnElement="SequenceFlow_0hzy01n">
81 <di:waypoint xsi:type="dc:Point" x="789" y="240" />
82 <di:waypoint xsi:type="dc:Point" x="789" y="371" />
83 <bpmndi:BPMNLabel>
84 <dc:Bounds x="759" y="299.5" width="90" height="12" />
85 </bpmndi:BPMNLabel>
86 </bpmndi:BPMNEdge>
87 </bpmndi:BPMNPlane>
88 </bpmndi:BPMNDiagram>
89</bpmn:definitions>