aboutsummaryrefslogtreecommitdiffstats
path: root/bpmn/MSOInfrastructureBPMN/src/main/resources/process/DeleteSDNCNetworkResource.bpmn
blob: a9e3f5d8074b8b5715e2f2831d8fc984707d9ce7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
<?xml version="1.0" encoding="UTF-8"?>
<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.11.3">
  <bpmn:process id="DeleteSDNCNetworkResource" name="DeleteSDNCNetworkResource" isExecutable="true">
    <bpmn:startEvent id="createNS_StartEvent" name="deleteNS_StartEvent">
      <bpmn:outgoing>SequenceFlow_1qo2pln</bpmn:outgoing>
    </bpmn:startEvent>
    <bpmn:sequenceFlow id="SequenceFlow_1qo2pln" sourceRef="createNS_StartEvent" targetRef="Task_1d5rrfs" />
    <bpmn:endEvent id="EndEvent_1x6k78c" name="Delete SDNC call end">
      <bpmn:incoming>SequenceFlow_1ba6i0r</bpmn:incoming>
    </bpmn:endEvent>
    <bpmn:sequenceFlow id="SequenceFlow_092fygq" sourceRef="Task_0i59nr9" targetRef="Task_1cglzlg" />
    <bpmn:serviceTask id="Task_0i59nr9" name="Call Custom Delete SDNC Overlay" camunda:class="org.openecomp.mso.bpmn.infrastructure.workflow.serviceTask.SdncNetworkTopologyOperationTask">
      <bpmn:incoming>SequenceFlow_1twf9nk</bpmn:incoming>
      <bpmn:outgoing>SequenceFlow_092fygq</bpmn:outgoing>
    </bpmn:serviceTask>
    <bpmn:subProcess id="SubProcess_0rd2egn" triggeredByEvent="true">
      <bpmn:startEvent id="StartEvent_1dikunf">
        <bpmn:outgoing>SequenceFlow_00oxyoj</bpmn:outgoing>
        <bpmn:errorEventDefinition />
      </bpmn:startEvent>
      <bpmn:endEvent id="EndEvent_1bbyk46">
        <bpmn:incoming>SequenceFlow_0k06srk</bpmn:incoming>
      </bpmn:endEvent>
      <bpmn:sequenceFlow id="SequenceFlow_00oxyoj" sourceRef="StartEvent_1dikunf" targetRef="Task_0kqrld2" />
      <bpmn:sequenceFlow id="SequenceFlow_0k06srk" sourceRef="Task_0kqrld2" targetRef="EndEvent_1bbyk46" />
      <bpmn:scriptTask id="Task_0kqrld2" name="Log / Print Unexpected Error">
        <bpmn:incoming>SequenceFlow_00oxyoj</bpmn:incoming>
        <bpmn:outgoing>SequenceFlow_0k06srk</bpmn:outgoing>
        <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
ExceptionUtil ex = new ExceptionUtil()
ex.processJavaException(execution)]]></bpmn:script>
      </bpmn:scriptTask>
    </bpmn:subProcess>
    <bpmn:sequenceFlow id="SequenceFlow_1twf9nk" sourceRef="Task_1t687g1" targetRef="Task_0i59nr9" />
    <bpmn:sequenceFlow id="SequenceFlow_1ba6i0r" sourceRef="Task_1cglzlg" targetRef="EndEvent_1x6k78c" />
    <bpmn:scriptTask id="Task_1t687g1" name="Pre Resource Delete" scriptFormat="groovy">
      <bpmn:incoming>SequenceFlow_01medil</bpmn:incoming>
      <bpmn:outgoing>SequenceFlow_1twf9nk</bpmn:outgoing>
      <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
def dsdncr = new DeleteSDNCNetworkResource()
dsdncr.preProcessRequest(execution)]]></bpmn:script>
    </bpmn:scriptTask>
    <bpmn:scriptTask id="Task_1cglzlg" name="Post Resource Delete" scriptFormat="groovy">
      <bpmn:incoming>SequenceFlow_092fygq</bpmn:incoming>
      <bpmn:outgoing>SequenceFlow_1ba6i0r</bpmn:outgoing>
      <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
def dsdncr = new DeleteSDNCNetworkResource()
dsdncr.postProcessSDNCDelete(execution)]]></bpmn:script>
    </bpmn:scriptTask>
    <bpmn:sequenceFlow id="SequenceFlow_01medil" sourceRef="Task_1d5rrfs" targetRef="Task_1t687g1" />
    <bpmn:scriptTask id="Task_1d5rrfs" name="Set RecipeParam" scriptFormat="groovy">
      <bpmn:incoming>SequenceFlow_1qo2pln</bpmn:incoming>
      <bpmn:outgoing>SequenceFlow_01medil</bpmn:outgoing>
      <bpmn:script><![CDATA[String recipeParamXsdDemo="""
{"operationType":"GRE"}"""

String recipeParamXsd=""
execution.setVariable("recipeParamXsd", recipeParamXsd)]]></bpmn:script>
    </bpmn:scriptTask>
  </bpmn:process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="DeleteSDNCNetworkResource">
      <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="createNS_StartEvent">
        <dc:Bounds x="-168" y="111" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="-193" y="147" width="88" height="25" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_1qo2pln_di" bpmnElement="SequenceFlow_1qo2pln">
        <di:waypoint xsi:type="dc:Point" x="-132" y="129" />
        <di:waypoint xsi:type="dc:Point" x="-60" y="129" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="-141" y="108" width="90" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="EndEvent_15pcuuc_di" bpmnElement="EndEvent_1x6k78c">
        <dc:Bounds x="722" y="111" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="682" y="153" width="88" height="24" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_092fygq_di" bpmnElement="SequenceFlow_092fygq">
        <di:waypoint xsi:type="dc:Point" x="419" y="129" />
        <di:waypoint xsi:type="dc:Point" x="527" y="129" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="428" y="107.5" width="90" height="13" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="ServiceTask_1lqz0ta_di" bpmnElement="Task_0i59nr9">
        <dc:Bounds x="319" y="89" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="SubProcess_1u3lwl3_di" bpmnElement="SubProcess_0rd2egn" isExpanded="true">
        <dc:Bounds x="38" y="273" width="350" height="200" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="StartEvent_0eyldml_di" bpmnElement="StartEvent_1dikunf">
        <dc:Bounds x="69" y="340" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="41" y="378" width="90" height="13" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="EndEvent_1bbyk46_di" bpmnElement="EndEvent_1bbyk46">
        <dc:Bounds x="333" y="340" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="306" y="379" width="90" height="13" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_00oxyoj_di" bpmnElement="SequenceFlow_00oxyoj">
        <di:waypoint xsi:type="dc:Point" x="105" y="358" />
        <di:waypoint xsi:type="dc:Point" x="165" y="358" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="90" y="337" width="90" height="13" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_0k06srk_di" bpmnElement="SequenceFlow_0k06srk">
        <di:waypoint xsi:type="dc:Point" x="265" y="358" />
        <di:waypoint xsi:type="dc:Point" x="333" y="358" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="254" y="337" width="90" height="13" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="ScriptTask_1b3k692_di" bpmnElement="Task_0kqrld2">
        <dc:Bounds x="165" y="318" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_1twf9nk_di" bpmnElement="SequenceFlow_1twf9nk">
        <di:waypoint xsi:type="dc:Point" x="213" y="129" />
        <di:waypoint xsi:type="dc:Point" x="319" y="129" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="266" y="108" width="0" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_1ba6i0r_di" bpmnElement="SequenceFlow_1ba6i0r">
        <di:waypoint xsi:type="dc:Point" x="627" y="129" />
        <di:waypoint xsi:type="dc:Point" x="722" y="129" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="674.5" y="108" width="0" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="ScriptTask_1t116cs_di" bpmnElement="Task_1t687g1">
        <dc:Bounds x="113" y="89" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="ScriptTask_18zliw7_di" bpmnElement="Task_1cglzlg">
        <dc:Bounds x="527" y="89" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_01medil_di" bpmnElement="SequenceFlow_01medil">
        <di:waypoint xsi:type="dc:Point" x="40" y="129" />
        <di:waypoint xsi:type="dc:Point" x="113" y="129" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="76.5" y="107.5" width="0" height="13" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="ScriptTask_0f9etr5_di" bpmnElement="Task_1d5rrfs">
        <dc:Bounds x="-60" y="89" width="100" height="80" />
      </bpmndi:BPMNShape>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn:definitions>