Fix duplicate service instance ids
[so.git] / bpmn / MSOInfrastructureBPMN / src / main / resources / subprocess / DoCreateE2ENetworkInstance.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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="1.7.2">
3   <bpmn:process id="DoCreateE2ENetworkInstance" name="DoCreateE2ENetworkInstance" isExecutable="true">
4     <bpmn:startEvent id="StartEvent_1">
5       <bpmn:outgoing>SequenceFlow_1gomb9n</bpmn:outgoing>
6     </bpmn:startEvent>
7     <bpmn:scriptTask id="ScriptTask_16gvaru" name="PreProcess SDNC Assign Request" scriptFormat="groovy">
8       <bpmn:incoming>SequenceFlow_1gomb9n</bpmn:incoming>
9       <bpmn:outgoing>SequenceFlow_0s7w7gp</bpmn:outgoing>
10       <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
11 def dcsi = new DoCreateE2EServiceInstance()
12 dcsi.preProcessSDNCAssignRequest(execution)]]></bpmn:script>
13     </bpmn:scriptTask>
14     <bpmn:scriptTask id="ScriptTask_0dp0qqq" name="Post Process SDNC Assign Request" scriptFormat="groovy">
15       <bpmn:incoming>SequenceFlow_1wtx8gj</bpmn:incoming>
16       <bpmn:outgoing>SequenceFlow_0k06cqp</bpmn:outgoing>
17       <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
18 def dcsi = new DoCreateE2EServiceInstance()
19 dcsi.postProcessSDNCAssign(execution)]]></bpmn:script>
20     </bpmn:scriptTask>
21     <bpmn:callActivity id="CallActivity_0ao684p" name="Call SDNC Adapter Service Topology Assign" calledElement="sdncAdapter">
22       <bpmn:extensionElements>
23         <camunda:in source="sdncAssignRequest" target="sdncAdapterWorkflowRequest" />
24         <camunda:in source="msoRequestId" target="mso-request-id" />
25         <camunda:in source="serviceInstanceId" target="mso-service-instance-id" />
26         <camunda:out source="WorkflowException" target="WorkflowException" />
27         <camunda:out source="sdncAdapterResponse" target="sdncAdapterResponse" />
28         <camunda:out source="SDNCA_SuccessIndicator" target="SDNCA_SuccessIndicator" />
29       </bpmn:extensionElements>
30       <bpmn:incoming>SequenceFlow_0s7w7gp</bpmn:incoming>
31       <bpmn:outgoing>SequenceFlow_1wtx8gj</bpmn:outgoing>
32     </bpmn:callActivity>
33     <bpmn:endEvent id="EndEvent_0tpifgl">
34       <bpmn:incoming>SequenceFlow_0o6bjmn</bpmn:incoming>
35     </bpmn:endEvent>
36     <bpmn:callActivity id="CallActivity_11yzhx1" name="Call CustomE2EGetService2" calledElement="CustomE2EGetService">
37       <bpmn:extensionElements>
38         <camunda:in source="serviceInstanceId" target="GENGS_serviceInstanceId" />
39         <camunda:in sourceExpression="service-instance" target="GENGS_type" />
40         <camunda:in source="globalSubscriberId" target="GENGS_globalCustomerId" />
41         <camunda:in source="subscriptionServiceType" target="GENGS_serviceType" />
42         <camunda:out source="GENGS_FoundIndicator" target="GENGS_FoundIndicator" />
43         <camunda:out source="GENGS_SuccessIndicator" target="GENGS_SuccessIndicator" />
44         <camunda:out source="WorkflowException" target="WorkflowException" />
45         <camunda:out source="GENGS_service" target="GENGS_service" />
46       </bpmn:extensionElements>
47       <bpmn:incoming>SequenceFlow_0k06cqp</bpmn:incoming>
48       <bpmn:outgoing>SequenceFlow_1oql7zl</bpmn:outgoing>
49     </bpmn:callActivity>
50     <bpmn:scriptTask id="ScriptTask_0yz4lym" name="Post Process AAI GET2" scriptFormat="groovy">
51       <bpmn:incoming>SequenceFlow_1oql7zl</bpmn:incoming>
52       <bpmn:outgoing>SequenceFlow_0o6bjmn</bpmn:outgoing>
53       <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
54 def dcsi = new DoCreateE2EServiceInstance()
55 dcsi.postProcessAAIGET2(execution)]]></bpmn:script>
56     </bpmn:scriptTask>
57     <bpmn:sequenceFlow id="SequenceFlow_0s7w7gp" name="" sourceRef="ScriptTask_16gvaru" targetRef="CallActivity_0ao684p" />
58     <bpmn:sequenceFlow id="SequenceFlow_1wtx8gj" name="" sourceRef="CallActivity_0ao684p" targetRef="ScriptTask_0dp0qqq" />
59     <bpmn:sequenceFlow id="SequenceFlow_0k06cqp" name="" sourceRef="ScriptTask_0dp0qqq" targetRef="CallActivity_11yzhx1" />
60     <bpmn:sequenceFlow id="SequenceFlow_0o6bjmn" sourceRef="ScriptTask_0yz4lym" targetRef="EndEvent_0tpifgl" />
61     <bpmn:sequenceFlow id="SequenceFlow_1oql7zl" sourceRef="CallActivity_11yzhx1" targetRef="ScriptTask_0yz4lym" />
62     <bpmn:sequenceFlow id="SequenceFlow_1gomb9n" sourceRef="StartEvent_1" targetRef="ScriptTask_16gvaru" />
63   </bpmn:process>
64   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
65     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="DoCreateE2ENetworkInstance">
66       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
67         <dc:Bounds x="173" y="102" width="36" height="36" />
68       </bpmndi:BPMNShape>
69       <bpmndi:BPMNShape id="ScriptTask_16gvaru_di" bpmnElement="ScriptTask_16gvaru">
70         <dc:Bounds x="346" y="80" width="100" height="80" />
71       </bpmndi:BPMNShape>
72       <bpmndi:BPMNShape id="ScriptTask_0dp0qqq_di" bpmnElement="ScriptTask_0dp0qqq">
73         <dc:Bounds x="754" y="80" width="100" height="80" />
74       </bpmndi:BPMNShape>
75       <bpmndi:BPMNShape id="CallActivity_0ao684p_di" bpmnElement="CallActivity_0ao684p">
76         <dc:Bounds x="546" y="80" width="100" height="80" />
77       </bpmndi:BPMNShape>
78       <bpmndi:BPMNShape id="EndEvent_0tpifgl_di" bpmnElement="EndEvent_0tpifgl">
79         <dc:Bounds x="1432" y="102" width="36" height="36" />
80         <bpmndi:BPMNLabel>
81           <dc:Bounds x="1405" y="143" width="0" height="12" />
82         </bpmndi:BPMNLabel>
83       </bpmndi:BPMNShape>
84       <bpmndi:BPMNShape id="CallActivity_11yzhx1_di" bpmnElement="CallActivity_11yzhx1">
85         <dc:Bounds x="983" y="80" width="100" height="80" />
86       </bpmndi:BPMNShape>
87       <bpmndi:BPMNShape id="ScriptTask_0yz4lym_di" bpmnElement="ScriptTask_0yz4lym">
88         <dc:Bounds x="1219" y="80" width="100" height="80" />
89       </bpmndi:BPMNShape>
90       <bpmndi:BPMNEdge id="SequenceFlow_0s7w7gp_di" bpmnElement="SequenceFlow_0s7w7gp">
91         <di:waypoint xsi:type="dc:Point" x="446" y="120" />
92         <di:waypoint xsi:type="dc:Point" x="546" y="120" />
93         <bpmndi:BPMNLabel>
94           <dc:Bounds x="496" y="99" width="0" height="12" />
95         </bpmndi:BPMNLabel>
96       </bpmndi:BPMNEdge>
97       <bpmndi:BPMNEdge id="SequenceFlow_1wtx8gj_di" bpmnElement="SequenceFlow_1wtx8gj">
98         <di:waypoint xsi:type="dc:Point" x="646" y="120" />
99         <di:waypoint xsi:type="dc:Point" x="754" y="120" />
100         <bpmndi:BPMNLabel>
101           <dc:Bounds x="700" y="99" width="0" height="12" />
102         </bpmndi:BPMNLabel>
103       </bpmndi:BPMNEdge>
104       <bpmndi:BPMNEdge id="SequenceFlow_0k06cqp_di" bpmnElement="SequenceFlow_0k06cqp">
105         <di:waypoint xsi:type="dc:Point" x="854" y="120" />
106         <di:waypoint xsi:type="dc:Point" x="891" y="120" />
107         <di:waypoint xsi:type="dc:Point" x="983" y="120" />
108         <bpmndi:BPMNLabel>
109           <dc:Bounds x="872.5" y="99" width="0" height="12" />
110         </bpmndi:BPMNLabel>
111       </bpmndi:BPMNEdge>
112       <bpmndi:BPMNEdge id="SequenceFlow_0o6bjmn_di" bpmnElement="SequenceFlow_0o6bjmn">
113         <di:waypoint xsi:type="dc:Point" x="1319" y="120" />
114         <di:waypoint xsi:type="dc:Point" x="1432" y="120" />
115         <bpmndi:BPMNLabel>
116           <dc:Bounds x="1375.5" y="99" width="0" height="12" />
117         </bpmndi:BPMNLabel>
118       </bpmndi:BPMNEdge>
119       <bpmndi:BPMNEdge id="SequenceFlow_1oql7zl_di" bpmnElement="SequenceFlow_1oql7zl">
120         <di:waypoint xsi:type="dc:Point" x="1083" y="115" />
121         <di:waypoint xsi:type="dc:Point" x="1151" y="115" />
122         <di:waypoint xsi:type="dc:Point" x="1219" y="115" />
123         <bpmndi:BPMNLabel>
124           <dc:Bounds x="1117" y="94" width="0" height="12" />
125         </bpmndi:BPMNLabel>
126       </bpmndi:BPMNEdge>
127       <bpmndi:BPMNEdge id="SequenceFlow_1gomb9n_di" bpmnElement="SequenceFlow_1gomb9n">
128         <di:waypoint xsi:type="dc:Point" x="209" y="120" />
129         <di:waypoint xsi:type="dc:Point" x="346" y="120" />
130         <bpmndi:BPMNLabel>
131           <dc:Bounds x="277.5" y="99" width="0" height="12" />
132         </bpmndi:BPMNLabel>
133       </bpmndi:BPMNEdge>
134     </bpmndi:BPMNPlane>
135   </bpmndi:BPMNDiagram>
136 </bpmn:definitions>