Chore: Add gerrit maven verify GHA workflow
[sdnc/oam.git] / platform-logic / lcm / src / main / json / LCM_activate-n-e-sw.json
1 [\r
2     {\r
3         "id": "7a48a318.a0c2cc",\r
4         "type": "method",\r
5         "name": "activate-n-e-sw",\r
6         "xml": "<method rpc='activate-n-e-sw' mode='sync'>\n",\r
7         "comments": "",\r
8         "outputs": 1,\r
9         "x": 526.75,\r
10         "y": 59.75,\r
11         "z": "80e400ee.d5d12",\r
12         "wires": [\r
13             [\r
14                 "43527cfb.50e584"\r
15             ]\r
16         ]\r
17     },\r
18     {\r
19         "id": "d50afa5f.773ec8",\r
20         "type": "service-logic",\r
21         "name": "LCM ${project.version}",\r
22         "module": "LCM",\r
23         "version": "${project.version}",\r
24         "comments": "",\r
25         "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='LCM' version='${project.version}'>",\r
26         "outputs": 1,\r
27         "x": 314.74993896484375,\r
28         "y": 60.75,\r
29         "z": "80e400ee.d5d12",\r
30         "wires": [\r
31             [\r
32                 "7a48a318.a0c2cc"\r
33             ]\r
34         ]\r
35     },\r
36     {\r
37         "id": "af9cc402.0df8d8",\r
38         "type": "execute",\r
39         "name": "execute AnsibleA.reqExec",\r
40         "xml": "<execute plugin='org.onap.ccsdk.sli.adaptors.ansible.AnsibleAdapter' method='reqExec' >\n<parameter name='AgentUrl' value='`$prop.ansible.agenturl`'/>\n<parameter name='User' value='`$prop.ansible.user`'/>\n<parameter name='Password' value='`$prop.ansible.password`'/>\n<parameter name='LocalParameters' value='`$prop.ansible.lcm.localparameters`'/>\n<parameter name='EnvParameters' value='`$activate-n-e-sw-input.payload`'/>\n<parameter name='NodeList' value=\"`$nodelist`\"/>\n<parameter name='Timeout' value='`$prop.ansible.timeout`'/>\n<parameter name='Version' value='`$prop.ansible.version`'/>\n<parameter name='Id' value='`$activate-n-e-sw-input.common-header.request-id`'/>\n<parameter name='PlaybookName' value='`$playbookname`'/>",\r
41         "comments": "",\r
42         "outputs": 1,\r
43         "x": 428.75001525878906,\r
44         "y": 706.75,\r
45         "z": "80e400ee.d5d12",\r
46         "wires": [\r
47             [\r
48                 "bc344e40.d001e",\r
49                 "6111417c.2bcf1",\r
50                 "a9afb547.0ddf48"\r
51             ]\r
52         ]\r
53     },\r
54     {\r
55         "id": "7ec1fa09.313064",\r
56         "type": "switchNode",\r
57         "name": "switch",\r
58         "xml": "<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n",\r
59         "comments": "",\r
60         "outputs": 1,\r
61         "x": 828.7499389648438,\r
62         "y": 814.7500305175781,\r
63         "z": "80e400ee.d5d12",\r
64         "wires": [\r
65             [\r
66                 "def0741f.7b54c8",\r
67                 "21b40503.ea026a",\r
68                 "8c342d0e.01d56"\r
69             ]\r
70         ]\r
71     },\r
72     {\r
73         "id": "def0741f.7b54c8",\r
74         "type": "other",\r
75         "name": "outcome 500",\r
76         "xml": "<outcome value='500'>\n",\r
77         "comments": "",\r
78         "outputs": 1,\r
79         "x": 973.7499389648438,\r
80         "y": 812.7500381469727,\r
81         "z": "80e400ee.d5d12",\r
82         "wires": [\r
83             [\r
84                 "975bc56b.8da928"\r
85             ]\r
86         ]\r
87     },\r
88     {\r
89         "id": "21b40503.ea026a",\r
90         "type": "other",\r
91         "name": "outcome 100",\r
92         "xml": "<outcome value='100'>\n",\r
93         "comments": "",\r
94         "outputs": 1,\r
95         "x": 970.7499389648438,\r
96         "y": 869.7500305175781,\r
97         "z": "80e400ee.d5d12",\r
98         "wires": [\r
99             [\r
100                 "fd635a04.514608"\r
101             ]\r
102         ]\r
103     },\r
104     {\r
105         "id": "fd635a04.514608",\r
106         "type": "execute",\r
107         "name": "execute reqExecResult",\r
108         "xml": "<execute plugin='org.onap.ccsdk.sli.adaptors.ansible.AnsibleAdapter' method='reqExecResult' >\n    <parameter name='AgentUrl' value='`$prop.ansible.agenturl`'/>\n\t<parameter name='User' value='`$prop.ansible.user`'/>\n\t<parameter name='Password' value='`$prop.ansible.password`'/>\n\t<parameter name='Id' value='`$org.onap.appc.adapter.ansible.Id`'/>\n\t<parameter name='PlaybookName' value='`$playbookname`'/>\n\t\n\n\n\n\n",\r
109         "comments": "",\r
110         "outputs": 1,\r
111         "x": 1158.7499389648438,\r
112         "y": 868.7500305175781,\r
113         "z": "80e400ee.d5d12",\r
114         "wires": [\r
115             [\r
116                 "b6c762d8.0d3f4",\r
117                 "78593085.dc6ad"\r
118             ]\r
119         ]\r
120     },\r
121     {\r
122         "id": "6111417c.2bcf1",\r
123         "type": "failure",\r
124         "name": "failure",\r
125         "xml": "<outcome value='failure'>\n",\r
126         "comments": "",\r
127         "outputs": 1,\r
128         "x": 687.7499389648438,\r
129         "y": 727.7500915527344,\r
130         "z": "80e400ee.d5d12",\r
131         "wires": [\r
132             [\r
133                 "975bc56b.8da928"\r
134             ]\r
135         ]\r
136     },\r
137     {\r
138         "id": "bc344e40.d001e",\r
139         "type": "other",\r
140         "name": "other",\r
141         "xml": "<outcome value='Other'>\n",\r
142         "comments": "",\r
143         "outputs": 1,\r
144         "x": 689.7499389648438,\r
145         "y": 779.7500610351562,\r
146         "z": "80e400ee.d5d12",\r
147         "wires": [\r
148             [\r
149                 "7ec1fa09.313064"\r
150             ]\r
151         ]\r
152     },\r
153     {\r
154         "id": "b6c762d8.0d3f4",\r
155         "type": "failure",\r
156         "name": "failure",\r
157         "xml": "<outcome value='failure'>\n",\r
158         "comments": "",\r
159         "outputs": 1,\r
160         "x": 1327.7498779296875,\r
161         "y": 850.7500610351562,\r
162         "z": "80e400ee.d5d12",\r
163         "wires": [\r
164             [\r
165                 "c84dc161.1f07e"\r
166             ]\r
167         ]\r
168     },\r
169     {\r
170         "id": "8c342d0e.01d56",\r
171         "type": "other",\r
172         "name": "outcome 101",\r
173         "xml": "<outcome value='101'>\n",\r
174         "comments": "",\r
175         "outputs": 1,\r
176         "x": 970.7499389648438,\r
177         "y": 770.7500686645508,\r
178         "z": "80e400ee.d5d12",\r
179         "wires": [\r
180             [\r
181                 "975bc56b.8da928"\r
182             ]\r
183         ]\r
184     },\r
185     {\r
186         "id": "78593085.dc6ad",\r
187         "type": "success",\r
188         "name": "success",\r
189         "xml": "<outcome value='success'>\n",\r
190         "comments": "",\r
191         "outputs": 1,\r
192         "x": 1331.7498779296875,\r
193         "y": 894.7501220703125,\r
194         "z": "80e400ee.d5d12",\r
195         "wires": [\r
196             [\r
197                 "c84dc161.1f07e"\r
198             ]\r
199         ]\r
200     },\r
201     {\r
202         "id": "46414f65.12103",\r
203         "type": "dgstart",\r
204         "name": "DGSTART",\r
205         "outputs": 1,\r
206         "x": 129.75,\r
207         "y": 59.75,\r
208         "z": "80e400ee.d5d12",\r
209         "wires": [\r
210             [\r
211                 "d50afa5f.773ec8"\r
212             ]\r
213         ]\r
214     },\r
215     {\r
216         "id": "43527cfb.50e584",\r
217         "type": "block",\r
218         "name": "block",\r
219         "xml": "<block>\n",\r
220         "atomic": "false",\r
221         "comments": "",\r
222         "outputs": 1,\r
223         "x": 174.66669082641602,\r
224         "y": 210.83334636688232,\r
225         "z": "80e400ee.d5d12",\r
226         "wires": [\r
227             [\r
228                 "af9cc402.0df8d8",\r
229                 "d87b0bba.f7fa68",\r
230                 "b68ece2.1e4193",\r
231                 "8345e48f.70abe8",\r
232                 "f8b2fbc0.6518d8",\r
233                 "f46185cf.a1ee68",\r
234                 "3c8e8586.56a77a",\r
235                 "2f85a60c.ee77ca"\r
236             ]\r
237         ]\r
238     },\r
239     {\r
240         "id": "d87b0bba.f7fa68",\r
241         "type": "execute",\r
242         "name": "execute Properties",\r
243         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n    <parameter name='fileName' value='%SDNC_CONFIG_DIR%/lcm-dg.properties' />\n    <parameter name='contextPrefix' value='prop' />\n",\r
244         "comments": "",\r
245         "outputs": 1,\r
246         "x": 472.7500305175781,\r
247         "y": 170.83334350585938,\r
248         "z": "80e400ee.d5d12",\r
249         "wires": [\r
250             []\r
251         ]\r
252     },\r
253     {\r
254         "id": "54ac459f.b652ac",\r
255         "type": "execute",\r
256         "name": "execute DmaapMsg",\r
257         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.lcm.dmaap.publish.templatefile`\" />\n    <parameter name='restapiUrl' value='`$prop.lcm.dmaap.url`' />\n    <parameter name='restapiUser' value='`$prop.lcm.dmaap.user`' />\n    <parameter name='restapiPassword' value='`$prop.lcm.dmaap.password`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='POST' />\n    <parameter name='contentType' value='application/json' />\n    <parameter name=\"responsePrefix\" value=\"lcm\" />\n",\r
258         "comments": "",\r
259         "outputs": 1,\r
260         "x": 1639.7498779296875,\r
261         "y": 676.8334045410156,\r
262         "z": "80e400ee.d5d12",\r
263         "wires": [\r
264             [\r
265                 "766513f5.edd23c"\r
266             ]\r
267         ]\r
268     },\r
269     {\r
270         "id": "766513f5.edd23c",\r
271         "type": "failure",\r
272         "name": "failure",\r
273         "xml": "<outcome value='failure'>\n",\r
274         "comments": "",\r
275         "outputs": 1,\r
276         "x": 1809.7498168945312,\r
277         "y": 675.8334045410156,\r
278         "z": "80e400ee.d5d12",\r
279         "wires": [\r
280             [\r
281                 "a502c1d2.11bac"\r
282             ]\r
283         ]\r
284     },\r
285     {\r
286         "id": "975bc56b.8da928",\r
287         "type": "block",\r
288         "name": "block",\r
289         "xml": "<block>\n",\r
290         "atomic": "false",\r
291         "comments": "",\r
292         "outputs": 1,\r
293         "x": 1442.7498168945312,\r
294         "y": 700.8334045410156,\r
295         "z": "80e400ee.d5d12",\r
296         "wires": [\r
297             [\r
298                 "54ac459f.b652ac",\r
299                 "830eb37b.9f264",\r
300                 "7ffa87f6.e152c8"\r
301             ]\r
302         ]\r
303     },\r
304     {\r
305         "id": "d644ce6f.1e8bc",\r
306         "type": "execute",\r
307         "name": "execute DmaapMsg",\r
308         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.lcm.dmaap.publish.templatefile`\" />\n    <parameter name='restapiUrl' value='`$prop.lcm.dmaap.url`' />\n    <parameter name='restapiUser' value='`$prop.lcm.dmaap.user`' />\n    <parameter name='restapiPassword' value='`$prop.lcm.dmaap.password`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='POST' />\n    <parameter name='contentType' value='application/json' />\n    <parameter name=\"responsePrefix\" value=\"lcm\" />\n",\r
309         "comments": "",\r
310         "outputs": 1,\r
311         "x": 1675.2498779296875,\r
312         "y": 942.8333740234375,\r
313         "z": "80e400ee.d5d12",\r
314         "wires": [\r
315             [\r
316                 "9b9d77b5.691a98"\r
317             ]\r
318         ]\r
319     },\r
320     {\r
321         "id": "9b9d77b5.691a98",\r
322         "type": "failure",\r
323         "name": "failure",\r
324         "xml": "<outcome value='failure'>\n",\r
325         "comments": "",\r
326         "outputs": 1,\r
327         "x": 1860.2498779296875,\r
328         "y": 942.8333740234375,\r
329         "z": "80e400ee.d5d12",\r
330         "wires": [\r
331             [\r
332                 "7c4d044.899ebfc"\r
333             ]\r
334         ]\r
335     },\r
336     {\r
337         "id": "a502c1d2.11bac",\r
338         "type": "record",\r
339         "name": "record",\r
340         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\"> \n\t<parameter name=\"logger\" value=\"message-log\"/> \n\t<parameter name=\"field1\" value='Failed to Publish to DMaap'/>",\r
341         "comments": "",\r
342         "outputs": 1,\r
343         "x": 1929.7498779296875,\r
344         "y": 674.8333740234375,\r
345         "z": "80e400ee.d5d12",\r
346         "wires": [\r
347             []\r
348         ]\r
349     },\r
350     {\r
351         "id": "830eb37b.9f264",\r
352         "type": "returnFailure",\r
353         "name": "return failure",\r
354         "xml": "<return status='failure'>\n<parameter name='status.code' value='401' />\n<parameter name='status.message' value='`$org.onap.appc.adapter.ansible.message`' />\n",\r
355         "comments": "",\r
356         "x": 1621.66650390625,\r
357         "y": 727.8334045410156,\r
358         "z": "80e400ee.d5d12",\r
359         "wires": []\r
360     },\r
361     {\r
362         "id": "7c4d044.899ebfc",\r
363         "type": "record",\r
364         "name": "record",\r
365         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\"> \n\t<parameter name=\"logger\" value=\"message-log\"/> \n\t<parameter name=\"field1\" value='Failed to Publish to DMaap'/>",\r
366         "comments": "",\r
367         "outputs": 1,\r
368         "x": 1992.6666259765625,\r
369         "y": 942.8333740234375,\r
370         "z": "80e400ee.d5d12",\r
371         "wires": [\r
372             []\r
373         ]\r
374     },\r
375     {\r
376         "id": "7ffa87f6.e152c8",\r
377         "type": "set",\r
378         "name": "set DmaapReq",\r
379         "xml": "<set>\n<parameter name='lcm-dmaap.version' value='`$prop.lcm.dmaap.version`'/>\n<parameter name='lcm-dmaap.correlation-id' value=\"`$activate-n-e-sw-input.common-header.request-id + '-' + $activate-n-e-sw-input.common-header.sub-request-id`\"/>\n<parameter name='lcm-dmaap.partition' value='`$prop.lcm.dmaap.partition`'/>\n<parameter name='lcm-dmaap.rpc-name' value='activate-n-e-sw'/>\n<parameter name='lcm-dmaap.type' value='`$prop.lcm.dmaap.type`'/>\n<parameter name='lcm-dmaap.timestamp' value='`$activate-n-e-sw-input.common-header.timestamp`'/>\n<parameter name='lcm-dmaap.api-ver' value='`$activate-n-e-sw-input.common-header.api-ver`'/>\n<parameter name='lcm-dmaap.originator-id' value='`$activate-n-e-sw-input.common-header.originator-id`'/>\n<parameter name='lcm-dmaap.request-id' value='`$activate-n-e-sw-input.common-header.request-id`'/>\n<parameter name='lcm-dmaap.sub-request-id' value='`$activate-n-e-sw-input.common-header.sub-request-id`'/>\n<parameter name='lcm-dmaap.flags.mode' value='`$activate-n-e-sw-input.common-header.flags.mode`'/>\n<parameter name='lcm-dmaap.flags.force' value='`$activate-n-e-sw-input.common-header.flags.force`'/>\n<parameter name='lcm-dmaap.flags.ttl' value='`$activate-n-e-sw-input.common-header.flags.ttl`'/>\n<parameter name='lcm-dmaap.status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />\n<parameter name='lcm-dmaap.status.message' value='`$org.onap.appc.adapter.ansible.message`'/>\n",\r
380         "comments": "",\r
381         "x": 1626.7498779296875,\r
382         "y": 623.8333740234375,\r
383         "z": "80e400ee.d5d12",\r
384         "wires": []\r
385     },\r
386     {\r
387         "id": "c84dc161.1f07e",\r
388         "type": "block",\r
389         "name": "block",\r
390         "xml": "<block>\n",\r
391         "atomic": "false",\r
392         "comments": "",\r
393         "outputs": 1,\r
394         "x": 1463.7498779296875,\r
395         "y": 869.8333740234375,\r
396         "z": "80e400ee.d5d12",\r
397         "wires": [\r
398             [\r
399                 "d644ce6f.1e8bc",\r
400                 "e02d564.53570a8",\r
401                 "8a07c86f.108db8",\r
402                 "ad3c8533.605f78",\r
403                 "630cb023.71cae",\r
404                 "c2b9b6ea.5a9d68"\r
405             ]\r
406         ]\r
407     },\r
408     {\r
409         "id": "c2b9b6ea.5a9d68",\r
410         "type": "set",\r
411         "name": "set DmaapReq",\r
412         "xml": "<set>\n<parameter name='lcm-dmaap.version' value='`$prop.lcm.dmaap.version`'/>\n<parameter name='lcm-dmaap.correlation-id' value=\"`$activate-n-e-sw-input.common-header.request-id + '-' + $activate-n-e-sw-input.common-header.sub-request-id`\"/>\n<parameter name='lcm-dmaap.partition' value='`$prop.lcm.dmaap.partition`'/>\n<parameter name='lcm-dmaap.rpc-name' value='activate-n-e-sw'/>\n<parameter name='lcm-dmaap.type' value='`$prop.lcm.dmaap.type`'/>\n<parameter name='lcm-dmaap.timestamp' value='`$activate-n-e-sw-input.common-header.timestamp`'/>\n<parameter name='lcm-dmaap.api-ver' value='`$activate-n-e-sw-input.common-header.api-ver`'/>\n<parameter name='lcm-dmaap.originator-id' value='`$activate-n-e-sw-input.common-header.originator-id`'/>\n<parameter name='lcm-dmaap.request-id' value='`$activate-n-e-sw-input.common-header.request-id`'/>\n<parameter name='lcm-dmaap.sub-request-id' value='`$activate-n-e-sw-input.common-header.sub-request-id`'/>\n<parameter name='lcm-dmaap.flags.mode' value='`$activate-n-e-sw-input.common-header.flags.mode`'/>\n<parameter name='lcm-dmaap.flags.force' value='`$activate-n-e-sw-input.common-header.flags.force`'/>\n<parameter name='lcm-dmaap.flags.ttl' value='`$activate-n-e-sw-input.common-header.flags.ttl`'/>\n<parameter name='lcm-dmaap.status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />\n<parameter name='lcm-dmaap.status.message' value='`$org.onap.appc.adapter.ansible.message`'/>\n",\r
413         "comments": "",\r
414         "x": 1661.9166564941406,\r
415         "y": 856.5833864212036,\r
416         "z": "80e400ee.d5d12",\r
417         "wires": []\r
418     },\r
419     {\r
420         "id": "a9afb547.0ddf48",\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": 696.7499389648438,\r
427         "y": 679.7500610351562,\r
428         "z": "80e400ee.d5d12",\r
429         "wires": [\r
430             [\r
431                 "f0c42ba4.b67c68"\r
432             ]\r
433         ]\r
434     },\r
435     {\r
436         "id": "8b382fc0.d0fb6",\r
437         "type": "set",\r
438         "name": "set Defaults",\r
439         "xml": "<set>\n<parameter name='org.onap.appc.adapter.ansible.result.code' value='401'/>\n<parameter name='org.onap.appc.adapter.ansible.message' value='Ansible Adapter was not found'/>\n",\r
440         "comments": "",\r
441         "x": 987.7499389648438,\r
442         "y": 638.75,\r
443         "z": "80e400ee.d5d12",\r
444         "wires": []\r
445     },\r
446     {\r
447         "id": "f0c42ba4.b67c68",\r
448         "type": "block",\r
449         "name": "block",\r
450         "xml": "<block>\n",\r
451         "atomic": "false",\r
452         "comments": "",\r
453         "outputs": 1,\r
454         "x": 833.7499389648438,\r
455         "y": 673.7500610351562,\r
456         "z": "80e400ee.d5d12",\r
457         "wires": [\r
458             [\r
459                 "8b382fc0.d0fb6",\r
460                 "975bc56b.8da928"\r
461             ]\r
462         ]\r
463     },\r
464     {\r
465         "id": "b68ece2.1e4193",\r
466         "type": "set",\r
467         "name": "set default values",\r
468         "xml": "<set>\n<parameter name='status.code' value='200' />\n<parameter name='status.message' value='unexpected return from DG' />\n<parameter name='quote' value=\"'\" />\n<parameter name='outputPayloadField' value='.Output' />\n",\r
469         "comments": "",\r
470         "x": 465.75,\r
471         "y": 217.75,\r
472         "z": "80e400ee.d5d12",\r
473         "wires": []\r
474     },\r
475     {\r
476         "id": "da55f644.1843a8",\r
477         "type": "get-resource",\r
478         "name": "get aai.generic-vnf ",\r
479         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"generic-vnf\" \n\t\tkey=\"generic-vnf.vnf-id = $activate-n-e-sw-input.action-identifiers.vnf-id\" \n\t\tlocal-only=\"false\" \n\t\tpfx='aai.generic-vnf'>",\r
480         "comments": "",\r
481         "outputs": 1,\r
482         "x": 1005.75,\r
483         "y": 446.75,\r
484         "z": "80e400ee.d5d12",\r
485         "wires": [\r
486             [\r
487                 "241297eb.3bb928"\r
488             ]\r
489         ]\r
490     },\r
491     {\r
492         "id": "241297eb.3bb928",\r
493         "type": "success",\r
494         "name": "success",\r
495         "xml": "<outcome value='success'>\n",\r
496         "comments": "",\r
497         "outputs": 1,\r
498         "x": 1164.1407470703125,\r
499         "y": 445.03399658203125,\r
500         "z": "80e400ee.d5d12",\r
501         "wires": [\r
502             [\r
503                 "cfa2f0b.fb44f1"\r
504             ]\r
505         ]\r
506     },\r
507     {\r
508         "id": "3c8e8586.56a77a",\r
509         "type": "record",\r
510         "name": "record",\r
511         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\"> \n\t<parameter name=\"logger\" value=\"message-log\"/> \n\t<parameter name=\"field1\" value='`$playbookname`'/>\n\t<parameter name=\"field2\" value='`$nodelist`'/>",\r
512         "comments": "",\r
513         "outputs": 1,\r
514         "x": 394.7498779296875,\r
515         "y": 634.75,\r
516         "z": "80e400ee.d5d12",\r
517         "wires": [\r
518             []\r
519         ]\r
520     },\r
521     {\r
522         "id": "f8b2fbc0.6518d8",\r
523         "type": "switchNode",\r
524         "name": "switch pnf-flag",\r
525         "xml": "<switch test='`$payloadJson.pnf-flag`'>\n",\r
526         "comments": "",\r
527         "outputs": 1,\r
528         "x": 451.50000762939453,\r
529         "y": 365.5000057220459,\r
530         "z": "80e400ee.d5d12",\r
531         "wires": [\r
532             [\r
533                 "46ff267a.c90aa8",\r
534                 "bde8f6f0.e6c498"\r
535             ]\r
536         ]\r
537     },\r
538     {\r
539         "id": "8345e48f.70abe8",\r
540         "type": "execute",\r
541         "name": "execute jsonStringToCtx",\r
542         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='jsonStringToCtx'>\n\t<parameter name='source' value='activate-n-e-sw-input.payload' />\n\t<parameter name='outputPath' value='payloadJson' />\n\t<parameter name='isEscaped' value='true' />",\r
543         "comments": "",\r
544         "outputs": 1,\r
545         "x": 479.75,\r
546         "y": 264.75,\r
547         "z": "80e400ee.d5d12",\r
548         "wires": [\r
549             []\r
550         ]\r
551     },\r
552     {\r
553         "id": "46ff267a.c90aa8",\r
554         "type": "outcome",\r
555         "name": "true",\r
556         "xml": "<outcome value='true'>\n",\r
557         "comments": "",\r
558         "outputs": 1,\r
559         "x": 636.0000076293945,\r
560         "y": 309.5000057220459,\r
561         "z": "80e400ee.d5d12",\r
562         "wires": [\r
563             [\r
564                 "f3966cc8.0da64"\r
565             ]\r
566         ]\r
567     },\r
568     {\r
569         "id": "bde8f6f0.e6c498",\r
570         "type": "outcome",\r
571         "name": "other",\r
572         "xml": "<outcome value='Other'>\n",\r
573         "comments": "",\r
574         "outputs": 1,\r
575         "x": 638.4999465942383,\r
576         "y": 417.2500057220459,\r
577         "z": "80e400ee.d5d12",\r
578         "wires": [\r
579             [\r
580                 "d3bb6a51.85d388"\r
581             ]\r
582         ]\r
583     },\r
584     {\r
585         "id": "d3bb6a51.85d388",\r
586         "type": "block",\r
587         "name": "block",\r
588         "xml": "<block>\n",\r
589         "atomic": "false",\r
590         "comments": "",\r
591         "outputs": 1,\r
592         "x": 792.7499504089355,\r
593         "y": 418.2500057220459,\r
594         "z": "80e400ee.d5d12",\r
595         "wires": [\r
596             [\r
597                 "da55f644.1843a8",\r
598                 "45bfd380.dd46ec"\r
599             ]\r
600         ]\r
601     },\r
602     {\r
603         "id": "56157871.379218",\r
604         "type": "set",\r
605         "name": "set AnsibleReq",\r
606         "xml": "<set>\n<parameter name='nodelist' value=\"`'[' + $quote + $payloadJson.ipaddress-v4-oam +  $quote + ']'`\"/>\n<parameter name='outputPayloadField' value=\"`'.' + $payloadJson.ipaddress-v4-oam + '.Output'`\"/>\n",\r
607         "comments": "",\r
608         "x": 963.2500152587891,\r
609         "y": 217.50000381469727,\r
610         "z": "80e400ee.d5d12",\r
611         "wires": []\r
612     },\r
613     {\r
614         "id": "45bfd380.dd46ec",\r
615         "type": "execute",\r
616         "name": "set playbookname",\r
617         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='playbookname' />\n\t<parameter name='source' value=\"`'prop.lcm.' + $payloadJson.nf-naming-code + '.activate-n-e-sw.playbookname'`\" />\n\n",\r
618         "comments": "",\r
619         "outputs": 1,\r
620         "x": 1014.75,\r
621         "y": 390.75,\r
622         "z": "80e400ee.d5d12",\r
623         "wires": [\r
624             []\r
625         ]\r
626     },\r
627     {\r
628         "id": "f46185cf.a1ee68",\r
629         "type": "switchNode",\r
630         "name": "switch playbookname",\r
631         "xml": "<switch test='`$playbookname`'>\n",\r
632         "comments": "",\r
633         "outputs": 1,\r
634         "x": 444.75,\r
635         "y": 502.75,\r
636         "z": "80e400ee.d5d12",\r
637         "wires": [\r
638             [\r
639                 "5a90bdd7.42d5d4"\r
640             ]\r
641         ]\r
642     },\r
643     {\r
644         "id": "5a90bdd7.42d5d4",\r
645         "type": "outcome",\r
646         "name": "null",\r
647         "xml": "<outcome value=''>\n",\r
648         "comments": "",\r
649         "outputs": 1,\r
650         "x": 615.75,\r
651         "y": 503.75,\r
652         "z": "80e400ee.d5d12",\r
653         "wires": [\r
654             [\r
655                 "731bf1bc.6221a"\r
656             ]\r
657         ]\r
658     },\r
659     {\r
660         "id": "731bf1bc.6221a",\r
661         "type": "set",\r
662         "name": "set playbookname",\r
663         "xml": "<set>\n<parameter name='playbookname' value='`$prop.lcm.activate-n-e-sw.playbookname`'/>",\r
664         "comments": "",\r
665         "x": 805.75,\r
666         "y": 502.75,\r
667         "z": "80e400ee.d5d12",\r
668         "wires": []\r
669     },\r
670     {\r
671         "id": "2f85a60c.ee77ca",\r
672         "type": "switchNode",\r
673         "name": "switch nodelist",\r
674         "xml": "<switch test='`$nodelist`'>\n",\r
675         "comments": "",\r
676         "outputs": 1,\r
677         "x": 434.75,\r
678         "y": 561.75,\r
679         "z": "80e400ee.d5d12",\r
680         "wires": [\r
681             [\r
682                 "9d065183.934a9",\r
683                 "192e9813.2964f8"\r
684             ]\r
685         ]\r
686     },\r
687     {\r
688         "id": "9d065183.934a9",\r
689         "type": "outcome",\r
690         "name": "null",\r
691         "xml": "<outcome value=''>\n",\r
692         "comments": "",\r
693         "outputs": 1,\r
694         "x": 614.75,\r
695         "y": 554.75,\r
696         "z": "80e400ee.d5d12",\r
697         "wires": [\r
698             [\r
699                 "8d09887f.874398"\r
700             ]\r
701         ]\r
702     },\r
703     {\r
704         "id": "8d09887f.874398",\r
705         "type": "set",\r
706         "name": "set nodelist",\r
707         "xml": "<set>\n<parameter name='nodelist' value=\"`$prop.ansible.nodelist`\"/>",\r
708         "comments": "",\r
709         "x": 771.75,\r
710         "y": 568.75,\r
711         "z": "80e400ee.d5d12",\r
712         "wires": []\r
713     },\r
714     {\r
715         "id": "192e9813.2964f8",\r
716         "type": "outcome",\r
717         "name": "empty",\r
718         "xml": "<outcome value=\"['']\">\n\n",\r
719         "comments": "",\r
720         "outputs": 1,\r
721         "x": 613.75,\r
722         "y": 598.75,\r
723         "z": "80e400ee.d5d12",\r
724         "wires": [\r
725             [\r
726                 "8d09887f.874398"\r
727             ]\r
728         ]\r
729     },\r
730     {\r
731         "id": "9162780a.f8e268",\r
732         "type": "switchNode",\r
733         "name": "switch playbookname",\r
734         "xml": "<switch test='`$playbookname`'>\n",\r
735         "comments": "",\r
736         "outputs": 1,\r
737         "x": 1489.75,\r
738         "y": 433.75,\r
739         "z": "80e400ee.d5d12",\r
740         "wires": [\r
741             [\r
742                 "81b68614.728d88"\r
743             ]\r
744         ]\r
745     },\r
746     {\r
747         "id": "81b68614.728d88",\r
748         "type": "outcome",\r
749         "name": "null",\r
750         "xml": "<outcome value=''>\n",\r
751         "comments": "",\r
752         "outputs": 1,\r
753         "x": 1667.75,\r
754         "y": 433.75,\r
755         "z": "80e400ee.d5d12",\r
756         "wires": [\r
757             [\r
758                 "b348096f.426488"\r
759             ]\r
760         ]\r
761     },\r
762     {\r
763         "id": "8c8f231.2f3fce",\r
764         "type": "set",\r
765         "name": "set nodelist",\r
766         "xml": "<set>\n<parameter name='nodelist' value=\"`'[' + $quote + $aai.generic-vnf.ipv4-oam-address +  $quote + ']'`\"/>\n",\r
767         "comments": "",\r
768         "x": 1462.75,\r
769         "y": 486.75,\r
770         "z": "80e400ee.d5d12",\r
771         "wires": []\r
772     },\r
773     {\r
774         "id": "cfa2f0b.fb44f1",\r
775         "type": "block",\r
776         "name": "block",\r
777         "xml": "<block>\n",\r
778         "atomic": "false",\r
779         "comments": "",\r
780         "outputs": 1,\r
781         "x": 1292.75,\r
782         "y": 443.75,\r
783         "z": "80e400ee.d5d12",\r
784         "wires": [\r
785             [\r
786                 "9162780a.f8e268",\r
787                 "8c8f231.2f3fce"\r
788             ]\r
789         ]\r
790     },\r
791     {\r
792         "id": "b348096f.426488",\r
793         "type": "execute",\r
794         "name": "set playbookname",\r
795         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='playbookname' />\n\t<parameter name='source' value=\"`'prop.lcm.' + $aai.generic-vnf.nf-naming-code + '.activate-n-e-sw.playbookname'`\" />\n\n",\r
796         "comments": "",\r
797         "outputs": 1,\r
798         "x": 1839.75,\r
799         "y": 431.75,\r
800         "z": "80e400ee.d5d12",\r
801         "wires": [\r
802             []\r
803         ]\r
804     },\r
805     {\r
806         "id": "e02d564.53570a8",\r
807         "type": "execute",\r
808         "name": "execute jsonStringToCtx",\r
809         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='jsonStringToCtx'>\n\t<parameter name='source' value='org.onap.appc.adapter.ansible.results' />\n\t<parameter name='outputPath' value='resultsJson' />\n\t<parameter name='isEscaped' value='false' />\n",\r
810         "comments": "",\r
811         "outputs": 1,\r
812         "x": 1689.75,\r
813         "y": 775.75,\r
814         "z": "80e400ee.d5d12",\r
815         "wires": [\r
816             []\r
817         ]\r
818     },\r
819     {\r
820         "id": "8a07c86f.108db8",\r
821         "type": "execute",\r
822         "name": "execute getAttributeValue",\r
823         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='source' value=\"`'resultsJson' + $outputPayloadField`\" />\n\t<parameter name='outputPath' value='outputPayload' />",\r
824         "comments": "",\r
825         "outputs": 1,\r
826         "x": 1695.75,\r
827         "y": 820.75,\r
828         "z": "80e400ee.d5d12",\r
829         "wires": [\r
830             []\r
831         ]\r
832     },\r
833     {\r
834         "id": "ad3c8533.605f78",\r
835         "type": "switchNode",\r
836         "name": "switch outputPayload",\r
837         "xml": "<switch test='`$outputPayload`'>\n",\r
838         "comments": "",\r
839         "outputs": 1,\r
840         "x": 1681.7500228881836,\r
841         "y": 896.5000133514404,\r
842         "z": "80e400ee.d5d12",\r
843         "wires": [\r
844             [\r
845                 "2f6e08da.3db698"\r
846             ]\r
847         ]\r
848     },\r
849     {\r
850         "id": "2f6e08da.3db698",\r
851         "type": "outcome",\r
852         "name": "other",\r
853         "xml": "<outcome value='Other'>\n",\r
854         "comments": "",\r
855         "outputs": 1,\r
856         "x": 1855.7500267028809,\r
857         "y": 896.7500133514404,\r
858         "z": "80e400ee.d5d12",\r
859         "wires": [\r
860             [\r
861                 "fb256275.6342b"\r
862             ]\r
863         ]\r
864     },\r
865     {\r
866         "id": "fb256275.6342b",\r
867         "type": "set",\r
868         "name": "set DmaapReq with payload",\r
869         "xml": "<set>\n<parameter name='lcm-dmaap.payload' value='`$outputPayload`'/>",\r
870         "comments": "",\r
871         "x": 2054.000030517578,\r
872         "y": 897.2500133514404,\r
873         "z": "80e400ee.d5d12",\r
874         "wires": []\r
875     },\r
876     {\r
877         "id": "6841a778.ad0de8",\r
878         "type": "returnSuccess",\r
879         "name": "return success",\r
880         "xml": "<return status='success'>\n<parameter name='status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />\n<parameter name='status.message' value='`$org.onap.appc.adapter.ansible.message`'/>",\r
881         "comments": "",\r
882         "x": 2392.75,\r
883         "y": 978.7499389648438,\r
884         "z": "80e400ee.d5d12",\r
885         "wires": []\r
886     },\r
887     {\r
888         "id": "f60442ca.cb989",\r
889         "type": "outcome",\r
890         "name": "null",\r
891         "xml": "<outcome value=''>\n",\r
892         "comments": "",\r
893         "outputs": 1,\r
894         "x": 1858.750244140625,\r
895         "y": 1000.7498779296875,\r
896         "z": "80e400ee.d5d12",\r
897         "wires": [\r
898             [\r
899                 "2e5e9fe5.78981"\r
900             ]\r
901         ]\r
902     },\r
903     {\r
904         "id": "8462a034.c9b29",\r
905         "type": "outcome",\r
906         "name": "other",\r
907         "xml": "<outcome value='Other'>\n",\r
908         "comments": "",\r
909         "outputs": 1,\r
910         "x": 1857.750244140625,\r
911         "y": 1076.7498779296875,\r
912         "z": "80e400ee.d5d12",\r
913         "wires": [\r
914             [\r
915                 "bf2e605d.23ecf"\r
916             ]\r
917         ]\r
918     },\r
919     {\r
920         "id": "630cb023.71cae",\r
921         "type": "switchNode",\r
922         "name": "switch outputPayload",\r
923         "xml": "<switch test='`$outputPayload`'>\n",\r
924         "comments": "",\r
925         "outputs": 1,\r
926         "x": 1675.750244140625,\r
927         "y": 1036.7498779296875,\r
928         "z": "80e400ee.d5d12",\r
929         "wires": [\r
930             [\r
931                 "f60442ca.cb989",\r
932                 "8462a034.c9b29"\r
933             ]\r
934         ]\r
935     },\r
936     {\r
937         "id": "bf013ab1.1fb0d8",\r
938         "type": "returnSuccess",\r
939         "name": "return success with payload",\r
940         "xml": "<return status='success'>\n<parameter name='status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />\n<parameter name='status.message' value='`$org.onap.appc.adapter.ansible.message`'/>\n<parameter name='payload' value='`$outputPayload`'/>",\r
941         "comments": "",\r
942         "x": 2433.750244140625,\r
943         "y": 1060.7498779296875,\r
944         "z": "80e400ee.d5d12",\r
945         "wires": []\r
946     },\r
947     {\r
948         "id": "2e5e9fe5.78981",\r
949         "type": "switchNode",\r
950         "name": "switch result code",\r
951         "xml": "<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n",\r
952         "comments": "",\r
953         "outputs": 1,\r
954         "x": 2028.750244140625,\r
955         "y": 1000.7498779296875,\r
956         "z": "80e400ee.d5d12",\r
957         "wires": [\r
958             [\r
959                 "be7efeac.4cf1",\r
960                 "42860b2a.714e44"\r
961             ]\r
962         ]\r
963     },\r
964     {\r
965         "id": "bf2e605d.23ecf",\r
966         "type": "switchNode",\r
967         "name": "switch result code",\r
968         "xml": "<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n",\r
969         "comments": "",\r
970         "outputs": 1,\r
971         "x": 2028.750244140625,\r
972         "y": 1076.7498779296875,\r
973         "z": "80e400ee.d5d12",\r
974         "wires": [\r
975             [\r
976                 "8746a2f7.f50b9",\r
977                 "10d01bab.10d144"\r
978             ]\r
979         ]\r
980     },\r
981     {\r
982         "id": "805a4622.d587c8",\r
983         "type": "returnFailure",\r
984         "name": "return failure",\r
985         "xml": "<return status='failure'>\n<parameter name='status.code' value='401' />\n<parameter name='status.message' value='`$org.onap.appc.adapter.ansible.message`' />\n",\r
986         "comments": "",\r
987         "x": 2386.750244140625,\r
988         "y": 1016.7498779296875,\r
989         "z": "80e400ee.d5d12",\r
990         "wires": []\r
991     },\r
992     {\r
993         "id": "682174af.42791c",\r
994         "type": "returnFailure",\r
995         "name": "return failure with payload",\r
996         "xml": "<return status='failure'>\n<parameter name='status.code' value='401' />\n<parameter name='status.message' value='`$org.onap.appc.adapter.ansible.message`' />\n<parameter name='payload' value='`$outputPayload`'/>",\r
997         "comments": "",\r
998         "x": 2429.750244140625,\r
999         "y": 1098.7498779296875,\r
1000         "z": "80e400ee.d5d12",\r
1001         "wires": []\r
1002     },\r
1003     {\r
1004         "id": "be7efeac.4cf1",\r
1005         "type": "other",\r
1006         "name": "outcome 400",\r
1007         "xml": "<outcome value='400'>\n",\r
1008         "comments": "",\r
1009         "outputs": 1,\r
1010         "x": 2216.750244140625,\r
1011         "y": 978.7498779296875,\r
1012         "z": "80e400ee.d5d12",\r
1013         "wires": [\r
1014             [\r
1015                 "6841a778.ad0de8"\r
1016             ]\r
1017         ]\r
1018     },\r
1019     {\r
1020         "id": "42860b2a.714e44",\r
1021         "type": "outcome",\r
1022         "name": "other",\r
1023         "xml": "<outcome value='Other'>\n",\r
1024         "comments": "",\r
1025         "outputs": 1,\r
1026         "x": 2197.750244140625,\r
1027         "y": 1016.7498779296875,\r
1028         "z": "80e400ee.d5d12",\r
1029         "wires": [\r
1030             [\r
1031                 "805a4622.d587c8"\r
1032             ]\r
1033         ]\r
1034     },\r
1035     {\r
1036         "id": "8746a2f7.f50b9",\r
1037         "type": "other",\r
1038         "name": "outcome 400",\r
1039         "xml": "<outcome value='400'>\n",\r
1040         "comments": "",\r
1041         "outputs": 1,\r
1042         "x": 2217.750244140625,\r
1043         "y": 1060.7498779296875,\r
1044         "z": "80e400ee.d5d12",\r
1045         "wires": [\r
1046             [\r
1047                 "bf013ab1.1fb0d8"\r
1048             ]\r
1049         ]\r
1050     },\r
1051     {\r
1052         "id": "10d01bab.10d144",\r
1053         "type": "outcome",\r
1054         "name": "other",\r
1055         "xml": "<outcome value='Other'>\n",\r
1056         "comments": "",\r
1057         "outputs": 1,\r
1058         "x": 2199.750244140625,\r
1059         "y": 1098.7498779296875,\r
1060         "z": "80e400ee.d5d12",\r
1061         "wires": [\r
1062             [\r
1063                 "682174af.42791c"\r
1064             ]\r
1065         ]\r
1066     },\r
1067     {\r
1068         "id": "f3966cc8.0da64",\r
1069         "type": "block",\r
1070         "name": "block",\r
1071         "xml": "<block>\n",\r
1072         "atomic": "false",\r
1073         "comments": "",\r
1074         "outputs": 1,\r
1075         "x": 795.0000114440918,\r
1076         "y": 268.00000381469727,\r
1077         "z": "80e400ee.d5d12",\r
1078         "wires": [\r
1079             [\r
1080                 "56157871.379218",\r
1081                 "9e4ffafa.75a808"\r
1082             ]\r
1083         ]\r
1084     },\r
1085     {\r
1086         "id": "9e4ffafa.75a808",\r
1087         "type": "switchNode",\r
1088         "name": "switch playbook-name in req",\r
1089         "xml": "<switch test='`$payloadJson.playbook-name`'>\n",\r
1090         "comments": "",\r
1091         "outputs": 1,\r
1092         "x": 1001.2500133514404,\r
1093         "y": 312.50000381469727,\r
1094         "z": "80e400ee.d5d12",\r
1095         "wires": [\r
1096             [\r
1097                 "ba1ac3af.ccabe",\r
1098                 "2e2bb815.cefac8"\r
1099             ]\r
1100         ]\r
1101     },\r
1102     {\r
1103         "id": "ba1ac3af.ccabe",\r
1104         "type": "outcome",\r
1105         "name": "null",\r
1106         "xml": "<outcome value=''>\n",\r
1107         "comments": "",\r
1108         "outputs": 1,\r
1109         "x": 1208.7500190734863,\r
1110         "y": 276.25000381469727,\r
1111         "z": "80e400ee.d5d12",\r
1112         "wires": [\r
1113             [\r
1114                 "c5a71ca3.66b2f"\r
1115             ]\r
1116         ]\r
1117     },\r
1118     {\r
1119         "id": "2e2bb815.cefac8",\r
1120         "type": "outcome",\r
1121         "name": "other",\r
1122         "xml": "<outcome value='Other'>\n",\r
1123         "comments": "",\r
1124         "outputs": 1,\r
1125         "x": 1207.5000228881836,\r
1126         "y": 341.25000381469727,\r
1127         "z": "80e400ee.d5d12",\r
1128         "wires": [\r
1129             [\r
1130                 "bcca1cae.d0d1b"\r
1131             ]\r
1132         ]\r
1133     },\r
1134     {\r
1135         "id": "c5a71ca3.66b2f",\r
1136         "type": "set",\r
1137         "name": "set playbookname from prop",\r
1138         "xml": "<set>\n<parameter name='playbookname' value='`$prop.lcm.pnf.activate-n-e-sw.playbookname`'/>\n",\r
1139         "comments": "",\r
1140         "x": 1411.2500228881836,\r
1141         "y": 276.25000381469727,\r
1142         "z": "80e400ee.d5d12",\r
1143         "wires": []\r
1144     },\r
1145     {\r
1146         "id": "bcca1cae.d0d1b",\r
1147         "type": "set",\r
1148         "name": "set playbookname from req",\r
1149         "xml": "<set>\n<parameter name='playbookname' value='`$payloadJson.playbook-name`'/>\n",\r
1150         "comments": "",\r
1151         "x": 1406.2500228881836,\r
1152         "y": 341.25000381469727,\r
1153         "z": "80e400ee.d5d12",\r
1154         "wires": []\r
1155     }\r
1156 ]\r