3 "id":"447755b1.5a154c",
17 "id":"66bfcde5.5d96c4",
18 "type":"service-logic",
19 "name":"GENERIC-RESOURCE-API ${project.version}",
20 "module":"GENERIC-RESOURCE-API",
21 "version":"${project.version}",
23 "xml":"<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",
25 "x":371.2380790710449,
26 "y":255.95239067077637,
35 "id":"2dfe1c17.827494",
37 "name":"brg-topology-operation-assign",
38 "xml":"<method rpc='brg-topology-operation-assign' mode='sync'>\n",
41 "x":417.15485763549805,
42 "y":291.1904458999634,
51 "id":"8e0c81af.52e65",
53 "name":"block : atomic",
54 "xml":"<block atomic=\"true\">",
58 "x":325.47619247436523,
59 "y":434.5237879753113,
72 "id":"2755b2a9.79da1e",
73 "type":"returnSuccess",
74 "name":"return success",
75 "xml":"<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",
77 "x":1168.6666564941406,
78 "y":2361.5477046966553,
85 "id":"12aa04eb.1fdf1b",
87 "name":"set output to api handler",
88 "xml":"<set>\n<parameter name='allotted-resource-id' value='`$tmp.ar.allotted-resource-id`' />\n<parameter name='tunnelxconn-object-path' value=\"`$tmp.ar.self-link`\"/>\n<parameter name='service-object-path' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $brg-topology-operation-input.service-information.service-instance-id\n + '/service-data/service-topology/'`\"/>\n \n",
90 "x":1205.7540550231934,
91 "y":2240.432439804077,
98 "id":"9736c0da.28d34",
100 "name":"set allotted-resource-oper-status",
101 "xml":"<set>\n<parameter name='brg-ar.allotted-resource-data.allotted-resource-oper-status.order-status' value='PendingCreate' />\n<parameter name='brg-ar.allotted-resource-data.allotted-resource-oper-status.last-action' value='`$brg-topology-operation-input.request-information.request-action`' />\n<parameter name='brg-ar.allotted-resource-data.allotted-resource-oper-status.last-rpc-action' value='`$brg-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='brg-ar.allotted-resource-data.allotted-resource-oper-status.last-svc-request-id' value='`$brg-topology-operation-input.sdnc-request-header.svc-request-id`' />\n<parameter name='brg-ar.allotted-resource-data.allotted-resource-oper-status.create-timestamp' value='`$tmp.current-time`' />\n",
103 "x":1277.468376159668,
104 "y":1657.6228160858154,
105 "z":"d3629202.0e9a9",
111 "id":"74f2d05d.d128",
113 "name":"set tmp.ar.self-link",
114 "xml":"<set>\n<parameter name='tmp.ar.self-link' value=\"`'restconf/config/GENERIC-RESOURCE-API:tunnelxconn-allotted-resources/tunnelxconn-allotted-resource/'\n + $tmp.ar.allotted-resource-id\n + '/allotted-resource-data/tunnelxconn-topology/'` \" />\n\n",
116 "x":755.7380676269531,
117 "y":326.33331298828125,
118 "z":"d3629202.0e9a9",
124 "id":"28efce96.95a252",
126 "name":"set tmp.ar.allotted-resource-id,etc",
127 "xml":"<set>\n<parameter name='tmp.ar.allotted-resource-id' value='`$brg-topology-operation-input.allotted-resource-information.allotted-resource-id`' />\n<parameter name='tmp.ar.parent-service-instance-id' value='`$brg-topology-operation-input.allotted-resource-information.parent-service-instance-id`' />\n\n\n",
129 "x":808.997314453125,
130 "y":288.59259033203125,
131 "z":"d3629202.0e9a9",
137 "id":"b6562205.a7488",
140 "xml":"<outcome value='success'>\n",
143 "x":958.8148803710938,
144 "y":474.26727294921875,
145 "z":"d3629202.0e9a9",
153 "id":"72e34d2d.88e074",
155 "name":"execute RestApiCallNode - PUT AR by id",
156 "xml":"<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.brg.templatefile`\" />\n <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-url`' />\n <parameter name='restapiUser' value='`$prop.controller.user`' />\n <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='PUT' />\n <parameter name=\"responsePrefix\" value=\"mdsal-ar\" />\n\n",
159 "x":1298.8626251220703,
160 "y":1882.1008231639862,
161 "z":"d3629202.0e9a9",
171 "id":"d589ef8a.4b767",
174 "xml":"<outcome value='not-found'>\n",
177 "x":1567.5040016174316,
178 "y":1933.4322349056602,
179 "z":"d3629202.0e9a9",
187 "id":"6a9fa011.f03d8",
190 "xml":"<outcome value='failure'>\n",
193 "x":1558.504051208496,
194 "y":1901.9322606548667,
195 "z":"d3629202.0e9a9",
203 "id":"851f57de.ccd048",
206 "xml":"<outcome value='success'>\n",
209 "x":1562.2540893554688,
210 "y":1872.289365530014,
211 "z":"d3629202.0e9a9",
219 "id":"e12a7d91.5e076",
220 "type":"returnFailure",
221 "name":"return failure",
222 "xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error updating md-sal for tunnelxconn-allotted-resource\" />\n",
224 "x":1728.2540893554688,
225 "y":1902.6822844967246,
226 "z":"d3629202.0e9a9",
232 "id":"fe3888af.6a0dc8",
234 "name":"set oper-status",
235 "xml":"<set>\n<parameter name='brg-ar.allotted-resource-data.allotted-resource-oper-status.last-action' value='`$brg-ar.allotted-resource-data.allotted-resource-operation-information.request-information.request-action`' />\n<parameter name='brg-ar.allotted-resource-data.allotted-resource-oper-status.last-rpc-action' value='`$brg-ar.allotted-resource-status.rpc-action`' />\n<parameter name='brg-ar.allotted-resource-data.allotted-resource-oper-status.last-svc-request-id' value='`$brg-ar.allotted-resource-data.allotted-resource-operation-information.sdnc-request-header.svc-request-id`' />\n\n",
237 "x":1308.5294189453125,
238 "y":575.0529174804688,
239 "z":"d3629202.0e9a9",
245 "id":"3526b3c4.21b13c",
247 "name":"Save consumed-allotted-resources to mdsal",
250 "x":1376.2434692382812,
251 "y":1256.7196044921875,
252 "z":"d3629202.0e9a9",
258 "id":"e7882796.2e25a8",
260 "name":"GET tunnelxconn-allotted-resource from mdsal",
263 "x":681.8148193359375,
264 "y":444.7672119140625,
265 "z":"d3629202.0e9a9",
271 "id":"af1477fd.c2ef48",
272 "type":"returnFailure",
273 "name":"return failure - tunnelxconn already exists",
274 "xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" \n value=\"`'Existing brg-allotted-resource with order status of ' + $mdsal-ar.allotted-resource-data.allotted-resource-oper-status.order-status + '.'`\" />\n",
276 "x":1268.129150390625,
277 "y":470.6243896484375,
278 "z":"d3629202.0e9a9",
284 "id":"5ce4ff52.c3598",
286 "name":"set brg-ar-identifiers",
287 "xml":"<set>\n<parameter name='brg-ar-identifiers.consuming-service-instance-id' value=\"`$brg-topology-operation-input.service-information.service-instance-id` \" />\n<parameter name='brg-ar-identifiers.parent-service-instance-id' value=\"`$brg-topology-operation-input.allotted-resource-information.parent-service-instance-id` \" />\n<parameter name='brg-ar-identifiers.allotted-resource-type' value=\"`$brg-topology-operation-input.allotted-resource-information.allotted-resource-type` \" />\n<parameter name='brg-ar-identifiers.allotted-resource-id' value=\"`$tmp.ar.allotted-resource-id` \" />\n\n",
289 "x":1318.38623046875,
290 "y":668.6243896484375,
291 "z":"d3629202.0e9a9",
297 "id":"72aaacf.5bef354",
299 "name":"Set allotted-resource-identifiers",
302 "x":1345.338623046875,
303 "y":627.338623046875,
304 "z":"d3629202.0e9a9",
310 "id":"e4f1d676.269118",
312 "name":"set identifiers in overall structure",
313 "xml":"<set>\n<parameter name='brg-ar.allotted-resource-data.brg-topology.allotted-resource-identifiers.' \nvalue=\"`$brg-ar-identifiers.`\" />\n\n\n",
315 "x":1335.38623046875,
316 "y":976.910400390625,
317 "z":"d3629202.0e9a9",
323 "id":"af5a8dd4.2718",
325 "name":"set onap model information from input",
326 "xml":"<set>\n<parameter name='tx-ar.allotted-resource-data.brg-topology.onap-model-information.' \nvalue=\"`$brg-topology-operation-input.allotted-resource-information.onap-model-information.`\" />\n\n\n",
328 "x":1363.957763671875,
329 "y":711.9100952148438,
330 "z":"d3629202.0e9a9",
336 "id":"6487f749.00d688",
338 "name":"switch model-invariant-uuid is null",
339 "xml":"<switch test='$brg-topology-operation-input.allotted-resource-information.onap-model-information.model-invariant-uuid'>\n",
342 "x":1343.8148193359375,
344 "z":"d3629202.0e9a9",
352 "id":"ac9d6ff3.e94f3",
354 "name":"outcome null",
355 "xml":"<outcome value=''>\n",
358 "x":1571.9576988220215,
359 "y":752.6243271827698,
360 "z":"d3629202.0e9a9",
368 "id":"6de39e79.3ed02",
370 "name":"set model-invariant-uuid",
371 "xml":"<set>\n<parameter name='brg-ar.allotted-resource-data.brg-topology.onap-model-information.model-invariant-uuid' \nvalue=\"`$ar-model.invariant-uuid`\" />\n\n\n",
373 "x":1773.38627243042,
374 "y":752.0528798103333,
375 "z":"d3629202.0e9a9",
381 "id":"62ed5c3a.385604",
383 "name":"switch model-uuid is null",
384 "xml":"<switch test='$brg-topology-operation-input.allotted-resource-information.onap-model-information.model-uuid'>\n",
387 "x":1316.2434158325195,
388 "y":785.4815106391907,
389 "z":"d3629202.0e9a9",
397 "id":"94d93434.23d938",
399 "name":"outcome null",
400 "xml":"<outcome value=''>\n",
403 "x":1517.6719818115234,
404 "y":786.0529322624207,
405 "z":"d3629202.0e9a9",
413 "id":"aa516303.e0eee",
415 "name":"set model-uuid",
416 "xml":"<set>\n<parameter name='brg-ar.allotted-resource-data.brg-topology.onap-model-information.model-uuid' \nvalue=\"`$ar-model.uuid`\" />\n\n\n",
418 "x":1710.529140472412,
419 "y":786.0528540611267,
420 "z":"d3629202.0e9a9",
426 "id":"15675ff3.fe7c9",
428 "name":"switch model-version is null",
429 "xml":"<switch test='$brg-topology-operation-input.allotted-resource-information.onap-model-information.model-version'>\n",
432 "x":1324.8148193359375,
433 "y":818.3386378288269,
434 "z":"d3629202.0e9a9",
442 "id":"baad5acc.7ffcb8",
444 "name":"outcome null",
445 "xml":"<outcome value=''>\n",
448 "x":1574.8148002624512,
449 "y":818.3386225700378,
450 "z":"d3629202.0e9a9",
458 "id":"ff89d62f.a88838",
460 "name":"set model-version",
461 "xml":"<set>\n<parameter name='tx-ar.allotted-resource-data.tunnelxconn-topology.onap-model-information.model-version' \nvalue=\"`$ar-model.version`\" />\n\n\n",
463 "x":1767.6719589233398,
464 "y":818.3385443687439,
465 "z":"d3629202.0e9a9",
471 "id":"4359a5ff.7933ac",
473 "name":"switch ar-model.ecomp-generated-naming",
474 "xml":"<switch test='`$ar-model.ecomp-generated-naming`'>\n",
477 "x":1388.38623046875,
478 "y":920.7672729492188,
479 "z":"d3629202.0e9a9",
488 "id":"caaf3501.3ba9c8",
491 "xml":"<outcome value='Y'>\n",
494 "x":1674.3862915039062,
495 "y":920.1958618164062,
496 "z":"d3629202.0e9a9",
504 "id":"e333882f.732e78",
506 "name":"block : atomic",
507 "xml":"<block atomic=\"true\">\n",
511 "x":1828.1363525390625,
513 "z":"d3629202.0e9a9",
521 "id":"2ae9bf81.d8366",
524 "xml":"<outcome value='Other'>\n",
527 "x":1693.608642578125,
528 "y":1009.1958618164062,
529 "z":"d3629202.0e9a9",
537 "id":"363e0870.e596f8",
538 "type":"returnFailure",
539 "name":"return failure",
540 "xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error in allotted-resource-model data. Ecomp-generated-naming should be true\" />\n\n",
542 "x":1876.608642578125,
543 "y":1014.1958618164062,
544 "z":"d3629202.0e9a9",
550 "id":"68a80432.57affc",
552 "name":"switch ar-model.ecomp-generated-naming",
553 "xml":"<switch test='`$ar-model.naming-policy`'>\n",
556 "x":1964.38623046875,
557 "y":971.767333984375,
558 "z":"d3629202.0e9a9",
567 "id":"b9e5730f.7b10e",
569 "name":"outcome oam_network_policy",
570 "xml":"<outcome value='oam_network_policy'>\n",
574 "y":975.3453369140625,
575 "z":"d3629202.0e9a9",
583 "id":"1e6aef5f.dbbe91",
586 "xml":"<outcome value='Other'>\n",
590 "y":1052.1958618164062,
591 "z":"d3629202.0e9a9",
599 "id":"23093b95.f9aaa4",
601 "name":"set ar_name",
602 "xml":"<set>\n<parameter name='tmp.ar-name' value='$TenantOAMNetworkRole_$LandingNetworkRole_SZ' />\n",
604 "x":2645.100830078125,
605 "y":1010.7672729492188,
606 "z":"d3629202.0e9a9",
612 "id":"1a68705f.d6389",
614 "name":"execute SliStringUtils - replace TenantOAMNetworkRole",
615 "xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.ar-name`\"/>\n <parameter name=\"outputPath\" value=\"tmp.ar-name\"/>\n <parameter name=\"target\" value=\"$TenantOAMNetworkRole\"/>\n <parameter name=\"replacement\" value=\"`$tunnelxconn-topology-operation-input.tunnelxconn-request-input.untrusted-network-role`\"/>\n\n",
618 "x":2789.2437858581543,
619 "y":1054.6244196891785,
620 "z":"d3629202.0e9a9",
628 "id":"7aa8e90e.1063e8",
630 "name":"execute SliStringUtils - replace LandingNetworkRole",
631 "xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.ar-name`\"/>\n <parameter name=\"outputPath\" value=\"tmp.ar-name\"/>\n <parameter name=\"target\" value=\"$LandingNetworkRole\"/>\n <parameter name=\"replacement\" value=\"`$tunnelxconn-topology-operation-input.tunnelxconn-request-input.trusted-network-role`\"/>\n\n",
634 "x":2776.243896484375,
635 "y":1094.7672729492188,
636 "z":"d3629202.0e9a9",
644 "id":"272bfe84.8b7ee2",
646 "name":"block: atomic",
647 "xml":"<block atomic='true'>\n",
651 "x":2453.5292015075684,
652 "y":1050.3387522697449,
653 "z":"d3629202.0e9a9",
664 "id":"4308f250.0d061c",
666 "name":"set identifiers.allotted-resource-name",
667 "xml":"<set>\n<parameter name='brg-ar-identifiers.allotted-resource-name' value='`$tmp.ar-name`' />\n",
670 "y":1145.052978515625,
671 "z":"d3629202.0e9a9",
677 "id":"18920617.98a00a",
679 "name":"set assignments in overall structure",
680 "xml":"<set>\n<parameter name='brg-ar.allotted-resource-data.brg-topology.brg-assignments.' \nvalue=\"`$brg-ar-assignments.`\" />\n\n\n",
682 "x":1343.8624572753906,
683 "y":1181.6246919631958,
684 "z":"d3629202.0e9a9",
690 "id":"21493890.2a9e08",
692 "name":"Handle brg-ar-assignments",
693 "xml":"<set>\n<parameter name='brg-ar-assignments.vbrg-wan-ip' value='127.0.0.1'/>\n",
695 "x":1323.529052734375,
696 "y":1078.0530395507812,
697 "z":"d3629202.0e9a9",
703 "id":"d4e58fd3.5a831",
705 "name":"for cidx..service-data.consumed-allotted-resources.consumed-allotted-resource[]",
706 "xml":"<for index='cidx' start='0' end='`$service-data.consumed-allotted-resources.consumed-allotted-resource_length`' >\n",
709 "x":2361.8155822753906,
710 "y":1455.0411586761475,
711 "z":"d3629202.0e9a9",
719 "id":"d68f413c.e0018",
721 "name":"switch service-data.consumed-allotted-resources_length",
722 "xml":"<switch test='`$service-data.consumed-allotted-resources.consumed-allotted-resource_length`'>\n",
725 "x":1392.8148193359375,
726 "y":1342.505126953125,
727 "z":"d3629202.0e9a9",
736 "id":"d8f09bad.98faa8",
738 "name":"outcome Null",
739 "xml":"<outcome value=''>\n",
742 "x":1768.2077865600586,
743 "y":1347.1124458312988,
744 "z":"d3629202.0e9a9",
752 "id":"980eb422.8bc7a8",
755 "xml":"<outcome value='Other'>\n",
758 "x":1766.9577865600586,
759 "y":1437.1124477386475,
760 "z":"d3629202.0e9a9",
768 "id":"c0a127f7.72a988",
770 "name":"switch allotted-resource-id",
771 "xml":"<switch test=\"`$service-data.consumed-allotted-resources.consumed-allotted-resource[$cidx].allotted-resource-id == $tmp.ar.allotted-resource-id`\">\n\n",
774 "x":2796.4106826782227,
775 "y":1456.85085105896,
776 "z":"d3629202.0e9a9",
784 "id":"ff33ae53.f22d8",
785 "type":"outcomeTrue",
787 "xml":"<outcome value='true'>\n",
790 "x":3003.220375061035,
791 "y":1460.064962387085,
792 "z":"d3629202.0e9a9",
800 "id":"1162545f.50c16c",
802 "name":"block : atomic",
803 "xml":"<block atomic=\"true\">",
806 "x":1924.834976196289,
807 "y":1443.4885501861572,
808 "z":"d3629202.0e9a9",
817 "id":"d155597e.e18e78",
819 "name":"block : atomic",
820 "xml":"<block atomic=\"true\">",
823 "x":3171.4817276000977,
824 "y":1464.9222631454468,
825 "z":"d3629202.0e9a9",
834 "id":"19b4289e.1770d7",
837 "xml":"<set>\n<parameter name='tmp.cidx' value=\"`0`\" />\n<parameter name='service-data.consumed-allotted-resources.consumed-allotted-resource_length' value=\"1\" />\n\n\n",
839 "x":1947.0647735595703,
840 "y":1349.3266830444336,
841 "z":"d3629202.0e9a9",
847 "id":"c63d8f00.d8d8c",
849 "name":"set tmp.cidx and ctx.consumed-ar",
850 "xml":"<set>\n<parameter name='tmp.cidx' value='`$cidx`' />\n<parameter name='ctx.consumed-ar.' value='`$service-data.consumed-allotted-resources.consumed-allotted-resource[$cidx].`' />\n<parameter name='tmp.found-cidx' value='true' />",
852 "x":3417.3391876220703,
853 "y":1459.4937419891357,
854 "z":"d3629202.0e9a9",
860 "id":"61be16d.26f08e8",
862 "name":"set consumed allotted resources",
863 "xml":"<set>\n<parameter name='service-data.consumed-allotted-resources.consumed-allotted-resource[$tmp.cidx].allotted-resource-id' value=\"`$tmp.ar.allotted-resource-id` \" />\n<parameter name='service-data.consumed-allotted-resources.consumed-allotted-resource[$tmp.cidx].allotted-resource-type' value=\"`$brg-topology-operation-input.allotted-resource-information.allotted-resource-type` \" />\n<parameter name='service-data.consumed-allotted-resources.consumed-allotted-resource[$tmp.cidx].allotted-resource-pointer' value=\"`$tmp.ar.self-link` \" />\n<parameter name='service-data.consumed-allotted-resources.consumed-allotted-resource_length' value='`$tmp.cidx + 1`' />\n\n",
865 "x":1303.6720123291016,
866 "y":1507.826681137085,
867 "z":"d3629202.0e9a9",
873 "id":"92379d68.800b2",
880 "x":1703.910057067871,
881 "y":1868.4815347194672,
882 "z":"d3629202.0e9a9",
890 "id":"8606840b.b8ce78",
892 "name":"Add BRG AR to mdsal",
895 "x":1228.148208618164,
896 "y":1843.1957080364227,
897 "z":"d3629202.0e9a9",
903 "id":"a3f8e39.226902",
905 "name":"execute getTime",
906 "xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setTime' >\n <parameter name=\"outputPath\" value=\"tmp.current-time\" />\n\n",
909 "x":1244.4814224243164,
910 "y":1581.671986579895,
911 "z":"d3629202.0e9a9",
919 "id":"681e6bc2.d5fc84",
922 "xml":"<outcome value='Other'>\n",
927 "z":"d3629202.0e9a9",
935 "id":"4c28d627.be47d8",
937 "name":"block: atomic",
938 "xml":"<block atomic=\"true\">\n",
943 "y":1021.2908325195312,
944 "z":"d3629202.0e9a9",
970 "id":"75b209f7.c1c7f8",
973 "xml":"<set>\n<parameter name='brg-ar.allotted-resource-id' value=\"`$tmp.ar.allotted-resource-id` \" />\n<parameter name='brg-ar.allotted-resource-status.action' value=\"`$brg-topology-operation-input.request-information.request-action` \" />\n<parameter name='brg-ar.allotted-resource-status.rpc-name' value=\"brg-topology-operation\" />\n<parameter name='brg-ar.allotted-resource-status.rpc-action' value=\"`$brg-topology-operation-input.sdnc-request-header.svc-action` \" />\n<parameter name='brg-ar.allotted-resource-data.allotted-resource-operation-information.request-information.' value=\"`$brg-topology-operation-input.request-information.` \" />\n<parameter name='brg-ar.allotted-resource-data.allotted-resource-operation-information.sdnc-request-header.' value=\"`$brg-topology-operation-input.sdnc-request-header.` \" />\n<parameter name='brg-ar.allotted-resource-data.allotted-resource-operation-information.service-information.' value=\"`$brg-topology-operation-input.service-information.` \" />\n<parameter name='brg-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.' value=\"`$brg-topology-operation-input.allotted-resource-information.` \" />\n<parameter name='brg-ar.allotted-resource-data.allotted-resource-operation-information.tunnelxconn-request-input.' value=\"`$brg-topology-operation-input.brg-request-input.` \" />",
975 "x":1283.2434387207031,
976 "y":531.433837890625,
977 "z":"d3629202.0e9a9",
983 "id":"c78f845.d573978",
985 "name":"update AAI allotted-resource",
986 "xml":"<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"allotted-resource\" \n\t\tkey=\"customer.global-customer-id = $service-data.service-information.global-customer-id AND\n\t\t\tservice-subscription.service-type = $service-data.service-information.subscription-service-type AND\n\t\t\tservice-instance.service-instance-id = $service-data.service-information.service-instance-id AND\n\t\t\tallotted-resource.id = $tmp.ar.allotted-resource-id\"\n pfx='pfx' local-only='false' force='false'>\n\t<parameter name=\"description\" value=\"`$tunnelxconn-topology-operation-input.allotted-resource-information.allotted-resource-type`\" />\n\t<parameter name=\"selflink\" value=\"`$tmp.ar.self-link`\" />\n\t<parameter name=\"model-invariant-id\" value=\"`$ar-model.invariant-uuid`\" />\n\t<parameter name=\"model-version-id\" value=\"`$ar-model.uuid`\" />\n\t<parameter name=\"operational-status\" value=\"null\" />\n",
989 "x":1265.0529327392578,
990 "y":1749.5767517089844,
991 "z":"d3629202.0e9a9",
1000 "id":"fd42eaba.bcea98",
1003 "xml":"<outcome value='failure'>\n",
1006 "x":1520.814842224121,
1007 "y":1732.5292553901672,
1008 "z":"d3629202.0e9a9",
1016 "id":"cf813c6.4773dc",
1017 "type":"returnFailure",
1018 "name":"return failure",
1019 "xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"AAI failed\" />\n",
1021 "x":1687.338722229004,
1022 "y":1744.1483263969421,
1023 "z":"d3629202.0e9a9",
1029 "id":"44f6df87.e6131",
1032 "xml":"<outcome value='not-found'>\n",
1035 "x":1527.9101295471191,
1036 "y":1765.2912230491638,
1037 "z":"d3629202.0e9a9",
1045 "id":"e918e4d2.1efcf8",
1046 "type":"switchNode",
1047 "name":"switch tmp.found-cidx",
1048 "xml":"<switch test='`$tmp.found-cidx`'>\n",
1051 "x":2176.743423461914,
1052 "y":1701.2315921783447,
1053 "z":"d3629202.0e9a9",
1061 "id":"97cac5ec.6c2cb8",
1062 "type":"outcomeTrue",
1064 "xml":"<outcome value='false'>\n",
1067 "x":2366.743377685547,
1068 "y":1701.2315292358398,
1069 "z":"d3629202.0e9a9",
1077 "id":"79bcb05d.e925c",
1079 "name":"block : atomic",
1080 "xml":"<block atomic=\"true\">",
1083 "x":2532.743377685547,
1084 "y":1701.2315292358398,
1085 "z":"d3629202.0e9a9",
1093 "id":"e7aa5ffb.99baf",
1095 "name":"set tmp.cidx ",
1096 "xml":"<set>\n<parameter name='tmp.cidx' value='`$service-data.consumed-allotted-resources.consumed-allotted-resource_length`' />\n",
1098 "x":2778.600706100464,
1099 "y":1701.8030033111572,
1100 "z":"d3629202.0e9a9",
1106 "id":"c74947a6.46a2b8",
1108 "name":"execute RestApiCallNode - Update parent provided service AR",
1109 "xml":"<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.parentsvc.templatefile`\" />\n <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.parent-ar-url`' />\n <parameter name='restapiUser' value='`$prop.controller.user`' />\n <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='DELETE' />\n <parameter name=\"responsePrefix\" value=\"parent\" />\n\n",
1112 "x":2054.9521980285645,
1113 "y":1868.1904199123383,
1114 "z":"d3629202.0e9a9",
1124 "id":"889dce84.ffc52",
1126 "name":"Rollback parent",
1129 "x":1898.9521255493164,
1130 "y":1837.8570504188538,
1131 "z":"d3629202.0e9a9",
1137 "id":"779e9c7a.0850b4",
1140 "xml":"<outcome value='not-found'>\n",
1143 "x":2426.2602462768555,
1144 "y":1928.8553862571716,
1145 "z":"d3629202.0e9a9",
1153 "id":"9d87709f.92daf",
1156 "xml":"<outcome value='failure'>\n",
1159 "x":2417.26029586792,
1160 "y":1897.3554120063782,
1161 "z":"d3629202.0e9a9",
1169 "id":"1c59440e.45623c",
1172 "xml":"<outcome value='success'>\n",
1175 "x":2421.0103340148926,
1176 "y":1867.7125168815255,
1177 "z":"d3629202.0e9a9",
1185 "id":"b6ba7293.f6aed",
1192 "x":2562.666301727295,
1193 "y":1863.9046860709786,
1194 "z":"d3629202.0e9a9",
1202 "id":"fbee093c.3938b8",
1204 "name":"Generate naming",
1207 "x":1319.3862762451172,
1208 "y":878.7672252655029,
1209 "z":"d3629202.0e9a9",
1215 "id":"b05fdf22.36f2",
1216 "type":"get-resource",
1217 "name":"get-resource tunnelxconn-allotted-resource",
1218 "xml":"<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.mdsal.ConfigResource' resource='GENERIC-RESOURCE-API' key='brg-allotted-resources/brg-allotted-resource/$brg-topology-operation-input.allotted-resource-information.allotted-resource-id/' pfx='mdsal-ar' >\n",
1223 "z":"d3629202.0e9a9",
1232 "id":"3df4d53c.54c6ca",
1234 "name":"execute Properties",
1235 "xml":"<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n",
1240 "z":"d3629202.0e9a9",
1248 "id":"c8732493.f72838",
1250 "name":"generate allotted-resource url",
1251 "xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.brg-allottedresource`\"/>\n <parameter name=\"outputPath\" value=\"tmp.ar-url\"/>\n <parameter name=\"target\" value=\"{allotted-resource-id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.ar.allotted-resource-id`\"/>\n",
1256 "z":"d3629202.0e9a9",
1264 "id":"83bc7036.c8dd5",
1269 "x":3330.243507385254,
1270 "y":1504.7316856384277,
1271 "z":"d3629202.0e9a9",