61ce5ca9fcc026321233d1506e664269365225e9
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_bbs-internet-profile-network-topology-operation-delete-huawei.json
1 [
2     {
3         "id": "714a0239.f58d34",
4         "type": "dgstart",
5         "name": "DGSTART",
6         "outputs": 1,
7         "x": 899,
8         "y": 435,
9         "z": "6516a9f0.ec0d58",
10         "wires": [
11             [
12                 "34d45d5a.766c6a"
13             ]
14         ]
15     },
16     {
17         "id": "34d45d5a.766c6a",
18         "type": "service-logic",
19         "name": "GENERIC-RESOURCE-API ${project.version}",
20         "module": "GENERIC-RESOURCE-API",
21         "version": "${project.version}",
22         "comments": "",
23         "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",
24         "outputs": 1,
25         "x": 1206.9996490478516,
26         "y": 435.0000219345093,
27         "z": "6516a9f0.ec0d58",
28         "wires": [
29             [
30                 "c113efec.233458"
31             ]
32         ]
33     },
34     {
35         "id": "c113efec.233458",
36         "type": "method",
37         "name": "method:bbs-internet-profile-network-topology-operation-delete-huawei",
38         "xml": "<method rpc='bbs-internet-profile-network-topology-operation-delete-huawei' mode='sync'>\n",
39         "comments": "",
40         "outputs": 1,
41         "x": 1204.9996337890625,
42         "y": 631.0000982284546,
43         "z": "6516a9f0.ec0d58",
44         "wires": [
45             [
46                 "60fe006b.0de45"
47             ]
48         ]
49     },
50     {
51         "id": "60fe006b.0de45",
52         "type": "block",
53         "name": "block : atomic",
54         "xml": "<block atomic=\"true\">\n",
55         "atomic": "false",
56         "comments": "",
57         "outputs": 1,
58         "x": 1611.9998626708984,
59         "y": 632.0000619888306,
60         "z": "6516a9f0.ec0d58",
61         "wires": [
62             [
63                 "aac40cc8.0649f",
64                 "4ecef0e8.b1d6b8",
65                 "ac3e26be.750fd"
66             ]
67         ]
68     },
69     {
70         "id": "aac40cc8.0649f",
71         "type": "execute",
72         "name": "execute:DeleteInternetProfileInstance",
73         "xml": "<execute plugin=\"org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode\" method=\"sendRequest\">\n    <parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/bbs-internet-profile-operation.json'`\" />\n    <parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/DeleteInternetProfileInstance'`\" />\n    <parameter name=\"contentType\" value=\"application/json\"/>\n    <parameter name=\"httpMethod\" value=\"post\"/>\n    <parameter name=\"responsePrefix\" value=\"service-result\"/>",
74         "comments": "",
75         "outputs": 1,
76         "x": 2000.6509246826172,
77         "y": 635.9608850479126,
78         "z": "6516a9f0.ec0d58",
79         "wires": [
80             [
81                 "eebf5d0c.1b2fd8",
82                 "ffc4504a.e72108"
83             ]
84         ]
85     },
86     {
87         "id": "ffc4504a.e72108",
88         "type": "outcome",
89         "name": "failure",
90         "xml": "<outcome value='failure'>\n",
91         "comments": "",
92         "outputs": 1,
93         "x": 2301.9839057922363,
94         "y": 635.9608850479126,
95         "z": "6516a9f0.ec0d58",
96         "wires": [
97             [
98                 "622738c2.3df3e"
99             ]
100         ]
101     },
102     {
103         "id": "eebf5d0c.1b2fd8",
104         "type": "outcome",
105         "name": "success",
106         "xml": "<outcome value='success'>\n",
107         "comments": "",
108         "outputs": 1,
109         "x": 2310.983818054199,
110         "y": 710.9608869552612,
111         "z": "6516a9f0.ec0d58",
112         "wires": [
113             [
114                 "cbf86fcd.ce3b38"
115             ]
116         ]
117     },
118     {
119         "id": "cbf86fcd.ce3b38",
120         "type": "switchNode",
121         "name": "switch:service-result",
122         "xml": "<switch test=\"`$service-result.errors.error[0].error-message`\">\n",
123         "comments": "",
124         "outputs": 1,
125         "x": 2545.9999389648438,
126         "y": 710.0001821517944,
127         "z": "6516a9f0.ec0d58",
128         "wires": [
129             [
130                 "701b16da.9a2e28",
131                 "6f5fe7b5.9c0d48"
132             ]
133         ]
134     },
135     {
136         "id": "622738c2.3df3e",
137         "type": "returnFailure",
138         "name": "return failure",
139         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error failed to call DeleteInternetProfileInstance\" />\n",
140         "comments": "",
141         "x": 2810.9175186157227,
142         "y": 636.2504329681396,
143         "z": "6516a9f0.ec0d58",
144         "wires": []
145     },
146     {
147         "id": "701b16da.9a2e28",
148         "type": "outcome",
149         "name": "Other",
150         "xml": "<outcome value='Other'>\n",
151         "comments": "",
152         "outputs": 1,
153         "x": 2772.0002784729004,
154         "y": 711.0002756118774,
155         "z": "6516a9f0.ec0d58",
156         "wires": [
157             [
158                 "6ff25d76.5ec334"
159             ]
160         ]
161     },
162     {
163         "id": "6f5fe7b5.9c0d48",
164         "type": "outcome",
165         "name": "NULL",
166         "xml": "<outcome value=''>\n",
167         "comments": "",
168         "outputs": 1,
169         "x": 2781.999984741211,
170         "y": 797.0001420974731,
171         "z": "6516a9f0.ec0d58",
172         "wires": [
173             [
174                 "c34bbdbf.da607"
175             ]
176         ]
177     },
178     {
179         "id": "6ff25d76.5ec334",
180         "type": "returnFailure",
181         "name": "return failure",
182         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"`'Error DeleteInternetProfileInstance return: '+$service-result.errors.error[0].error-message`\" />\n\n",
183         "comments": "",
184         "x": 2958.4999465942383,
185         "y": 711.0001125335693,
186         "z": "6516a9f0.ec0d58",
187         "wires": []
188     },
189     {
190         "id": "c34bbdbf.da607",
191         "type": "block",
192         "name": "block",
193         "xml": "<block>\n",
194         "atomic": "false",
195         "comments": "",
196         "outputs": 1,
197         "x": 2940.1666145324707,
198         "y": 798.0001173019409,
199         "z": "6516a9f0.ec0d58",
200         "wires": [
201             []
202         ]
203     },
204     {
205         "id": "4ecef0e8.b1d6b8",
206         "type": "returnSuccess",
207         "name": "return success",
208         "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",
209         "comments": "",
210         "x": 1920.4999160766602,
211         "y": 720.0001831054688,
212         "z": "6516a9f0.ec0d58",
213         "wires": []
214     },
215     {
216         "id": "ac3e26be.750fd",
217         "type": "call",
218         "name": "call:bbs-internet-profile-network-topology-operation-common-huawei",
219         "xml": "<call module='GENERIC-RESOURCE-API' rpc='bbs-internet-profile-network-topology-operation-common-huawei' mode='sync' >\n",
220         "comments": "",
221         "outputs": 1,
222         "x": 2112.66690826416,
223         "y": 552.0000553131104,
224         "z": "6516a9f0.ec0d58",
225         "wires": [
226             []
227         ]
228     }
229 ]