3 "id": "dc9ceada.747c9",
9 "z": "ea55fe64.6b3f48",
17 "id": "6bbe4a7.598cb34",
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}'>",
27 "z": "ea55fe64.6b3f48",
35 "id": "bb95c798.3cf368",
37 "name": "self-serve-vnf-changeassign ",
38 "xml": "<method rpc='self-serve-vnf-changeassign' mode='sync'>\n",
43 "z": "ea55fe64.6b3f48",
51 "id": "72afded.b78132",
53 "name": "block : atomic",
54 "xml": "<block atomic='true'>",
60 "z": "ea55fe64.6b3f48",
69 "id": "7e2d788f.d439a8",
72 "xml": "<set>\n <parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.status`' value='PENDING'/>\n <parameter name='ss.input.param.index' value='`$i`' />\n <parameter name='ss.service-data.param.index' value='`$j`' />\n <parameter name='ss.input.param.found.in.service.param' value='true' />\n <parameter name='ss.capability-type' value='vnf' />\n <parameter name='ss.capability-action' value='changeassign' />",
76 "z": "ea55fe64.6b3f48",
80 "id": "7eab9742.528a9",
82 "name": "switch vnf-input-parameters",
83 "xml": "<switch test='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param_length`'>\n",
88 "z": "ea55fe64.6b3f48",
96 "id": "b93197e8.d9d048",
99 "xml": "<outcome value=''>",
102 "x": 570.1428833007812,
103 "y": 184.85714721679688,
104 "z": "ea55fe64.6b3f48",
112 "id": "589a47b7.bf05e",
113 "type": "returnFailure",
114 "name": "return failure",
115 "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=\"no param name/value provided in vnf-request-input\" />\n",
119 "z": "ea55fe64.6b3f48",
123 "id": "c971c45d.67ed58",
125 "name": "for vnf-input-parameters.param index i",
126 "xml": "<for index='i' start='0' end='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param_length`' >",
131 "z": "ea55fe64.6b3f48",
139 "id": "a56c6c88.4c89e8",
140 "type": "switchNode",
141 "name": "switch service param length null",
142 "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length == ''`\">\n\n",
147 "z": "ea55fe64.6b3f48",
155 "id": "80ac5f3.6ad6ca",
157 "name": "for service-data.vnf-parameters-data.param index j",
158 "xml": "<for index='j' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >",
163 "z": "ea55fe64.6b3f48",
171 "id": "9335b73a.1c0978",
172 "type": "switchNode",
173 "name": "switch match for vnf-name",
174 "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$j].name == $vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$i].name`'>\n",
179 "z": "ea55fe64.6b3f48",
187 "id": "94ee529d.b53828",
190 "xml": "<outcome value='true'>\n",
195 "z": "ea55fe64.6b3f48",
203 "id": "ad40df27.b42668",
206 "xml": "<outcome value='false'>\n",
211 "z": "ea55fe64.6b3f48",
219 "id": "c7b41da6.be73e",
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=\"`'No param with param[].name = ' + $vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$i].name + ' found in service-data.'`\" />\n",
226 "z": "ea55fe64.6b3f48",
230 "id": "97f03230.8c76b8",
232 "name": "block : atomic",
233 "xml": "<block atomic='true'>",
239 "z": "ea55fe64.6b3f48",
249 "id": "ada6d713.8fde8",
251 "name": "call self-serve-generate-name-changeassign",
252 "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-generate-name-changeassign' mode='sync' >\n",
257 "z": "ea55fe64.6b3f48",
266 "id": "e152b55.54f7b48",
269 "xml": "<outcome value='failure'>\n",
274 "z": "ea55fe64.6b3f48",
282 "id": "e8deb550.a2fdb",
285 "xml": "<outcome value='not-found'>\n",
290 "z": "ea55fe64.6b3f48",
298 "id": "b0b66b18.a254d8",
299 "type": "returnFailure",
300 "name": "return failure",
301 "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 from self-service-generate-name-changeassign\" />\n",
305 "z": "ea55fe64.6b3f48",
309 "id": "34cc20c5.be038",
312 "xml": "<outcome value='false'>\n",
317 "z": "ea55fe64.6b3f48",
325 "id": "a74b1481.6af278",
328 "xml": "<set>\n <parameter name='ss.input.param.found.in.service.param' value='false' />",
332 "z": "ea55fe64.6b3f48",
336 "id": "d662c9f0.cf7fb",
337 "type": "switchNode",
338 "name": "switch if found vnf_name",
339 "xml": "<switch test='`$ss.input.param.found.in.service.param`'>\n",
344 "z": "ea55fe64.6b3f48",
352 "id": "8f887c51.38a1b",
353 "type": "returnSuccess",
354 "name": "return success",
355 "xml": "<return status='success'>\n",
359 "z": "ea55fe64.6b3f48",
363 "id": "8ae41419.5f27e8",
365 "name": "block : atomic",
366 "xml": "<block atomic='true'>",
372 "z": "ea55fe64.6b3f48",