Chore: Add gerrit maven verify GHA workflow
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_bbs-internet-profile-network-topology-operation-change-huawei.json
1 [
2     {
3         "id": "8986a615.d2eba",
4         "type": "dgstart",
5         "name": "DGSTART",
6         "outputs": 1,
7         "x": 893,
8         "y": 435,
9         "z": "ab14e16a.6a0518",
10         "wires": [
11             [
12                 "a587d37.4461bb"
13             ]
14         ]
15     },
16     {
17         "id": "a587d37.4461bb",
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": 1200.9996490478516,
26         "y": 435.0000219345093,
27         "z": "ab14e16a.6a0518",
28         "wires": [
29             [
30                 "7bf72e16.cc5638"
31             ]
32         ]
33     },
34     {
35         "id": "7bf72e16.cc5638",
36         "type": "method",
37         "name": "method:bbs-internet-profile-network-topology-operation-change-huawei",
38         "xml": "<method rpc='bbs-internet-profile-network-topology-operation-change-huawei' mode='sync'>\n",
39         "comments": "",
40         "outputs": 1,
41         "x": 1198.9996490478516,
42         "y": 631.0000619888306,
43         "z": "ab14e16a.6a0518",
44         "wires": [
45             [
46                 "d96dea5b.58d7"
47             ]
48         ]
49     },
50     {
51         "id": "d96dea5b.58d7",
52         "type": "block",
53         "name": "block : atomic",
54         "xml": "<block atomic=\"true\">\n",
55         "atomic": "false",
56         "comments": "",
57         "outputs": 1,
58         "x": 1605.9998626708984,
59         "y": 632.0000619888306,
60         "z": "ab14e16a.6a0518",
61         "wires": [
62             [
63                 "7720916f.7813b8",
64                 "627c5b65.98524c",
65                 "e657d2bd.9178a8"
66             ]
67         ]
68     },
69     {
70         "id": "627c5b65.98524c",
71         "type": "execute",
72         "name": "execute:ChangeInternetProfileInstance",
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 + '/ChangeInternetProfileInstance'`\" />\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": 1933,
77         "y": 633,
78         "z": "ab14e16a.6a0518",
79         "wires": [
80             [
81                 "adc20a6c.9b2ab",
82                 "55d7a784.5951f"
83             ]
84         ]
85     },
86     {
87         "id": "55d7a784.5951f",
88         "type": "outcome",
89         "name": "failure",
90         "xml": "<outcome value='failure'>\n",
91         "comments": "",
92         "outputs": 1,
93         "x": 2234.332981109619,
94         "y": 633,
95         "z": "ab14e16a.6a0518",
96         "wires": [
97             [
98                 "cce9a716.18951"
99             ]
100         ]
101     },
102     {
103         "id": "adc20a6c.9b2ab",
104         "type": "outcome",
105         "name": "success",
106         "xml": "<outcome value='success'>\n",
107         "comments": "",
108         "outputs": 1,
109         "x": 2243.332893371582,
110         "y": 708.0000019073486,
111         "z": "ab14e16a.6a0518",
112         "wires": [
113             [
114                 "b35bace0.7d3d98"
115             ]
116         ]
117     },
118     {
119         "id": "b35bace0.7d3d98",
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": 2478.3490142822266,
126         "y": 707.0392971038818,
127         "z": "ab14e16a.6a0518",
128         "wires": [
129             [
130                 "a90ffced.1c8348",
131                 "63b509e9.2d95d8"
132             ]
133         ]
134     },
135     {
136         "id": "cce9a716.18951",
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 ChangeInternetProfileInstance\" />\n",
140         "comments": "",
141         "x": 2743.2665939331055,
142         "y": 633.289547920227,
143         "z": "ab14e16a.6a0518",
144         "wires": []
145     },
146     {
147         "id": "a90ffced.1c8348",
148         "type": "outcome",
149         "name": "Other",
150         "xml": "<outcome value='Other'>\n",
151         "comments": "",
152         "outputs": 1,
153         "x": 2704.349353790283,
154         "y": 708.0393905639648,
155         "z": "ab14e16a.6a0518",
156         "wires": [
157             [
158                 "e561cbc.a164eb8"
159             ]
160         ]
161     },
162     {
163         "id": "63b509e9.2d95d8",
164         "type": "outcome",
165         "name": "NULL",
166         "xml": "<outcome value=''>\n",
167         "comments": "",
168         "outputs": 1,
169         "x": 2714.3490600585938,
170         "y": 794.0392570495605,
171         "z": "ab14e16a.6a0518",
172         "wires": [
173             [
174                 "96c1b54d.1bf908"
175             ]
176         ]
177     },
178     {
179         "id": "e561cbc.a164eb8",
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 ChangeInternetProfileInstance return: '+$service-result.errors.error[0].error-message`\" />\n\n",
183         "comments": "",
184         "x": 2890.849021911621,
185         "y": 708.0392274856567,
186         "z": "ab14e16a.6a0518",
187         "wires": []
188     },
189     {
190         "id": "96c1b54d.1bf908",
191         "type": "block",
192         "name": "block",
193         "xml": "<block>\n",
194         "atomic": "false",
195         "comments": "",
196         "outputs": 1,
197         "x": 2872.5156898498535,
198         "y": 795.0392322540283,
199         "z": "ab14e16a.6a0518",
200         "wires": [
201             []
202         ]
203     },
204     {
205         "id": "e657d2bd.9178a8",
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": 1848.8489570617676,
211         "y": 715.0393257141113,
212         "z": "ab14e16a.6a0518",
213         "wires": []
214     },
215     {
216         "id": "7720916f.7813b8",
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": 2035.015869140625,
223         "y": 547.0391578674316,
224         "z": "ab14e16a.6a0518",
225         "wires": [
226             []
227         ]
228     }
229 ]