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" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="1.10.0">
3 <bpmn:process id="CreateSDNCNetworkResource" name="CreateSDNCNetworkResource" isExecutable="true">
4 <bpmn:startEvent id="createNS_StartEvent" name="createNS_StartEvent">
5 <bpmn:outgoing>SequenceFlow_1qo2pln</bpmn:outgoing>
7 <bpmn:sequenceFlow id="SequenceFlow_1qo2pln" sourceRef="createNS_StartEvent" targetRef="PreprocessIncomingRequest_task" />
8 <bpmn:sequenceFlow id="SequenceFlow_0khtova" sourceRef="PreprocessIncomingRequest_task" targetRef="CallActivity_1600xlj" />
9 <bpmn:scriptTask id="PreprocessIncomingRequest_task" name="Preprocess Incoming Request" scriptFormat="groovy">
10 <bpmn:incoming>SequenceFlow_1qo2pln</bpmn:incoming>
11 <bpmn:outgoing>SequenceFlow_0khtova</bpmn:outgoing>
12 <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
13 def dcsi = new CreateSDNCNetworkResource()
14 dcsi.preProcessRequest(execution)]]></bpmn:script>
16 <bpmn:endEvent id="EndEvent_1x6k78c" name="create SDNC call end">
17 <bpmn:incoming>SequenceFlow_0ow44q0</bpmn:incoming>
19 <bpmn:callActivity id="CallActivity_1600xlj" name="Call SDNC RSRC Create Adapter V1 " calledElement="sdncAdapter">
20 <bpmn:extensionElements>
21 <camunda:in source="CRENWKI_activateSDNCRequest" target="sdncAdapterWorkflowRequest" />
22 <camunda:in source="mso-request-id" target="mso-request-id" />
23 <camunda:in source="mso-service-instance-id" target="mso-service-instance-id" />
24 <camunda:out source="sdncAdapterResponse" target="CRENWKI_activateSDNCResponse" />
25 <camunda:out source="SDNCA_ResponseCode" target="CRENWKI_sdncActivateReturnCode" />
26 <camunda:out source="SDNCA_SuccessIndicator" target="SDNCA_SuccessIndicator" />
27 <camunda:out source="WorkflowException" target="WorkflowException" />
28 </bpmn:extensionElements>
29 <bpmn:incoming>SequenceFlow_0khtova</bpmn:incoming>
30 <bpmn:outgoing>SequenceFlow_1xk5xed</bpmn:outgoing>
32 <bpmn:sequenceFlow id="SequenceFlow_1xk5xed" sourceRef="CallActivity_1600xlj" targetRef="Task_023hred" />
33 <bpmn:sequenceFlow id="SequenceFlow_0ow44q0" sourceRef="Task_023hred" targetRef="EndEvent_1x6k78c" />
34 <bpmn:scriptTask id="Task_023hred" name="post SDNC create call">
35 <bpmn:incoming>SequenceFlow_1xk5xed</bpmn:incoming>
36 <bpmn:outgoing>SequenceFlow_0ow44q0</bpmn:outgoing>
37 <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
38 def dcsi = new CreateSDNCNetworkResource()
39 dcsi.postCreateSDNC(execution)]]></bpmn:script>
42 <bpmndi:BPMNDiagram id="BPMNDiagram_1">
43 <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="CreateSDNCNetworkResource">
44 <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="createNS_StartEvent">
45 <dc:Bounds x="175" y="111" width="36" height="36" />
47 <dc:Bounds x="152" y="147" width="83" height="24" />
50 <bpmndi:BPMNEdge id="SequenceFlow_1qo2pln_di" bpmnElement="SequenceFlow_1qo2pln">
51 <di:waypoint xsi:type="dc:Point" x="211" y="129" />
52 <di:waypoint xsi:type="dc:Point" x="251" y="129" />
53 <di:waypoint xsi:type="dc:Point" x="251" y="129" />
54 <di:waypoint xsi:type="dc:Point" x="293" y="129" />
56 <dc:Bounds x="266" y="123" width="0" height="12" />
59 <bpmndi:BPMNEdge id="SequenceFlow_0khtova_di" bpmnElement="SequenceFlow_0khtova">
60 <di:waypoint xsi:type="dc:Point" x="393" y="129" />
61 <di:waypoint xsi:type="dc:Point" x="544" y="129" />
63 <dc:Bounds x="423.5" y="108" width="90" height="12" />
66 <bpmndi:BPMNShape id="ScriptTask_03j6ogo_di" bpmnElement="PreprocessIncomingRequest_task">
67 <dc:Bounds x="293" y="89" width="100" height="80" />
69 <bpmndi:BPMNShape id="EndEvent_15pcuuc_di" bpmnElement="EndEvent_1x6k78c">
70 <dc:Bounds x="951" y="111" width="36" height="36" />
72 <dc:Bounds x="912" y="153" width="85" height="24" />
75 <bpmndi:BPMNShape id="CallActivity_1600xlj_di" bpmnElement="CallActivity_1600xlj">
76 <dc:Bounds x="544" y="89" width="100" height="80" />
78 <bpmndi:BPMNEdge id="SequenceFlow_1xk5xed_di" bpmnElement="SequenceFlow_1xk5xed">
79 <di:waypoint xsi:type="dc:Point" x="644" y="129" />
80 <di:waypoint xsi:type="dc:Point" x="800" y="129" />
82 <dc:Bounds x="677" y="108" width="90" height="12" />
85 <bpmndi:BPMNEdge id="SequenceFlow_0ow44q0_di" bpmnElement="SequenceFlow_0ow44q0">
86 <di:waypoint xsi:type="dc:Point" x="900" y="129" />
87 <di:waypoint xsi:type="dc:Point" x="951" y="129" />
89 <dc:Bounds x="880.5" y="108" width="90" height="12" />
92 <bpmndi:BPMNShape id="ScriptTask_0gyej62_di" bpmnElement="Task_023hred">
93 <dc:Bounds x="800" y="89" width="100" height="80" />