Removing old name references
[appc.git] / appc-directed-graph / appc-dgraph / provider / src / main / resources / json / APPC / APPC_PublishConfiguration.json
1 [\r
2     {\r
3         "id": "390ce99d.bf5d96",\r
4         "type": "dgstart",\r
5         "name": "DGSTART",\r
6         "outputs": 1,\r
7         "x": 143,\r
8         "y": 95,\r
9         "z": "ba18d0da.6b53d",\r
10         "wires": [\r
11             [\r
12                 "644628c3.2d9d28"\r
13             ]\r
14         ]\r
15     },\r
16     {\r
17         "id": "644628c3.2d9d28",\r
18         "type": "service-logic",\r
19         "name": "APPC 4.0.0",\r
20         "module": "APPC",\r
21         "version": "4.0.0",\r
22         "comments": "",\r
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='APPC' version='4.0.0'>",\r
24         "outputs": 1,\r
25         "x": 344,\r
26         "y": 87,\r
27         "z": "ba18d0da.6b53d",\r
28         "wires": [\r
29             [\r
30                 "1413fa79.66a72e"\r
31             ]\r
32         ]\r
33     },\r
34     {\r
35         "id": "1413fa79.66a72e",\r
36         "type": "method",\r
37         "name": "method PublishConfiguration",\r
38         "xml": "<method rpc='PublishConfiguration' mode='sync'>\n",\r
39         "comments": "",\r
40         "outputs": 1,\r
41         "x": 582,\r
42         "y": 87,\r
43         "z": "ba18d0da.6b53d",\r
44         "wires": [\r
45             [\r
46                 "4fe4cc0b.026be4"\r
47             ]\r
48         ]\r
49     },\r
50     {\r
51         "id": "4fe4cc0b.026be4",\r
52         "type": "block",\r
53         "name": "block : atomic",\r
54         "xml": "<block atomic=\"true\">",\r
55         "atomic": "true",\r
56         "outputs": 1,\r
57         "x": 181,\r
58         "y": 182,\r
59         "z": "ba18d0da.6b53d",\r
60         "wires": [\r
61             [\r
62                 "7f8c2a55.61673c",\r
63                 "29662869.84a628",\r
64                 "949cd4f7.5ed8f",\r
65                 "7dba4e1.da4afb",\r
66                 "2572109c.9829f8"\r
67             ]\r
68         ]\r
69     },\r
70     {\r
71         "id": "7f8c2a55.61673c",\r
72         "type": "set",\r
73         "name": "set uploadconfigid for dispatcher",\r
74         "xml": "<set>\n<parameter name='output.payload.upload-config-id[0]' value='`$tmp.uploadConfigInfo.UPLOAD-CONFIG-ID`' />\n<!--\n<parameter name='output.payload.upload-config-id[0]' value='`$tmp.uploadconfigmax.uploadconfigid`' />\n-->\n\n",\r
75         "comments": "",\r
76         "x": 446,\r
77         "y": 650,\r
78         "z": "ba18d0da.6b53d",\r
79         "wires": []\r
80     },\r
81     {\r
82         "id": "29662869.84a628",\r
83         "type": "execute",\r
84         "name": "generateOutputPayloadFromContext",\r
85         "xml": "<execute plugin=\"org.onap.appc.dg.common.JsonDgUtil\" method=\"generateOutputPayloadFromContext\">\n\n<!-- this will set output.payload DG Context var with all vars that start with output.payload -->\n\n\n",\r
86         "comments": "",\r
87         "outputs": 1,\r
88         "x": 460,\r
89         "y": 713,\r
90         "z": "ba18d0da.6b53d",\r
91         "wires": [\r
92             [\r
93                 "93c26b79.ac00e8",\r
94                 "ef5b9ce6.17dda"\r
95             ]\r
96         ]\r
97     },\r
98     {\r
99         "id": "7dba4e1.da4afb",\r
100         "type": "execute",\r
101         "name": "execute Create Json for CVaas",\r
102         "xml": "<execute plugin=\"org.onap.sdnc.config.generator.convert.ConvertNode\" method=\"convertContextToJson\">\n<parameter name=\"contextKey\" value=\"tmp.config\" />\n<parameter name=\"responsePrefix\" value=\"tmp.jsonConversion\" />\n",\r
103         "comments": "",\r
104         "outputs": 1,\r
105         "x": 495,\r
106         "y": 310,\r
107         "z": "ba18d0da.6b53d",\r
108         "wires": [\r
109             [\r
110                 "68503e8b.6e9178",\r
111                 "b9d5cca5.f26868",\r
112                 "90ad3c4d.8e0db8"\r
113             ]\r
114         ]\r
115     },\r
116     {\r
117         "id": "93c26b79.ac00e8",\r
118         "type": "failure",\r
119         "name": "failure",\r
120         "xml": "<outcome value='failure'>\n",\r
121         "comments": "",\r
122         "outputs": 1,\r
123         "x": 726,\r
124         "y": 701,\r
125         "z": "ba18d0da.6b53d",\r
126         "wires": [\r
127             [\r
128                 "9cb7432e.9c7e88"\r
129             ]\r
130         ]\r
131     },\r
132     {\r
133         "id": "ef5b9ce6.17dda",\r
134         "type": "failure",\r
135         "name": "success",\r
136         "xml": "<outcome value='success'>\n",\r
137         "comments": "",\r
138         "outputs": 1,\r
139         "x": 727,\r
140         "y": 753,\r
141         "z": "ba18d0da.6b53d",\r
142         "wires": [\r
143             [\r
144                 "136bd85.d652728"\r
145             ]\r
146         ]\r
147     },\r
148     {\r
149         "id": "9cb7432e.9c7e88",\r
150         "type": "block",\r
151         "name": "block : atomic",\r
152         "xml": "<block atomic=\"true\">",\r
153         "atomic": "true",\r
154         "outputs": 1,\r
155         "x": 885,\r
156         "y": 698,\r
157         "z": "ba18d0da.6b53d",\r
158         "wires": [\r
159             [\r
160                 "cde3fbd5.e1f268"\r
161             ]\r
162         ]\r
163     },\r
164     {\r
165         "id": "136bd85.d652728",\r
166         "type": "block",\r
167         "name": "block : atomic",\r
168         "xml": "<block atomic=\"true\">",\r
169         "atomic": "true",\r
170         "outputs": 1,\r
171         "x": 897,\r
172         "y": 747,\r
173         "z": "ba18d0da.6b53d",\r
174         "wires": [\r
175             [\r
176                 "9106d080.5bc63"\r
177             ]\r
178         ]\r
179     },\r
180     {\r
181         "id": "cde3fbd5.e1f268",\r
182         "type": "record",\r
183         "name": "record",\r
184         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"`'Error from generateOutputPayloadFromContext = ' + $output.status.message`\" />\n",\r
185         "comments": "",\r
186         "outputs": 1,\r
187         "x": 1066,\r
188         "y": 699,\r
189         "z": "ba18d0da.6b53d",\r
190         "wires": [\r
191             []\r
192         ]\r
193     },\r
194     {\r
195         "id": "9106d080.5bc63",\r
196         "type": "record",\r
197         "name": "record",\r
198         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"`'PAYLOAD from generateOutputPayloadFromContext = ' + $output.payload`\" />\n",\r
199         "comments": "",\r
200         "outputs": 1,\r
201         "x": 1070,\r
202         "y": 747,\r
203         "z": "ba18d0da.6b53d",\r
204         "wires": [\r
205             []\r
206         ]\r
207     },\r
208     {\r
209         "id": "b9d5cca5.f26868",\r
210         "type": "failure",\r
211         "name": "failure",\r
212         "xml": "<outcome value='failure'>\n",\r
213         "comments": "",\r
214         "outputs": 1,\r
215         "x": 718,\r
216         "y": 310,\r
217         "z": "ba18d0da.6b53d",\r
218         "wires": [\r
219             [\r
220                 "b4e79a48.cfd848"\r
221             ]\r
222         ]\r
223     },\r
224     {\r
225         "id": "68503e8b.6e9178",\r
226         "type": "not-found",\r
227         "name": "not-found",\r
228         "xml": "<outcome value='not-found'>\n",\r
229         "comments": "",\r
230         "outputs": 1,\r
231         "x": 717,\r
232         "y": 270,\r
233         "z": "ba18d0da.6b53d",\r
234         "wires": [\r
235             [\r
236                 "5e0da89f.a9c5f8"\r
237             ]\r
238         ]\r
239     },\r
240     {\r
241         "id": "5e0da89f.a9c5f8",\r
242         "type": "block",\r
243         "name": "block : atomic",\r
244         "xml": "<block atomic=\"true\">",\r
245         "atomic": "true",\r
246         "outputs": 1,\r
247         "x": 895,\r
248         "y": 269,\r
249         "z": "ba18d0da.6b53d",\r
250         "wires": [\r
251             [\r
252                 "d8910515.c8984",\r
253                 "92ad96ed.dc0f98",\r
254                 "b5be72d3.4c2378"\r
255             ]\r
256         ]\r
257     },\r
258     {\r
259         "id": "b4e79a48.cfd848",\r
260         "type": "block",\r
261         "name": "block : atomic",\r
262         "xml": "<block atomic=\"true\">",\r
263         "atomic": "true",\r
264         "outputs": 1,\r
265         "x": 887,\r
266         "y": 316,\r
267         "z": "ba18d0da.6b53d",\r
268         "wires": [\r
269             [\r
270                 "50458cf4.1d3894",\r
271                 "92ad96ed.dc0f98",\r
272                 "b5be72d3.4c2378"\r
273             ]\r
274         ]\r
275     },\r
276     {\r
277         "id": "a485e3e3.6f9708",\r
278         "type": "record",\r
279         "name": "execute Write Config Details for Cvaas ",\r
280         "xml": "<execute plugin=\"org.onap.sdnc.config.generator.writer.FileWriterNode\" method=\"writeFile\">\n<parameter name=\"fileName\" value=\"`$tmp.fileName`\"/>\n<parameter name=\"requestData\" value=\"`$tmp.jsonConversion.jsonContent`\"/>\n\n",\r
281         "comments": "",\r
282         "outputs": 1,\r
283         "x": 951,\r
284         "y": 375,\r
285         "z": "ba18d0da.6b53d",\r
286         "wires": [\r
287             [\r
288                 "e0da83aa.86dc2"\r
289             ]\r
290         ]\r
291     },\r
292     {\r
293         "id": "949cd4f7.5ed8f",\r
294         "type": "set",\r
295         "name": "set fileName",\r
296         "xml": "<set>\n<parameter name='tmp.fileName' value=\"`'/opt/onap/appc/cvaas/' + $vnf-id + '_' + $tmp.uploadConfigInfo.UPLOAD-TIMESTAMP + '_appc001'  + '.json'`\"/>\n",\r
297         "comments": "",\r
298         "x": 457,\r
299         "y": 164,\r
300         "z": "ba18d0da.6b53d",\r
301         "wires": []\r
302     },\r
303     {\r
304         "id": "e0da83aa.86dc2",\r
305         "type": "failure",\r
306         "name": "failure",\r
307         "xml": "<outcome value='failure'>\n",\r
308         "comments": "",\r
309         "outputs": 1,\r
310         "x": 1194,\r
311         "y": 377,\r
312         "z": "ba18d0da.6b53d",\r
313         "wires": [\r
314             [\r
315                 "cf25c291.eeaac"\r
316             ]\r
317         ]\r
318     },\r
319     {\r
320         "id": "cf25c291.eeaac",\r
321         "type": "block",\r
322         "name": "block : atomic",\r
323         "xml": "<block atomic=\"true\">",\r
324         "atomic": "true",\r
325         "outputs": 1,\r
326         "x": 1364,\r
327         "y": 383,\r
328         "z": "ba18d0da.6b53d",\r
329         "wires": [\r
330             [\r
331                 "38f8974.498d2e8",\r
332                 "92ad96ed.dc0f98",\r
333                 "b5be72d3.4c2378"\r
334             ]\r
335         ]\r
336     },\r
337     {\r
338         "id": "d8910515.c8984",\r
339         "type": "set",\r
340         "name": "set dcae-error-message",\r
341         "xml": "<set>\n<parameter name='dcae-error-message' value=\"'ConvertContextToJson not found\" />\n",\r
342         "comments": "",\r
343         "x": 1121,\r
344         "y": 269,\r
345         "z": "ba18d0da.6b53d",\r
346         "wires": []\r
347     },\r
348     {\r
349         "id": "50458cf4.1d3894",\r
350         "type": "set",\r
351         "name": "set dcae-error-message",\r
352         "xml": "<set>\n<parameter name='dcae-error-message' value=\"`'Error from convertContextToJson - ' + $tmp.jsonConversion.error-message`\" />\n",\r
353         "comments": "",\r
354         "x": 1122,\r
355         "y": 316,\r
356         "z": "ba18d0da.6b53d",\r
357         "wires": []\r
358     },\r
359     {\r
360         "id": "90ad3c4d.8e0db8",\r
361         "type": "success",\r
362         "name": "success",\r
363         "xml": "<outcome value='success'>\n",\r
364         "comments": "",\r
365         "outputs": 1,\r
366         "x": 506,\r
367         "y": 368,\r
368         "z": "ba18d0da.6b53d",\r
369         "wires": [\r
370             [\r
371                 "c9826355.de2d88"\r
372             ]\r
373         ]\r
374     },\r
375     {\r
376         "id": "c9826355.de2d88",\r
377         "type": "block",\r
378         "name": "block : atomic",\r
379         "xml": "<block atomic=\"true\">",\r
380         "atomic": "true",\r
381         "outputs": 1,\r
382         "x": 674,\r
383         "y": 370,\r
384         "z": "ba18d0da.6b53d",\r
385         "wires": [\r
386             [\r
387                 "a485e3e3.6f9708"\r
388             ]\r
389         ]\r
390     },\r
391     {\r
392         "id": "38f8974.498d2e8",\r
393         "type": "set",\r
394         "name": "set dcae-error-message",\r
395         "xml": "<set>\n<parameter name='dcae-error-message' value=\"Unable to write file to /opt/onap/appc/cvaas\" />\n",\r
396         "comments": "",\r
397         "x": 1596,\r
398         "y": 376,\r
399         "z": "ba18d0da.6b53d",\r
400         "wires": []\r
401     },\r
402     {\r
403         "id": "92ad96ed.dc0f98",\r
404         "type": "execute",\r
405         "name": "execute IntermediateMessageSender",\r
406         "xml": "<execute plugin='org.onap.appc.dg.common.IntermediateMessageSender' method='sendMessage' >\n<parameter name='code' value=\"501\" />\n<parameter name='message' value=\"`$dcae-error-message`\" />\n<parameter name='prefix' value=\"tmp.intermediateerror\"/>",\r
407         "comments": "",\r
408         "outputs": 1,\r
409         "x": 936,\r
410         "y": 449,\r
411         "z": "ba18d0da.6b53d",\r
412         "wires": [\r
413             [\r
414                 "58b7c48d.5cbf0c",\r
415                 "3db6580c.06a818"\r
416             ]\r
417         ]\r
418     },\r
419     {\r
420         "id": "58b7c48d.5cbf0c",\r
421         "type": "not-found",\r
422         "name": "not-found",\r
423         "xml": "<outcome value='not-found'>\n",\r
424         "comments": "",\r
425         "outputs": 1,\r
426         "x": 1175,\r
427         "y": 448,\r
428         "z": "ba18d0da.6b53d",\r
429         "wires": [\r
430             [\r
431                 "1b264e03.1285a2"\r
432             ]\r
433         ]\r
434     },\r
435     {\r
436         "id": "3db6580c.06a818",\r
437         "type": "failure",\r
438         "name": "failure",\r
439         "xml": "<outcome value='failure'>\n",\r
440         "comments": "",\r
441         "outputs": 1,\r
442         "x": 1172,\r
443         "y": 507,\r
444         "z": "ba18d0da.6b53d",\r
445         "wires": [\r
446             [\r
447                 "1b264e03.1285a2"\r
448             ]\r
449         ]\r
450     },\r
451     {\r
452         "id": "1b264e03.1285a2",\r
453         "type": "block",\r
454         "name": "block : atomic",\r
455         "xml": "<block atomic=\"true\">",\r
456         "atomic": "true",\r
457         "outputs": 1,\r
458         "x": 1335,\r
459         "y": 472,\r
460         "z": "ba18d0da.6b53d",\r
461         "wires": [\r
462             [\r
463                 "d1436755.fdf6a8"\r
464             ]\r
465         ]\r
466     },\r
467     {\r
468         "id": "d1436755.fdf6a8",\r
469         "type": "record",\r
470         "name": "record",\r
471         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"MSGSENDERERERROR\" value=\"Unable to call IntermediateErrorMessageSender\"/>\n",\r
472         "comments": "",\r
473         "outputs": 1,\r
474         "x": 1500,\r
475         "y": 473,\r
476         "z": "ba18d0da.6b53d",\r
477         "wires": [\r
478             []\r
479         ]\r
480     },\r
481     {\r
482         "id": "b5be72d3.4c2378",\r
483         "type": "execute",\r
484         "name": "execute saveTxLog",\r
485         "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"log\" />\n<parameter name=\"message\" value=\"`'501:' + $dcae-error-message`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n",\r
486         "comments": "",\r
487         "outputs": 1,\r
488         "x": 916,\r
489         "y": 549,\r
490         "z": "ba18d0da.6b53d",\r
491         "wires": [\r
492             [\r
493                 "c81e7770.18ce18"\r
494             ]\r
495         ]\r
496     },\r
497     {\r
498         "id": "c81e7770.18ce18",\r
499         "type": "failure",\r
500         "name": "failure",\r
501         "xml": "<outcome value='failure'>\n",\r
502         "comments": "",\r
503         "outputs": 1,\r
504         "x": 1102,\r
505         "y": 551,\r
506         "z": "ba18d0da.6b53d",\r
507         "wires": [\r
508             [\r
509                 "b5ce7da8.febb3"\r
510             ]\r
511         ]\r
512     },\r
513     {\r
514         "id": "b5ce7da8.febb3",\r
515         "type": "block",\r
516         "name": "block : atomic",\r
517         "xml": "<block atomic=\"true\">",\r
518         "atomic": "true",\r
519         "outputs": 1,\r
520         "x": 1276,\r
521         "y": 553,\r
522         "z": "ba18d0da.6b53d",\r
523         "wires": [\r
524             []\r
525         ]\r
526     },\r
527     {\r
528         "id": "2572109c.9829f8",\r
529         "type": "set",\r
530         "name": "set payload parameters",\r
531         "xml": "<set>\n<parameter name='tmp.config.UPLOAD_CONFIG_ID' value=\"`$tmp.uploadConfigInfo.UPLOAD-CONFIG-ID`\" />\n<parameter name='tmp.config.REQUEST_ID' value=\"`$tmp.uploadConfigInfo.REQUEST-ID`\" />\n<parameter name='tmp.config.ORIGINATOR_ID' value=\"`$tmp.uploadConfigInfo.ORIGINATOR-ID`\" />\n<parameter name='tmp.config.SERVICE_DESCRIPTION' value=\"`$tmp.uploadConfigInfo.SERVICE-DESCRIPTION`\" />\n<parameter name='tmp.config.ACTION' value=\"`$tmp.uploadConfigInfo.ACTION`\" />\n<parameter name='tmp.config.UPLOAD_TIMESTAMP' value=\"`$tmp.uploadConfigInfo.UPLOAD-TIMESTAMP`\" />\n<parameter name='tmp.config.UPLOAD_DATE' value=\"`$tmp.uploadConfigInfo.UPLOAD-DATE`\" />\n<parameter name='tmp.config.VNF_ID' value=\"`$tmp.uploadConfigInfo.VNF-ID`\" />\n<parameter name='tmp.config.VNF_NAME' value=\"`$tmp.uploadConfigInfo.VNF-NAME`\" />\n<parameter name='tmp.config.VM_NAME' value=\"`$tmp.uploadConfigInfo.VM-NAME`\" />\n<parameter name='tmp.config.VNF_TYPE' value=\"`$tmp.uploadConfigInfo.VNF-TYPE`\" />\n<parameter name='tmp.config.VNFC_TYPE' value=\"`$tmp.uploadConfigInfo.VNFC-TYPE`\" />\n<parameter name='tmp.config.HOST_IP_ADDRESS' value=\"`$tmp.uploadConfigInfo.HOST-IP-ADDRESS`\" />\n<parameter name='tmp.config.CONFIG_INDICATOR' value=\"`$tmp.uploadConfigInfo.CONFIG-INDICATOR`\" />\n<parameter name='tmp.config.PENDING_DELETE' value=\"`$tmp.uploadConfigInfo.PENDING-DELETE`\" />\n<parameter name='tmp.config.CONTENT' value=\"`$tmp.uploadConfigInfo.CONTENT`\" />\n\n",\r
532         "comments": "",\r
533         "x": 481,\r
534         "y": 227,\r
535         "z": "ba18d0da.6b53d",\r
536         "wires": []\r
537     }\r
538 ]\r