3 "id":"ca9867f0.bee9b8",
6 "xml":"<for index='vnfidx' start='0' end='`$tmp.vnfdata.vnfs.vnf-list_length`' >\n\n\n",
10 "y":347.3333616256714,
11 "z":"113743e5.c5805c",
19 "id":"5f5355c8.d5e21c",
23 "x":121.66665649414062,
25 "z":"113743e5.c5805c",
33 "id":"72be46c0.39b648",
34 "type":"service-logic",
35 "name":"GENERIC-RESOURCE-API ${project.version}",
36 "module":"GENERIC-RESOURCE-API",
37 "version":"${project.version}",
39 "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}'>",
41 "x":272.90473556518555,
42 "y":147.95239067077637,
43 "z":"113743e5.c5805c",
51 "id":"f67f0e3d.eb57b",
53 "name":"get-vnf-api-parent-instance",
54 "xml":"<method rpc='get-vnf-api-parent-instance' mode='sync'>\n",
57 "x":326.8215026855469,
58 "y":207.19044494628906,
59 "z":"113743e5.c5805c",
67 "id":"26d836cd.d8f48a",
69 "name":"block : atomic",
70 "xml":"<block atomic=\"true\">",
74 "x":227.14284896850586,
75 "y":326.5237879753113,
76 "z":"113743e5.c5805c",
85 "id":"c3cef9b4.0af4e8",
86 "type":"get-resource",
87 "name":"get-resource vnf-api vnfs",
88 "xml":"<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.mdsal.ConfigResource' resource='VNF-API' key='vnfs' pfx='tmp.vnfdata' >\n",
91 "x":535.9999847412109,
92 "y":286.9999952316284,
93 "z":"113743e5.c5805c",
101 "id":"c8f3625d.8c17",
103 "name":"switch parent-service-instance-id matches",
104 "xml":"<switch test='`$tmp.vnfdata.vnfs.vnf-list[$vnfidx].service-data.service-information.service-instance-id == $tmp.search.parent-service-instance-id`'>\n\n\n",
107 "x":763.9999847412109,
108 "y":349.6666841506958,
109 "z":"113743e5.c5805c",
117 "id":"8e1b44d6.600948",
118 "type":"get-resource",
119 "name":"get-resource parent service instance",
120 "xml":"<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.mdsal.ConfigResource' resource='VNF-API' key='vnfs/vnf-list/$tmp.vnfdata.vnfs.vnf-list[$vnfidx].service-data.vnf-id/service-data/' pfx='parent-service-instance' >\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t",
123 "x":1265.3333053588867,
124 "y":324.6666851043701,
125 "z":"113743e5.c5805c",
133 "id":"2e1a8d2c.7d2b72",
136 "xml":"<outcome value='failure'>\n",
139 "x":1490.666654586792,
140 "y":324.33336639404297,
141 "z":"113743e5.c5805c",
149 "id":"929c05d0.10e968",
152 "xml":"<outcome value='true'>\n",
155 "x":1003.0000076293945,
156 "y":240.66669464111328,
157 "z":"113743e5.c5805c",
165 "id":"40f0e6cc.970498",
172 "x":1036.0000534057617,
173 "y":327.6667003631592,
174 "z":"113743e5.c5805c",
183 "id":"5f33dc50.216f34",
185 "name":"set tmp.old-service-data.vnf-id",
186 "xml":"<set>\n<parameter name='tmp.old-service-data.vnf-id' value='`$tmp.vnfdata.vnfs.vnf-list[$vnfidx].service-data.vnf-id`' />\n",
188 "x":1255.0000228881836,
189 "y":231.00003814697266,
190 "z":"113743e5.c5805c",
196 "id":"b633d9b1.a67d28",
197 "type":"returnFailure",
198 "name":"return failure - parent service instance not found",
199 "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=\"`'No entry found for parent service instance id ' + $tmp.ar.parent-service-instance-id + '.'`\" />\n",
201 "x":1759.6666259765625,
202 "y":316.6666564941406,
203 "z":"113743e5.c5805c",