40d39fcdb737f1606b986218f3312c3ea06d1a9b
[appc.git] /
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP : APP-C
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property.  All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20
21 [
22     {
23         "id": "88ff0ee4.127f9",
24         "type": "dgstart",
25         "name": "DGSTART",
26         "outputs": 1,
27         "x": 128,
28         "y": 63,
29         "z": "3cdef05f.1a867",
30         "wires": [
31             [
32                 "8d1f9124.e1f4a"
33             ]
34         ]
35     },
36     {
37         "id": "81ccbde2.50341",
38         "type": "execute",
39         "name": "execute",
40         "xml": "<execute plugin='org.openecomp.appc.dg.util.InputParameterValidation' method='validateAttribute' >\n<parameter name=\"VM_ID\" value=\"`$VM_ID`\"/>\n",
41         "comments": "",
42         "outputs": 1,
43         "x": 156,
44         "y": 234,
45         "z": "3cdef05f.1a867",
46         "wires": [
47             [
48                 "a26d863e.374678",
49                 "de958d31.1f71c"
50             ]
51         ]
52     },
53     {
54         "id": "8d1f9124.e1f4a",
55         "type": "service-logic",
56         "name": "APPC 2.0.0",
57         "module": "APPC",
58         "version": "2.0.0",
59         "comments": "",
60         "xml": "<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='2.0.0'>",
61         "outputs": 1,
62         "x": 245,
63         "y": 127,
64         "z": "3cdef05f.1a867",
65         "wires": [
66             [
67                 "16047e8c.19f4f1"
68             ]
69         ]
70     },
71     {
72         "id": "16047e8c.19f4f1",
73         "type": "method",
74         "name": "HUB_CONFIGURE",
75         "xml": "<method rpc='HUB_Configure' mode='sync'>\n",
76         "comments": "",
77         "outputs": 1,
78         "x": 450,
79         "y": 128,
80         "z": "3cdef05f.1a867",
81         "wires": [
82             [
83                 "81ccbde2.50341"
84             ]
85         ]
86     },
87     {
88         "id": "19df0391.29a5ac",
89         "type": "other",
90         "name": "other",
91         "xml": "<outcome value='Other'>\n",
92         "comments": "",
93         "outputs": 1,
94         "x": 647,
95         "y": 456,
96         "z": "3cdef05f.1a867",
97         "wires": [
98             [
99                 "ddd1e97e.2e7958"
100             ]
101         ]
102     },
103     {
104         "id": "4263d9fe.a44478",
105         "type": "returnSuccess",
106         "name": "return success",
107         "xml": "<return status='success'>",
108         "comments": "",
109         "x": 1277,
110         "y": 316,
111         "z": "3cdef05f.1a867",
112         "wires": []
113     },
114     {
115         "id": "ec2a4716.6f5bd8",
116         "type": "returnFailure",
117         "name": "return failure",
118         "xml": "<return status='failure'>",
119         "comments": "",
120         "x": 840,
121         "y": 590,
122         "z": "3cdef05f.1a867",
123         "wires": []
124     },
125     {
126         "id": "a8db1260.3b4d2",
127         "type": "execute",
128         "name": "execute",
129         "xml": "<execute plugin='org.openecomp.appc.dg.util.InputParameterValidation' method='validateAttributeCharacter' >\n<parameter name=\"VM_ID\" value=\"`$VM_ID`\"/>\n<parameter name=\"special_characters\" value=\"!@#$%^*()_\" />",
130         "comments": "",
131         "outputs": 1,
132         "x": 414,
133         "y": 230,
134         "z": "3cdef05f.1a867",
135         "wires": [
136             [
137                 "9ea2f9c9.97cca8",
138                 "de958d31.1f71c"
139             ]
140         ]
141     },
142     {
143         "id": "6505e427.e6f8fc",
144         "type": "switchNode",
145         "name": "switch",
146         "xml": "<switch test='`$validateAttribute`'>\n",
147         "comments": "",
148         "outputs": 1,
149         "x": 109,
150         "y": 415,
151         "z": "3cdef05f.1a867",
152         "wires": [
153             [
154                 "e36d066.e4c57f8",
155                 "8315ab3f.dd8748"
156             ]
157         ]
158     },
159     {
160         "id": "e36d066.e4c57f8",
161         "type": "outcome",
162         "name": "outcome",
163         "xml": "<outcome value='true'>\n",
164         "comments": "",
165         "outputs": 1,
166         "x": 288,
167         "y": 328,
168         "z": "3cdef05f.1a867",
169         "wires": [
170             [
171                 "a8db1260.3b4d2"
172             ]
173         ]
174     },
175     {
176         "id": "8315ab3f.dd8748",
177         "type": "other",
178         "name": "other",
179         "xml": "<outcome value='Other'>\n",
180         "comments": "",
181         "outputs": 1,
182         "x": 265,
183         "y": 462,
184         "z": "3cdef05f.1a867",
185         "wires": [
186             [
187                 "3429ade3.024402"
188             ]
189         ]
190     },
191     {
192         "id": "4011e7a8.8a2f88",
193         "type": "returnFailure",
194         "name": "return failure",
195         "xml": "<return status='failure'>",
196         "comments": "",
197         "x": 276,
198         "y": 610,
199         "z": "3cdef05f.1a867",
200         "wires": []
201     },
202     {
203         "id": "237facf4.17bde4",
204         "type": "switchNode",
205         "name": "switch",
206         "xml": "<switch test='`$validateAttributeCharacter`'>\n",
207         "comments": "",
208         "outputs": 1,
209         "x": 487,
210         "y": 399,
211         "z": "3cdef05f.1a867",
212         "wires": [
213             [
214                 "19df0391.29a5ac",
215                 "941dc362.20221"
216             ]
217         ]
218     },
219     {
220         "id": "941dc362.20221",
221         "type": "outcome",
222         "name": "outcome",
223         "xml": "<outcome value='true'>\n",
224         "comments": "",
225         "outputs": 1,
226         "x": 644,
227         "y": 351,
228         "z": "3cdef05f.1a867",
229         "wires": [
230             [
231                 "da96bd6f.7bfa5"
232             ]
233         ]
234     },
235     {
236         "id": "da96bd6f.7bfa5",
237         "type": "execute",
238         "name": "execute",
239         "xml": "<execute plugin='org.openecomp.appc.dg.util.InputParameterValidation' method='validateAttributeLength' >\n<parameter name=\"VM_ID\" value=\"`$VM_ID`\"/>\n<parameter name=\"maximum_length_param\" value=\"50\" />\n",
240         "comments": "",
241         "outputs": 1,
242         "x": 720,
243         "y": 215,
244         "z": "3cdef05f.1a867",
245         "wires": [
246             [
247                 "190e25c4.6c54ca",
248                 "de958d31.1f71c"
249             ]
250         ]
251     },
252     {
253         "id": "595c6432.9cb05c",
254         "type": "switchNode",
255         "name": "switch",
256         "xml": "<switch test='`$validateAttributeLength`'>\n",
257         "comments": "",
258         "outputs": 1,
259         "x": 908,
260         "y": 371,
261         "z": "3cdef05f.1a867",
262         "wires": [
263             [
264                 "ba40e581.4bf1a8",
265                 "3de7f8b8.9d6078"
266             ]
267         ]
268     },
269     {
270         "id": "ba40e581.4bf1a8",
271         "type": "outcome",
272         "name": "outcome",
273         "xml": "<outcome value='true'>\n",
274         "comments": "",
275         "outputs": 1,
276         "x": 1082,
277         "y": 314,
278         "z": "3cdef05f.1a867",
279         "wires": [
280             [
281                 "4263d9fe.a44478"
282             ]
283         ]
284     },
285     {
286         "id": "3de7f8b8.9d6078",
287         "type": "other",
288         "name": "other",
289         "xml": "<outcome value='Other'>\n",
290         "comments": "",
291         "outputs": 1,
292         "x": 1074,
293         "y": 437,
294         "z": "3cdef05f.1a867",
295         "wires": [
296             [
297                 "ba3f8014.78979"
298             ]
299         ]
300     },
301     {
302         "id": "41157b6a.f646a4",
303         "type": "returnFailure",
304         "name": "return failure",
305         "xml": "<return status='failure'>",
306         "comments": "",
307         "x": 1228,
308         "y": 589,
309         "z": "3cdef05f.1a867",
310         "wires": []
311     },
312     {
313         "id": "a26d863e.374678",
314         "type": "success",
315         "name": "success",
316         "xml": "<outcome value='success'>\n",
317         "comments": "",
318         "outputs": 1,
319         "x": 108,
320         "y": 323,
321         "z": "3cdef05f.1a867",
322         "wires": [
323             [
324                 "6505e427.e6f8fc"
325             ]
326         ]
327     },
328     {
329         "id": "9ea2f9c9.97cca8",
330         "type": "success",
331         "name": "success",
332         "xml": "<outcome value='success'>\n",
333         "comments": "",
334         "outputs": 1,
335         "x": 471,
336         "y": 304,
337         "z": "3cdef05f.1a867",
338         "wires": [
339             [
340                 "237facf4.17bde4"
341             ]
342         ]
343     },
344     {
345         "id": "190e25c4.6c54ca",
346         "type": "success",
347         "name": "success",
348         "xml": "<outcome value='success'>\n",
349         "comments": "",
350         "outputs": 1,
351         "x": 890,
352         "y": 301,
353         "z": "3cdef05f.1a867",
354         "wires": [
355             [
356                 "595c6432.9cb05c"
357             ]
358         ]
359     },
360     {
361         "id": "de958d31.1f71c",
362         "type": "other",
363         "name": "other",
364         "xml": "<outcome value='Other'>\n",
365         "comments": "",
366         "outputs": 1,
367         "x": 873,
368         "y": 104,
369         "z": "3cdef05f.1a867",
370         "wires": [
371             [
372                 "222ff717.c68c48"
373             ]
374         ]
375     },
376     {
377         "id": "9ef62278.0eef8",
378         "type": "returnFailure",
379         "name": "return failure",
380         "xml": "<return status='failure'>",
381         "comments": "",
382         "x": 1152,
383         "y": 232,
384         "z": "3cdef05f.1a867",
385         "wires": []
386     },
387     {
388         "id": "267702aa.29ecfe",
389         "type": "execute",
390         "name": "execute",
391         "xml": "<execute plugin='org.openecomp.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"eventTime\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"apiVer\" value=\"1.02\"/>\n<parameter name=\"eventId\" value=\"123\"/>\n<parameter name=\"reason\" value=\"Other\"/>\n",
392         "comments": "",
393         "outputs": 1,
394         "x": 1141,
395         "y": 128,
396         "z": "3cdef05f.1a867",
397         "wires": [
398             [
399                 "e0cdb313.3c45d"
400             ]
401         ]
402     },
403     {
404         "id": "51a2c6.d2810d3c",
405         "type": "execute",
406         "name": "execute",
407         "xml": "<execute plugin='org.openecomp.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"eventTime\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"apiVer\" value=\"1.02\"/>\n<parameter name=\"eventId\" value=\"123\"/>\n<parameter name=\"reason\" value=\"Other\"/>",
408         "comments": "",
409         "outputs": 1,
410         "x": 267,
411         "y": 526,
412         "z": "3cdef05f.1a867",
413         "wires": [
414             [
415                 "1761418a.b6d8ee"
416             ]
417         ]
418     },
419     {
420         "id": "828ae706.049e18",
421         "type": "execute",
422         "name": "execute",
423         "xml": "<execute plugin='org.openecomp.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"eventTime\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"apiVer\" value=\"1.02\"/>\n<parameter name=\"eventId\" value=\"123\"/>\n<parameter name=\"reason\" value=\"Other\"/>",
424         "comments": "",
425         "outputs": 1,
426         "x": 821,
427         "y": 480,
428         "z": "3cdef05f.1a867",
429         "wires": [
430             [
431                 "6f253557.19a1dc"
432             ]
433         ]
434     },
435     {
436         "id": "1ab8afcb.3c8a4",
437         "type": "execute",
438         "name": "execute",
439         "xml": "<execute plugin='org.openecomp.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"eventTime\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"apiVer\" value=\"1.02\"/>\n<parameter name=\"eventId\" value=\"123\"/>\n<parameter name=\"reason\" value=\"Other\"/>",
440         "comments": "",
441         "outputs": 1,
442         "x": 1205,
443         "y": 481,
444         "z": "3cdef05f.1a867",
445         "wires": [
446             [
447                 "aef121bc.322bd"
448             ]
449         ]
450     },
451     {
452         "id": "222ff717.c68c48",
453         "type": "block",
454         "name": "block",
455         "xml": "<block atomic='true'>\n",
456         "atomic": "false",
457         "comments": "",
458         "outputs": 1,
459         "x": 955,
460         "y": 170,
461         "z": "3cdef05f.1a867",
462         "wires": [
463             [
464                 "267702aa.29ecfe",
465                 "9ef62278.0eef8"
466             ]
467         ]
468     },
469     {
470         "id": "e0cdb313.3c45d",
471         "type": "success",
472         "name": "success",
473         "xml": "<outcome value='success'>\n",
474         "comments": "",
475         "outputs": 1,
476         "x": 1289,
477         "y": 66,
478         "z": "3cdef05f.1a867",
479         "wires": [
480             []
481         ]
482     },
483     {
484         "id": "3429ade3.024402",
485         "type": "block",
486         "name": "block",
487         "xml": "<block atomic='true'>\n",
488         "atomic": "false",
489         "comments": "",
490         "outputs": 1,
491         "x": 106,
492         "y": 569,
493         "z": "3cdef05f.1a867",
494         "wires": [
495             [
496                 "51a2c6.d2810d3c",
497                 "4011e7a8.8a2f88"
498             ]
499         ]
500     },
501     {
502         "id": "ddd1e97e.2e7958",
503         "type": "block",
504         "name": "block",
505         "xml": "<block atomic='true'>\n",
506         "atomic": "false",
507         "comments": "",
508         "outputs": 1,
509         "x": 663,
510         "y": 531,
511         "z": "3cdef05f.1a867",
512         "wires": [
513             [
514                 "828ae706.049e18",
515                 "ec2a4716.6f5bd8"
516             ]
517         ]
518     },
519     {
520         "id": "ba3f8014.78979",
521         "type": "block",
522         "name": "block",
523         "xml": "<block atomic='true'>\n",
524         "atomic": "false",
525         "comments": "",
526         "outputs": 1,
527         "x": 1060,
528         "y": 533,
529         "z": "3cdef05f.1a867",
530         "wires": [
531             [
532                 "1ab8afcb.3c8a4",
533                 "41157b6a.f646a4"
534             ]
535         ]
536     },
537     {
538         "id": "1761418a.b6d8ee",
539         "type": "success",
540         "name": "success",
541         "xml": "<outcome value='success'>\n",
542         "comments": "",
543         "outputs": 1,
544         "x": 411,
545         "y": 526,
546         "z": "3cdef05f.1a867",
547         "wires": [
548             []
549         ]
550     },
551     {
552         "id": "6f253557.19a1dc",
553         "type": "success",
554         "name": "success",
555         "xml": "<outcome value='success'>\n",
556         "comments": "",
557         "outputs": 1,
558         "x": 965,
559         "y": 480,
560         "z": "3cdef05f.1a867",
561         "wires": [
562             []
563         ]
564     },
565     {
566         "id": "aef121bc.322bd",
567         "type": "success",
568         "name": "success",
569         "xml": "<outcome value='success'>\n",
570         "comments": "",
571         "outputs": 1,
572         "x": 1340,
573         "y": 539,
574         "z": "3cdef05f.1a867",
575         "wires": [
576             []
577         ]
578     }
579 ]