Isaac Manuel Raj | 9d7ec17 | 2020-03-04 19:17:47 +0530 | [diff] [blame] | 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:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="2.2.3"> |
| 3 | <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" /> |
| 8 | <bpmn:sequenceFlow id="SequenceFlow_0khtova" sourceRef="PreprocessIncomingRequest_task" targetRef="instantiate_NSTask" /> |
| 9 | <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.* |
| 13 | def dcsi = new DoCreateSliceServiceInstance() |
| 14 | dcsi.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.* |
| 20 | def dcsi = new DoCreateSliceServiceInstance() |
| 21 | dcsi.preProcessRequest(execution)</bpmn:script> |
| 22 | </bpmn:scriptTask> |
| 23 | <bpmn:scriptTask id="instantiate_NSTask" name="create Slice Service in AAI" scriptFormat="groovy"> |
| 24 | <bpmn:incoming>SequenceFlow_0khtova</bpmn:incoming> |
| 25 | <bpmn:outgoing>SequenceFlow_0g5bwvl</bpmn:outgoing> |
| 26 | <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.* |
| 27 | def dcsi = new DoCreateSliceServiceInstance() |
| 28 | dcsi.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.* |
| 39 | def dcsi = new DoCreateSliceServiceInstance() |
| 40 | dcsi.createAllottedResource(execution)</bpmn:script> |
| 41 | </bpmn:scriptTask> |
| 42 | <bpmn:sequenceFlow id="SequenceFlow_17u69c4" sourceRef="ScriptTask_18rzwzb" targetRef="Task_09nzhwk" /> |
| 43 | </bpmn:process> |
| 44 | <bpmndi:BPMNDiagram id="BPMNDiagram_1"> |
| 45 | <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="DoCreateSliceServiceInstance"> |
| 46 | <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="createNS_StartEvent"> |
| 47 | <dc:Bounds x="175" y="111" width="36" height="36" /> |
| 48 | <bpmndi:BPMNLabel> |
| 49 | <dc:Bounds x="152" y="147" width="83" height="24" /> |
| 50 | </bpmndi:BPMNLabel> |
| 51 | </bpmndi:BPMNShape> |
| 52 | <bpmndi:BPMNEdge id="SequenceFlow_1qo2pln_di" bpmnElement="SequenceFlow_1qo2pln"> |
| 53 | <di:waypoint x="211" y="129" /> |
| 54 | <di:waypoint x="251" y="129" /> |
| 55 | <di:waypoint x="251" y="129" /> |
| 56 | <di:waypoint x="293" y="129" /> |
| 57 | <bpmndi:BPMNLabel> |
| 58 | <dc:Bounds x="266" y="123" width="0" height="12" /> |
| 59 | </bpmndi:BPMNLabel> |
| 60 | </bpmndi:BPMNEdge> |
| 61 | <bpmndi:BPMNEdge id="SequenceFlow_0khtova_di" bpmnElement="SequenceFlow_0khtova"> |
| 62 | <di:waypoint x="393" y="129" /> |
| 63 | <di:waypoint x="474" y="129" /> |
| 64 | <bpmndi:BPMNLabel> |
| 65 | <dc:Bounds x="436" y="108" width="0" height="12" /> |
| 66 | </bpmndi:BPMNLabel> |
| 67 | </bpmndi:BPMNEdge> |
| 68 | <bpmndi:BPMNShape id="ScriptTask_1dw39hg_di" bpmnElement="Task_09nzhwk"> |
| 69 | <dc:Bounds x="851" y="89" width="100" height="80" /> |
| 70 | </bpmndi:BPMNShape> |
| 71 | <bpmndi:BPMNShape id="ScriptTask_03j6ogo_di" bpmnElement="PreprocessIncomingRequest_task"> |
| 72 | <dc:Bounds x="293" y="89" width="100" height="80" /> |
| 73 | </bpmndi:BPMNShape> |
| 74 | <bpmndi:BPMNShape id="ScriptTask_1qmmew8_di" bpmnElement="instantiate_NSTask"> |
| 75 | <dc:Bounds x="474" y="89" width="100" height="80" /> |
| 76 | </bpmndi:BPMNShape> |
| 77 | <bpmndi:BPMNShape id="EndEvent_15pcuuc_di" bpmnElement="EndEvent_1x6k78c"> |
| 78 | <dc:Bounds x="1049" y="111" width="36" height="36" /> |
| 79 | <bpmndi:BPMNLabel> |
| 80 | <dc:Bounds x="412" y="617" width="90" height="12" /> |
| 81 | </bpmndi:BPMNLabel> |
| 82 | </bpmndi:BPMNShape> |
| 83 | <bpmndi:BPMNEdge id="SequenceFlow_1uiz85h_di" bpmnElement="SequenceFlow_1uiz85h"> |
| 84 | <di:waypoint x="951" y="129" /> |
| 85 | <di:waypoint x="1049" y="129" /> |
| 86 | <bpmndi:BPMNLabel> |
| 87 | <dc:Bounds x="631" y="108" width="0" height="12" /> |
| 88 | </bpmndi:BPMNLabel> |
| 89 | </bpmndi:BPMNEdge> |
| 90 | <bpmndi:BPMNEdge id="SequenceFlow_0g5bwvl_di" bpmnElement="SequenceFlow_0g5bwvl"> |
| 91 | <di:waypoint x="574" y="129" /> |
| 92 | <di:waypoint x="658" y="129" /> |
| 93 | </bpmndi:BPMNEdge> |
| 94 | <bpmndi:BPMNShape id="ScriptTask_18rzwzb_di" bpmnElement="ScriptTask_18rzwzb"> |
| 95 | <dc:Bounds x="658" y="89" width="100" height="80" /> |
| 96 | </bpmndi:BPMNShape> |
| 97 | <bpmndi:BPMNEdge id="SequenceFlow_17u69c4_di" bpmnElement="SequenceFlow_17u69c4"> |
| 98 | <di:waypoint x="758" y="129" /> |
| 99 | <di:waypoint x="851" y="129" /> |
| 100 | </bpmndi:BPMNEdge> |
| 101 | </bpmndi:BPMNPlane> |
| 102 | </bpmndi:BPMNDiagram> |
| 103 | </bpmn:definitions> |