3 "id":"e5ee9a68.8f74a8",
17 "id":"393cc04a.70965",
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":221.23807907104492,
26 "y":113.45239067077637,
27 "z":"25bf3deb.2eabd2",
35 "id":"8d790a6c.626248",
37 "name":"brg-topology-operation-assign",
38 "xml":"<method rpc='brg-topology-operation-assign' mode='sync'>\n",
41 "x":267.15485763549805,
42 "y":148.69044589996338,
43 "z":"25bf3deb.2eabd2",
51 "id":"709e013b.ec7ed",
53 "name":"block : atomic",
54 "xml":"<block atomic=\"true\">",
58 "x":175.47619247436523,
59 "y":292.0237879753113,
60 "z":"25bf3deb.2eabd2",
72 "id":"3cb0dbf.eb62a24",
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":1018.6666564941406,
78 "y":2219.0477046966553,
79 "z":"25bf3deb.2eabd2",
85 "id":"b4a4d9bb.64b1c8",
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":1055.7540550231934,
91 "y":2097.932439804077,
92 "z":"25bf3deb.2eabd2",
98 "id":"77739892.271138",
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":1127.468376159668,
104 "y":1515.1228160858154,
105 "z":"25bf3deb.2eabd2",
111 "id":"18e0684.02efa98",
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":605.7380676269531,
117 "y":183.83331298828125,
118 "z":"25bf3deb.2eabd2",
124 "id":"5341126d.beb3cc",
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":658.997314453125,
130 "y":146.09259033203125,
131 "z":"25bf3deb.2eabd2",
137 "id":"2eb376c7.9249fa",
140 "xml":"<outcome value='success'>\n",
143 "x":808.8148803710938,
144 "y":331.76727294921875,
145 "z":"25bf3deb.2eabd2",
153 "id":"98be663.e803998",
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":1148.8626251220703,
160 "y":1739.6008231639862,
161 "z":"25bf3deb.2eabd2",
171 "id":"567616cd.4d0bc8",
174 "xml":"<outcome value='not-found'>\n",
177 "x":1417.5040016174316,
178 "y":1790.9322349056602,
179 "z":"25bf3deb.2eabd2",
187 "id":"34674551.1ef96a",
190 "xml":"<outcome value='failure'>\n",
193 "x":1408.504051208496,
194 "y":1759.4322606548667,
195 "z":"25bf3deb.2eabd2",
203 "id":"c49baabf.6ac098",
206 "xml":"<outcome value='success'>\n",
209 "x":1412.2540893554688,
210 "y":1729.789365530014,
211 "z":"25bf3deb.2eabd2",
219 "id":"1afb211c.3db5af",
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":1578.2540893554688,
225 "y":1760.1822844967246,
226 "z":"25bf3deb.2eabd2",
232 "id":"b9913138.178af",
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":1158.5294189453125,
238 "y":432.55291748046875,
239 "z":"25bf3deb.2eabd2",
245 "id":"23613fee.e7e3c",
247 "name":"Save consumed-allotted-resources to mdsal",
250 "x":1226.2434692382812,
251 "y":1114.2196044921875,
252 "z":"25bf3deb.2eabd2",
258 "id":"c3ce8536.056418",
260 "name":"GET tunnelxconn-allotted-resource from mdsal",
263 "x":531.8148193359375,
264 "y":302.2672119140625,
265 "z":"25bf3deb.2eabd2",
271 "id":"bfb84d8.6226eb",
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":1118.129150390625,
277 "y":328.1243896484375,
278 "z":"25bf3deb.2eabd2",
284 "id":"adfbfac.9b9f208",
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":1168.38623046875,
290 "y":526.1243896484375,
291 "z":"25bf3deb.2eabd2",
297 "id":"dfee41c5.0d9b3",
299 "name":"Set allotted-resource-identifiers",
302 "x":1195.338623046875,
303 "y":484.838623046875,
304 "z":"25bf3deb.2eabd2",
310 "id":"ea01d74e.35b878",
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":1185.38623046875,
316 "y":834.410400390625,
317 "z":"25bf3deb.2eabd2",
323 "id":"33b72d9b.8a20c2",
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":1213.957763671875,
329 "y":569.4100952148438,
330 "z":"25bf3deb.2eabd2",
336 "id":"afbfed3a.08159",
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":1193.8148193359375,
344 "z":"25bf3deb.2eabd2",
352 "id":"40b2b772.23c3f8",
354 "name":"outcome null",
355 "xml":"<outcome value=''>\n",
358 "x":1421.9576988220215,
359 "y":610.1243271827698,
360 "z":"25bf3deb.2eabd2",
368 "id":"853c921b.506c8",
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":1623.38627243042,
374 "y":609.5528798103333,
375 "z":"25bf3deb.2eabd2",
381 "id":"d3ea34e9.368c88",
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":1166.2434158325195,
388 "y":642.9815106391907,
389 "z":"25bf3deb.2eabd2",
397 "id":"e20ffb32.51cf08",
399 "name":"outcome null",
400 "xml":"<outcome value=''>\n",
403 "x":1367.6719818115234,
404 "y":643.5529322624207,
405 "z":"25bf3deb.2eabd2",
413 "id":"3277974f.69b6d8",
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":1560.529140472412,
419 "y":643.5528540611267,
420 "z":"25bf3deb.2eabd2",
426 "id":"40fda3ea.8add9c",
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":1174.8148193359375,
433 "y":675.8386378288269,
434 "z":"25bf3deb.2eabd2",
442 "id":"f1c91438.54f678",
444 "name":"outcome null",
445 "xml":"<outcome value=''>\n",
448 "x":1424.8148002624512,
449 "y":675.8386225700378,
450 "z":"25bf3deb.2eabd2",
458 "id":"dd6dede8.36e8b",
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":1617.6719589233398,
464 "y":675.8385443687439,
465 "z":"25bf3deb.2eabd2",
471 "id":"c14238e7.7fc528",
473 "name":"switch ar-model.ecomp-generated-naming",
474 "xml":"<switch test='`$ar-model.ecomp-generated-naming`'>\n",
477 "x":1238.38623046875,
478 "y":778.2672729492188,
479 "z":"25bf3deb.2eabd2",
488 "id":"e1eb2b6.299a9d8",
491 "xml":"<outcome value='Y'>\n",
494 "x":1524.3862915039062,
495 "y":777.6958618164062,
496 "z":"25bf3deb.2eabd2",
504 "id":"cb449102.0bfe4",
506 "name":"block : atomic",
507 "xml":"<block atomic=\"true\">\n",
511 "x":1678.1363525390625,
513 "z":"25bf3deb.2eabd2",
521 "id":"b14c2617.4ba278",
524 "xml":"<outcome value='Other'>\n",
527 "x":1543.608642578125,
528 "y":866.6958618164062,
529 "z":"25bf3deb.2eabd2",
537 "id":"ba1cec2.367321",
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":1726.608642578125,
543 "y":871.6958618164062,
544 "z":"25bf3deb.2eabd2",
550 "id":"6222201e.ef0d1",
552 "name":"switch ar-model.ecomp-generated-naming",
553 "xml":"<switch test='`$ar-model.naming-policy`'>\n",
556 "x":1814.38623046875,
557 "y":829.267333984375,
558 "z":"25bf3deb.2eabd2",
567 "id":"82b261b0.84ccc",
569 "name":"outcome oam_network_policy",
570 "xml":"<outcome value='oam_network_policy'>\n",
574 "y":832.8453369140625,
575 "z":"25bf3deb.2eabd2",
583 "id":"d8af7c81.cbd5",
586 "xml":"<outcome value='Other'>\n",
590 "y":909.6958618164062,
591 "z":"25bf3deb.2eabd2",
599 "id":"b92b0ebd.ec97e",
601 "name":"set ar_name",
602 "xml":"<set>\n<parameter name='tmp.ar-name' value='$TenantOAMNetworkRole_$LandingNetworkRole_SZ' />\n",
604 "x":2495.100830078125,
605 "y":868.2672729492188,
606 "z":"25bf3deb.2eabd2",
612 "id":"ff0ac1c6.8d99",
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":2639.2437858581543,
619 "y":912.1244196891785,
620 "z":"25bf3deb.2eabd2",
628 "id":"11a52a68.e2bc36",
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":2626.243896484375,
635 "y":952.2672729492188,
636 "z":"25bf3deb.2eabd2",
644 "id":"a16beaa7.a8be68",
646 "name":"block: atomic",
647 "xml":"<block atomic='true'>\n",
651 "x":2303.5292015075684,
652 "y":907.8387522697449,
653 "z":"25bf3deb.2eabd2",
664 "id":"24287aef.ab1756",
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":1002.552978515625,
671 "z":"25bf3deb.2eabd2",
677 "id":"16a390f2.71716f",
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":1193.8624572753906,
683 "y":1039.1246919631958,
684 "z":"25bf3deb.2eabd2",
690 "id":"57bd8950.360d48",
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":1173.529052734375,
696 "y":935.5530395507812,
697 "z":"25bf3deb.2eabd2",
703 "id":"ad1d1f47.0fd92",
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":2211.8155822753906,
710 "y":1312.5411586761475,
711 "z":"25bf3deb.2eabd2",
719 "id":"4ca1ffaf.2765",
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":1242.8148193359375,
726 "y":1200.005126953125,
727 "z":"25bf3deb.2eabd2",
736 "id":"44b6b7be.364a78",
738 "name":"outcome Null",
739 "xml":"<outcome value=''>\n",
742 "x":1618.2077865600586,
743 "y":1204.6124458312988,
744 "z":"25bf3deb.2eabd2",
752 "id":"d6f3204f.2e124",
755 "xml":"<outcome value='Other'>\n",
758 "x":1616.9577865600586,
759 "y":1294.6124477386475,
760 "z":"25bf3deb.2eabd2",
768 "id":"9eff53f5.fba2e",
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":2646.4106826782227,
775 "y":1314.35085105896,
776 "z":"25bf3deb.2eabd2",
784 "id":"4247aaf2.34bc24",
785 "type":"outcomeTrue",
787 "xml":"<outcome value='true'>\n",
790 "x":2853.220375061035,
791 "y":1317.564962387085,
792 "z":"25bf3deb.2eabd2",
800 "id":"e4b52287.ffa4f",
802 "name":"block : atomic",
803 "xml":"<block atomic=\"true\">",
806 "x":1774.834976196289,
807 "y":1300.9885501861572,
808 "z":"25bf3deb.2eabd2",
817 "id":"4915e942.23f368",
819 "name":"block : atomic",
820 "xml":"<block atomic=\"true\">",
823 "x":3021.4817276000977,
824 "y":1322.4222631454468,
825 "z":"25bf3deb.2eabd2",
834 "id":"da9136e5.9a43c8",
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":1797.0647735595703,
840 "y":1206.8266830444336,
841 "z":"25bf3deb.2eabd2",
847 "id":"fbb9a58b.3d9f98",
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":3267.3391876220703,
853 "y":1316.9937419891357,
854 "z":"25bf3deb.2eabd2",
860 "id":"44d4d3b9.bceb9c",
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":1153.6720123291016,
866 "y":1365.326681137085,
867 "z":"25bf3deb.2eabd2",
873 "id":"24c4fc44.bfefd4",
880 "x":1553.910057067871,
881 "y":1725.9815347194672,
882 "z":"25bf3deb.2eabd2",
890 "id":"d6830d95.f9764",
892 "name":"Add BRG AR to mdsal",
895 "x":1078.148208618164,
896 "y":1700.6957080364227,
897 "z":"25bf3deb.2eabd2",
903 "id":"85496e20.c7fce",
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":1094.4814224243164,
910 "y":1439.171986579895,
911 "z":"25bf3deb.2eabd2",
919 "id":"5ce074ae.26955c",
922 "xml":"<outcome value='Other'>\n",
927 "z":"25bf3deb.2eabd2",
935 "id":"eac1d1df.4a04c",
937 "name":"block: atomic",
938 "xml":"<block atomic=\"true\">\n",
943 "y":878.7908325195312,
944 "z":"25bf3deb.2eabd2",
970 "id":"2e500645.0f8a1a",
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":1133.2434387207031,
976 "y":388.933837890625,
977 "z":"25bf3deb.2eabd2",
983 "id":"c3886b00.abce88",
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 = $brg-topology-operation-input.service-information.global-customer-id AND\n\t\t\tservice-subscription.service-type = $brg-topology-operation-input.service-information.subscription-service-type AND\n\t\t\tservice-instance.service-instance-id = $brg-topology-operation-input.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":1115.0529327392578,
990 "y":1607.0767517089844,
991 "z":"25bf3deb.2eabd2",
1000 "id":"7ca7c810.8af8c8",
1003 "xml":"<outcome value='failure'>\n",
1006 "x":1370.814842224121,
1007 "y":1590.0292553901672,
1008 "z":"25bf3deb.2eabd2",
1016 "id":"2112b130.25219e",
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":1537.338722229004,
1022 "y":1601.6483263969421,
1023 "z":"25bf3deb.2eabd2",
1029 "id":"27b10af8.032016",
1032 "xml":"<outcome value='not-found'>\n",
1035 "x":1377.9101295471191,
1036 "y":1622.7912230491638,
1037 "z":"25bf3deb.2eabd2",
1045 "id":"f259b5a9.563638",
1046 "type":"switchNode",
1047 "name":"switch tmp.found-cidx",
1048 "xml":"<switch test='`$tmp.found-cidx`'>\n",
1051 "x":2026.743423461914,
1052 "y":1558.7315921783447,
1053 "z":"25bf3deb.2eabd2",
1061 "id":"74a25a57.2f53b4",
1062 "type":"outcomeTrue",
1064 "xml":"<outcome value='false'>\n",
1067 "x":2216.743377685547,
1068 "y":1558.7315292358398,
1069 "z":"25bf3deb.2eabd2",
1077 "id":"c642818d.c82e8",
1079 "name":"block : atomic",
1080 "xml":"<block atomic=\"true\">",
1083 "x":2382.743377685547,
1084 "y":1558.7315292358398,
1085 "z":"25bf3deb.2eabd2",
1093 "id":"94c7e089.4dbec",
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":2628.600706100464,
1099 "y":1559.3030033111572,
1100 "z":"25bf3deb.2eabd2",
1106 "id":"ee4c753c.c76778",
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":1904.9521980285645,
1113 "y":1725.6904199123383,
1114 "z":"25bf3deb.2eabd2",
1124 "id":"633a71f3.b98a8",
1126 "name":"Rollback parent",
1129 "x":1748.9521255493164,
1130 "y":1695.3570504188538,
1131 "z":"25bf3deb.2eabd2",
1137 "id":"772b0aab.94a794",
1140 "xml":"<outcome value='not-found'>\n",
1143 "x":2276.2602462768555,
1144 "y":1786.3553862571716,
1145 "z":"25bf3deb.2eabd2",
1153 "id":"cb34fc4a.b6aaa",
1156 "xml":"<outcome value='failure'>\n",
1159 "x":2267.26029586792,
1160 "y":1754.8554120063782,
1161 "z":"25bf3deb.2eabd2",
1169 "id":"18d615d.09d0cea",
1172 "xml":"<outcome value='success'>\n",
1175 "x":2271.0103340148926,
1176 "y":1725.2125168815255,
1177 "z":"25bf3deb.2eabd2",
1185 "id":"17d2c2c8.78357d",
1192 "x":2412.666301727295,
1193 "y":1721.4046860709786,
1194 "z":"25bf3deb.2eabd2",
1202 "id":"9883554f.db10a8",
1204 "name":"Generate naming",
1207 "x":1169.3862762451172,
1208 "y":736.2672252655029,
1209 "z":"25bf3deb.2eabd2",
1215 "id":"3d25a078.5fbfa",
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":"25bf3deb.2eabd2",
1232 "id":"4f907ab1.9b90b4",
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":"25bf3deb.2eabd2",
1248 "id":"8f923afe.9146b8",
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":"25bf3deb.2eabd2",
1264 "id":"f2f48ed3.1ccda",
1269 "x":3180.243507385254,
1270 "y":1362.2316856384277,
1271 "z":"25bf3deb.2eabd2",