summaryrefslogtreecommitdiffstats
path: root/bpmn/MSOInfrastructureBPMN/src/main/resources/subprocess/DoCreateE2EServiceInstance.bpmn
diff options
context:
space:
mode:
authorc00149107 <chenchuanyu@huawei.com>2017-10-13 10:48:59 +0800
committerSeshu Kumar M <seshu.kumar.m@huawei.com>2017-10-13 07:01:47 +0000
commit64d0ab5ebd9121de878d7932e2469afae74c8a99 (patch)
tree8229a2096406447cd5a7dade12950b74db6d5949 /bpmn/MSOInfrastructureBPMN/src/main/resources/subprocess/DoCreateE2EServiceInstance.bpmn
parent18345bdd80561efd7031086d48b2321b69d2e0e4 (diff)
Correct the workflow for NS Create
Correct the workflow for NS Create bpmn Change-Id: I71283c88a3936d1b19b3403f6940823875405c90 Issue-ID:SO-217 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
Diffstat (limited to 'bpmn/MSOInfrastructureBPMN/src/main/resources/subprocess/DoCreateE2EServiceInstance.bpmn')
-rw-r--r--bpmn/MSOInfrastructureBPMN/src/main/resources/subprocess/DoCreateE2EServiceInstance.bpmn162
1 files changed, 114 insertions, 48 deletions
diff --git a/bpmn/MSOInfrastructureBPMN/src/main/resources/subprocess/DoCreateE2EServiceInstance.bpmn b/bpmn/MSOInfrastructureBPMN/src/main/resources/subprocess/DoCreateE2EServiceInstance.bpmn
index 2e996e20d5..a76036668c 100644
--- a/bpmn/MSOInfrastructureBPMN/src/main/resources/subprocess/DoCreateE2EServiceInstance.bpmn
+++ b/bpmn/MSOInfrastructureBPMN/src/main/resources/subprocess/DoCreateE2EServiceInstance.bpmn
@@ -128,24 +128,45 @@ ddsi.postProcessAAIPUT(execution)]]></bpmn2:script>
</bpmn2:scriptTask>
<bpmn2:sequenceFlow id="SequenceFlow_1dd86x8" sourceRef="ScriptTask_0q37vn9" targetRef="ExclusiveGateway_1nk6aol" />
<bpmn2:scriptTask id="ScriptTask_0081lne" name="Prepare SDN-C Adaptor Data Request" scriptFormat="groovy">
- <bpmn2:incoming>SequenceFlow_0k4q7jm</bpmn2:incoming>
+ <bpmn2:incoming>SequenceFlow_1hgiln0</bpmn2:incoming>
<bpmn2:outgoing>SequenceFlow_0ofqw6v</bpmn2:outgoing>
<bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
def csi = new DoCreateE2EServiceInstance()
csi.preSDNCRequest(execution)]]></bpmn2:script>
</bpmn2:scriptTask>
- <bpmn2:scriptTask id="ScriptTask_0wvq4t8" name="Prepare VF-C Adaptor Data Request" scriptFormat="groovy">
+ <bpmn2:scriptTask id="ScriptTask_0wvq4t8" name="Prepare Resource Request for vEPC" scriptFormat="groovy">
<bpmn2:incoming>SequenceFlow_05gdjox</bpmn2:incoming>
<bpmn2:outgoing>SequenceFlow_15zgrcq</bpmn2:outgoing>
<bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
+String resourceName= "vEPC"
def csi = new DoCreateE2EServiceInstance()
-csi.preVFCRequest(execution)]]></bpmn2:script>
+csi.preResourceRequest(execution, resourceName)]]></bpmn2:script>
</bpmn2:scriptTask>
- <bpmn2:callActivity id="CallActivity_09c3ajg" name="Call DoCreateE2ENetworkInstance" calledElement="DoCreateE2ENetworkInstance">
+ <bpmn2:callActivity id="CallActivity_09c3ajg" name="Call DoCreateE2ENetworkInstance" calledElement="DoCreateWANNetworkInstance">
+ <bpmn2:extensionElements>
+ <camunda:in source="serviceId" target="serviceId" />
+ <camunda:in source="operationId" target="operationId" />
+ <camunda:in source="operationType" target="operationType" />
+ <camunda:in source="resourceTemplateUUID" target="resourceTemplateUUID" />
+ <camunda:in source="resourceName" target="resourceName" />
+ <camunda:in source="resoureceNodeType" target="resoureceNodeType" />
+ <camunda:in source="resourceReqJson" target="resourceReqJson" />
+ </bpmn2:extensionElements>
<bpmn2:incoming>SequenceFlow_0ofqw6v</bpmn2:incoming>
<bpmn2:outgoing>SequenceFlow_1vvdkcs</bpmn2:outgoing>
</bpmn2:callActivity>
- <bpmn2:callActivity id="CallActivity_0uwm4l1" name="Call DoCreateVFCNetworkServiceInstance" calledElement="DoCreateVFCNetworkServiceInstance">
+ <bpmn2:callActivity id="CallActivity_0uwm4l1" name="Call DoCreateVFCNetworkServiceInstance For vEPC" calledElement="DoCreateVFCNetworkServiceInstance">
+ <bpmn2:extensionElements>
+ <camunda:in source="nsServiceName" target="nsServiceName" />
+ <camunda:in source="nsServiceDescription" target="nsServiceDescription" />
+ <camunda:in source="globalSubscriberId" target="globalSubscriberId" />
+ <camunda:in source="serviceType" target="serviceType" />
+ <camunda:in source="serviceId" target="serviceId" />
+ <camunda:in source="operationId" target="operationId" />
+ <camunda:in source="resourceName" target="resourceName" />
+ <camunda:in source="resourceUUID" target="resourceUUID" />
+ <camunda:in source="resourceParameters" target="resourceParameters" />
+ </bpmn2:extensionElements>
<bpmn2:incoming>SequenceFlow_15zgrcq</bpmn2:incoming>
<bpmn2:outgoing>SequenceFlow_0k4q7jm</bpmn2:outgoing>
</bpmn2:callActivity>
@@ -164,7 +185,7 @@ csi.postConfigRequest(execution)]]></bpmn2:script>
<bpmn2:endEvent id="EndEvent_0kbbt94">
<bpmn2:incoming>SequenceFlow_092ghvu</bpmn2:incoming>
</bpmn2:endEvent>
- <bpmn2:sequenceFlow id="SequenceFlow_0k4q7jm" sourceRef="CallActivity_0uwm4l1" targetRef="ScriptTask_0081lne" />
+ <bpmn2:sequenceFlow id="SequenceFlow_0k4q7jm" sourceRef="CallActivity_0uwm4l1" targetRef="Task_0aidjmp" />
<bpmn2:sequenceFlow id="SequenceFlow_1qctzm0" sourceRef="Task_0uiekmn" targetRef="Task_0raqlqc" />
<bpmn2:scriptTask id="Task_0uiekmn" name="Prepare Resource Oper Status">
<bpmn2:incoming>SequenceFlow_1170ztf</bpmn2:incoming>
@@ -196,6 +217,31 @@ ddsi.preInitResourcesOperStatus(execution)]]></bpmn2:script>
<bpmn2:incoming>SequenceFlow_1qctzm0</bpmn2:incoming>
<bpmn2:outgoing>SequenceFlow_05gdjox</bpmn2:outgoing>
</bpmn2:serviceTask>
+ <bpmn2:sequenceFlow id="SequenceFlow_0ua1bbk" sourceRef="Task_0aidjmp" targetRef="Task_03n6y9h" />
+ <bpmn2:scriptTask id="Task_0aidjmp" name="Prepare Resource Request For vIMS" scriptFormat="groovy">
+ <bpmn2:incoming>SequenceFlow_0k4q7jm</bpmn2:incoming>
+ <bpmn2:outgoing>SequenceFlow_0ua1bbk</bpmn2:outgoing>
+ <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
+String nsName = "vIMS"
+def csi = new DoCreateE2EServiceInstance()
+csi.preResourceRequest(execution, nsName)]]></bpmn2:script>
+ </bpmn2:scriptTask>
+ <bpmn2:sequenceFlow id="SequenceFlow_1hgiln0" sourceRef="Task_03n6y9h" targetRef="ScriptTask_0081lne" />
+ <bpmn2:callActivity id="Task_03n6y9h" name="Call DoCreateVFCNetworkServiceInstance For vIMS" calledElement="DoCreateVFCNetworkServiceInstance">
+ <bpmn2:extensionElements>
+ <camunda:in source="nsServiceName" target="nsServiceName" />
+ <camunda:in source="nsServiceDescription" target="nsServiceDescription" />
+ <camunda:in source="globalSubscriberId" target="globalSubscriberId" />
+ <camunda:in source="serviceType" target="serviceType" />
+ <camunda:in source="serviceId" target="serviceId" />
+ <camunda:in source="operationId" target="operationId" />
+ <camunda:in source="resourceName" target="resourceName" />
+ <camunda:in source="resourceUUID" target="resourceUUID" />
+ <camunda:in source="resourceParameters" target="resourceParameters" />
+ </bpmn2:extensionElements>
+ <bpmn2:incoming>SequenceFlow_0ua1bbk</bpmn2:incoming>
+ <bpmn2:outgoing>SequenceFlow_1hgiln0</bpmn2:outgoing>
+ </bpmn2:callActivity>
</bpmn2:process>
<bpmn2:error id="Error_2" name="MSOWorkflowException" errorCode="MSOWorkflowException" />
<bpmn2:error id="Error_1" name="java.lang.Exception" errorCode="java.lang.Exception" />
@@ -276,35 +322,35 @@ ddsi.preInitResourcesOperStatus(execution)]]></bpmn2:script>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="SubProcess_06d8lk8_di" bpmnElement="SubProcess_06d8lk8" isExpanded="true">
- <dc:Bounds x="-329" y="412" width="783" height="195" />
+ <dc:Bounds x="-155" y="387" width="783" height="195" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="StartEvent_0yljq9y_di" bpmnElement="StartEvent_0yljq9y">
- <dc:Bounds x="-233" y="489" width="36" height="36" />
+ <dc:Bounds x="-59" y="464" width="36" height="36" />
<bpmndi:BPMNLabel>
- <dc:Bounds x="-260" y="530" width="90" height="0" />
+ <dc:Bounds x="-86" y="505" width="90" height="0" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="EndEvent_117lkk3_di" bpmnElement="EndEvent_117lkk3">
- <dc:Bounds x="400" y="489" width="36" height="36" />
+ <dc:Bounds x="574" y="464" width="36" height="36" />
<bpmndi:BPMNLabel>
- <dc:Bounds x="373" y="530" width="90" height="0" />
+ <dc:Bounds x="547" y="505" width="90" height="0" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="CallActivity_1srx6p6_di" bpmnElement="CallActivity_1srx6p6">
- <dc:Bounds x="65" y="467" width="100" height="80" />
+ <dc:Bounds x="239" y="442" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_0eumzpf_di" bpmnElement="SequenceFlow_0eumzpf">
- <di:waypoint xsi:type="dc:Point" x="165" y="507" />
- <di:waypoint xsi:type="dc:Point" x="233" y="507" />
+ <di:waypoint xsi:type="dc:Point" x="339" y="482" />
+ <di:waypoint xsi:type="dc:Point" x="407" y="482" />
<bpmndi:BPMNLabel>
- <dc:Bounds x="154" y="492" width="90" height="0" />
+ <dc:Bounds x="328" y="467" width="90" height="0" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_0tgrn11_di" bpmnElement="SequenceFlow_0tgrn11">
- <di:waypoint xsi:type="dc:Point" x="-197" y="507" />
- <di:waypoint xsi:type="dc:Point" x="-98" y="507" />
+ <di:waypoint xsi:type="dc:Point" x="-23" y="482" />
+ <di:waypoint xsi:type="dc:Point" x="76" y="482" />
<bpmndi:BPMNLabel>
- <dc:Bounds x="-192" y="492" width="90" height="0" />
+ <dc:Bounds x="-18" y="467" width="90" height="0" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="ExclusiveGateway_1nk6aol_di" bpmnElement="ExclusiveGateway_1nk6aol" isMarkerVisible="true">
@@ -349,68 +395,68 @@ ddsi.preInitResourcesOperStatus(execution)]]></bpmn2:script>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="ScriptTask_0ocetux_di" bpmnElement="ScriptTask_0ocetux">
- <dc:Bounds x="-98" y="467" width="100" height="80" />
+ <dc:Bounds x="76" y="442" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_1lqktwf_di" bpmnElement="SequenceFlow_1lqktwf">
- <di:waypoint xsi:type="dc:Point" x="2" y="507" />
- <di:waypoint xsi:type="dc:Point" x="65" y="507" />
+ <di:waypoint xsi:type="dc:Point" x="176" y="482" />
+ <di:waypoint xsi:type="dc:Point" x="239" y="482" />
<bpmndi:BPMNLabel>
- <dc:Bounds x="-11" y="492" width="90" height="0" />
+ <dc:Bounds x="163" y="467" width="90" height="0" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="ScriptTask_1p0vyip_di" bpmnElement="ScriptTask_1p0vyip">
- <dc:Bounds x="233" y="467" width="100" height="80" />
+ <dc:Bounds x="407" y="442" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_1xzgv5k_di" bpmnElement="SequenceFlow_1xzgv5k">
- <di:waypoint xsi:type="dc:Point" x="333" y="507" />
- <di:waypoint xsi:type="dc:Point" x="365" y="507" />
- <di:waypoint xsi:type="dc:Point" x="365" y="507" />
- <di:waypoint xsi:type="dc:Point" x="400" y="507" />
+ <di:waypoint xsi:type="dc:Point" x="507" y="482" />
+ <di:waypoint xsi:type="dc:Point" x="539" y="482" />
+ <di:waypoint xsi:type="dc:Point" x="539" y="482" />
+ <di:waypoint xsi:type="dc:Point" x="574" y="482" />
<bpmndi:BPMNLabel>
- <dc:Bounds x="335" y="507" width="90" height="0" />
+ <dc:Bounds x="509" y="482" width="90" height="0" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="ScriptTask_0081lne_di" bpmnElement="ScriptTask_0081lne">
- <dc:Bounds x="477" y="819" width="100" height="80" />
+ <dc:Bounds x="211" y="819" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="ScriptTask_0wvq4t8_di" bpmnElement="ScriptTask_0wvq4t8">
- <dc:Bounds x="848" y="819" width="100" height="80" />
+ <dc:Bounds x="789" y="819" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="CallActivity_09c3ajg_di" bpmnElement="CallActivity_09c3ajg">
- <dc:Bounds x="295" y="819" width="100" height="80" />
+ <dc:Bounds x="43" y="819" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="CallActivity_0uwm4l1_di" bpmnElement="CallActivity_0uwm4l1">
<dc:Bounds x="632" y="819" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="ScriptTask_1xdjlzm_di" bpmnElement="ScriptTask_1xdjlzm">
- <dc:Bounds x="101" y="819" width="100" height="80" />
+ <dc:Bounds x="-152" y="819" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_0ofqw6v_di" bpmnElement="SequenceFlow_0ofqw6v">
- <di:waypoint xsi:type="dc:Point" x="477" y="859" />
- <di:waypoint xsi:type="dc:Point" x="395" y="859" />
+ <di:waypoint xsi:type="dc:Point" x="211" y="859" />
+ <di:waypoint xsi:type="dc:Point" x="143" y="859" />
<bpmndi:BPMNLabel>
- <dc:Bounds x="391" y="838" width="90" height="12" />
+ <dc:Bounds x="132" y="838" width="90" height="12" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_15zgrcq_di" bpmnElement="SequenceFlow_15zgrcq">
- <di:waypoint xsi:type="dc:Point" x="848" y="859" />
+ <di:waypoint xsi:type="dc:Point" x="789" y="859" />
<di:waypoint xsi:type="dc:Point" x="732" y="859" />
<bpmndi:BPMNLabel>
- <dc:Bounds x="745" y="838" width="90" height="12" />
+ <dc:Bounds x="715.5" y="838" width="90" height="12" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_1vvdkcs_di" bpmnElement="SequenceFlow_1vvdkcs">
- <di:waypoint xsi:type="dc:Point" x="295" y="859" />
- <di:waypoint xsi:type="dc:Point" x="201" y="859" />
+ <di:waypoint xsi:type="dc:Point" x="43" y="859" />
+ <di:waypoint xsi:type="dc:Point" x="-52" y="859" />
<bpmndi:BPMNLabel>
- <dc:Bounds x="203" y="838" width="90" height="12" />
+ <dc:Bounds x="-49.5" y="838" width="90" height="12" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_092ghvu_di" bpmnElement="SequenceFlow_092ghvu">
- <di:waypoint xsi:type="dc:Point" x="101" y="859" />
- <di:waypoint xsi:type="dc:Point" x="11" y="859" />
+ <di:waypoint xsi:type="dc:Point" x="-152" y="859" />
+ <di:waypoint xsi:type="dc:Point" x="-191" y="859" />
<bpmndi:BPMNLabel>
- <dc:Bounds x="11" y="838" width="90" height="12" />
+ <dc:Bounds x="-216.5" y="838" width="90" height="12" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_1170ztf_di" bpmnElement="SequenceFlow_1170ztf">
@@ -421,16 +467,16 @@ ddsi.preInitResourcesOperStatus(execution)]]></bpmn2:script>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="EndEvent_01p249c_di" bpmnElement="EndEvent_0kbbt94">
- <dc:Bounds x="-25" y="841" width="36" height="36" />
+ <dc:Bounds x="-227" y="841" width="36" height="36" />
<bpmndi:BPMNLabel>
- <dc:Bounds x="-143" y="881" width="90" height="12" />
+ <dc:Bounds x="-345" y="881" width="90" height="12" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_0k4q7jm_di" bpmnElement="SequenceFlow_0k4q7jm">
<di:waypoint xsi:type="dc:Point" x="632" y="859" />
- <di:waypoint xsi:type="dc:Point" x="577" y="859" />
+ <di:waypoint xsi:type="dc:Point" x="596" y="859" />
<bpmndi:BPMNLabel>
- <dc:Bounds x="559.5" y="838" width="90" height="12" />
+ <dc:Bounds x="569" y="838" width="90" height="12" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_1qctzm0_di" bpmnElement="SequenceFlow_1qctzm0">
@@ -446,7 +492,7 @@ ddsi.preInitResourcesOperStatus(execution)]]></bpmn2:script>
<bpmndi:BPMNEdge id="SequenceFlow_05gdjox_di" bpmnElement="SequenceFlow_05gdjox">
<di:waypoint xsi:type="dc:Point" x="1022" y="784" />
<di:waypoint xsi:type="dc:Point" x="1022" y="859" />
- <di:waypoint xsi:type="dc:Point" x="948" y="859" />
+ <di:waypoint xsi:type="dc:Point" x="889" y="859" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1037" y="815.5" width="0" height="12" />
</bpmndi:BPMNLabel>
@@ -454,6 +500,26 @@ ddsi.preInitResourcesOperStatus(execution)]]></bpmn2:script>
<bpmndi:BPMNShape id="ServiceTask_14tnuxf_di" bpmnElement="Task_0raqlqc">
<dc:Bounds x="972" y="704" width="100" height="80" />
</bpmndi:BPMNShape>
+ <bpmndi:BPMNEdge id="SequenceFlow_0ua1bbk_di" bpmnElement="SequenceFlow_0ua1bbk">
+ <di:waypoint xsi:type="dc:Point" x="496" y="859" />
+ <di:waypoint xsi:type="dc:Point" x="458" y="859" />
+ <bpmndi:BPMNLabel>
+ <dc:Bounds x="477" y="838" width="0" height="12" />
+ </bpmndi:BPMNLabel>
+ </bpmndi:BPMNEdge>
+ <bpmndi:BPMNShape id="ScriptTask_0ue196s_di" bpmnElement="Task_0aidjmp">
+ <dc:Bounds x="496" y="819" width="100" height="80" />
+ </bpmndi:BPMNShape>
+ <bpmndi:BPMNEdge id="SequenceFlow_1hgiln0_di" bpmnElement="SequenceFlow_1hgiln0">
+ <di:waypoint xsi:type="dc:Point" x="358" y="859" />
+ <di:waypoint xsi:type="dc:Point" x="311" y="859" />
+ <bpmndi:BPMNLabel>
+ <dc:Bounds x="334.5" y="838" width="0" height="12" />
+ </bpmndi:BPMNLabel>
+ </bpmndi:BPMNEdge>
+ <bpmndi:BPMNShape id="CallActivity_1hcdpgq_di" bpmnElement="Task_03n6y9h">
+ <dc:Bounds x="358" y="819" width="100" height="80" />
+ </bpmndi:BPMNShape>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn2:definitions>