Chore: Add gerrit maven verify GHA workflow
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_performance-data-collector.json
1 [
2     {
3         "id": "4f234968.3d6c98",
4         "type": "dgstart",
5         "name": "DGSTART",
6         "outputs": 1,
7         "x": 138,
8         "y": 639,
9         "z": "f85a283.735a0d8",
10         "wires": [
11             [
12                 "a50d63cb.b2437"
13             ]
14         ]
15     },
16     {
17         "id": "a50d63cb.b2437",
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": 390.5713806152344,
26         "y": 638.4285583496094,
27         "z": "f85a283.735a0d8",
28         "wires": [
29             [
30                 "85c5f8e0.518898"
31             ]
32         ]
33     },
34     {
35         "id": "85c5f8e0.518898",
36         "type": "method",
37         "name": "performance-data-collector",
38         "xml": "<method rpc="performance-data-collector" mode="sync">\n",
39         "comments": "",
40         "outputs": 1,
41         "x": 260.80955505371094,
42         "y": 700.333327293396,
43         "z": "f85a283.735a0d8",
44         "wires": [
45             [
46                 "5f3c34cf.83512c"
47             ]
48         ]
49     },
50     {
51         "id": "5f3c34cf.83512c",
52         "type": "block",
53         "name": "block : atomic",
54         "xml": "<block atomic="true">",
55         "atomic": "true",
56         "comments": "",
57         "outputs": 1,
58         "x": 241.93649291992188,
59         "y": 766.206392288208,
60         "z": "f85a283.735a0d8",
61         "wires": [
62             [
63                 "b3f6bb1.f68ea48",
64                 "57ac747a.c5062c"
65             ]
66         ]
67     },
68     {
69         "id": "b3f6bb1.f68ea48",
70         "type": "set",
71         "name": "set pathname for context logging",
72         "xml": "<set>\n<parameter name="pathname" \n\tvalue="\&quot;`'/var/tmp/ss-gen-name-'" +="" \n\t$ss.capability-type="" '-'="" $ss.capability-action="" \n\t$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-information.vnf-id="" '.log'`\"="">\n",
73         "comments": "",
74         "x": 549.2500152587891,
75         "y": 766.500002861023,
76         "z": "f85a283.735a0d8",
77         "wires": []
78     },
79     {
80         "id": "92822c71.222f5",
81         "type": "returnSuccess",
82         "name": "return success",
83         "xml": "<return status="success">\n<parameter name="error-message" value="`$error-message`">",
84         "comments": "",
85         "x": 1532.8334693908691,
86         "y": 1024.3891944885254,
87         "z": "f85a283.735a0d8",
88         "wires": []
89     },
90     {
91         "id": "57ac747a.c5062c",
92         "type": "execute",
93         "name": "execute RestApiCallNode to performance-data-collector",
94         "xml": "<execute plugin="org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode" method="sendRequest">\n<parameter name="\&quot;templateFileName\&quot;" value="\&quot;`$tmp.templateFileName`\&quot;">\n<parameter name="\&quot;restapiUrl\&quot;" value="\&quot;`'http://'" +="" $collect-performace-data-input.controller-ipv4-address="" ':8181="" restconf="" data="" ietf-service-pm:performance-monitoring="" service-pm=" + $collect-performace-data-input.service-name `\&quot; />\n<parameter name=\&quot;restapiUser\&quot; value=\&quot;`$prop.sdncRestApi.thirdpartySdnc.user`\&quot; />\n<parameter name=\&quot;restapiPassword\&quot; value=\&quot;`$prop.sdncRestApi.thirdpartySdnc.password`\&quot; />\n<parameter name=\&quot;format\&quot; value=\&quot;json\&quot;/>\n<parameter name=\&quot;httpMethod\&quot; value=\&quot;post\&quot;/>\n<parameter name=\&quot;responsePrefix\&quot; value=\&quot;restApi-result\&quot;/>&quot;,
95         &quot;comments&quot;: &quot;&quot;,
96         &quot;outputs&quot;: 1,
97         &quot;x&quot;: 329.5992431640625,
98         &quot;y&quot;: 962.920654296875,
99         &quot;z&quot;: &quot;f85a283.735a0d8&quot;,
100         &quot;wires&quot;: [
101             [
102                 &quot;a89016ec.95b9f8&quot;,
103                 &quot;dbad8b12.6a55c8&quot;,
104                 &quot;522d781.14b7388&quot;,
105                 &quot;7c72a790.675628&quot;
106             ]
107         ]
108     },
109     {
110         &quot;id&quot;: &quot;522d781.14b7388&quot;,
111         &quot;type&quot;: &quot;not-found&quot;,
112         &quot;name&quot;: &quot;not-found&quot;,
113         &quot;xml&quot;: &quot;<outcome value=" not-found'="">\n",
114         "comments": "",
115         "outputs": 1,
116         "x": 1052.3556938171387,
117         "y": 1076.259705543518,
118         "z": "f85a283.735a0d8",
119         "wires": [
120             [
121                 "39da9096.948f2"
122             ]
123         ]
124     },
125     {
126         "id": "dbad8b12.6a55c8",
127         "type": "failure",
128         "name": "failure",
129         "xml": "<outcome value="failure">\n",
130         "comments": "",
131         "outputs": 1,
132         "x": 1043.3557434082031,
133         "y": 1044.7597312927246,
134         "z": "f85a283.735a0d8",
135         "wires": [
136             [
137                 "39da9096.948f2"
138             ]
139         ]
140     },
141     {
142         "id": "a89016ec.95b9f8",
143         "type": "success",
144         "name": "success",
145         "xml": "<outcome value="success">\n",
146         "comments": "",
147         "outputs": 1,
148         "x": 1047.1057815551758,
149         "y": 1015.116836167872,
150         "z": "f85a283.735a0d8",
151         "wires": [
152             [
153                 "92822c71.222f5",
154                 "4572b9a9.2b7c38"
155             ]
156         ]
157     },
158     {
159         "id": "39da9096.948f2",
160         "type": "returnFailure",
161         "name": "return failure",
162         "xml": "<return status="failure">\n\t<parameter name="ack-final" value="Y">\n\t<parameter name="\&quot;error-code\&quot;" value="\&quot;500\&quot;">\n    <parameter name="\&quot;error-message\&quot;" value="\&quot;`'Error" calling="" '="" +="" $tmp.restapiurl`\"="">\n",
163         "comments": "",
164         "x": 1210.1058082580566,
165         "y": 1061.5098037719727,
166         "z": "f85a283.735a0d8",
167         "wires": []
168     },
169     {
170         "id": "4572b9a9.2b7c38",
171         "type": "execute",
172         "name": "execute RestApiCallNode to save data to AAI",
173         "xml": "<execute plugin="org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode" method="sendRequest">\n",
174         "comments": "",
175         "outputs": 1,
176         "x": 1291,
177         "y": 847,
178         "z": "f85a283.735a0d8",
179         "wires": [
180             [
181                 "9581ddd2.be137",
182                 "2e02c3fe.b59cec",
183                 "e088155a.99a358"
184             ]
185         ]
186     },
187     {
188         "id": "9581ddd2.be137",
189         "type": "returnSuccess",
190         "name": "return success",
191         "xml": "<return status="success">\n<parameter name="" value="">\n",
192         "comments": "",
193         "x": 1588,
194         "y": 773,
195         "z": "f85a283.735a0d8",
196         "wires": []
197     },
198     {
199         "id": "2e02c3fe.b59cec",
200         "type": "returnFailure",
201         "name": "return failure",
202         "xml": "<return status="failure">\n<parameter name="error-code" value="">\n<parameter name="error-message" value="">\n",
203         "comments": "",
204         "x": 1577,
205         "y": 905,
206         "z": "f85a283.735a0d8",
207         "wires": []
208     },
209     {
210         "id": "7c72a790.675628",
211         "type": "record",
212         "name": "record",
213         "xml": "<record plugin="">\n",
214         "comments": "",
215         "outputs": 1,
216         "x": 519,
217         "y": 1062,
218         "z": "f85a283.735a0d8",
219         "wires": [
220             []
221         ]
222     },
223     {
224         "id": "e088155a.99a358",
225         "type": "record",
226         "name": "record",
227         "xml": "<record plugin="">\n",
228         "comments": "",
229         "outputs": 1,
230         "x": 1456,
231         "y": 705,
232         "z": "f85a283.735a0d8",
233         "wires": [
234             []
235         ]
236     }
237 ]</record></record></parameter></parameter></return></parameter></return></execute></parameter></parameter></parameter></return></outcome></outcome></parameter></parameter></execute></parameter></return></parameter></set></block></method></service-logic>