aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-generate-name.json
blob: 4a279f09e80cc4a262b438de1794d33a1d65ac30 (plain)
1
[{"id":"c4ce007.7b129","type":"dgstart","name":"DGSTART","outputs":1,"x":97.14286041259766,"y":40,"z":"b22c2.15bfad3f","wires":[["74a63714.63b758"]]},{"id":"74a63714.63b758","type":"service-logic","name":"GENERIC-RESOURCE-API ${project.version}","module":"GENERIC-RESOURCE-API","version":"${project.version}","comments":"","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}'>","outputs":1,"x":360.2857131958008,"y":40.99999237060547,"z":"b22c2.15bfad3f","wires":[["d4c7e1b6.2ad85"]]},{"id":"d4c7e1b6.2ad85","type":"method","name":"self-serve-generate-name","xml":"<method rpc='self-serve-generate-name' mode='sync'>\n","comments":"","outputs":1,"x":181.78575134277344,"y":82.24999237060547,"z":"b22c2.15bfad3f","wires":[["cfe52f65.5535"]]},{"id":"cfe52f65.5535","type":"block","name":"block atomic","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":107.57142639160156,"y":129.8571310043335,"z":"b22c2.15bfad3f","wires":[["8099c568.0dd2c8","3e2de6cd.f09e3a","8b25e032.8d67","9ec0993b.7d83a8"]]},{"id":"fdf5e60c.f09e68","type":"execute","name":"execute replace extra comma","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>\n   <parameter name='outputPath' value='tmp.naming-data-payload' />\n   <parameter name='source' value='`$tmp.naming-data-payload`' />\n   <parameter name='target' value=',}' />\n   <parameter name='replacement' value='}' />","comments":"","outputs":1,"x":1472.8574142456055,"y":662.9047241210938,"z":"b22c2.15bfad3f","wires":[[]]},{"id":"8099c568.0dd2c8","type":"set","name":"set tmp.naming-data-payload","xml":"<set>\n<parameter name='tmp.naming-data-payload' value='{&quot;elements&quot;:[' />\n","comments":"","x":377.2857131958008,"y":130.99999237060547,"z":"b22c2.15bfad3f","wires":[]},{"id":"8db1f1d0.889c2","type":"for","name":"for vnf-parameters-data","xml":"<for index='i' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >\n","comments":"","outputs":1,"x":1180.6431884765625,"y":261.9522695541382,"z":"b22c2.15bfad3f","wires":[["76abf200.64f74"]]},{"id":"76abf200.64f74","type":"switchNode","name":"switch capability-name","xml":"<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.capability-name == $ss.capability-name`'>\n","comments":"","outputs":1,"x":1423.500244140625,"y":261.9522695541382,"z":"b22c2.15bfad3f","wires":[["4fc42546.c7923c"]]},{"id":"4fc42546.c7923c","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1604.214599609375,"y":261.9522542953491,"z":"b22c2.15bfad3f","wires":[["9358aee1.552be"]]},{"id":"44e392ad.5f9e9c","type":"for","name":"for vnf-parameters-data","xml":"<for index='j' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key_length`' >\n","comments":"","outputs":1,"x":1442.3573760986328,"y":472.2380657196045,"z":"b22c2.15bfad3f","wires":[["442917e.1449de8"]]},{"id":"150413ba.3a991c","type":"set","name":"set payload data","xml":"<set>\n<parameter name=\"tmp.naming-data-payload\" value=\"`$tmp.naming-data-payload + '&quot;' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].name + '&quot;:' + '&quot;' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].value + '&quot;,'`\"/>","comments":"","x":2044.8573760986328,"y":470.2380657196045,"z":"b22c2.15bfad3f","wires":[]},{"id":"fb551b70.bbcfd8","type":"set","name":"set set payload data","xml":"<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '{'`\" />","comments":"","x":1439.8575286865234,"y":398.09515953063965,"z":"b22c2.15bfad3f","wires":[]},{"id":"84fc62c9.d846d","type":"set","name":"set payload data","xml":"<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '},'`\" />","comments":"","x":1439.8573760986328,"y":534.2380657196045,"z":"b22c2.15bfad3f","wires":[]},{"id":"2adc5948.429c06","type":"set","name":"set close payload list","xml":"<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + ']}'`\" />","comments":"","x":1445.8573760986328,"y":599.2380657196045,"z":"b22c2.15bfad3f","wires":[]},{"id":"c86e8ec5.6d05a","type":"execute","name":"execute replace extra comma","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>\n   <parameter name='outputPath' value='tmp.naming-data-payload' />\n   <parameter name='source' value='`$tmp.naming-data-payload`' />\n   <parameter name='target' value=',]' />\n   <parameter name='replacement' value=']' />","comments":"","outputs":1,"x":1475.8574142456055,"y":716.9047241210938,"z":"b22c2.15bfad3f","wires":[[]]},{"id":"e7512765.70ab08","type":"execute","name":"execute NameGenerationNode-unassign","xml":"<execute plugin='org.openecomp.sdnc.prov.namegeneration.node.UnAssignNameNode' method='process'>\n   <parameter name='payload' value='`$tmp.naming-data-payload`' />\n   <parameter name=\"prifix\" value=\"nameGenResponse\" />\n","comments":"","outputs":1,"x":1501.8574600219727,"y":873.9047050476074,"z":"b22c2.15bfad3f","wires":[["4bd0e3a9.e47e4c","b9f63e2.3d0d1c"]]},{"id":"4bd0e3a9.e47e4c","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1776.8574600219727,"y":823.9047050476074,"z":"b22c2.15bfad3f","wires":[["3d7f663e.d5a46a"]]},{"id":"66b30001.521a6","type":"returnFailure","name":"return failure","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 NameGenerationNode Unassign\" />\n","comments":"","x":2141.8574600219727,"y":923.9047050476074,"z":"b22c2.15bfad3f","wires":[]},{"id":"b9f63e2.3d0d1c","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1781.8574600219727,"y":922.9047050476074,"z":"b22c2.15bfad3f","wires":[["3d7f663e.d5a46a"]]},{"id":"3d7f663e.d5a46a","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1939.8574600219727,"y":867.9047050476074,"z":"b22c2.15bfad3f","wires":[["e3c19ba8.0685b8","66b30001.521a6"]]},{"id":"e3c19ba8.0685b8","type":"set","name":"set status as FAILED","xml":"<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.status`' value='FAILED' />","comments":"","x":2155.8574600219727,"y":814.9047050476074,"z":"b22c2.15bfad3f","wires":[]},{"id":"cfca1bae.4e2338","type":"not-found","name":"assign","xml":"<outcome value='assign'>\n","comments":"","outputs":1,"x":922.3809585571289,"y":1363.6190185546875,"z":"b22c2.15bfad3f","wires":[["d6788c5c.85547"]]},{"id":"ed79ddfe.5695e","type":"switchNode","name":"switch resource-name","xml":"<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].name == $jsonContextPrefix.elements[$n].resource-name`'>\n","comments":"","outputs":1,"x":1698.5241088867188,"y":1172.5715217590332,"z":"b22c2.15bfad3f","wires":[["5bde4585.5c467c"]]},{"id":"5bde4585.5c467c","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1890.5241088867188,"y":1171.5715217590332,"z":"b22c2.15bfad3f","wires":[["73e68674.4f6478"]]},{"id":"73e68674.4f6478","type":"set","name":"set set payload data","xml":"<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].value`' value=\"`$jsonContextPrefix.elements[$n].resource-value`\" />\n","comments":"","x":2077.0241088867188,"y":1171.5715217590332,"z":"b22c2.15bfad3f","wires":[]},{"id":"af2e44ec.d5ca68","type":"execute","name":"execute jsonStringToCtx","xml":"<execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"jsonStringToCtx\">\n\t<parameter name=\"source\" value=\"nameGenResponse.response-payload\" />\n\t<parameter name=\"outputPath\" value=\"jsonContextPrefix\" />\n\t<parameter name=\"isEscaped\" value=\"false\" />\n\n","comments":"","outputs":1,"x":1457.5241012573242,"y":1075.5715141296387,"z":"b22c2.15bfad3f","wires":[[]]},{"id":"cfa5bed4.470d4","type":"for","name":"for response elements","xml":"<for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >\n","comments":"","outputs":1,"x":1450.5241012573242,"y":1171.5715141296387,"z":"b22c2.15bfad3f","wires":[["ed79ddfe.5695e"]]},{"id":"9358aee1.552be","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1158.8573837280273,"y":398.23800468444824,"z":"b22c2.15bfad3f","wires":[["fb551b70.bbcfd8","44e392ad.5f9e9c","84fc62c9.d846d","2adc5948.429c06","fdf5e60c.f09e68","e7512765.70ab08","af2e44ec.d5ca68","f8642b4c.442a28","cfa5bed4.470d4","c86e8ec5.6d05a","831182f9.da8ba","6e81bfa6.fad7","e0959eaf.ac5c9"]]},{"id":"f8642b4c.442a28","type":"set","name":"set status as DELETED","xml":"<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.status`' value='DELETED' />","comments":"","x":1455.5241012573242,"y":1125.5715141296387,"z":"b22c2.15bfad3f","wires":[]},{"id":"c5bdb33e.c0ce1","type":"execute","name":"execute replace extra comma","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>\n   <parameter name='outputPath' value='tmp.naming-data-payload' />\n   <parameter name='source' value='`$tmp.naming-data-payload`' />\n   <parameter name='target' value=',}' />\n   <parameter name='replacement' value='}' />","comments":"","outputs":1,"x":2046.5238075256348,"y":1671.8091049194336,"z":"b22c2.15bfad3f","wires":[[]]},{"id":"1b8fd08a.24f62f","type":"for","name":"for vnf-parameters-data","xml":"<for index='j' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key_length`' >\n","comments":"","outputs":1,"x":2176.3093032836914,"y":1485.5236206054688,"z":"b22c2.15bfad3f","wires":[["21c8061a.df5eba"]]},{"id":"21c8061a.df5eba","type":"set","name":"set payload data","xml":"<set>\n<parameter name=\"tmp.naming-data-payload\" value=\"`$tmp.naming-data-payload + '&quot;' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].name + '&quot;:' + '&quot;' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].value + '&quot;,'`\"/>","comments":"","x":2405.8093032836914,"y":1485.5236206054688,"z":"b22c2.15bfad3f","wires":[]},{"id":"f50fa797.e44b78","type":"set","name":"set payload data","xml":"<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '{'`\" />","comments":"","x":2157.2377700805664,"y":1424.238037109375,"z":"b22c2.15bfad3f","wires":[]},{"id":"46bd5518.2d0dbc","type":"set","name":"set payload data","xml":"<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '},'`\" />","comments":"","x":2158.8093032836914,"y":1541.5236206054688,"z":"b22c2.15bfad3f","wires":[]},{"id":"56eeda86.d5a534","type":"set","name":"set close payload list","xml":"<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + ']}'`\" />","comments":"","x":2021.5238075256348,"y":1628.8090438842773,"z":"b22c2.15bfad3f","wires":[]},{"id":"41297214.951d5c","type":"execute","name":"execute replace extra comma","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>\n   <parameter name='outputPath' value='tmp.naming-data-payload' />\n   <parameter name='source' value='`$tmp.naming-data-payload`' />\n   <parameter name='target' value=',]' />\n   <parameter name='replacement' value=']' />","comments":"","outputs":1,"x":2049.1906089782715,"y":1739.4758129119873,"z":"b22c2.15bfad3f","wires":[[]]},{"id":"f348aff2.4bebc","type":"execute","name":"execute NameGenerationNode-assign","xml":"<execute plugin='org.openecomp.sdnc.prov.namegeneration.node.AssignNameNode' method='process'>\n   <parameter name='payload' value='`$tmp.naming-data-payload`' />\n   <parameter name=\"prifix\" value=\"nameGenResponse\" />\n","comments":"","outputs":1,"x":2078.857265472412,"y":1916.4756526947021,"z":"b22c2.15bfad3f","wires":[["69baa991.fa0e18","553561b9.6046e"]]},{"id":"69baa991.fa0e18","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":2353.857265472412,"y":1866.4756526947021,"z":"b22c2.15bfad3f","wires":[["192a1f1f.be0e71"]]},{"id":"e5f50edb.091de","type":"returnFailure","name":"return failure","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 NameGenerationNode Assign\" />\n","comments":"","x":2718.857265472412,"y":1966.4756526947021,"z":"b22c2.15bfad3f","wires":[]},{"id":"553561b9.6046e","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":2358.857265472412,"y":1965.4756526947021,"z":"b22c2.15bfad3f","wires":[["192a1f1f.be0e71"]]},{"id":"192a1f1f.be0e71","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":2516.857265472412,"y":1910.4756526947021,"z":"b22c2.15bfad3f","wires":[["2437a7ce.daf3f8","e5f50edb.091de"]]},{"id":"2437a7ce.daf3f8","type":"set","name":"set status as FAILED","xml":"<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.status`' value='FAILED' />","comments":"","x":2732.857265472412,"y":1857.4756526947021,"z":"b22c2.15bfad3f","wires":[]},{"id":"ce805e8b.46c19","type":"for","name":"for vnf-parameters-data","xml":"<for index='l' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >\n","comments":"","outputs":1,"x":2274.190517425537,"y":2209.8091365695,"z":"b22c2.15bfad3f","wires":[["b25c5460.a325a8"]]},{"id":"6aa66989.442c08","type":"execute","name":"execute jsonStringToCtx","xml":"<execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"jsonStringToCtx\">\n\t<parameter name=\"source\" value=\"nameGenResponse.response-payload\" />\n\t<parameter name=\"outputPath\" value=\"jsonContextPrefix\" />\n\t<parameter name=\"isEscaped\" value=\"false\" />\n\n","comments":"","outputs":1,"x":2035.190517425537,"y":2111.8091365695,"z":"b22c2.15bfad3f","wires":[[]]},{"id":"a601321b.c3fb9","type":"for","name":"for response elements","xml":"<for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >\n","comments":"","outputs":1,"x":2027.190517425537,"y":2208.8091365695,"z":"b22c2.15bfad3f","wires":[["ce805e8b.46c19"]]},{"id":"68abb658.8eedd8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1935.9523696899414,"y":1423.8092041015625,"z":"b22c2.15bfad3f","wires":[["f50fa797.e44b78","1b8fd08a.24f62f","46bd5518.2d0dbc"]]},{"id":"442917e.1449de8","type":"switchNode","name":"switch external-key","xml":"<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].name == 'external-key'`\">\n","comments":"","outputs":1,"x":1680.8573760986328,"y":471.2380657196045,"z":"b22c2.15bfad3f","wires":[["d7d30379.9fac6"]]},{"id":"d7d30379.9fac6","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1864.8573760986328,"y":471.2380657196045,"z":"b22c2.15bfad3f","wires":[["150413ba.3a991c"]]},{"id":"3e2de6cd.f09e3a","type":"switchNode","name":"switch ss.capability-type","xml":"<switch test=\"`$ss.capability-type`\">\n","comments":"","outputs":1,"x":351.75000762939453,"y":1192.5714111328125,"z":"b22c2.15bfad3f","wires":[["cd6aee2c.8d999","8ae06020.3e6f5"]]},{"id":"cd6aee2c.8d999","type":"not-found","name":"vnf","xml":"<outcome value='vnf'>\n","comments":"","outputs":1,"x":513.3928604125977,"y":261.964262008667,"z":"b22c2.15bfad3f","wires":[["4ff90381.37c6dc"]]},{"id":"4ff90381.37c6dc","type":"switchNode","name":"switch ss.capability-action","xml":"<switch test=\"`$ss.capability-action`\">\n","comments":"","outputs":1,"x":722.2142715454102,"y":262.3214416503906,"z":"b22c2.15bfad3f","wires":[["1e263d13.66ebe3","cfca1bae.4e2338"]]},{"id":"1e263d13.66ebe3","type":"not-found","name":"unassign","xml":"<outcome value='unassign'>\n","comments":"","outputs":1,"x":967.6787261962891,"y":262.7380418777466,"z":"b22c2.15bfad3f","wires":[["8db1f1d0.889c2"]]},{"id":"59168f1e.642f2","type":"for","name":"for vnf-parameters-data","xml":"<for index='i' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >\n","comments":"","outputs":1,"x":1331.3573379516602,"y":1423.0238647460938,"z":"b22c2.15bfad3f","wires":[["bf4aa8ff.7fb928"]]},{"id":"bf4aa8ff.7fb928","type":"switchNode","name":"switch capability-name","xml":"<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.capability-name == $ss.capability-name`'>\n","comments":"","outputs":1,"x":1572.9643936157227,"y":1423.0238647460938,"z":"b22c2.15bfad3f","wires":[["1bade986.1e2976"]]},{"id":"1bade986.1e2976","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1765.6787490844727,"y":1423.0238647460938,"z":"b22c2.15bfad3f","wires":[["68abb658.8eedd8"]]},{"id":"c3399c9e.783d","type":"not-found","name":"assign","xml":"<outcome value='assign'>\n","comments":"","outputs":1,"x":1015.9524307250977,"y":3454.333984375,"z":"b22c2.15bfad3f","wires":[["7251a52b.599a6c"]]},{"id":"ab99e9fd.1ae708","type":"execute","name":"execute replace extra comma","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>\n   <parameter name='outputPath' value='tmp.naming-data-payload' />\n   <parameter name='source' value='`$tmp.naming-data-payload`' />\n   <parameter name='target' value=',}' />\n   <parameter name='replacement' value='}' />","comments":"","outputs":1,"x":1439.0237579345703,"y":3942.870348930359,"z":"b22c2.15bfad3f","wires":[[]]},{"id":"9def63a4.806ca","type":"for","name":"for vf-module-parameters","xml":"<for index='j' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.resource-key_length`' >\n","comments":"","outputs":1,"x":2240.7024307250977,"y":3575.333984375,"z":"b22c2.15bfad3f","wires":[["e34f91dd.a8b49"]]},{"id":"e34f91dd.a8b49","type":"set","name":"set payload data","xml":"<set>\n<parameter name=\"tmp.naming-data-payload\" value=\"`$tmp.naming-data-payload + '&quot;' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.resource-key[$j].name + '&quot;:' + '&quot;' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.resource-key[$j].value + '&quot;,'`\"/>","comments":"","x":2474.2024307250977,"y":3574.333984375,"z":"b22c2.15bfad3f","wires":[]},{"id":"20c0f5ca.83d79a","type":"set","name":"set set payload data","xml":"<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '{'`\" />","comments":"","x":2223.2024307250977,"y":3521.333984375,"z":"b22c2.15bfad3f","wires":[]},{"id":"b6165507.aa3638","type":"set","name":"set payload data","xml":"<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '},'`\" />","comments":"","x":2229.2024307250977,"y":3637.333984375,"z":"b22c2.15bfad3f","wires":[]},{"id":"fd45754c.3cf118","type":"set","name":"set close payload list","xml":"<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + ']}'`\" />","comments":"","x":1409.0237579345703,"y":3891.870348930359,"z":"b22c2.15bfad3f","wires":[]},{"id":"3eddc60f.7f892a","type":"execute","name":"execute replace extra comma","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>\n   <parameter name='outputPath' value='tmp.naming-data-payload' />\n   <parameter name='source' value='`$tmp.naming-data-payload`' />\n   <parameter name='target' value=',]' />\n   <parameter name='replacement' value=']' />","comments":"","outputs":1,"x":1435.023811340332,"y":3998.536747932434,"z":"b22c2.15bfad3f","wires":[[]]},{"id":"a9a63c2d.dfa8d","type":"execute","name":"execute NameGenerationNode-assign","xml":"<execute plugin='org.openecomp.sdnc.prov.namegeneration.node.AssignNameNode' method='process'>\n   <parameter name='payload' value='`$tmp.naming-data-payload`' />\n   <parameter name=\"prifix\" value=\"nameGenResponse\" />\n","comments":"","outputs":1,"x":1459.3571090698242,"y":4142.203409194946,"z":"b22c2.15bfad3f","wires":[["a51de972.7513d8","f1311e3a.17146"]]},{"id":"a51de972.7513d8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1734.3571090698242,"y":4092.2034091949463,"z":"b22c2.15bfad3f","wires":[["7034ba5c.a539b4"]]},{"id":"3115f18a.f319ce","type":"returnFailure","name":"return failure","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 NameGenerationNode Assign\" />\n","comments":"","x":2099.357109069824,"y":4192.203409194946,"z":"b22c2.15bfad3f","wires":[]},{"id":"f1311e3a.17146","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1739.3571090698242,"y":4191.203409194946,"z":"b22c2.15bfad3f","wires":[["7034ba5c.a539b4"]]},{"id":"7034ba5c.a539b4","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1897.3571090698242,"y":4136.203409194946,"z":"b22c2.15bfad3f","wires":[["3115f18a.f319ce","794481c7.a9c3c"]]},{"id":"794481c7.a9c3c","type":"set","name":"set status as FAILED","xml":"<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.status`' value='FAILED' />","comments":"","x":2113.357109069824,"y":4083.2034091949463,"z":"b22c2.15bfad3f","wires":[]},{"id":"82619cf0.ed8e5","type":"for","name":"for vf-module-parameters","xml":"<for index='l' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param_length`' >\n","comments":"","outputs":1,"x":1649.0238189697266,"y":4424.87033367157,"z":"b22c2.15bfad3f","wires":[["95c53568.63cad8"]]},{"id":"1a8b3de8.742382","type":"set","name":"set param value and status","xml":"<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$l].value`' value=\"`$jsonContextPrefix.elements[$n].resource-value`\" />\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$l].resource-resolution-data.status`' value='SUCCESS' />","comments":"","x":2288.095245361328,"y":4423.870002746582,"z":"b22c2.15bfad3f","wires":[]},{"id":"f52fb4f8.3e1228","type":"execute","name":"execute jsonStringToCtx","xml":"<execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"jsonStringToCtx\">\n\t<parameter name=\"source\" value=\"nameGenResponse.response-payload\" />\n\t<parameter name=\"outputPath\" value=\"jsonContextPrefix\" />\n\t<parameter name=\"isEscaped\" value=\"false\" />\n\n","comments":"","outputs":1,"x":1410.3572158813477,"y":4346.6318359375,"z":"b22c2.15bfad3f","wires":[[]]},{"id":"fb63f3.a26f9c1","type":"for","name":"for response elements","xml":"<for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >\n","comments":"","outputs":1,"x":1408.0238189697266,"y":4424.87033367157,"z":"b22c2.15bfad3f","wires":[["82619cf0.ed8e5"]]},{"id":"7b2c452f.bbed6c","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1999.2024307250977,"y":3521.333984375,"z":"b22c2.15bfad3f","wires":[["9def63a4.806ca","20c0f5ca.83d79a","b6165507.aa3638"]]},{"id":"feddb4fb.2f43b8","type":"for","name":"for vnf-parameters-data","xml":"<for index='i' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param_length`' >\n","comments":"","outputs":1,"x":1408.9999771118164,"y":3521.571533203125,"z":"b22c2.15bfad3f","wires":[["a0948cc.d0ac07"]]},{"id":"a0948cc.d0ac07","type":"switchNode","name":"switch capability-name","xml":"<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.capability-name == $ss.capability-name`'>\n","comments":"","outputs":1,"x":1651.9999771118164,"y":3521.571533203125,"z":"b22c2.15bfad3f","wires":[["304201bb.a6f3ae"]]},{"id":"304201bb.a6f3ae","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1843.000099182129,"y":3521.571533203125,"z":"b22c2.15bfad3f","wires":[["7b2c452f.bbed6c"]]},{"id":"d6788c5c.85547","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1092.3928604125977,"y":1363.4285278320312,"z":"b22c2.15bfad3f","wires":[["59168f1e.642f2","75a1aba5.5433b4","ad773e1d.d8f96"]]},{"id":"75a1aba5.5433b4","type":"set","name":"set payload data","xml":"<set>\n\t<parameter name='tmp.naming-data-payload' value='{&quot;elements&quot;:[' />","comments":"","x":1309.5713844299316,"y":1363.8570394515991,"z":"b22c2.15bfad3f","wires":[]},{"id":"ad773e1d.d8f96","type":"switchNode","name":"switch tmp.naming-data-payload is null","xml":"<switch test=\"`$tmp.naming-data-payload == ''`\">\n","comments":"","outputs":1,"x":1371.8572425842285,"y":1628.7141952514648,"z":"b22c2.15bfad3f","wires":[["a94916ca.5c1308"]]},{"id":"a94916ca.5c1308","type":"not-found","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":1615.8572425842285,"y":1628.7141952514648,"z":"b22c2.15bfad3f","wires":[["8e513724.c4a9b8"]]},{"id":"8e513724.c4a9b8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1782.8573036193848,"y":1628.7141342163086,"z":"b22c2.15bfad3f","wires":[["56eeda86.d5a534","c5bdb33e.c0ce1","41297214.951d5c","f348aff2.4bebc","6aa66989.442c08","a601321b.c3fb9","366bde97.29b202","66ad476.8898eb8","7215a9c2.ed4828"]]},{"id":"7251a52b.599a6c","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1173.9999771118164,"y":3454.5712890625,"z":"b22c2.15bfad3f","wires":[["8f0a7d6b.a2582","feddb4fb.2f43b8","348a65da.c2171a"]]},{"id":"8f0a7d6b.a2582","type":"set","name":"set set payload data","xml":"<set>\n\t<parameter name='tmp.naming-data-payload' value='{&quot;elements&quot;:[' />","comments":"","x":1396.9999771118164,"y":3453.5712890625,"z":"b22c2.15bfad3f","wires":[]},{"id":"348a65da.c2171a","type":"switchNode","name":"switch tmp.naming-data-payload is null","xml":"<switch test=\"`$tmp.naming-data-payload == ''`\">\n","comments":"","outputs":1,"x":1457.2500076293945,"y":3684.071533203125,"z":"b22c2.15bfad3f","wires":[["a3618e09.0890b"]]},{"id":"a3618e09.0890b","type":"not-found","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":1691.0000381469727,"y":3683.8212890625,"z":"b22c2.15bfad3f","wires":[["b7e4dbf.88fad28"]]},{"id":"b7e4dbf.88fad28","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1099.3214263916016,"y":3892.3575315475464,"z":"b22c2.15bfad3f","wires":[["fd45754c.3cf118","ab99e9fd.1ae708","3eddc60f.7f892a","a9a63c2d.dfa8d","f52fb4f8.3e1228","fb63f3.a26f9c1","95c6b4d5.214088","2b41e0a2.f2e29","119b4b23.3c64c5"]]},{"id":"831182f9.da8ba","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"BEFORE namegeneration.node.UnAssignNameNode\"/>\n\n","comments":"","outputs":1,"x":1409.333381652832,"y":799.7619457244873,"z":"b22c2.15bfad3f","wires":[[]]},{"id":"6e81bfa6.fad7","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"AFTER namegeneration.node.UnAssignNameNode\"/>\n\n","comments":"","outputs":1,"x":1406.0000495910645,"y":954.7619533538818,"z":"b22c2.15bfad3f","wires":[[]]},{"id":"366bde97.29b202","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"BEFORE namegeneration.node.AssignNameNode\"/>\n\n","comments":"","outputs":1,"x":1986.0001487731934,"y":1848.4760437011719,"z":"b22c2.15bfad3f","wires":[[]]},{"id":"66ad476.8898eb8","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"AFTER namegeneration.node.AssignNameNode\"/>\n\n","comments":"","outputs":1,"x":1982.6668167114258,"y":2003.4760513305664,"z":"b22c2.15bfad3f","wires":[[]]},{"id":"2b41e0a2.f2e29","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"AFTER namegeneration.node.AssignNameNode\"/>\n\n","comments":"","outputs":1,"x":1362.9044876098633,"y":4237.619207382202,"z":"b22c2.15bfad3f","wires":[[]]},{"id":"95c6b4d5.214088","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"BEFORE namegeneration.node.AssignNameNode\"/>\n\n","comments":"","outputs":1,"x":1361.2380676269531,"y":4077.6190366744995,"z":"b22c2.15bfad3f","wires":[[]]},{"id":"95c53568.63cad8","type":"switchNode","name":"switch resource-name","xml":"<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$l].name == $jsonContextPrefix.elements[$n].resource-name`'>\n","comments":"","outputs":1,"x":1896.2857666015625,"y":4425.285499572754,"z":"b22c2.15bfad3f","wires":[["82128c8f.fd3b2"]]},{"id":"b25c5460.a325a8","type":"switchNode","name":"switch resource-name","xml":"<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].name == $jsonContextPrefix.elements[$n].resource-name`'>\n","comments":"","outputs":1,"x":2521.2857704162598,"y":2209.571111679077,"z":"b22c2.15bfad3f","wires":[["dcd1a528.fd73b8"]]},{"id":"200df204.d45b3e","type":"set","name":"set param value and status","xml":"<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].value`' value=\"`$jsonContextPrefix.elements[$n].resource-value`\" />\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].resource-resolution-data.status`' value='SUCCESS' />","comments":"","x":2908.8096885681152,"y":2208.2984409332275,"z":"b22c2.15bfad3f","wires":[]},{"id":"dcd1a528.fd73b8","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":2705.57137298584,"y":2209.1425743103027,"z":"b22c2.15bfad3f","wires":[["200df204.d45b3e"]]},{"id":"82128c8f.fd3b2","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":2086.285675048828,"y":4424.285530090332,"z":"b22c2.15bfad3f","wires":[["1a8b3de8.742382"]]},{"id":"c800abc8.8cf708","type":"execute","name":"execute replace extra comma","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>\n   <parameter name='outputPath' value='tmp.naming-data-payload' />\n   <parameter name='source' value='`$tmp.naming-data-payload`' />\n   <parameter name='target' value=',}' />\n   <parameter name='replacement' value='}' />","comments":"","outputs":1,"x":1482.2857818603516,"y":2795.999464035034,"z":"b22c2.15bfad3f","wires":[[]]},{"id":"234dc037.18d2d","type":"for","name":"for vnf-parameters-data","xml":"<for index='i' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param_length`' >\n","comments":"","outputs":1,"x":1250.4047622680664,"y":2359.3336181640625,"z":"b22c2.15bfad3f","wires":[["d9940efc.eae25"]]},{"id":"d9940efc.eae25","type":"switchNode","name":"switch capability-name","xml":"<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.capability-name == $ss.capability-name`'>\n","comments":"","outputs":1,"x":1500.4047012329102,"y":2359.33349609375,"z":"b22c2.15bfad3f","wires":[["86e4dddd.844ea"]]},{"id":"86e4dddd.844ea","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1709.4048233032227,"y":2359.33349609375,"z":"b22c2.15bfad3f","wires":[["651d0c9e.3f6c74"]]},{"id":"f74e5c96.bb387","type":"for","name":"for vf-module-parameters","xml":"<for index='j' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.resource-key_length`' >\n","comments":"","outputs":1,"x":1455.1190567016602,"y":2610.3330078125,"z":"b22c2.15bfad3f","wires":[["9023139f.bc3e1"]]},{"id":"f6f22c3.9d7f6d","type":"set","name":"set payload data","xml":"<set>\n<parameter name=\"tmp.naming-data-payload\" value=\"`$tmp.naming-data-payload + '&quot;' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.resource-key[$j].name + '&quot;:' + '&quot;' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.resource-key[$j].value + '&quot;,'`\"/>","comments":"","x":2057.61905670166,"y":2608.3330078125,"z":"b22c2.15bfad3f","wires":[]},{"id":"c007726a.119db","type":"set","name":"set set payload data","xml":"<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '{'`\" />","comments":"","x":1452.6190567016602,"y":2533.3330078125,"z":"b22c2.15bfad3f","wires":[]},{"id":"f3b25876.a9cec8","type":"set","name":"set payload data","xml":"<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '},'`\" />","comments":"","x":1452.6190567016602,"y":2672.3330078125,"z":"b22c2.15bfad3f","wires":[]},{"id":"73046d7d.c3e4d4","type":"set","name":"set close payload list","xml":"<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + ']}'`\" />","comments":"","x":1458.6190567016602,"y":2737.3330078125,"z":"b22c2.15bfad3f","wires":[]},{"id":"2774ec69.79d6a4","type":"execute","name":"execute replace extra comma","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>\n   <parameter name='outputPath' value='tmp.naming-data-payload' />\n   <parameter name='source' value='`$tmp.naming-data-payload`' />\n   <parameter name='target' value=',]' />\n   <parameter name='replacement' value=']' />","comments":"","outputs":1,"x":1485.2857818603516,"y":2849.999464035034,"z":"b22c2.15bfad3f","wires":[[]]},{"id":"a8204dd6.5c406","type":"execute","name":"execute NameGenerationNode-unassign","xml":"<execute plugin='org.openecomp.sdnc.prov.namegeneration.node.UnAssignNameNode' method='process'>\n   <parameter name='payload' value='`$tmp.naming-data-payload`' />\n   <parameter name=\"prifix\" value=\"nameGenResponse\" />\n","comments":"","outputs":1,"x":1514.619125366211,"y":3008.6661348342896,"z":"b22c2.15bfad3f","wires":[["b9422270.f648e","21cb01d.494cbfe"]]},{"id":"b9422270.f648e","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1789.619125366211,"y":2958.6661348342896,"z":"b22c2.15bfad3f","wires":[["f52add29.a2116"]]},{"id":"ababb3ad.ac03b","type":"returnFailure","name":"return failure","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 NameGenerationNode Unassign\" />\n","comments":"","x":2140.333568572998,"y":3027.665928840637,"z":"b22c2.15bfad3f","wires":[]},{"id":"21cb01d.494cbfe","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1794.619125366211,"y":3057.6661348342896,"z":"b22c2.15bfad3f","wires":[["f52add29.a2116"]]},{"id":"f52add29.a2116","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1952.619125366211,"y":3002.6661348342896,"z":"b22c2.15bfad3f","wires":[["ababb3ad.ac03b","c3cb04de.fd9788"]]},{"id":"c3cb04de.fd9788","type":"set","name":"set status as FAILED","xml":"<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.status`' value='FAILED' />","comments":"","x":2161.9524536132812,"y":2981.3329582214355,"z":"b22c2.15bfad3f","wires":[]},{"id":"6820e3be.5057ec","type":"switchNode","name":"switch resource-name","xml":"<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].name == $jsonContextPrefix.elements[$n].resource-name`'>\n","comments":"","outputs":1,"x":1693.9523696899414,"y":3283.3331146240234,"z":"b22c2.15bfad3f","wires":[["27271b05.86aae4"]]},{"id":"27271b05.86aae4","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1893.9523696899414,"y":3283.3331146240234,"z":"b22c2.15bfad3f","wires":[["80fd2782.c3fce8"]]},{"id":"80fd2782.c3fce8","type":"set","name":"set set payload data","xml":"<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].value`' value=\"`$jsonContextPrefix.elements[$n].resource-value`\" />\n","comments":"","x":2078.4523696899414,"y":3282.3331146240234,"z":"b22c2.15bfad3f","wires":[]},{"id":"cae5c10b.76f3b","type":"execute","name":"execute jsonStringToCtx","xml":"<execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"jsonStringToCtx\">\n\t<parameter name=\"source\" value=\"nameGenResponse.response-payload\" />\n\t<parameter name=\"outputPath\" value=\"jsonContextPrefix\" />\n\t<parameter name=\"isEscaped\" value=\"false\" />\n\n","comments":"","outputs":1,"x":1462.9524536132812,"y":3188.3329582214355,"z":"b22c2.15bfad3f","wires":[[]]},{"id":"7faa9a58.393004","type":"for","name":"for response elements","xml":"<for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >\n","comments":"","outputs":1,"x":1455.9524536132812,"y":3284.3329582214355,"z":"b22c2.15bfad3f","wires":[["6820e3be.5057ec"]]},{"id":"651d0c9e.3f6c74","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1197.6190567016602,"y":2534.3330078125,"z":"b22c2.15bfad3f","wires":[["c800abc8.8cf708","f74e5c96.bb387","c007726a.119db","f3b25876.a9cec8","73046d7d.c3e4d4","2774ec69.79d6a4","a8204dd6.5c406","cae5c10b.76f3b","7faa9a58.393004","43c8e7ca.1e08f8","1ec7db32.2779a5","43c6ae1c.02963","83dcda26.f10518"]]},{"id":"43c8e7ca.1e08f8","type":"set","name":"set status as DELETED","xml":"<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.status`' value='DELETED' />","comments":"","x":1460.9524536132812,"y":3238.3329582214355,"z":"b22c2.15bfad3f","wires":[]},{"id":"9023139f.bc3e1","type":"switchNode","name":"switch external-key","xml":"<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.resource-key[$j].name == 'external-key'`\">\n","comments":"","outputs":1,"x":1693.6190567016602,"y":2609.3330078125,"z":"b22c2.15bfad3f","wires":[["7838892.d26f278"]]},{"id":"7838892.d26f278","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1877.6190567016602,"y":2609.3330078125,"z":"b22c2.15bfad3f","wires":[["f6f22c3.9d7f6d"]]},{"id":"8ae06020.3e6f5","type":"not-found","name":"vf-module","xml":"<outcome value='vf-module'>\n","comments":"","outputs":1,"x":559.6190567016602,"y":2358.0479736328125,"z":"b22c2.15bfad3f","wires":[["8e070240.cce94"]]},{"id":"b8f45568.78bec8","type":"not-found","name":"unassign","xml":"<outcome value='unassign'>\n","comments":"","outputs":1,"x":1031.2858657836914,"y":2359.5716552734375,"z":"b22c2.15bfad3f","wires":[["234dc037.18d2d"]]},{"id":"8e070240.cce94","type":"switchNode","name":"switch ss.capability-action","xml":"<switch test=\"`$ss.capability-action`\">\n","comments":"","outputs":1,"x":795.2856216430664,"y":2358.5716552734375,"z":"b22c2.15bfad3f","wires":[["b8f45568.78bec8","c3399c9e.783d"]]},{"id":"1ec7db32.2779a5","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"BEFORE namegeneration.node.UnAssignNameNode\"/>\n\n","comments":"","outputs":1,"x":1414.4759902954102,"y":2920,"z":"b22c2.15bfad3f","wires":[[]]},{"id":"43c6ae1c.02963","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"AFTER namegeneration.node.UnAssignNameNode\"/>\n\n","comments":"","outputs":1,"x":1411.1427383422852,"y":3077,"z":"b22c2.15bfad3f","wires":[[]]},{"id":"8b25e032.8d67","type":"execute","name":"printContext","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='`$pathname`' />\n","comments":"","outputs":1,"x":324.39286041259766,"y":4374.75,"z":"b22c2.15bfad3f","wires":[[]]},{"id":"e0959eaf.ac5c9","type":"set","name":"set vnf pathname for context logging","xml":"<set>\n<parameter name='pathname' \n\tvalue=\"`'/var/tmp/ss-gen-name-' + \n\t$ss.capability-type + '-' + $ss.capability-action + '-' + \n\t$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-information.vnf-id + '.log'`\" />\n","comments":"","x":1494.3095474243164,"y":1019.6666736602783,"z":"b22c2.15bfad3f","wires":[]},{"id":"83dcda26.f10518","type":"set","name":"set vf-module pathname for context logging","xml":"<set>\n<parameter name='pathname' \n\tvalue=\"`'/var/tmp/ss-gen-name-' + \n\t$ss.capability-type + '-' + $ss.capability-action + '-' + \n\t$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-information.vf-module-id + '.log'`\" />\n","comments":"","x":1522.3928604125977,"y":3128.75,"z":"b22c2.15bfad3f","wires":[]},{"id":"119b4b23.3c64c5","type":"set","name":"set vf-module pathname for context logging","xml":"<set>\n<parameter name='pathname' \n\tvalue=\"`'/var/tmp/ss-gen-name-' + \n\t$ss.capability-type + '-' + $ss.capability-action + '-' +\n\t$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-information.vf-module-id + '.log'`\" />\n","comments":"","x":1474.3928298950195,"y":4296.083665847778,"z":"b22c2.15bfad3f","wires":[]},{"id":"7215a9c2.ed4828","type":"set","name":"set vnf pathname for context logging","xml":"<set>\n<parameter name='pathname' \n\tvalue=\"`'/var/tmp/ss-gen-name-' + \n\t$ss.capability-type + '-' + $ss.capability-action + '-' + \n\t$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-information.vnf-id + '.log'`\" />\n","comments":"","x":2075.0593643188477,"y":2058.75,"z":"b22c2.15bfad3f","wires":[]},{"id":"9ec0993b.7d83a8","type":"call","name":"call self-serve-capability-param-resolution","xml":"<call module='GENERIC-RESOURCE-API' rpc='self-serve-capability-param-resolution' mode='sync' >\n","comments":"","outputs":1,"x":411.42860412597656,"y":181.42858695983887,"z":"b22c2.15bfad3f","wires":[[]]}]