181b5bc32af031603dac6032065641a47f432aa1
[appc.git] / appc-directed-graph / appc-dgraph / provider / src / main / resources / json / Appc-API / Appc-API_audit-configuration-notification.json
1 [\r
2     {\r
3         "id": "2bda9d8b.dc07e2",\r
4         "type": "comment",\r
5         "name": "Audit-CONFIGURATION-NOTIFICATION",\r
6         "info": "",\r
7         "comments": "",\r
8         "x": 564,\r
9         "y": 76,\r
10         "z": "50ed8660.c42b78",\r
11         "wires": []\r
12     },\r
13     {\r
14         "id": "cd1395d8.8212a8",\r
15         "type": "dgstart",\r
16         "name": "DGSTART",\r
17         "outputs": 1,\r
18         "x": 117.66668701171875,\r
19         "y": 153.3333396911621,\r
20         "z": "50ed8660.c42b78",\r
21         "wires": [\r
22             [\r
23                 "afc36e17.65732"\r
24             ]\r
25         ]\r
26     },\r
27     {\r
28         "id": "afc36e17.65732",\r
29         "type": "service-logic",\r
30         "name": "Appc-API 4.0.0",\r
31         "module": "Appc-API",\r
32         "version": "4.0.0",\r
33         "comments": "",\r
34         "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-API' version='4.0.0'>",\r
35         "outputs": 1,\r
36         "x": 300.90484619140625,\r
37         "y": 151.8571319580078,\r
38         "z": "50ed8660.c42b78",\r
39         "wires": [\r
40             [\r
41                 "ea11462.c33d1b8"\r
42             ]\r
43         ]\r
44     },\r
45     {\r
46         "id": "ea11462.c33d1b8",\r
47         "type": "method",\r
48         "name": "method audit-configuration-notification",\r
49         "xml": "<method rpc='audit-configuration-notification' mode='sync'>\n",\r
50         "comments": "",\r
51         "outputs": 1,\r
52         "x": 206.1429443359375,\r
53         "y": 249.66668701171875,\r
54         "z": "50ed8660.c42b78",\r
55         "wires": [\r
56             [\r
57                 "59223239.da7a7c"\r
58             ]\r
59         ]\r
60     },\r
61     {\r
62         "id": "60458f7.739457",\r
63         "type": "switchNode",\r
64         "name": "switch: service-instance-id already in config",\r
65         "xml": "<switch test=\"`$audit-configuration-notification-input.service-information.service-instance-id == $service-data.service-information.service-instance-id`\">",\r
66         "comments": "",\r
67         "outputs": 1,\r
68         "x": 447.2699890136719,\r
69         "y": 391.5772399902344,\r
70         "z": "50ed8660.c42b78",\r
71         "wires": [\r
72             [\r
73                 "bbb1f484.ce69c8",\r
74                 "36057100.2e7c4"\r
75             ]\r
76         ]\r
77     },\r
78     {\r
79         "id": "bbb1f484.ce69c8",\r
80         "type": "outcomeTrue",\r
81         "name": "outcome: true",\r
82         "xml": "<outcome value=\"true\">\n",\r
83         "outputs": 1,\r
84         "x": 747.7777709960938,\r
85         "y": 374.08923149108887,\r
86         "z": "50ed8660.c42b78",\r
87         "wires": [\r
88             [\r
89                 "edf93c4c.cc86e"\r
90             ]\r
91         ]\r
92     },\r
93     {\r
94         "id": "36057100.2e7c4",\r
95         "type": "outcomeFalse",\r
96         "name": "outcome: false",\r
97         "xml": "<outcome value=\"false\">",\r
98         "comments": "",\r
99         "outputs": 1,\r
100         "x": 748.1230773925781,\r
101         "y": 314.17259979248047,\r
102         "z": "50ed8660.c42b78",\r
103         "wires": [\r
104             [\r
105                 "3ef9114.e12dcee"\r
106             ]\r
107         ]\r
108     },\r
109     {\r
110         "id": "59223239.da7a7c",\r
111         "type": "block",\r
112         "name": "block : atomic",\r
113         "xml": "<block atomic=\"true\">",\r
114         "atomic": "true",\r
115         "comments": "",\r
116         "outputs": 1,\r
117         "x": 123.5728988647461,\r
118         "y": 329.73309326171875,\r
119         "z": "50ed8660.c42b78",\r
120         "wires": [\r
121             [\r
122                 "4b6ffd54.962d44",\r
123                 "60458f7.739457",\r
124                 "d2dc49b.c7bbab8"\r
125             ]\r
126         ]\r
127     },\r
128     {\r
129         "id": "4b6ffd54.962d44",\r
130         "type": "record",\r
131         "name": "record",\r
132         "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=\"field2\" value=\"audit-configuration-notification\"/>\n<parameter name=\"field3\" value=\"`$audit-configuration-notification-input.service-information.service-instance-id`\"/>\n<parameter name=\"field4\" value=\"`$audit-configuration-notification-input.response-code`\"/>\n<parameter name=\"field5\" value=\"`$audit-configuration-notification-input.response-message`\"/>\n<parameter name=\"field6\" value=\"`$audit-configuration-notification-input.audit-config-results.audit-outcome`\"/>\n<parameter name=\"field7\" value=\"`$audit-configuration-notification-input.audit-config-results.applied-configuration`\"/>\n<parameter name=\"field8\" value=\"`$audit-configuration-notification-input.audit-config-results.running-configuration`\"/>\n\n<parameter name=\"field9\" value=\"`$service-data.service-information.service-instance-id`\"/>\n<parameter name=\"field10\" value=\"`$service-configuration-notification-input.response-code`\"/>\n<parameter name=\"field11\" value=\"`$service-data.request-information.request-action`\"/>\n<parameter name=\"field12\" value=\"`$service-configuration-notification-input.service-information.service-instance-id`\"/>\n\n<parameter name=\"field13\" value=\"`$audit-configuration-notification-input.svc-request-id`\"/>\n<parameter name=\"field14\" value=\"`$service-data.appc-request-header.svc-request-id`\"/>",\r
133         "comments": "",\r
134         "outputs": 1,\r
135         "x": 336.7158203125,\r
136         "y": 345.0707702636719,\r
137         "z": "50ed8660.c42b78",\r
138         "wires": [\r
139             []\r
140         ]\r
141     },\r
142     {\r
143         "id": "fed84bfa.860428",\r
144         "type": "switchNode",\r
145         "name": "switch: response code Successful",\r
146         "xml": "<switch test=\"`$audit-configuration-notification-input.response-code`\">\n\n",\r
147         "comments": "",\r
148         "outputs": 1,\r
149         "x": 401.3543395996094,\r
150         "y": 518.7619018554688,\r
151         "z": "50ed8660.c42b78",\r
152         "wires": [\r
153             [\r
154                 "44285ae7.d087f4",\r
155                 "bb9534d1.342908",\r
156                 "275f0633.21aa6a"\r
157             ]\r
158         ]\r
159     },\r
160     {\r
161         "id": "44285ae7.d087f4",\r
162         "type": "success",\r
163         "name": "outcome: Success",\r
164         "xml": "<outcome value=\"Success\">",\r
165         "comments": "",\r
166         "outputs": 1,\r
167         "x": 340.92584228515625,\r
168         "y": 684.4285278320312,\r
169         "z": "50ed8660.c42b78",\r
170         "wires": [\r
171             [\r
172                 "e2e6621b.15e89"\r
173             ]\r
174         ]\r
175     },\r
176     {\r
177         "id": "275f0633.21aa6a",\r
178         "type": "other",\r
179         "name": "outcome: Other",\r
180         "xml": "<outcome value=\"Other\">",\r
181         "comments": "",\r
182         "outputs": 1,\r
183         "x": 328,\r
184         "y": 971,\r
185         "z": "50ed8660.c42b78",\r
186         "wires": [\r
187             [\r
188                 "c9c27153.50dbf"\r
189             ]\r
190         ]\r
191     },\r
192     {\r
193         "id": "c9c27153.50dbf",\r
194         "type": "block",\r
195         "name": "block : atomic",\r
196         "xml": "<block atomic=\"true\">",\r
197         "atomic": "true",\r
198         "outputs": 1,\r
199         "x": 513.1386108398438,\r
200         "y": 965.9999389648438,\r
201         "z": "50ed8660.c42b78",\r
202         "wires": [\r
203             [\r
204                 "235a2caa.dc26a4",\r
205                 "8de0308c.bebf5"\r
206             ]\r
207         ]\r
208     },\r
209     {\r
210         "id": "235a2caa.dc26a4",\r
211         "type": "configure",\r
212         "name": "SDN_GP Asynch Notification",\r
213         "xml": "<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.async.AsyncResponseAdaptor\" key=\"AUDIT\">\n<parameter name=\"dummyparam\" value=\"test\"/>\n",\r
214         "comments": "",\r
215         "outputs": 1,\r
216         "x": 783.4718627929688,\r
217         "y": 917.1514892578125,\r
218         "z": "50ed8660.c42b78",\r
219         "wires": [\r
220             []\r
221         ]\r
222     },\r
223     {\r
224         "id": "8de0308c.bebf5",\r
225         "type": "returnFailure",\r
226         "name": "return: failure",\r
227         "xml": "<return status='failure'>\n\t<parameter name='error-code' value='`$audit-configuration-notification-input.response-code`'/>\n\t<parameter name='error-message' value='`$audit-configuration-notification-input.response-message`'/>\n\t<parameter name='internal-error' value='false' />",\r
228         "comments": "",\r
229         "x": 742.3817749023438,\r
230         "y": 983.0717163085938,\r
231         "z": "50ed8660.c42b78",\r
232         "wires": []\r
233     },\r
234     {\r
235         "id": "3ef9114.e12dcee",\r
236         "type": "returnFailure",\r
237         "name": "return: failure",\r
238         "xml": "<return status='failure'>\n\t<parameter name='error-code' value='1000'/>\n\t<parameter name='error-message' value='Service Instance Id not found'/>\n\t<parameter name='internal-error' value='true' />",\r
239         "comments": "",\r
240         "x": 1004.6401977539062,\r
241         "y": 315.4285888671875,\r
242         "z": "50ed8660.c42b78",\r
243         "wires": []\r
244     },\r
245     {\r
246         "id": "6fc2b7f7.95e328",\r
247         "type": "other",\r
248         "name": "outcome: Other",\r
249         "xml": "<outcome value=\"Other\">\n\n",\r
250         "outputs": 1,\r
251         "x": 1918.3543663024902,\r
252         "y": 4982.627190113068,\r
253         "z": "50ed8660.c42b78",\r
254         "wires": [\r
255             [\r
256                 "a82156c3.c76cb8"\r
257             ]\r
258         ]\r
259     },\r
260     {\r
261         "id": "616774e.572778c",\r
262         "type": "other",\r
263         "name": "outcome: ChangeLayer3ServiceActivateRequest",\r
264         "xml": "<outcome value=\"ChangeLayer3ServiceActivateRequest\">\n\n",\r
265         "outputs": 1,\r
266         "x": 2063.2545433044434,\r
267         "y": 4819.393614768982,\r
268         "z": "50ed8660.c42b78",\r
269         "wires": [\r
270             [\r
271                 "26825f6e.55fa2"\r
272             ]\r
273         ]\r
274     },\r
275     {\r
276         "id": "f43f3748.859d08",\r
277         "type": "execute",\r
278         "name": "execute: EIPAM_UnassignIPAddress",\r
279         "xml": "<execute plugin=\"com.att.sdnctl.sli.plugin.EIPAM.EIPAMPlugin\" method=\"unassignIPAddress\">\n\t<parameter name=\"deleteEIPAM_status\" value=\"PENDING_DELETE\" />",\r
280         "outputs": 1,\r
281         "x": 2643.284980773926,\r
282         "y": 4735.545325279236,\r
283         "z": "50ed8660.c42b78",\r
284         "wires": [\r
285             []\r
286         ]\r
287     },\r
288     {\r
289         "id": "26825f6e.55fa2",\r
290         "type": "block",\r
291         "name": "block : atomic",\r
292         "xml": "<block atomic=\"true\">",\r
293         "atomic": "true",\r
294         "outputs": 1,\r
295         "x": 2342.6183280944824,\r
296         "y": 4816.545227050781,\r
297         "z": "50ed8660.c42b78",\r
298         "wires": [\r
299             [\r
300                 "f43f3748.859d08",\r
301                 "afd3a555.be9328",\r
302                 "3e70f431.74a58c",\r
303                 "86c2f124.a637c",\r
304                 "e06094ff.361828"\r
305             ]\r
306         ]\r
307     },\r
308     {\r
309         "id": "86c2f124.a637c",\r
310         "type": "configure",\r
311         "name": "MSO Asynch Notification",\r
312         "xml": "<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.mso.MSOAdaptor\" key=\"MSO\">\n      <parameter name=\"dummyparam\" value=\"test\"/>\n",\r
313         "outputs": 1,\r
314         "x": 2613.2713928222656,\r
315         "y": 4886.871339797974,\r
316         "z": "50ed8660.c42b78",\r
317         "wires": [\r
318             []\r
319         ]\r
320     },\r
321     {\r
322         "id": "e06094ff.361828",\r
323         "type": "returnSuccess",\r
324         "name": "return success",\r
325         "xml": " <return status=\"success\">\n \n",\r
326         "x": 2585.120918273926,\r
327         "y": 4934.317549705505,\r
328         "z": "50ed8660.c42b78",\r
329         "wires": []\r
330     },\r
331     {\r
332         "id": "3e70f431.74a58c",\r
333         "type": "save",\r
334         "name": "save: order-status = Activated",\r
335         "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.resource.mdsal.ConfigResource\" resource=\"service-data\">\n\t<parameter name=\"service-data.oper-status.order-status\" value=\"Activated\" />",\r
336         "outputs": 1,\r
337         "x": 2627.1866760253906,\r
338         "y": 4833.433511734009,\r
339         "z": "50ed8660.c42b78",\r
340         "wires": [\r
341             []\r
342         ]\r
343     },\r
344     {\r
345         "id": "afd3a555.be9328",\r
346         "type": "set",\r
347         "name": "set: order-status = Activated",\r
348         "xml": "<set>\n\t<parameter name=\"service-data.oper-status.order-status\" value=\"Activated\" />",\r
349         "x": 2619.559804916382,\r
350         "y": 4787.139886856079,\r
351         "z": "50ed8660.c42b78",\r
352         "wires": []\r
353     },\r
354     {\r
355         "id": "a82156c3.c76cb8",\r
356         "type": "returnFailure",\r
357         "name": "return failure",\r
358         "xml": " <return status=\"failure\">\n\t<parameter name='error-code' value='2000'/>\n\t<parameter name='error-message' value='Invalid Request `$service-data.request-information.request-action`'/>\n\t<parameter name='internal-error' value='true'/>\n \n",\r
359         "x": 2231.4364824295044,\r
360         "y": 4984.090530395508,\r
361         "z": "50ed8660.c42b78",\r
362         "wires": []\r
363     },\r
364     {\r
365         "id": "e2e6621b.15e89",\r
366         "type": "block",\r
367         "name": "block : atomic",\r
368         "xml": "<block atomic=\"true\">",\r
369         "atomic": "true",\r
370         "comments": "",\r
371         "outputs": 1,\r
372         "x": 569,\r
373         "y": 696,\r
374         "z": "50ed8660.c42b78",\r
375         "wires": [\r
376             [\r
377                 "eb60f62e.2cf768",\r
378                 "a7de75f9.c2b138",\r
379                 "559ed45e.8ff51c",\r
380                 "1698aac4.f2c905"\r
381             ]\r
382         ]\r
383     },\r
384     {\r
385         "id": "a20c72ca.5e8dd",\r
386         "type": "set",\r
387         "name": "set Audit Config results",\r
388         "xml": "<set>\n<parameter name='service-data.' value='audit-configuration-notification-input.' />\n",\r
389         "comments": "",\r
390         "x": 823,\r
391         "y": 588,\r
392         "z": "50ed8660.c42b78",\r
393         "wires": []\r
394     },\r
395     {\r
396         "id": "eb60f62e.2cf768",\r
397         "type": "record",\r
398         "name": "record",\r
399         "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=\"field2\" value=\"audit-configuration-notification\"/>\n<parameter name=\"field3\" value=\"`$audit-configuration-notification-input.audit-config-results.audit-outcome`\"/>\n<parameter name=\"field4\" value=\"`$audit-configuration-notification-input.audit-config-results.running-configuration`\"/>\n<parameter name=\"field5\" value=\"`$audit-configuration-notification-input.svc-request-id`\"/>\n<parameter name=\"field6\" value=\"`$service-data.appc-request-header.svc-request-id`\"/>\n<parameter name=\"field7\" value=\"`$service-data.oper-status.order-status`\"/>\n<parameter name=\"field8\" value=\"`$service-data.oper-status.last-order-status`\"/>\n\n",\r
400         "comments": "",\r
401         "outputs": 1,\r
402         "x": 789,\r
403         "y": 645,\r
404         "z": "50ed8660.c42b78",\r
405         "wires": [\r
406             []\r
407         ]\r
408     },\r
409     {\r
410         "id": "d2dc49b.c7bbab8",\r
411         "type": "set",\r
412         "name": "set:service-data based on input",\r
413         "xml": "<set>\n<parameter name=\"service-data.appc-request-header.svc-request-id\" value=\"`$audit-configuration-notification-input.svc-request-id`\" />\n\n<!--\n<parameter name=\"service-data.service-information.service-instance-id\" value=\"`$audit-configuration-notification-input.service-information.service-instance-id`\" />\n-->\n<parameter name=\"service-data.service-information.service-type\" value=\"`$audit-configuration-notification-input.service-information.service-type`\" />\n\t\n\n\t\n\t\n\t",\r
414         "comments": "",\r
415         "x": 412,\r
416         "y": 298,\r
417         "z": "50ed8660.c42b78",\r
418         "wires": []\r
419     },\r
420     {\r
421         "id": "bb9534d1.342908",\r
422         "type": "success",\r
423         "name": "outcome: SUCCESS",\r
424         "xml": "<outcome value=\"SUCCESS\">",\r
425         "comments": "",\r
426         "outputs": 1,\r
427         "x": 334,\r
428         "y": 756,\r
429         "z": "50ed8660.c42b78",\r
430         "wires": [\r
431             [\r
432                 "e2e6621b.15e89"\r
433             ]\r
434         ]\r
435     },\r
436     {\r
437         "id": "5f69c5a2.065e0c",\r
438         "type": "set",\r
439         "name": "set: restore Order Status based on last-order-status",\r
440         "xml": "<set>\n<parameter name=\"service-data.oper-status.order-status\" value=\"`$service-data.oper-status.last-order-status`\" />\n\n",\r
441         "comments": "",\r
442         "x": 925,\r
443         "y": 700,\r
444         "z": "50ed8660.c42b78",\r
445         "wires": []\r
446     },\r
447     {\r
448         "id": "a7de75f9.c2b138",\r
449         "type": "configure",\r
450         "name": "SDN-GP Asynch Notification",\r
451         "xml": "<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.async.AsyncResponseAdaptor\" key=\"AUDIT\">\n<parameter name=\"dummyparam\" value=\"test\"/>\n",\r
452         "comments": "",\r
453         "outputs": 1,\r
454         "x": 852,\r
455         "y": 785,\r
456         "z": "50ed8660.c42b78",\r
457         "wires": [\r
458             []\r
459         ]\r
460     },\r
461     {\r
462         "id": "559ed45e.8ff51c",\r
463         "type": "returnSuccess",\r
464         "name": "return success",\r
465         "xml": "<return status=\"success\">\n<parameter name='error-code' value='200'/>\n<parameter name='error-message' value='`$audit-configuration-notification-input.response-message`'/>\n \n",\r
466         "comments": "",\r
467         "x": 815,\r
468         "y": 844,\r
469         "z": "50ed8660.c42b78",\r
470         "wires": []\r
471     },\r
472     {\r
473         "id": "1698aac4.f2c905",\r
474         "type": "set",\r
475         "name": "set: last-sub-action-status",\r
476         "xml": "<set>\n<parameter name=\"service-data.oper-status.last-sub-action-status\" value=\"Success\" />\n\n",\r
477         "comments": "",\r
478         "x": 847,\r
479         "y": 740,\r
480         "z": "50ed8660.c42b78",\r
481         "wires": []\r
482     },\r
483     {\r
484         "id": "4cbbd319.e6526c",\r
485         "type": "comment",\r
486         "name": "Lastsubaction status set in Appc",\r
487         "info": "",\r
488         "comments": "",\r
489         "x": 1059,\r
490         "y": 942,\r
491         "z": "50ed8660.c42b78",\r
492         "wires": []\r
493     },\r
494     {\r
495         "id": "edf93c4c.cc86e",\r
496         "type": "block",\r
497         "name": "block : atomic",\r
498         "xml": "<block atomic=\"true\">",\r
499         "atomic": "true",\r
500         "outputs": 1,\r
501         "x": 926,\r
502         "y": 376,\r
503         "z": "50ed8660.c42b78",\r
504         "wires": [\r
505             [\r
506                 "583ef652.3fb778",\r
507                 "fed84bfa.860428"\r
508             ]\r
509         ]\r
510     },\r
511     {\r
512         "id": "583ef652.3fb778",\r
513         "type": "execute",\r
514         "name": "execute: setTime(modify-timestamp)",\r
515         "xml": "<execute plugin=\"com.att.sdnctl.sli.plugin.ipAddressTools.IpAddressTool\" method=\"setTime\">\n\t<parameter name=\"ctxVariable\" value=\"service-data.oper-status.modify-timestamp\"/>",\r
516         "comments": "",\r
517         "outputs": 1,\r
518         "x": 1187,\r
519         "y": 374,\r
520         "z": "50ed8660.c42b78",\r
521         "wires": [\r
522             []\r
523         ]\r
524     }\r
525 ]\r