Deployment onap rename
[appc/deployment.git] / platform-logic / appc / src / main / json / dg-loader-dgs / APPC / APPC_DGOrchestrator.json
1 [
2     {
3         "id": "af863c5e.90e748",
4         "name": "DGSTART",
5         "outputs": 1,
6         "type": "dgstart",
7         "wires": [
8             [
9                 "d9df0190.a42ba"
10             ]
11         ],
12         "x": 146.75,
13         "y": 164.75,
14         "z": "7aa4b695.11473"
15     },
16     {
17         "comments": "",
18         "id": "d9df0190.a42ba",
19         "module": "APPC",
20         "name": "APPC 4.0.0",
21         "outputs": 1,
22         "type": "service-logic",
23         "version": "4.0.0",
24         "wires": [
25             [
26                 "7c89aa4e.932024"
27             ]
28         ],
29         "x": 304.09282302856445,
30         "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'>",
31         "y": 164.73572540283203,
32         "z": "7aa4b695.11473"
33     },
34     {
35         "comments": "",
36         "id": "7c89aa4e.932024",
37         "name": "method DGOrchestrator",
38         "outputs": 1,
39         "type": "method",
40         "wires": [
41             [
42                 "c70f8f3b.05d388"
43             ]
44         ],
45         "x": 508.64046478271484,
46         "xml": "<method rpc='DGOrchestrator' mode='sync'>\n",
47         "y": 154.23572540283203,
48         "z": "7aa4b695.11473"
49     },
50     {
51         "atomic": "true",
52         "comments": "",
53         "id": "c70f8f3b.05d388",
54         "name": "block : atomic",
55         "outputs": 1,
56         "type": "block",
57         "wires": [
58             [
59                 "381e0ace.b3f33e",
60                 "5f6fb0ca.2c254",
61                 "c488bd07.108a38",
62                 "75917e4e.17476"
63             ]
64         ],
65         "x": 114.90634155273438,
66         "xml": "<block atomic=\"true\">",
67         "y": 287.93809700012207,
68         "z": "7aa4b695.11473"
69     },
70     {
71         "comments": "",
72         "id": "75917e4e.17476",
73         "name": "call: setInputParams",
74         "outputs": 1,
75         "type": "call",
76         "wires": [
77             [
78                 "36ff1ffa.c778a",
79                 "26081ec1.29b53a",
80                 "c2f54a3a.ddf05"
81             ]
82         ],
83         "x": 649.6642913818359,
84         "xml": "<call module=\"APPC\" rpc=\"setInputParams\" mode=\"sync\">",
85         "y": 204.23572635650635,
86         "z": "7aa4b695.11473"
87     },
88     {
89         "comments": "",
90         "id": "1210a216.c8af96",
91         "name": "failure",
92         "outputs": 1,
93         "type": "failure",
94         "wires": [
95             [
96                 "9c3d67a5.92d02"
97             ]
98         ],
99         "x": 2142.4143924713135,
100         "xml": "<outcome value='failure'>\n",
101         "y": 315.6523714065552,
102         "z": "7aa4b695.11473"
103     },
104     {
105         "comments": "",
106         "id": "b0e87141.6fe4f8",
107         "name": "execute get and executeFlowSequence",
108         "outputs": 1,
109         "type": "execute",
110         "wires": [
111             [
112                 "1210a216.c8af96",
113                 "85baeb80.e02e8"
114             ]
115         ],
116         "x": 1850.5411643981934,
117         "xml": "<execute plugin=\"org.onap.appc.flow.controller.node.FlowControlNode\" method=\"processFlow\">\n<parameter name=\"messageType\" value=\"response\" />\n<parameter name=\"message\" value=\"`$tmp.message`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.flowControl\" />\n",
118         "y": 327.96586418151855,
119         "z": "7aa4b695.11473"
120     },
121     {
122         "atomic": "true",
123         "comments": "",
124         "id": "9c3d67a5.92d02",
125         "name": "block : atomic",
126         "outputs": 1,
127         "type": "block",
128         "wires": [
129             [
130                 "4c31beff.349f7"
131             ]
132         ],
133         "x": 2353.461868286133,
134         "xml": "<block atomic=\"true\">",
135         "y": 313.1761817932129,
136         "z": "7aa4b695.11473"
137     },
138     {
139         "comments": "",
140         "id": "88a7413.62118c",
141         "name": "set error-code 400 and message",
142         "type": "set",
143         "wires": [],
144         "x": 2598.9379119873047,
145         "xml": "<set>\n<parameter name='error-code' value='400' />\n<parameter name='error-message' value=\"SUCCESS - request has been processed successfully\" />\n<parameter name='output-payload' value=\"`'state : ' + $output.payload.state` \" />\n",
146         "y": 394.735652923584,
147         "z": "7aa4b695.11473"
148     },
149     {
150         "comments": "",
151         "id": "85baeb80.e02e8",
152         "name": "success",
153         "outputs": 1,
154         "type": "success",
155         "wires": [
156             [
157                 "91b3c0c8.bd7338"
158             ]
159         ],
160         "x": 2148.2952003479004,
161         "xml": "<outcome value='success'>\n",
162         "y": 395.31900215148926,
163         "z": "7aa4b695.11473"
164     },
165     {
166         "atomic": "true",
167         "comments": "",
168         "id": "91b3c0c8.bd7338",
169         "name": "block : atomic",
170         "outputs": 1,
171         "type": "block",
172         "wires": [
173             [
174                 "88a7413.62118c"
175             ]
176         ],
177         "x": 2336.175952911377,
178         "xml": "<block atomic=\"true\">",
179         "y": 394.9737958908081,
180         "z": "7aa4b695.11473"
181     },
182     {
183         "comments": "",
184         "id": "4c31beff.349f7",
185         "name": "set error-code 401 and message",
186         "type": "set",
187         "wires": [],
188         "x": 2603.7476806640625,
189         "xml": "<set>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"`$tmp.flowControl.status-message`\" />\n<parameter name='output-payload' value=\"\" />\n",
190         "y": 313.11661529541016,
191         "z": "7aa4b695.11473"
192     },
193     {
194         "comments": "",
195         "id": "5f6fb0ca.2c254",
196         "name": "execute saveTxLog",
197         "outputs": 1,
198         "type": "execute",
199         "wires": [
200             [
201                 "9340c18b.3084e8"
202             ]
203         ],
204         "x": 314.2475776672363,
205         "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"response\" />\n<parameter name=\"message\" value=\"`$tmp.message`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n",
206         "y": 1005.7912883758545,
207         "z": "7aa4b695.11473"
208     },
209     {
210         "comments": "",
211         "id": "9340c18b.3084e8",
212         "name": "failure",
213         "outputs": 1,
214         "type": "failure",
215         "wires": [
216             [
217                 "af758d58.5b9778"
218             ]
219         ],
220         "x": 515.6919479370117,
221         "xml": "<outcome value='failure'>\n",
222         "y": 1006.707914352417,
223         "z": "7aa4b695.11473"
224     },
225     {
226         "atomic": "true",
227         "comments": "",
228         "id": "af758d58.5b9778",
229         "name": "block : atomic",
230         "outputs": 1,
231         "type": "block",
232         "wires": [
233             []
234         ],
235         "x": 691.1643218994141,
236         "xml": "<block atomic=\"true\">",
237         "y": 1008.2912473678589,
238         "z": "7aa4b695.11473"
239     },
240     {
241         "comments": "",
242         "id": "381e0ace.b3f33e",
243         "name": "set tmp.message",
244         "type": "set",
245         "wires": [],
246         "x": 333.0253677368164,
247         "xml": "<set>\n<parameter name=\"tmp.message\" value=\"`$error-code + ':' + $error-message`\"/>\n",
248         "y": 917.9857015609741,
249         "z": "7aa4b695.11473"
250     },
251     {
252         "comments": "",
253         "id": "36ff1ffa.c778a",
254         "name": "not-found",
255         "outputs": 1,
256         "type": "not-found",
257         "wires": [
258             [
259                 "ca660a6a.37209"
260             ]
261         ],
262         "x": 865.164306640625,
263         "xml": "<outcome value='not-found'>\n",
264         "y": 163.40238761901855,
265         "z": "7aa4b695.11473"
266     },
267     {
268         "comments": "",
269         "id": "26081ec1.29b53a",
270         "name": "failure",
271         "outputs": 1,
272         "type": "failure",
273         "wires": [
274             [
275                 "ca660a6a.37209"
276             ]
277         ],
278         "x": 859.664306640625,
279         "xml": "<outcome value='failure'>\n",
280         "y": 202.4023895263672,
281         "z": "7aa4b695.11473"
282     },
283     {
284         "atomic": "true",
285         "comments": "",
286         "id": "ca660a6a.37209",
287         "name": "block : atomic",
288         "outputs": 1,
289         "type": "block",
290         "wires": [
291             []
292         ],
293         "x": 1032.414306640625,
294         "xml": "<block atomic=\"true\">\n\n",
295         "y": 183.90241241455078,
296         "z": "7aa4b695.11473"
297     },
298     {
299         "comments": "",
300         "id": "c488bd07.108a38",
301         "name": "switch error-code",
302         "outputs": 1,
303         "type": "switchNode",
304         "wires": [
305             [
306                 "3d595d5f.577762",
307                 "faa2fd8b.a0c5c"
308             ]
309         ],
310         "x": 337.8309631347656,
311         "xml": "<switch test='`$error-code`'>\n",
312         "y": 859.6524333953857,
313         "z": "7aa4b695.11473"
314     },
315     {
316         "comments": "",
317         "id": "3d595d5f.577762",
318         "name": "outcome: 400",
319         "outputs": 1,
320         "type": "success",
321         "wires": [
322             [
323                 "185cf26e.a85396"
324             ]
325         ],
326         "x": 602.4975891113281,
327         "xml": "<outcome value=\"400\">",
328         "y": 811.9857139587402,
329         "z": "7aa4b695.11473"
330     },
331     {
332         "comments": "",
333         "id": "faa2fd8b.a0c5c",
334         "name": "outcome: Other",
335         "outputs": 1,
336         "type": "success",
337         "wires": [
338             [
339                 "d829d71e.06cbb8"
340             ]
341         ],
342         "x": 602.414249420166,
343         "xml": "<outcome value=\"Other\">",
344         "y": 911.985746383667,
345         "z": "7aa4b695.11473"
346     },
347     {
348         "atomic": "true",
349         "id": "185cf26e.a85396",
350         "name": "block : atomic",
351         "outputs": 1,
352         "type": "block",
353         "wires": [
354             [
355                 "766d8c6f.46c504"
356             ]
357         ],
358         "x": 813.7476348876953,
359         "xml": "<block atomic=\"true\">",
360         "y": 814.6524209976196,
361         "z": "7aa4b695.11473"
362     },
363     {
364         "atomic": "true",
365         "id": "d829d71e.06cbb8",
366         "name": "block : atomic",
367         "outputs": 1,
368         "type": "block",
369         "wires": [
370             [
371                 "cb724d6.bb5e03"
372             ]
373         ],
374         "x": 795.7474899291992,
375         "xml": "<block atomic=\"true\">",
376         "y": 913.235746383667,
377         "z": "7aa4b695.11473"
378     },
379     {
380         "comments": "",
381         "id": "766d8c6f.46c504",
382         "name": "set Status for dispatcher",
383         "type": "set",
384         "wires": [],
385         "x": 1063.4143371582031,
386         "xml": "<set>\n<parameter name='SvcLogic.status' value='success' />\n<parameter name='output.status.code' value='`$error-code`' />\n<parameter name='output.status.message' value='`$error-message`' />",
387         "y": 812.8190479278564,
388         "z": "7aa4b695.11473"
389     },
390     {
391         "comments": "",
392         "id": "cb724d6.bb5e03",
393         "name": "set Status for dispatcher",
394         "type": "set",
395         "wires": [],
396         "x": 1032.9142837524414,
397         "xml": "<set>\n<parameter name='SvcLogic.status' value='failure' />\n<parameter name='output.status.code' value='`$error-code`' />\n<parameter name='output.status.message' value='`$error-message`' />\n",
398         "y": 912.1523923873901,
399         "z": "7aa4b695.11473"
400     },
401     {
402         "atomic": "true",
403         "comments": "",
404         "id": "3df8ebcb.3db3a4",
405         "name": "block : atomic",
406         "outputs": 1,
407         "type": "block",
408         "wires": [
409             [
410                 "db8589d5.f5783"
411             ]
412         ],
413         "x": 525.9142684936523,
414         "xml": "<block atomic=\"true\">",
415         "y": 315.5690441131592,
416         "z": "7aa4b695.11473"
417     },
418     {
419         "comments": "",
420         "id": "c2f54a3a.ddf05",
421         "name": "success",
422         "outputs": 1,
423         "type": "success",
424         "wires": [
425             [
426                 "3df8ebcb.3db3a4"
427             ]
428         ],
429         "x": 855.497615814209,
430         "xml": "<outcome value='success'>\n",
431         "y": 242.23571968078613,
432         "z": "7aa4b695.11473"
433     },
434     {
435         "comments": "",
436         "id": "98b12577.b4145",
437         "name": "execute getCapability",
438         "outputs": 1,
439         "type": "execute",
440         "wires": [
441             [
442                 "e327dfa0.71d49",
443                 "a7e121d5.e56c78"
444             ]
445         ],
446         "x": 831.6644706726074,
447         "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getCapability\">\n<parameter name=\"caplevel\" value=\"`$action-level`\" />\n<parameter name=\"checkCapability\" value=\"`$request-action`\" />\n<parameter name=\"vnf-type\" value=\"`$vnf-type`\" />\n\n",
448         "y": 463.6523542404175,
449         "z": "7aa4b695.11473"
450     },
451     {
452         "comments": "",
453         "id": "79a2cd7a.1539c4",
454         "name": "switch capability-result",
455         "outputs": 1,
456         "type": "switchNode",
457         "wires": [
458             [
459                 "2529f428.b003fc",
460                 "69db5125.fc4bf",
461                 "4ed07506.b71b1c"
462             ]
463         ],
464         "x": 1161.454574584961,
465         "xml": "<switch test=\"`$capabilities`\">\n",
466         "y": 549.3952317237854,
467         "z": "7aa4b695.11473"
468     },
469     {
470         "comments": "",
471         "id": "2529f428.b003fc",
472         "name": "outcome: Not-Supported",
473         "outputs": 1,
474         "type": "success",
475         "wires": [
476             [
477                 "b6a06ded.095718"
478             ]
479         ],
480         "x": 1400.6644439697266,
481         "xml": "<outcome value=\"Not-Supported\">",
482         "y": 675.9856586456299,
483         "z": "7aa4b695.11473"
484     },
485     {
486         "comments": "",
487         "id": "69db5125.fc4bf",
488         "name": "outcome: Supported",
489         "outputs": 1,
490         "type": "success",
491         "wires": [
492             [
493                 "b748bba.a3058c8"
494             ]
495         ],
496         "x": 1391.5810241699219,
497         "xml": "<outcome value=\"Supported\">",
498         "y": 608.3190422058105,
499         "z": "7aa4b695.11473"
500     },
501     {
502         "comments": "",
503         "id": "e327dfa0.71d49",
504         "name": "Other",
505         "outputs": 1,
506         "type": "failure",
507         "wires": [
508             [
509                 "54a3be90.486a98"
510             ]
511         ],
512         "x": 1132.7594909667969,
513         "xml": "<outcome value='Other'>\n",
514         "y": 409.8428611755371,
515         "z": "7aa4b695.11473"
516     },
517     {
518         "comments": "",
519         "id": "a7e121d5.e56c78",
520         "name": "success",
521         "outputs": 1,
522         "type": "success",
523         "wires": [
524             [
525                 "670943f4.e09734"
526             ]
527         ],
528         "x": 1117.2119979858398,
529         "xml": "<outcome value='success'>\n",
530         "y": 466.65238761901855,
531         "z": "7aa4b695.11473"
532     },
533     {
534         "comments": "",
535         "id": "b6a06ded.095718",
536         "name": "set error-code 450 and message",
537         "type": "set",
538         "wires": [],
539         "x": 1690.997543334961,
540         "xml": "<set>\n<parameter name='error-code' value='450' />\n<parameter name='error-message' value=\"Request not supported\" />\n<parameter name='output-payload' value=\"\" />",
541         "y": 677.6523866653442,
542         "z": "7aa4b695.11473"
543     },
544     {
545         "atomic": "true",
546         "comments": "",
547         "id": "b748bba.a3058c8",
548         "name": "block : atomic",
549         "outputs": 1,
550         "type": "block",
551         "wires": [
552             [
553                 "b0e87141.6fe4f8"
554             ]
555         ],
556         "x": 1612.9976196289062,
557         "xml": "<block atomic=\"true\">",
558         "y": 612.3190307617188,
559         "z": "7aa4b695.11473"
560     },
561     {
562         "comments": "",
563         "id": "4ed07506.b71b1c",
564         "name": "Other",
565         "outputs": 1,
566         "type": "other",
567         "wires": [
568             [
569                 "b0e87141.6fe4f8"
570             ]
571         ],
572         "x": 1338.3310661315918,
573         "xml": "<outcome value='Other'>\n",
574         "y": 537.9857149124146,
575         "z": "7aa4b695.11473"
576     },
577     {
578         "comments": "",
579         "id": "2930004b.59f6a",
580         "name": "set error code 401",
581         "type": "set",
582         "wires": [],
583         "x": 1482.6641845703125,
584         "xml": "<set>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"Cannot Determine Capabilities\" />\n<parameter name='output-payload' value=\"\" />\n",
585         "y": 398.2357177734375,
586         "z": "7aa4b695.11473"
587     },
588     {
589         "atomic": "true",
590         "comments": "",
591         "id": "670943f4.e09734",
592         "name": "block : atomic",
593         "outputs": 1,
594         "type": "block",
595         "wires": [
596             [
597                 "79a2cd7a.1539c4"
598             ]
599         ],
600         "x": 962.0492706298828,
601         "xml": "<block atomic=\"true\">\n\n",
602         "y": 549.8094539642334,
603         "z": "7aa4b695.11473"
604     },
605     {
606         "comments": "",
607         "id": "55f47d04.5f65bc",
608         "name": "record",
609         "outputs": 1,
610         "type": "record",
611         "wires": [
612             []
613         ],
614         "x": 1447.072998046875,
615         "xml": "<record plugin=\"org.onap.sdnc.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=\"` 'Capabilities results will be - '+$capabilities`\" />",
616         "y": 446.452392578125,
617         "z": "7aa4b695.11473"
618     },
619     {
620         "comments": "",
621         "id": "db8589d5.f5783",
622         "name": "switch action-level",
623         "outputs": 1,
624         "type": "switchNode",
625         "wires": [
626             [
627                 "c0e2c8b.089e238",
628                 "9e5abf68.ff6c1"
629             ]
630         ],
631         "x": 717.1944808959961,
632         "xml": "<switch test='`$action-level`'>\n",
633         "y": 316.41671562194824,
634         "z": "7aa4b695.11473"
635     },
636     {
637         "comments": "",
638         "id": "c0e2c8b.089e238",
639         "name": "outcome: Other",
640         "outputs": 1,
641         "type": "success",
642         "wires": [
643             [
644                 "98b12577.b4145"
645             ]
646         ],
647         "x": 614.6110458374023,
648         "xml": "<outcome value='Other'>",
649         "y": 461.1666831970215,
650         "z": "7aa4b695.11473"
651     },
652     {
653         "comments": "",
654         "id": "9e5abf68.ff6c1",
655         "name": "outcome: vm",
656         "outputs": 1,
657         "type": "success",
658         "wires": [
659             [
660                 "6c0f9755.4e6f38"
661             ]
662         ],
663         "x": 912.9443511962891,
664         "xml": "<outcome value='vm'>",
665         "y": 313.83336639404297,
666         "z": "7aa4b695.11473"
667     },
668     {
669         "atomic": "true",
670         "comments": "",
671         "id": "54a3be90.486a98",
672         "name": "block : atomic",
673         "outputs": 1,
674         "type": "block",
675         "wires": [
676             [
677                 "2930004b.59f6a",
678                 "55f47d04.5f65bc"
679             ]
680         ],
681         "x": 1285.99755859375,
682         "xml": "<block atomic=\"true\">\n\n",
683         "y": 408.90234375,
684         "z": "7aa4b695.11473"
685     },
686     {
687         "atomic": "true",
688         "comments": "",
689         "id": "6c0f9755.4e6f38",
690         "name": "block : atomic",
691         "outputs": 1,
692         "type": "block",
693         "wires": [
694             [
695                 "b0e87141.6fe4f8"
696             ]
697         ],
698         "x": 1128.4166717529297,
699         "xml": "<block atomic=\"true\">\n\n",
700         "y": 314.74999809265137,
701         "z": "7aa4b695.11473"
702     }
703 ]