17 "id":"3cc114db.e05a3c",
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":235.23807907104492,
26 "y":170.95239067077637,
35 "id":"27ef1723.4e0278",
37 "name":"brg-topology-operation-activate",
38 "xml":"<method rpc='brg-topology-operation-activate' mode='sync'>\n",
41 "x":281.15485763549805,
42 "y":206.19044589996338,
51 "id":"5084fcc1.6127a4",
53 "name":"block : atomic",
54 "xml":"<block atomic=\"true\">",
58 "x":189.47619247436523,
59 "y":349.5237879753113,
89 "id":"7d4ed218.8bbd8c",
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":449.0001220703125,
95 "y":1920.8814477920532,
102 "id":"58b2a19b.bb1a9",
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":477.75403594970703,
108 "y":1885.003993988037,
109 "z":"bd738317.61f1e",
115 "id":"8be1a0c.f98886",
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":495.7542190551758,
121 "y":730.0514001846313,
122 "z":"bd738317.61f1e",
128 "id":"c8a2b5a6.be9028",
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":451.73806381225586,
134 "y":323.33332538604736,
135 "z":"bd738317.61f1e",
141 "id":"e7f02dcd.d7804",
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":498.9973258972168,
147 "y":289.59259128570557,
148 "z":"bd738317.61f1e",
154 "id":"57d72c77.8278c4",
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":457.9934196472168,
161 "y":359.23152446746826,
162 "z":"bd738317.61f1e",
170 "id":"2d3dbb81.8d93e4",
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":520.5187530517578,
177 "y":520.4594917297363,
178 "z":"bd738317.61f1e",
187 "id":"da3b0a02.7cb8f8",
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":486.0648536682129,
194 "y":419.0172290802002,
195 "z":"bd738317.61f1e",
203 "id":"8276c2bb.14acb",
206 "xml":"<outcome value='success'>\n",
209 "x":777.8148918151855,
210 "y":519.2672522068024,
211 "z":"bd738317.61f1e",
219 "id":"49f82ccd.f7c214",
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",
225 "x":528.5293121337891,
226 "y":873.4341316223145,
227 "z":"bd738317.61f1e",
237 "id":"3d80671.2fffe98",
240 "xml":"<outcome value='not-found'>\n",
243 "x":1052.8373832702637,
244 "y":898.4324235916138,
245 "z":"bd738317.61f1e",
253 "id":"5531bacd.bb4054",
256 "xml":"<outcome value='failure'>\n",
259 "x":1043.8374328613281,
260 "y":866.9324493408203,
261 "z":"bd738317.61f1e",
269 "id":"d8812d37.161a9",
272 "xml":"<outcome value='success'>\n",
275 "x":1047.5874710083008,
276 "y":837.2895542159677,
277 "z":"bd738317.61f1e",
285 "id":"3a60fdb3.4a8a52",
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":1213.5874710083008,
291 "y":867.6824731826782,
292 "z":"bd738317.61f1e",
298 "id":"893561c4.da3da",
300 "name":"block: atomic",
301 "xml":"<block atomic=\"true\">\n",
305 "x":958.8148460388184,
306 "y":519.7672016620636,
307 "z":"bd738317.61f1e",
316 "id":"7cc2aba3.4ab774",
318 "name":"switch brg length",
319 "xml":"<switch test='`$mdsal-ar.brg-allotted-resource_length`'>\n",
322 "x":1204.6720924377441,
323 "y":554.052964925766,
324 "z":"bd738317.61f1e",
332 "id":"f2b5c7f8.4c2788",
335 "xml":"<outcome value='1'>\n",
338 "x":1395.6720962524414,
339 "y":554.0529625415802,
340 "z":"bd738317.61f1e",
348 "id":"a94fae60.0d4d8",
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":1795.5292320251465,
354 "y":554.6243867874146,
355 "z":"bd738317.61f1e",
361 "id":"99caeac4.1caf68",
363 "name":"block: atomic",
364 "xml":"<block atomic='true'>\n",
368 "x":1566.5290794372559,
369 "y":554.6244316101074,
370 "z":"bd738317.61f1e",
380 "id":"b911a84d.ae1718",
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":1793.5294761657715,
386 "y":622.0529508590698,
387 "z":"bd738317.61f1e",
393 "id":"1fae3401.6b02fc",
395 "name":"GET brg-allotted-resource from mdsal",
398 "x":545.8148155212402,
399 "y":483.7671926021576,
400 "z":"bd738317.61f1e",
406 "id":"4be8f1c4.44235",
408 "name":"switch order-status",
409 "xml":"<switch test='`$brg-ar.allotted-resource-data.allotted-resource-oper-status.order-status`'>\n",
412 "x":1803.52925491333,
413 "y":587.6243848800659,
414 "z":"bd738317.61f1e",
423 "id":"78046e66.9f48",
425 "name":"outcome Created",
426 "xml":"<outcome value='Created'>\n",
429 "x":2015.1292114257812,
430 "y":548.6243848800659,
431 "z":"bd738317.61f1e",
439 "id":"8b7e48bf.d7da38",
441 "name":"outcome Other",
442 "xml":"<outcome value='Other'>\n",
445 "x":2040.8435859680176,
446 "y":584.052975654602,
447 "z":"bd738317.61f1e",
455 "id":"2041ebe5.c30ee4",
457 "name":"Set allotted-resource-identifiers",
460 "x":501.33863830566406,
461 "y":574.3386459350586,
462 "z":"bd738317.61f1e",
468 "id":"4cf2170b.af9078",
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":1284.3864250183105,
474 "y":519.7672936916351,
475 "z":"bd738317.61f1e",
481 "id":"aa22f4fa.80d2f8",
483 "name":"Create urls for restapi",
486 "x":456.9576606750488,
487 "y":388.6243562698364,
488 "z":"bd738317.61f1e",
494 "id":"74162770.a979c8",
501 "x":1189.2434387207031,
502 "y":833.4817234054208,
503 "z":"bd738317.61f1e",
511 "id":"6c2fd2bf.8ea39c",
513 "name":"TO DO: vnf/put parent",
516 "x":459.2433776855469,
517 "y":762.1481952667236,
518 "z":"bd738317.61f1e",
524 "id":"1c4673a7.e44e5c",
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":443.24338150024414,
531 "y":691.4815549850464,
532 "z":"bd738317.61f1e",
540 "id":"298fb105.8bda2e",
543 "xml":"<outcome value='Other'>\n",
546 "x":777.5766868591309,
547 "y":555.4814250469208,
548 "z":"bd738317.61f1e",
556 "id":"da7d30a7.86aa1",
558 "name":"block: atomic",
559 "xml":"<block atomic=\"true\">\n",
563 "x":957.5766372680664,
564 "y":556.1479756832123,
565 "z":"bd738317.61f1e",
573 "id":"ded6be20.02606",
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":426.24342346191406,
579 "y":611.1481666564941,
580 "z":"bd738317.61f1e",
586 "id":"6617e6b1.caed38",
593 "x":2229.5997276306152,
594 "y":550.0000190734863,
595 "z":"bd738317.61f1e",
603 "id":"813841f5.5242d",
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":486.85716247558594,
610 "y":795.2380628585815,
611 "z":"bd738317.61f1e",
620 "id":"dfcc7672.3a2628",
623 "xml":"<outcome value='failure'>\n",
626 "x":742.6190567016602,
627 "y":778.1905598640442,
628 "z":"bd738317.61f1e",
636 "id":"16d52897.21f867",
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":909.142936706543,
642 "y":789.8096308708191,
643 "z":"bd738317.61f1e",
649 "id":"f88b958b.1b4058",
652 "xml":"<outcome value='not-found'>\n",
655 "x":749.7143440246582,
656 "y":810.9525275230408,
657 "z":"bd738317.61f1e",
665 "id":"6b6c396.0e3bdc8",
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":603.6666564941406,
672 "y":1206.666666984558,
673 "z":"bd738317.61f1e",
683 "id":"ac72a6ac.9a87d8",
686 "xml":"<outcome value='not-found'>\n",
689 "x":937.6414451599121,
690 "y":1265.9982789978385,
691 "z":"bd738317.61f1e",
699 "id":"6627db7e.a07df4",
702 "xml":"<outcome value='failure'>\n",
705 "x":928.6414947509766,
706 "y":1234.498304747045,
707 "z":"bd738317.61f1e",
715 "id":"b71c9a02.dc5f38",
718 "xml":"<outcome value='success'>\n",
721 "x":932.3915328979492,
722 "y":1204.8554096221924,
723 "z":"bd738317.61f1e",
731 "id":"87d976e8.3b5e08",
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":1098.3915328979492,
737 "y":1235.248328588903,
738 "z":"bd738317.61f1e",
744 "id":"647bb0e7.3a8ce",
751 "x":1074.0475006103516,
752 "y":1201.0475788116455,
753 "z":"bd738317.61f1e",
761 "id":"87c5e69a.216528",
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":585.3334197998047,
768 "y":1353.333461523056,
769 "z":"bd738317.61f1e",
779 "id":"8bb826ca.7fde18",
782 "xml":"<outcome value='not-found'>\n",
785 "x":933.3080577850342,
786 "y":1428.9983781799674,
787 "z":"bd738317.61f1e",
795 "id":"3b0cfc96.e063d4",
798 "xml":"<outcome value='failure'>\n",
801 "x":924.3081073760986,
802 "y":1397.498403929174,
803 "z":"bd738317.61f1e",
811 "id":"9233dc34.b0a2e",
814 "xml":"<outcome value='success'>\n",
817 "x":928.0581455230713,
818 "y":1367.8555088043213,
819 "z":"bd738317.61f1e",
827 "id":"56013e05.d3ec7",
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":1094.0581455230713,
833 "y":1398.2484277710319,
834 "z":"bd738317.61f1e",
840 "id":"d277fbef.48ce48",
847 "x":1069.7141132354736,
848 "y":1364.0476779937744,
849 "z":"bd738317.61f1e",
857 "id":"52fb1b57.c3a244",
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":539.7778015136719,
863 "y":1071.6669263839722,
864 "z":"bd738317.61f1e",
870 "id":"9d0a59c9.488d38",
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":511.44444274902344,
877 "y":1126.6667051315308,
878 "z":"bd738317.61f1e",
886 "id":"eb01b23d.d2e83",
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":503.4444580078125,
893 "y":986.333233833313,
894 "z":"bd738317.61f1e",
902 "id":"a54b3930.93b098",
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":494.7777557373047,
908 "y":1278.3333368301392,
909 "z":"bd738317.61f1e",
915 "id":"66ab9749.6e5de8",
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":661.0000305175781,
921 "y":935.5000286102295,
922 "z":"bd738317.61f1e",
928 "id":"d359b8c.b2e9848",
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":547.5807209014893,
934 "y":1475.2236095443368,
935 "z":"bd738317.61f1e",
941 "id":"d2ce0116.9d6fd",
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":560.5014190673828,
948 "y":1596.3346309661865,
949 "z":"bd738317.61f1e",
958 "id":"25295636.0ab61a",
961 "xml":"<outcome value='success'>\n",
964 "x":849.3213386535645,
965 "y":1593.7139744758606,
966 "z":"bd738317.61f1e",
974 "id":"6176a3d2.ca4a4c",
976 "name":"block: atomic",
977 "xml":"<block atomic=\"true\">\n",
981 "x":1030.3212928771973,
982 "y":1594.2139239311218,
983 "z":"bd738317.61f1e",
992 "id":"8a58185b.1f0588",
994 "name":"switch brg length",
995 "xml":"<switch test='`$service-data.service-data_length`'>\n",
998 "x":1276.178539276123,
999 "y":1628.4996871948242,
1000 "z":"bd738317.61f1e",
1008 "id":"d1780eb8.0a48d",
1011 "xml":"<outcome value='1'>\n",
1014 "x":1467.1785430908203,
1015 "y":1628.4996848106384,
1016 "z":"bd738317.61f1e",
1024 "id":"c4f78b0c.399548",
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":1867.0356788635254,
1030 "y":1629.0711090564728,
1031 "z":"bd738317.61f1e",
1037 "id":"144d46bd.d15369",
1039 "name":"block: atomic",
1040 "xml":"<block atomic='true'>\n",
1044 "x":1638.0355262756348,
1045 "y":1629.0711538791656,
1046 "z":"bd738317.61f1e",
1055 "id":"acb27e89.7a99b",
1057 "name":"GET vnf-api service info",
1060 "x":465.89267349243164,
1061 "y":1559.6423273086548,
1062 "z":"bd738317.61f1e",
1068 "id":"e2b696d0.92bce8",
1069 "type":"switchNode",
1070 "name":"switch order-status",
1071 "xml":"<switch test='`$tmp.service-data.order-status`'>\n",
1074 "x":1850.7498970031738,
1075 "y":1680.6425342559814,
1076 "z":"bd738317.61f1e",
1085 "id":"93dea8c9.d15128",
1087 "name":"outcome Created",
1088 "xml":"<outcome value='Created'>\n",
1091 "x":2086.63565826416,
1092 "y":1623.0711071491241,
1093 "z":"bd738317.61f1e",
1101 "id":"9bef71a8.f6f6b",
1103 "name":"outcome Other",
1104 "xml":"<outcome value='Other'>\n",
1107 "x":2112.3500328063965,
1108 "y":1658.4996979236603,
1109 "z":"bd738317.61f1e",
1117 "id":"da592da3.ffeb5",
1119 "name":"Set service-data",
1122 "x":439.9879341125488,
1123 "y":1644.4995203018188,
1124 "z":"bd738317.61f1e",
1130 "id":"e2166c3e.a56a4",
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":1355.8928718566895,
1136 "y":1594.2140159606934,
1137 "z":"bd738317.61f1e",
1143 "id":"bf6df68d.132c38",
1146 "xml":"<outcome value='Other'>\n",
1149 "x":849.0831336975098,
1150 "y":1629.928147315979,
1151 "z":"bd738317.61f1e",
1159 "id":"cf1f6a1b.c9ce08",
1161 "name":"block: atomic",
1162 "xml":"<block atomic=\"true\">\n",
1166 "x":1029.0830841064453,
1167 "y":1630.5946979522705,
1168 "z":"bd738317.61f1e",
1176 "id":"ef316dbf.6a0cc",
1183 "x":2301.106174468994,
1184 "y":1624.4467413425446,
1185 "z":"bd738317.61f1e",
1193 "id":"390bbb92.09b7f4",
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=\"`$tmp.ar.brg-vnf-id`\"/>\n",
1199 "x":486.3108825683594,
1200 "y":1517.763334274292,
1201 "z":"bd738317.61f1e",
1209 "id":"9afe5c14.6ae23",
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":560.5966033935547,
1216 "y":1773.0016822814941,
1217 "z":"bd738317.61f1e",
1227 "id":"c87c4ec5.30548",
1230 "xml":"<outcome value='not-found'>\n",
1233 "x":1066.8094596862793,
1234 "y":1767.5236949920654,
1235 "z":"bd738317.61f1e",
1243 "id":"9b0fe650.2f2a48",
1246 "xml":"<outcome value='failure'>\n",
1249 "x":1057.8095092773438,
1250 "y":1736.023720741272,
1251 "z":"bd738317.61f1e",
1259 "id":"bddffe4d.e139c",
1262 "xml":"<outcome value='success'>\n",
1265 "x":1061.5595474243164,
1266 "y":1706.3808256164193,
1267 "z":"bd738317.61f1e",
1275 "id":"a54672fa.e0b22",
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":1227.5595474243164,
1281 "y":1736.7737445831299,
1282 "z":"bd738317.61f1e",
1288 "id":"818c08d2.8fb6d8",
1295 "x":1203.2155151367188,
1296 "y":1702.5729948058724,
1297 "z":"bd738317.61f1e",
1305 "id":"d22b2425.82db18",
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":463.92994689941406,
1312 "y":1732.52548122406,
1313 "z":"bd738317.61f1e",