7 "x":217.99998474121094,
8 "y":153.59999084472656,
17 "id":"740711e8.2f0a3",
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":314.23806381225586,
26 "y":214.55238151550293,
35 "id":"98c97074.b0862",
37 "name":"brg-topology-operation-activate",
38 "xml":"<method rpc='brg-topology-operation-activate' mode='sync'>\n",
42 "y":249.79043674468994,
51 "id":"2804280a.93bf08",
53 "name":"block : atomic",
54 "xml":"<block atomic=\"true\">",
58 "x":268.4761772155762,
59 "y":393.12377882003784,
89 "id":"7e4ae814.209b28",
90 "type":"returnSuccess",
91 "name":"return success",
92 "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",
94 "x":528.0001068115234,
95 "y":1964.4814386367798,
102 "id":"630ab7ec.b2f0d8",
104 "name":"set output to api handler",
105 "xml":"<set>\n<parameter name='allotted-resource-id' value='`$tmp.ar.allotted-resource-id`' />\n<parameter name='brg-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",
107 "x":556.754020690918,
108 "y":1928.6039848327637,
109 "z":"862ed298.34c67",
115 "id":"b2a43c5b.9bcb5",
117 "name":"set allotted-resource-oper-status",
118 "xml":"<set>\n<parameter name='brg-ar.allotted-resource-data.allotted-resource-oper-status.order-status' value='Active' />\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",
120 "x":574.7542037963867,
121 "y":773.6513910293579,
122 "z":"862ed298.34c67",
128 "id":"ed4c6941.aa8be8",
130 "name":"set tmp.ar.self-link",
131 "xml":"<set>\n<parameter name='tmp.ar.self-link' value=\"`'restconf/config/GENERIC-RESOURCE-API:brg-allotted-resources/brg-allotted-resource/'\n + $tmp.ar.allotted-resource-id\n + '/allotted-resource-data/brg-topology/'` \" />\n\n",
133 "x":530.7380485534668,
134 "y":366.9333162307739,
135 "z":"862ed298.34c67",
141 "id":"2357e7c9.48bf08",
143 "name":"set tmp.ar.allotted-resource-id,etc",
144 "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<parameter name='tmp.ar.brg-vnf-id' value='`$brg-topology-operation-input.allotted-resource-data.brg-topology.brg-assignments.brg-vnf-id`' />\n\n\n",
146 "x":577.9973106384277,
147 "y":333.19258213043213,
148 "z":"862ed298.34c67",
154 "id":"fc236776.686848",
156 "name":"execute Properties",
157 "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",
160 "x":536.9934043884277,
161 "y":402.8315153121948,
162 "z":"862ed298.34c67",
170 "id":"696c9ae0.fd9424",
172 "name":"execute RestApiCallNode - Get AR by id",
173 "xml":"<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\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='GET' />\n <parameter name=\"responsePrefix\" value=\"mdsal-ar\" />\n\n",
176 "x":599.5187377929688,
177 "y":564.0594825744629,
178 "z":"862ed298.34c67",
187 "id":"4451f783.4736a8",
189 "name":"generate allotted-resource url",
190 "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",
193 "x":565.0648384094238,
194 "y":462.61721992492676,
195 "z":"862ed298.34c67",
203 "id":"aa88cd52.d9ee2",
206 "xml":"<outcome value='success'>\n",
209 "x":856.8148765563965,
210 "y":562.8672430515289,
211 "z":"862ed298.34c67",
219 "id":"76055be0.805a24",
221 "name":"execute RestApiCallNode - PUT AR by id",
222 "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",
226 "y":917.034122467041,
227 "z":"862ed298.34c67",
237 "id":"524852fa.5809ec",
240 "xml":"<outcome value='not-found'>\n",
243 "x":1131.8373680114746,
244 "y":942.0324144363403,
245 "z":"862ed298.34c67",
253 "id":"45984ad.2c61db4",
256 "xml":"<outcome value='failure'>\n",
259 "x":1122.837417602539,
260 "y":910.5324401855469,
261 "z":"862ed298.34c67",
269 "id":"f284d2b.77bd73",
272 "xml":"<outcome value='success'>\n",
275 "x":1126.5874557495117,
276 "y":880.8895450606942,
277 "z":"862ed298.34c67",
285 "id":"1f14fd6.cfd5303",
286 "type":"returnFailure",
287 "name":"return failure",
288 "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 brg-allotted-resource\" />\n",
290 "x":1292.5874557495117,
291 "y":911.2824640274048,
292 "z":"862ed298.34c67",
298 "id":"6411ad19.c5cdf4",
300 "name":"block: atomic",
301 "xml":"<block atomic=\"true\">\n",
305 "x":1037.8148307800293,
306 "y":563.3671925067902,
307 "z":"862ed298.34c67",
316 "id":"b10b50e5.999b7",
318 "name":"switch brg length",
319 "xml":"<switch test='`$mdsal-ar.brg-allotted-resource_length`'>\n",
322 "x":1283.672077178955,
323 "y":597.6529557704926,
324 "z":"862ed298.34c67",
332 "id":"1e55cba1.58e264",
335 "xml":"<outcome value='1'>\n",
338 "x":1474.6720809936523,
339 "y":597.6529533863068,
340 "z":"862ed298.34c67",
348 "id":"34a64577.34e1ba",
350 "name":"set brg-ar from get",
351 "xml":"<set>\n<parameter name='brg-ar.' value='$mdsal-ar.brg-allotted-resource[0].' />\n",
353 "x":1874.5292167663574,
354 "y":598.2243776321411,
355 "z":"862ed298.34c67",
361 "id":"9832defc.b7dbf",
363 "name":"block: atomic",
364 "xml":"<block atomic='true'>\n",
368 "x":1645.5290641784668,
369 "y":598.224422454834,
370 "z":"862ed298.34c67",
380 "id":"559f0e6b.981e9",
382 "name":"set oper-status",
383 "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",
385 "x":1872.5294609069824,
386 "y":665.6529417037964,
387 "z":"862ed298.34c67",
393 "id":"7ea8f57e.8498ac",
395 "name":"GET brg-allotted-resource from mdsal",
398 "x":624.8148002624512,
399 "y":527.3671834468842,
400 "z":"862ed298.34c67",
406 "id":"4c4b37a6.f52e48",
408 "name":"switch order-status",
409 "xml":"<switch test='`$brg-ar.allotted-resource-data.allotted-resource-oper-status.order-status`'>\n",
412 "x":1882.529239654541,
413 "y":631.2243757247925,
414 "z":"862ed298.34c67",
423 "id":"bc5b9fe2.1d29b",
425 "name":"outcome Created",
426 "xml":"<outcome value='Created'>\n",
429 "x":2094.129196166992,
430 "y":592.2243757247925,
431 "z":"862ed298.34c67",
439 "id":"1af731a5.1e75de",
441 "name":"outcome Other",
442 "xml":"<outcome value='Other'>\n",
445 "x":2119.8435707092285,
446 "y":627.6529664993286,
447 "z":"862ed298.34c67",
455 "id":"6005dffd.1f2f8",
457 "name":"Set allotted-resource-identifiers",
460 "x":580.338623046875,
461 "y":617.9386367797852,
462 "z":"862ed298.34c67",
468 "id":"733a431f.52145c",
470 "name":"save backup copy of mdsal-ar for rollback",
471 "xml":"<set>\n<parameter name='bk-brg-ar' value='$mdsal-ar.' />\n",
473 "x":1363.3864097595215,
474 "y":563.3672845363617,
475 "z":"862ed298.34c67",
481 "id":"40eb8f67.e7464",
483 "name":"Create urls for restapi",
486 "x":535.9576454162598,
487 "y":432.224347114563,
488 "z":"862ed298.34c67",
494 "id":"5e98e0e7.a8f18",
501 "x":1268.243423461914,
502 "y":877.0817142501473,
503 "z":"862ed298.34c67",
511 "id":"234bb7ec.13fd38",
513 "name":"TO DO: vnf/put parent",
516 "x":538.2433624267578,
517 "y":805.7481861114502,
518 "z":"862ed298.34c67",
524 "id":"fc290b65.76c018",
526 "name":"execute getTime",
527 "xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setTime' >\n <parameter name=\"outputPath\" value=\"tmp.current-time\" />\n\n",
530 "x":522.2433662414551,
531 "y":735.081545829773,
532 "z":"862ed298.34c67",
540 "id":"9c39ee65.4e4a7",
543 "xml":"<outcome value='Other'>\n",
546 "x":856.5766716003418,
547 "y":599.0814158916473,
548 "z":"862ed298.34c67",
556 "id":"ba479039.83567",
558 "name":"block: atomic",
559 "xml":"<block atomic=\"true\">\n",
563 "x":1036.5766220092773,
564 "y":599.7479665279388,
565 "z":"862ed298.34c67",
573 "id":"624fd076.69a64",
576 "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.brg-request-input.' value=\"`$brg-topology-operation-input.brg-request-input.` \" />",
578 "x":505.243408203125,
579 "y":654.7481575012207,
580 "z":"862ed298.34c67",
586 "id":"6d467f9b.08848",
593 "x":2308.599712371826,
594 "y":593.6000099182129,
595 "z":"862ed298.34c67",
603 "id":"f79aa33.e64036",
605 "name":"update AAI allotted-resource",
606 "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=\"operational-status\" value=\"in-service-path\" />\n",
609 "x":565.8571472167969,
610 "y":838.8380537033081,
611 "z":"862ed298.34c67",
620 "id":"3772e0cf.d582a",
623 "xml":"<outcome value='failure'>\n",
626 "x":821.6190414428711,
627 "y":821.7905507087708,
628 "z":"862ed298.34c67",
636 "id":"bd539ae8.82afb8",
637 "type":"returnFailure",
638 "name":"return failure",
639 "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",
641 "x":988.1429214477539,
642 "y":833.4096217155457,
643 "z":"862ed298.34c67",
649 "id":"e579d939.2bcda8",
652 "xml":"<outcome value='not-found'>\n",
655 "x":828.7143287658691,
656 "y":854.5525183677673,
657 "z":"862ed298.34c67",
665 "id":"df8cc0e.bcffc4",
667 "name":"execute RestApiCallNode - setup BRG to vgMux vxlan tunnel port",
668 "xml":"<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.vpp.vxlan-tunnel.templatefile`\" />\n <parameter name='restapiUrl' value='`$tmp.honeycomb.url + $tmp.vpp-honeycomb-url`' />\n <parameter name='restapiUser' value='`$prop.honeycomb.user`' />\n <parameter name='restapiPassword' value='`$prop.honeycomb.pwd`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='PUT' />\n <parameter name=\"responsePrefix\" value=\"honeycomb-vnf\" />\n\n",
671 "x":682.6666412353516,
672 "y":1250.2666578292847,
673 "z":"862ed298.34c67",
683 "id":"d7f7d75a.4c4868",
686 "xml":"<outcome value='not-found'>\n",
689 "x":1016.641429901123,
690 "y":1309.598269842565,
691 "z":"862ed298.34c67",
699 "id":"3486dace.a913f6",
702 "xml":"<outcome value='failure'>\n",
705 "x":1007.6414794921875,
706 "y":1278.0982955917716,
707 "z":"862ed298.34c67",
715 "id":"b9738ec8.10f4e",
718 "xml":"<outcome value='success'>\n",
721 "x":1011.3915176391602,
722 "y":1248.455400466919,
723 "z":"862ed298.34c67",
731 "id":"882ff805.77cb38",
732 "type":"returnFailure",
733 "name":"return failure",
734 "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 brg-allotted-resource\" />\n",
736 "x":1177.3915176391602,
737 "y":1278.8483194336295,
738 "z":"862ed298.34c67",
744 "id":"f51263c3.6ba25",
751 "x":1153.0474853515625,
752 "y":1244.647569656372,
753 "z":"862ed298.34c67",
761 "id":"bc6ed59e.4e1728",
763 "name":"execute RestApiCallNode - setup BRG vxlan bridge domain",
764 "xml":"<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.vpp.bridge-domain.templatefile`\" />\n <parameter name='restapiUrl' value=\"`$tmp.honeycomb.url + $tmp.vpp-honeycomb-url + '/v3po:l2' `\" />\n <parameter name='restapiUser' value='`$prop.honeycomb.user`' />\n <parameter name='restapiPassword' value='`$prop.honeycomb.pwd`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='PUT' />\n <parameter name=\"responsePrefix\" value=\"honeycomb-vnf\" />\n\n",
767 "x":664.3334045410156,
768 "y":1396.9334523677826,
769 "z":"862ed298.34c67",
779 "id":"fa0c2499.dcc778",
782 "xml":"<outcome value='not-found'>\n",
785 "x":1012.3080425262451,
786 "y":1472.598369024694,
787 "z":"862ed298.34c67",
795 "id":"183327f.13d81d8",
798 "xml":"<outcome value='failure'>\n",
801 "x":1003.3080921173096,
802 "y":1441.0983947739005,
803 "z":"862ed298.34c67",
811 "id":"c3f0b691.125e48",
814 "xml":"<outcome value='success'>\n",
817 "x":1007.0581302642822,
818 "y":1411.4554996490479,
819 "z":"862ed298.34c67",
827 "id":"f22038a6.365ea8",
828 "type":"returnFailure",
829 "name":"return failure",
830 "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 brg-allotted-resource\" />\n",
832 "x":1173.0581302642822,
833 "y":1441.8484186157584,
834 "z":"862ed298.34c67",
840 "id":"27dadc9a.d76214",
847 "x":1148.7140979766846,
848 "y":1407.647668838501,
849 "z":"862ed298.34c67",
857 "id":"77b9bf2c.b44d5",
859 "name":"set BRG to vgMUX VXLAN Tunnel Port Props",
860 "xml":"<set>\n<parameter name='tmp.tunnel-name' value=\"`'vxlanTun' + $brg-ar.allotted-resource-data.brg-topology.brg-assignments.vbrg-wan-ip` \" />\n<parameter name='tmp.tunnel-dest-ip' value=\"`$brg-ar.allotted-resource-data.allotted-resource-operation-information.brg-request-input.vgmux-lan-ip` \" />\n<parameter name='tmp.tunnel-src-ip' value=\"`$brg-ar.allotted-resource-data.allotted-resource-operation-information.brg-request-input.brg-wan-ip-address` \" />\n<parameter name='tmp.tunnel-vni' value=\"`$brg-ar.allotted-resource-data.allotted-resource-operation-information.brg-request-input.vni` \" />",
862 "x":618.7777862548828,
863 "y":1115.2669172286987,
864 "z":"862ed298.34c67",
870 "id":"a6207934.86f518",
872 "name":"generate full brg-vpp-honeycomb url",
873 "xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.vpp-honeycomb`\"/>\n <parameter name=\"outputPath\" value=\"tmp.vpp-honeycomb-url\"/>\n <parameter name=\"target\" value=\"{tunnel-name}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.tunnel-name`\"/>\n",
876 "x":590.4444274902344,
877 "y":1170.2666959762573,
878 "z":"862ed298.34c67",
886 "id":"9b6d7ee4.10e23",
888 "name":"generate honeycomb-url to vBRG",
889 "xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.honeycomb.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.honeycomb.url\"/>\n <parameter name=\"target\" value=\"{honeycomb-instance-ip}\"/>\n <parameter name=\"replacement\" value=\"`$brg-ar.allotted-resource-data.brg-topology.brg-assignments.vbrg-wan-ip`\"/>\n",
892 "x":582.4444427490234,
893 "y":1029.9332246780396,
894 "z":"862ed298.34c67",
902 "id":"7e8c5cfa.726864",
904 "name":"set BRG Bridge Domain Props",
905 "xml":"<set>\n<parameter name='tmp.bridge-domain' value=\"bridge-domain-10\" />\n<parameter name='tmp.split-horizon-group' value=\"2\" />",
907 "x":573.7777404785156,
908 "y":1321.9333276748657,
909 "z":"862ed298.34c67",
915 "id":"f6f2dfd6.852a7",
917 "name":"TO DO: assign brg-ar.allotted-resource-data.brg-topology.brg-assignments.vbrg-wan-ip",
918 "info":"need to quary mdsal-ar and get information assigned in tunnelxconn DG?",
920 "x":740.0000152587891,
921 "y":979.100019454956,
922 "z":"862ed298.34c67",
928 "id":"71a3722d.c764ec",
930 "name":"save service data for BRG to md-sal for SO to do GET ",
931 "info":"http://c1.vm1.sdnc.simpledemo.openecomp.org:8282/restconf/config/GENERIC-RESOURCE-API:services/service/e565bb6b-de14-4a5c-a992-65a681771a7a/service-data/service-topology/\n\n\nservice-instance-id is of the vBRG (in VNF-API data)",
933 "x":626.5807056427002,
934 "y":1518.8236003890634,
935 "z":"862ed298.34c67",
941 "id":"9b340dbc.c3cb9",
943 "name":"execute RestApiCallNode - Get service-data by vnf-id",
944 "xml":"<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.vnf-api-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='GET' />\n <parameter name=\"responsePrefix\" value=\"service-data\" />\n\n",
947 "x":639.5014038085938,
948 "y":1639.934621810913,
949 "z":"862ed298.34c67",
958 "id":"4e83fb54.735574",
961 "xml":"<outcome value='success'>\n",
964 "x":928.3213233947754,
965 "y":1637.3139653205872,
966 "z":"862ed298.34c67",
974 "id":"79817d79.711c34",
976 "name":"block: atomic",
977 "xml":"<block atomic=\"true\">\n",
981 "x":1109.3212776184082,
982 "y":1637.8139147758484,
983 "z":"862ed298.34c67",
992 "id":"6046c592.b5db8c",
994 "name":"switch brg length",
995 "xml":"<switch test='`$service-data.service-data_length`'>\n",
998 "x":1355.178524017334,
999 "y":1672.0996780395508,
1000 "z":"862ed298.34c67",
1008 "id":"c543d4c5.a58778",
1011 "xml":"<outcome value='1'>\n",
1014 "x":1546.1785278320312,
1015 "y":1672.099675655365,
1016 "z":"862ed298.34c67",
1024 "id":"7a8acdfc.bcdab4",
1026 "name":"set service-data from get",
1027 "xml":"<set>\n<parameter name='tmp.service-data.' value='$service-data.service-data[0].' />\n",
1029 "x":1946.0356636047363,
1030 "y":1672.6710999011993,
1031 "z":"862ed298.34c67",
1037 "id":"3876bd15.40e182",
1039 "name":"block: atomic",
1040 "xml":"<block atomic='true'>\n",
1044 "x":1717.0355110168457,
1045 "y":1672.6711447238922,
1046 "z":"862ed298.34c67",
1055 "id":"310849e5.8628a6",
1057 "name":"GET vnf-api service info",
1060 "x":544.8926582336426,
1061 "y":1603.2423181533813,
1062 "z":"862ed298.34c67",
1068 "id":"b568a24.2ba8a6",
1069 "type":"switchNode",
1070 "name":"switch order-status",
1071 "xml":"<switch test='`$tmp.service-data.order-status`'>\n",
1074 "x":1929.7498817443848,
1075 "y":1724.242525100708,
1076 "z":"862ed298.34c67",
1085 "id":"8af678dd.44f128",
1087 "name":"outcome Created",
1088 "xml":"<outcome value='Created'>\n",
1091 "x":2165.635643005371,
1092 "y":1666.6710979938507,
1093 "z":"862ed298.34c67",
1101 "id":"afb48fe3.c1a3e",
1103 "name":"outcome Other",
1104 "xml":"<outcome value='Other'>\n",
1107 "x":2191.3500175476074,
1108 "y":1702.0996887683868,
1109 "z":"862ed298.34c67",
1117 "id":"3f5ea151.93eb9e",
1119 "name":"Set service-data",
1122 "x":518.9879188537598,
1123 "y":1688.0995111465454,
1124 "z":"862ed298.34c67",
1130 "id":"c9922e86.95618",
1132 "name":"save backup copy of mdsal-ar for rollback",
1133 "xml":"<set>\n<parameter name='bk-service-data' value='$service-data.' />\n",
1135 "x":1434.8928565979004,
1136 "y":1637.81400680542,
1137 "z":"862ed298.34c67",
1143 "id":"7c8664e4.3c832c",
1146 "xml":"<outcome value='Other'>\n",
1149 "x":928.0831184387207,
1150 "y":1673.5281381607056,
1151 "z":"862ed298.34c67",
1159 "id":"d7ef85ba.f3d028",
1161 "name":"block: atomic",
1162 "xml":"<block atomic=\"true\">\n",
1166 "x":1108.0830688476562,
1167 "y":1674.194688796997,
1168 "z":"862ed298.34c67",
1176 "id":"d2e19aea.143628",
1183 "x":2380.106159210205,
1184 "y":1668.0467321872711,
1185 "z":"862ed298.34c67",
1193 "id":"a9b802e0.3c87a",
1195 "name":"generate vnf service-info url",
1196 "xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.vnf-api.service-information`\"/>\n <parameter name=\"outputPath\" value=\"tmp.vnf-api-url\"/>\n <parameter name=\"target\" value=\"{vnf-id}\"/>\n <parameter name=\"replacement\" value=\"`$brg-topology-operation-input.allotted-resource-data.brg-topology.brg-assignments.brg-vnf-id`\"/>\n",
1199 "x":565.3108673095703,
1200 "y":1561.3633251190186,
1201 "z":"862ed298.34c67",
1209 "id":"570d3d0b.27f934",
1211 "name":"execute RestApiCallNode - PUT service into service",
1212 "xml":"<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.services.templatefile`\" />\n <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.services-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",
1215 "x":639.5965881347656,
1216 "y":1816.6016731262207,
1217 "z":"862ed298.34c67",
1227 "id":"50cebd0f.3a5ba4",
1230 "xml":"<outcome value='not-found'>\n",
1233 "x":1145.8094444274902,
1234 "y":1811.123685836792,
1235 "z":"862ed298.34c67",
1243 "id":"e6947788.b35638",
1246 "xml":"<outcome value='failure'>\n",
1249 "x":1136.8094940185547,
1250 "y":1779.6237115859985,
1251 "z":"862ed298.34c67",
1259 "id":"3b96374a.556b08",
1262 "xml":"<outcome value='success'>\n",
1265 "x":1140.5595321655273,
1266 "y":1749.9808164611459,
1267 "z":"862ed298.34c67",
1275 "id":"90f2f682.5d5ec8",
1276 "type":"returnFailure",
1277 "name":"return failure",
1278 "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 brg-allotted-resource\" />\n",
1280 "x":1306.5595321655273,
1281 "y":1780.3737354278564,
1282 "z":"862ed298.34c67",
1288 "id":"53875c1b.048fd4",
1295 "x":1282.2154998779297,
1296 "y":1746.172985650599,
1297 "z":"862ed298.34c67",
1305 "id":"5a18305b.6de8e",
1307 "name":"generate services url",
1308 "xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.services`\"/>\n <parameter name=\"outputPath\" value=\"tmp.services-url\"/>\n <parameter name=\"target\" value=\"{service-instance-id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.service-data.service-information.service-instance-id`\"/>\n",
1311 "x":542.929931640625,
1312 "y":1776.1254720687866,
1313 "z":"862ed298.34c67",