[SDNGC-5859] copy local change to onap
[sdnc/oam.git] / platform-logic / vnfapi / src / main / json / VNF-API_vf-module-topology-delete.json
1 [
2     {
3         "id": "311b3dda.3a6ee2",
4         "type": "returnSuccess",
5         "name": "return success",
6         "xml": "<return status='success'>\n\t<parameter name=\"error-code\" value=\"200\" />",
7         "comments": "",
8         "x": 391.11109924316406,
9         "y": 442.75004386901855,
10         "z": "dab4c267.b1578",
11         "wires": []
12     },
13     {
14         "id": "3879dfc2.a88",
15         "type": "block",
16         "name": "block : atomic",
17         "xml": "<block atomic=\"true\">",
18         "atomic": "true",
19         "outputs": 1,
20         "x": 168.11104583740234,
21         "y": 141.888916015625,
22         "z": "dab4c267.b1578",
23         "wires": [
24             [
25                 "26cf5bcd.60b334",
26                 "311b3dda.3a6ee2",
27                 "1ebd1e72.56bc82",
28                 "92acc6b8.3892a8",
29                 "755d4650.1103f8",
30                 "fad87c6e.a4bde",
31                 "32debc64.c813c4",
32                 "e381bce7.8db14"
33             ]
34         ]
35     },
36     {
37         "id": "26cf5bcd.60b334",
38         "type": "set",
39         "name": "set: order-status = Deleted",
40         "xml": "<set>\n\t<parameter name=\"vf-module-service-data.oper-status.order-status\" value=\"Deleted\"/>",
41         "comments": "",
42         "outputs": 1,
43         "x": 432.11109924316406,
44         "y": 269.75004386901855,
45         "z": "dab4c267.b1578",
46         "wires": [
47             []
48         ]
49     },
50     {
51         "id": "3b032898.d41a98",
52         "type": "method",
53         "name": "method vf-module-topology-delete",
54         "xml": "<method rpc='vf-module-topology-delete' mode='sync'>\n",
55         "comments": "",
56         "outputs": 1,
57         "x": 199.7777328491211,
58         "y": 91.05558013916016,
59         "z": "dab4c267.b1578",
60         "wires": [
61             [
62                 "3879dfc2.a88"
63             ]
64         ]
65     },
66     {
67         "id": "ee0d1a29.b42c08",
68         "type": "service-logic",
69         "name": "VNF-API ${project.version}",
70         "module": "VNF-API",
71         "version": "${project.version}",
72         "comments": "",
73         "xml": "<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='VNF-API' version='${project.version}'>",
74         "outputs": 1,
75         "x": 269.77770233154297,
76         "y": 39.05558776855469,
77         "z": "dab4c267.b1578",
78         "wires": [
79             [
80                 "3b032898.d41a98"
81             ]
82         ]
83     },
84     {
85         "id": "7e50728c.7027fc",
86         "type": "dgstart",
87         "name": "DGSTART",
88         "outputs": 1,
89         "x": 106.61104583740234,
90         "y": 38.888916015625,
91         "z": "dab4c267.b1578",
92         "wires": [
93             [
94                 "ee0d1a29.b42c08"
95             ]
96         ]
97     },
98     {
99         "id": "152dd102.d75f6f",
100         "type": "other",
101         "name": "false",
102         "xml": "<outcome value='false'>",
103         "comments": "",
104         "outputs": 1,
105         "x": 639.4798355102539,
106         "y": 185.5732650756836,
107         "z": "dab4c267.b1578",
108         "wires": [
109             [
110                 "32c98655.4f8d8a"
111             ]
112         ]
113     },
114     {
115         "id": "32c98655.4f8d8a",
116         "type": "returnFailure",
117         "name": "return failure",
118         "xml": "<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value='Invalid order-status'/>",
119         "comments": "",
120         "x": 802.8129653930664,
121         "y": 185.57332611083984,
122         "z": "dab4c267.b1578",
123         "wires": []
124     },
125     {
126         "id": "755d4650.1103f8",
127         "type": "set",
128         "name": "set: last-action ",
129         "xml": "<set>\n\t<parameter name=\"vf-module-service-data.oper-status.last-action\" value=\"`$vf-module-service-data.request-information.request-action`\"/>",
130         "comments": "",
131         "outputs": 1,
132         "x": 393.3686981201172,
133         "y": 313.2956371307373,
134         "z": "dab4c267.b1578",
135         "wires": [
136             []
137         ]
138     },
139     {
140         "id": "1ebd1e72.56bc82",
141         "type": "switchNode",
142         "name": "switch: vf-module-id config == input",
143         "xml": "<switch test=\"`$vf-module-topology-operation-input.vf-module-request-information.vf-module-id == $vf-module-service-data.vf-module-id`\">",
144         "comments": "",
145         "outputs": 1,
146         "x": 459.25494384765625,
147         "y": 142.37646102905273,
148         "z": "dab4c267.b1578",
149         "wires": [
150             [
151                 "b8947b68.74b8b8"
152             ]
153         ]
154     },
155     {
156         "id": "b8947b68.74b8b8",
157         "type": "outcomeFalse",
158         "name": "false",
159         "xml": "<outcome value='false'>\n",
160         "comments": "",
161         "outputs": 1,
162         "x": 684.7095031738281,
163         "y": 142.55828857421875,
164         "z": "dab4c267.b1578",
165         "wires": [
166             [
167                 "5ffa6798.ed60a8"
168             ]
169         ]
170     },
171     {
172         "id": "5ffa6798.ed60a8",
173         "type": "returnFailure",
174         "name": "return failure",
175         "xml": "<return status='failure'>\n\t<parameter name='error-code' value='404'/>\n\t<parameter name='error-message' value='vf-module-id not found in SDNC'/>",
176         "comments": "",
177         "x": 847.300422668457,
178         "y": 142.7173891067505,
179         "z": "dab4c267.b1578",
180         "wires": []
181     },
182     {
183         "id": "92acc6b8.3892a8",
184         "type": "set",
185         "name": "set: last-order-status = order-status",
186         "xml": "<set>\n\t<parameter name=\"vf-module-service-data.oper-status.last-order-status\" value=\"`$vf-module-service-data.oper-status.order-status`\"/>",
187         "comments": "",
188         "outputs": 1,
189         "x": 458.5050506591797,
190         "y": 228.48759269714355,
191         "z": "dab4c267.b1578",
192         "wires": [
193             []
194         ]
195     },
196     {
197         "id": "fad87c6e.a4bde",
198         "type": "set",
199         "name": "Clear vf-module-topology",
200         "xml": "<set>\n\t<parameter name=\"vf-module-service-data.vf-module-topology-information.\" value=\"\" /> \n",
201         "comments": "",
202         "outputs": 1,
203         "x": 425.5050506591797,
204         "y": 353.48759269714355,
205         "z": "dab4c267.b1578",
206         "wires": [
207             []
208         ]
209     },
210     {
211         "id": "e381bce7.8db14",
212         "type": "switchNode",
213         "name": "switch: order-status = Active",
214         "xml": "<switch test=\"`$vf-module-service-data.oper-status.order-status == Active`\">",
215         "comments": "",
216         "outputs": 1,
217         "x": 437.66273498535156,
218         "y": 185.87306594848633,
219         "z": "dab4c267.b1578",
220         "wires": [
221             [
222                 "152dd102.d75f6f"
223             ]
224         ]
225     },
226     {
227         "id": "32debc64.c813c4",
228         "type": "set",
229         "name": "Set final indicator to Y",
230         "xml": "<set>\n<parameter name=\"ack-final\" value=\"Y\"/>",
231         "comments": "",
232         "outputs": 1,
233         "x": 413.8254165649414,
234         "y": 398.6905174255371,
235         "z": "dab4c267.b1578",
236         "wires": [
237             []
238         ]
239     }
240 ]