summaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2018-10-05 19:05:34 +0000
committerGerrit Code Review <gerrit@onap.org>2018-10-05 19:05:34 +0000
commiteb1f322f42d2b932bdbdf623b21845b52e229572 (patch)
treec57cbb8fdcc5782bd1cca58ad10fb83458bfedde /platform-logic/generic-resource-api/src/main/json
parent95bb644e2d372731a1181aca173358df0ea45f58 (diff)
parent9014a09d69201b16304bd4825cd0c6b7805b38a3 (diff)
Merge "Fix ss-generate-name DG"
Former-commit-id: e49071b226750e7a154de40e87f738fbc1c17e76
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-generate-name.json2903
1 files changed, 2902 insertions, 1 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-generate-name.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-generate-name.json
index 090f2a83..2d05912d 100644
--- a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-generate-name.json
+++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-generate-name.json
@@ -1 +1,2902 @@
-[{"id":"91f26dca.ac9c4","type":"dgstart","name":"DGSTART","outputs":1,"x":106.25,"y":51.25,"z":"c9c6dcde.41d85","wires":[["1bda17a5.c6c048"]]},{"id":"1bda17a5.c6c048","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":353.3928527832031,"y":52.24999237060547,"z":"c9c6dcde.41d85","wires":[["292efec8.453dc2"]]},{"id":"292efec8.453dc2","type":"method","name":"self-serve-generate-name","xml":"<method rpc='self-serve-generate-name' mode='sync'>\n","comments":"","outputs":1,"x":658.3928527832031,"y":52.24999237060547,"z":"c9c6dcde.41d85","wires":[["ac980349.2347b"]]},{"id":"ac980349.2347b","type":"block","name":"block atomic","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":157.39285278320312,"y":138.24999237060547,"z":"c9c6dcde.41d85","wires":[["39dd3942.f3f2e6","68c384f0.bbb0cc","18a2910c.88df4f","5c034bcc.8eda94"]]},{"id":"46c4e380.58d32c","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":1723.1072082519531,"y":864.3927688598633,"z":"c9c6dcde.41d85","wires":[[]]},{"id":"39dd3942.f3f2e6","type":"set","name":"set capability-name","xml":"<set>\n<parameter name='tmp.naming-data-payload' value='{&quot;elements&quot;:[' />\n","comments":"","x":356.3928527832031,"y":139.24999237060547,"z":"c9c6dcde.41d85","wires":[]},{"id":"68c384f0.bbb0cc","type":"call","name":"call capability-param-resolution","xml":"<call module='GENERIC-RESOURCE-API' rpc='self-serve-capability-param-resolution' mode='sync' >\n","comments":"","outputs":1,"x":394.3928527832031,"y":204.24999237060547,"z":"c9c6dcde.41d85","wires":[["58275e50.5a6bb","6a870eac.1fa17"]]},{"id":"457c7626.794818","type":"for","name":"for vnf-parameters-data","xml":"<for silentFailure='true' 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":1156.8930053710938,"y":495.6785125732422,"z":"c9c6dcde.41d85","wires":[["c7836a50.3e2eb8"]]},{"id":"c7836a50.3e2eb8","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":1399.7500610351562,"y":495.6785125732422,"z":"c9c6dcde.41d85","wires":[["47107590.c9841c"]]},{"id":"47107590.c9841c","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1580.4644165039062,"y":495.6784973144531,"z":"c9c6dcde.41d85","wires":[["4a177c57.c7d9a4"]]},{"id":"56402926.20d0e8","type":"for","name":"for vnf-parameters-data","xml":"<for silentFailure='true' 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":1692.6072082519531,"y":665.3927688598633,"z":"c9c6dcde.41d85","wires":[["3c02c1aa.dfd2ae"]]},{"id":"58275e50.5a6bb","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":617.3928527832031,"y":172.24999237060547,"z":"c9c6dcde.41d85","wires":[["e693e7a7.2049b8"]]},{"id":"6a870eac.1fa17","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":626.3928527832031,"y":238.24999237060547,"z":"c9c6dcde.41d85","wires":[["e693e7a7.2049b8"]]},{"id":"e693e7a7.2049b8","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 capability-param-resolution\" />\n","comments":"","x":819.3928527832031,"y":172.24999237060547,"z":"c9c6dcde.41d85","wires":[]},{"id":"21514d15.8432f2","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":2295.107208251953,"y":663.3927688598633,"z":"c9c6dcde.41d85","wires":[]},{"id":"7ea8eb74.9a1844","type":"set","name":"set set payload data","xml":"<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '{'`\" />","comments":"","x":1690.1073608398438,"y":591.2498626708984,"z":"c9c6dcde.41d85","wires":[]},{"id":"62a53e02.b6bef","type":"set","name":"set payload data","xml":"<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '},'`\" />","comments":"","x":1690.1072082519531,"y":727.3927688598633,"z":"c9c6dcde.41d85","wires":[]},{"id":"501071a0.f9465","type":"set","name":"set close payload list","xml":"<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + ']}'`\" />","comments":"","x":1696.1072082519531,"y":792.3927688598633,"z":"c9c6dcde.41d85","wires":[]},{"id":"3c7cd31f.bc21ac","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":1726.1072082519531,"y":918.3927688598633,"z":"c9c6dcde.41d85","wires":[[]]},{"id":"bc62a761.8b89c8","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":1752.1072082519531,"y":975.3927688598633,"z":"c9c6dcde.41d85","wires":[["f9f1ad09.82e7c","925a853d.d6bd68"]]},{"id":"f9f1ad09.82e7c","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":2027.1072082519531,"y":925.3927688598633,"z":"c9c6dcde.41d85","wires":[["2126c189.7c306e"]]},{"id":"b20b8313.b1a3a","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":2392.107208251953,"y":1025.3927688598633,"z":"c9c6dcde.41d85","wires":[]},{"id":"925a853d.d6bd68","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":2032.1072082519531,"y":1024.3927688598633,"z":"c9c6dcde.41d85","wires":[["2126c189.7c306e"]]},{"id":"2126c189.7c306e","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":2190.107208251953,"y":969.3927688598633,"z":"c9c6dcde.41d85","wires":[["2f676742.c24308","b20b8313.b1a3a"]]},{"id":"2f676742.c24308","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":2406.107208251953,"y":916.3927688598633,"z":"c9c6dcde.41d85","wires":[]},{"id":"d55c90c5.dacc1","type":"switchNode","name":"switch capability action assign","xml":"<switch test=\"`$ss.capability-action == 'assign'`\">","comments":"","outputs":1,"x":780.6309204101562,"y":1623.0118560791016,"z":"c9c6dcde.41d85","wires":[["65407952.2ec6d8"]]},{"id":"65407952.2ec6d8","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1035.3451538085938,"y":1623.0118560791016,"z":"c9c6dcde.41d85","wires":[["a96283a9.3508a"]]},{"id":"5b1ee770.4f6638","type":"for","name":"for vnf-parameters-data","xml":"<for silentFailure='true' 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":1938.1072082519531,"y":1220.3927688598633,"z":"c9c6dcde.41d85","wires":[["30a2c23a.009fce"]]},{"id":"99294abd.54eda8","type":"switchNode","name":"switch capability-name","xml":"<switch test='`$s2[0] == $jsonContextPrefix.elements[$n].resource-name`'>\n","comments":"","outputs":1,"x":2141.107208251953,"y":1438.3927688598633,"z":"c9c6dcde.41d85","wires":[["a331a74b.402708"]]},{"id":"a331a74b.402708","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":2351.107208251953,"y":1438.3927688598633,"z":"c9c6dcde.41d85","wires":[["dbdc2e6a.21d91"]]},{"id":"dbdc2e6a.21d91","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[$l].value`' value=\"`$jsonContextPrefix.elements[$n].resource-value`\" />\n","comments":"","x":2547.607208251953,"y":1439.3927688598633,"z":"c9c6dcde.41d85","wires":[]},{"id":"c4ae6d14.155da","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":1707.1072082519531,"y":1123.3927688598633,"z":"c9c6dcde.41d85","wires":[[]]},{"id":"d08e8030.4482b","type":"for","name":"for response elements","xml":"<for silentFailure='true' index='n' start='0' end='`$jsonContextPrefix.elements_length`' >\n","comments":"","outputs":1,"x":1700.1072082519531,"y":1219.3927688598633,"z":"c9c6dcde.41d85","wires":[["5b1ee770.4f6638"]]},{"id":"30a2c23a.009fce","type":"execute","name":"slistringUtils - check value for $","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n <parameter name=\"source\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].value`\" />\n <parameter name=\"target\" value=\"$\"/>\n \n","comments":"","outputs":1,"x":2242.107208251953,"y":1220.3927688598633,"z":"c9c6dcde.41d85","wires":[["cdc37125.7c00e"]]},{"id":"cdc37125.7c00e","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":2482.107208251953,"y":1219.3927688598633,"z":"c9c6dcde.41d85","wires":[["6c00b87b.acaf88"]]},{"id":"29f2ebd9.94ebc4","type":"execute","name":"split resource-resolution-data","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name='ctx_memory_result_key' value='resource-resolution-split' />\n <parameter name='original_string' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].value`' />\n <parameter name='regex' value='\\$\\{' />\n","comments":"","outputs":1,"x":2149.107208251953,"y":1290.3927688598633,"z":"c9c6dcde.41d85","wires":[[]]},{"id":"d58a4926.7747b8","type":"execute","name":"split resource-resolution-split-1","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name='ctx_memory_result_key' value='s2' />\n <parameter name='original_string' value='`$resource-resolution-split[1]`' />\n <parameter name='regex' value='\\}' />\n","comments":"","outputs":1,"x":2164.107208251953,"y":1373.3927688598633,"z":"c9c6dcde.41d85","wires":[[]]},{"id":"6c00b87b.acaf88","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1933.1072082519531,"y":1290.3927688598633,"z":"c9c6dcde.41d85","wires":[["29f2ebd9.94ebc4","d58a4926.7747b8","99294abd.54eda8"]]},{"id":"4a177c57.c7d9a4","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1483.1072082519531,"y":591.3927688598633,"z":"c9c6dcde.41d85","wires":[["7ea8eb74.9a1844","56402926.20d0e8","62a53e02.b6bef","501071a0.f9465","46c4e380.58d32c","bc62a761.8b89c8","c4ae6d14.155da","db17c61.0987c38","d08e8030.4482b","3c7cd31f.bc21ac"]]},{"id":"db17c61.0987c38","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":1705.1072082519531,"y":1173.3927688598633,"z":"c9c6dcde.41d85","wires":[]},{"id":"c41efc01.f36c7","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":1621.7736206054688,"y":2107.9163970947266,"z":"c9c6dcde.41d85","wires":[[]]},{"id":"d9ae653.af05298","type":"for","name":"for vnf-parameters-data","xml":"<for silentFailure='true' 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":1729.2736206054688,"y":1923.9163970947266,"z":"c9c6dcde.41d85","wires":[["fd156aa0.1eb258"]]},{"id":"fd156aa0.1eb258","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":1981.7736206054688,"y":1923.9163970947266,"z":"c9c6dcde.41d85","wires":[]},{"id":"89988739.f5dda8","type":"set","name":"set payload data","xml":"<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '{'`\" />","comments":"","x":1710.2020874023438,"y":1862.6308135986328,"z":"c9c6dcde.41d85","wires":[]},{"id":"9f3d5dde.80188","type":"set","name":"set payload data","xml":"<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '},'`\" />","comments":"","x":1711.7736206054688,"y":1979.9163970947266,"z":"c9c6dcde.41d85","wires":[]},{"id":"bf5f9c30.42446","type":"set","name":"set close payload list","xml":"<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + ']}'`\" />","comments":"","x":1596.7736206054688,"y":2064.9163360595703,"z":"c9c6dcde.41d85","wires":[]},{"id":"92f1e414.9e3a88","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":1622.7736206054688,"y":2158.9163970947266,"z":"c9c6dcde.41d85","wires":[[]]},{"id":"15f1977c.1c76a9","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":1655.7736206054688,"y":2215.9163970947266,"z":"c9c6dcde.41d85","wires":[["86815413.bd5f58","8dfe1fff.6cbff"]]},{"id":"86815413.bd5f58","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1930.7736206054688,"y":2165.9163970947266,"z":"c9c6dcde.41d85","wires":[["b783db76.998138"]]},{"id":"1494a0da.e4c6df","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":2295.7736206054688,"y":2265.9163970947266,"z":"c9c6dcde.41d85","wires":[]},{"id":"8dfe1fff.6cbff","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1935.7736206054688,"y":2264.9163970947266,"z":"c9c6dcde.41d85","wires":[["b783db76.998138"]]},{"id":"b783db76.998138","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":2093.7736206054688,"y":2209.9163970947266,"z":"c9c6dcde.41d85","wires":[["2a77969.89b206a","1494a0da.e4c6df"]]},{"id":"2a77969.89b206a","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":2309.7736206054688,"y":2156.9163970947266,"z":"c9c6dcde.41d85","wires":[]},{"id":"8b9f2b81.4bef68","type":"for","name":"for vnf-parameters-data","xml":"<for silentFailure='true' 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":1842.7736206054688,"y":2415.9163970947266,"z":"c9c6dcde.41d85","wires":[["4dee9bb0.c3a3a4"]]},{"id":"a88963c8.df0d4","type":"switchNode","name":"switch capability-name","xml":"<switch test='`$s2[0] == $jsonContextPrefix.elements[$n].resource-name`'>\n","comments":"","outputs":1,"x":2045.7736206054688,"y":2633.9163970947266,"z":"c9c6dcde.41d85","wires":[["e9f43798.dc5828"]]},{"id":"e9f43798.dc5828","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":2255.7736206054688,"y":2633.9163970947266,"z":"c9c6dcde.41d85","wires":[["9083cf6a.28206"]]},{"id":"9083cf6a.28206","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[$l].value`' value=\"`$jsonContextPrefix.elements[$n].resource-value`\" />\n","comments":"","x":2452.2736206054688,"y":2634.9163970947266,"z":"c9c6dcde.41d85","wires":[]},{"id":"28e168fc.ed5c88","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":1603.7736206054688,"y":2317.9163970947266,"z":"c9c6dcde.41d85","wires":[[]]},{"id":"a70fcc7d.91d0f","type":"for","name":"for response elements","xml":"<for silentFailure='true' index='n' start='0' end='`$jsonContextPrefix.elements_length`' >\n","comments":"","outputs":1,"x":1595.7736206054688,"y":2414.9163970947266,"z":"c9c6dcde.41d85","wires":[["8b9f2b81.4bef68"]]},{"id":"4dee9bb0.c3a3a4","type":"execute","name":"slistringUtils - check value for $","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n <parameter name=\"source\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].value`\" />\n <parameter name=\"target\" value=\"$\"/>\n \n","comments":"","outputs":1,"x":2146.7736206054688,"y":2415.9163970947266,"z":"c9c6dcde.41d85","wires":[["129810f5.f7ddff"]]},{"id":"129810f5.f7ddff","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":2386.7736206054688,"y":2414.9163970947266,"z":"c9c6dcde.41d85","wires":[["835ad2df.d212c"]]},{"id":"b84b5ac.f4e9ba8","type":"execute","name":"split resource-resolution-data","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name='ctx_memory_result_key' value='resource-resolution-split' />\n <parameter name='original_string' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].value`' />\n <parameter name='regex' value='\\$\\{' />\n","comments":"","outputs":1,"x":2053.7736206054688,"y":2485.9163970947266,"z":"c9c6dcde.41d85","wires":[[]]},{"id":"fa8e43fb.1de72","type":"execute","name":"split resource-resolution-split-1","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name='ctx_memory_result_key' value='s2' />\n <parameter name='original_string' value='`$resource-resolution-split[1]`' />\n <parameter name='regex' value='\\}' />\n","comments":"","outputs":1,"x":2068.7736206054688,"y":2568.9163970947266,"z":"c9c6dcde.41d85","wires":[[]]},{"id":"835ad2df.d212c","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1837.7736206054688,"y":2485.9163970947266,"z":"c9c6dcde.41d85","wires":[["b84b5ac.f4e9ba8","fa8e43fb.1de72","a88963c8.df0d4"]]},{"id":"d168ef70.b2079","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1506.9166870117188,"y":1842.2020416259766,"z":"c9c6dcde.41d85","wires":[["89988739.f5dda8","d9ae653.af05298","9f3d5dde.80188"]]},{"id":"55fa602e.5dd92","type":"set","name":"set status as SUCCESS","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='SUCCESS' />","comments":"","x":1602.7736206054688,"y":2368.9163970947266,"z":"c9c6dcde.41d85","wires":[]},{"id":"3c02c1aa.dfd2ae","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":1931.1072082519531,"y":664.3927688598633,"z":"c9c6dcde.41d85","wires":[["bd3cd34f.ff9d6"]]},{"id":"bd3cd34f.ff9d6","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":2115.107208251953,"y":664.3927688598633,"z":"c9c6dcde.41d85","wires":[["21514d15.8432f2"]]},{"id":"ed49961e.6f6b28","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":1842.7262573242188,"y":4078.5829010009766,"z":"c9c6dcde.41d85","wires":[[]]},{"id":"a17ea6d0.dff598","type":"for","name":"for vnf-parameters-data","xml":"<for silentFailure='true' 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":1131.2261352539062,"y":3690.5833892822266,"z":"c9c6dcde.41d85","wires":[["b1a24608.2ae148"]]},{"id":"b1a24608.2ae148","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":1411.2261352539062,"y":3690.5833892822266,"z":"c9c6dcde.41d85","wires":[["b7cb70dd.35eda"]]},{"id":"b7cb70dd.35eda","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1620.2262573242188,"y":3690.5833892822266,"z":"c9c6dcde.41d85","wires":[["af2ad8ba.c89658"]]},{"id":"8ba20919.707708","type":"for","name":"for vf-module-parameters","xml":"<for silentFailure='true' 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":1812.2262573242188,"y":3879.5829010009766,"z":"c9c6dcde.41d85","wires":[["5f633bc0.249c44"]]},{"id":"5006a8fb.02d318","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":2414.7262573242188,"y":3877.5829010009766,"z":"c9c6dcde.41d85","wires":[]},{"id":"85a65d81.320ba","type":"set","name":"set set payload data","xml":"<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '{'`\" />","comments":"","x":1809.7262573242188,"y":3802.5829010009766,"z":"c9c6dcde.41d85","wires":[]},{"id":"46655424.de5cdc","type":"set","name":"set payload data","xml":"<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '},'`\" />","comments":"","x":1809.7262573242188,"y":3941.5829010009766,"z":"c9c6dcde.41d85","wires":[]},{"id":"696c7b.a22a9384","type":"set","name":"set close payload list","xml":"<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + ']}'`\" />","comments":"","x":1815.7262573242188,"y":4006.5829010009766,"z":"c9c6dcde.41d85","wires":[]},{"id":"df7b34c.8d94cc8","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":1845.7262573242188,"y":4132.582901000977,"z":"c9c6dcde.41d85","wires":[[]]},{"id":"192a2029.ecaaa","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":1871.7262573242188,"y":4189.582901000977,"z":"c9c6dcde.41d85","wires":[["5046888d.563f18","f8b1268d.a3f1a8"]]},{"id":"5046888d.563f18","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":2146.7262573242188,"y":4139.582901000977,"z":"c9c6dcde.41d85","wires":[["c1fcad64.eb10e"]]},{"id":"89fcb555.c44fd8","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":2511.7262573242188,"y":4239.582901000977,"z":"c9c6dcde.41d85","wires":[]},{"id":"f8b1268d.a3f1a8","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":2151.7262573242188,"y":4238.582901000977,"z":"c9c6dcde.41d85","wires":[["c1fcad64.eb10e"]]},{"id":"c1fcad64.eb10e","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":2309.7262573242188,"y":4183.582901000977,"z":"c9c6dcde.41d85","wires":[["28480540.09300a","89fcb555.c44fd8"]]},{"id":"28480540.09300a","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":2525.7262573242188,"y":4130.582901000977,"z":"c9c6dcde.41d85","wires":[]},{"id":"62f307f0.d84e28","type":"for","name":"for vf-module-parameters","xml":"<for silentFailure='true' 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":2057.7262573242188,"y":4434.582901000977,"z":"c9c6dcde.41d85","wires":[["f0f5e682.52a068"]]},{"id":"429e13ea.1bbcfc","type":"switchNode","name":"switch capability-name","xml":"<switch test='`$s2[0] == $jsonContextPrefix.elements[$n].resource-name`'>\n","comments":"","outputs":1,"x":2260.7262573242188,"y":4652.582901000977,"z":"c9c6dcde.41d85","wires":[["fefbf8b6.b9a878"]]},{"id":"fefbf8b6.b9a878","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":2470.7262573242188,"y":4652.582901000977,"z":"c9c6dcde.41d85","wires":[["e8467ba7.dbdef8"]]},{"id":"e8467ba7.dbdef8","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[$l].value`' value=\"`$jsonContextPrefix.elements[$n].resource-value`\" />\n","comments":"","x":2667.2262573242188,"y":4653.582901000977,"z":"c9c6dcde.41d85","wires":[]},{"id":"c9ad1ab8.46cb68","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":1826.7262573242188,"y":4337.582901000977,"z":"c9c6dcde.41d85","wires":[[]]},{"id":"f7d21eb0.896ba","type":"for","name":"for response elements","xml":"<for silentFailure='true' index='n' start='0' end='`$jsonContextPrefix.elements_length`' >\n","comments":"","outputs":1,"x":1819.7262573242188,"y":4433.582901000977,"z":"c9c6dcde.41d85","wires":[["62f307f0.d84e28"]]},{"id":"f0f5e682.52a068","type":"execute","name":"slistringUtils - check value for $","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n <parameter name=\"source\" value=\"`$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`\" />\n <parameter name=\"target\" value=\"$\"/>\n \n","comments":"","outputs":1,"x":2361.7262573242188,"y":4434.582901000977,"z":"c9c6dcde.41d85","wires":[["c6fc2095.521c"]]},{"id":"c6fc2095.521c","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":2601.7262573242188,"y":4433.582901000977,"z":"c9c6dcde.41d85","wires":[["65e0e187.f75c3"]]},{"id":"f98f50b3.88dd2","type":"execute","name":"split resource-resolution-data","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name='ctx_memory_result_key' value='resource-resolution-split' />\n <parameter name='original_string' value='`$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`' />\n <parameter name='regex' value='\\$\\{' />\n","comments":"","outputs":1,"x":2268.7262573242188,"y":4504.582901000977,"z":"c9c6dcde.41d85","wires":[[]]},{"id":"1ad93cc3.ed8083","type":"execute","name":"split resource-resolution-split-1","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name='ctx_memory_result_key' value='s2' />\n <parameter name='original_string' value='`$resource-resolution-split[1]`' />\n <parameter name='regex' value='\\}' />\n","comments":"","outputs":1,"x":2283.7262573242188,"y":4587.582901000977,"z":"c9c6dcde.41d85","wires":[[]]},{"id":"65e0e187.f75c3","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":2052.7262573242188,"y":4504.582901000977,"z":"c9c6dcde.41d85","wires":[["f98f50b3.88dd2","1ad93cc3.ed8083","429e13ea.1bbcfc"]]},{"id":"af2ad8ba.c89658","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1602.7262573242188,"y":3805.5829010009766,"z":"c9c6dcde.41d85","wires":[["85a65d81.320ba","8ba20919.707708","46655424.de5cdc","696c7b.a22a9384","ed49961e.6f6b28","192a2029.ecaaa","c9ad1ab8.46cb68","efba3aaf.7b7bb8","f7d21eb0.896ba","df7b34c.8d94cc8"]]},{"id":"efba3aaf.7b7bb8","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":1824.7262573242188,"y":4387.582901000977,"z":"c9c6dcde.41d85","wires":[]},{"id":"5f633bc0.249c44","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":2050.7262573242188,"y":3878.5829010009766,"z":"c9c6dcde.41d85","wires":[["fb6f1570.ffce88"]]},{"id":"fb6f1570.ffce88","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":2234.7262573242188,"y":3878.5829010009766,"z":"c9c6dcde.41d85","wires":[["5006a8fb.02d318"]]},{"id":"18a2910c.88df4f","type":"switchNode","name":"switch capability-type. vnf","xml":"<switch test=\"`$ss.capability-type == 'vnf'`\">\n","comments":"","outputs":1,"x":366.3928527832031,"y":309.24999237060547,"z":"c9c6dcde.41d85","wires":[["9db81301.ff464"]]},{"id":"9db81301.ff464","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":569.8214111328125,"y":308.5357208251953,"z":"c9c6dcde.41d85","wires":[["4413b6d1.d5db98"]]},{"id":"5c034bcc.8eda94","type":"switchNode","name":"switch capability-type vf-module","xml":"<switch test=\"`$ss.capability-type == 'vf-module'`\">\n","comments":"","outputs":1,"x":495.7261962890625,"y":3472.5833282470703,"z":"c9c6dcde.41d85","wires":[["e6dfb935.6742c8"]]},{"id":"e6dfb935.6742c8","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":714.7261962890625,"y":3473.5833892822266,"z":"c9c6dcde.41d85","wires":[["bf9ba335.bd933"]]},{"id":"fa015ae5.7ee3b8","type":"for","name":"for vnf-parameters data","xml":"<for silentFailure='true' 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":1580.773681640625,"y":2743.91650390625,"z":"c9c6dcde.41d85","wires":[["356a68ae.e49428"]]},{"id":"e19fe063.0ef8b","type":"execute","name":"slistringUtils - check value for $","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n <parameter name=\"source\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].value`\" />\n <parameter name=\"target\" value=\"$\"/>\n \n","comments":"","outputs":1,"x":2193.440185546875,"y":2745.91650390625,"z":"c9c6dcde.41d85","wires":[["505f02b8.84a72c"]]},{"id":"505f02b8.84a72c","type":"failure","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":2412.440185546875,"y":2745.91650390625,"z":"c9c6dcde.41d85","wires":[["f4bb10d5.f14e"]]},{"id":"db2202ea.0cefb","type":"switchNode","name":"switch capability action unassign","xml":"<switch test=\"`$ss.capability-action == 'unassign'`\">\n","comments":"","outputs":1,"x":823.9642333984375,"y":399.3928680419922,"z":"c9c6dcde.41d85","wires":[["74bb68b1.af1438"]]},{"id":"74bb68b1.af1438","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1109.6785278320312,"y":397.9642791748047,"z":"c9c6dcde.41d85","wires":[["457c7626.794818"]]},{"id":"4413b6d1.d5db98","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":573.9642944335938,"y":373.67860412597656,"z":"c9c6dcde.41d85","wires":[["db2202ea.0cefb","d55c90c5.dacc1"]]},{"id":"d4abe1f5.3b638","type":"for","name":"for vnf-parameters-data","xml":"<for silentFailure='true' 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":1048.3215942382812,"y":1785.416763305664,"z":"c9c6dcde.41d85","wires":[["704c7546.3adfec"]]},{"id":"704c7546.3adfec","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":1289.9286499023438,"y":1785.416763305664,"z":"c9c6dcde.41d85","wires":[["c580a46d.7e4ba8"]]},{"id":"c580a46d.7e4ba8","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1470.6430053710938,"y":1785.416763305664,"z":"c9c6dcde.41d85","wires":[["d168ef70.b2079"]]},{"id":"a6219093.e3a69","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1203.1072387695312,"y":3601.8214263916016,"z":"c9c6dcde.41d85","wires":[["a17ea6d0.dff598"]]},{"id":"f18842.6cf817c","type":"switchNode","name":"switch capability action unassign","xml":"<switch test=\"`$ss.capability-action == 'unassign'`\">\n","comments":"","outputs":1,"x":962.1069946289062,"y":3601.8214263916016,"z":"c9c6dcde.41d85","wires":[["a6219093.e3a69"]]},{"id":"bf9ba335.bd933","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":719.1071166992188,"y":3538.8214263916016,"z":"c9c6dcde.41d85","wires":[["f18842.6cf817c","f4027892.1787d8"]]},{"id":"f4027892.1787d8","type":"switchNode","name":"switch capability action assign","xml":"<switch test=\"`$ss.capability-action == 'assign'`\">","comments":"","outputs":1,"x":939.0596313476562,"y":5209.584121704102,"z":"c9c6dcde.41d85","wires":[["6292eda8.e46944"]]},{"id":"6292eda8.e46944","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1168.0596313476562,"y":5209.584121704102,"z":"c9c6dcde.41d85","wires":[["64813f2a.a3ada"]]},{"id":"c2bd7d37.0a159","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":1716.5595092773438,"y":5679.834487915039,"z":"c9c6dcde.41d85","wires":[[]]},{"id":"b0fcdb9a.6e3ca8","type":"for","name":"for vf-module-parameters","xml":"<for silentFailure='true' 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":2034.8095092773438,"y":5487.584121704102,"z":"c9c6dcde.41d85","wires":[["32bcc524.b574aa"]]},{"id":"32bcc524.b574aa","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":2291.3095092773438,"y":5487.584121704102,"z":"c9c6dcde.41d85","wires":[]},{"id":"d4710869.4115b8","type":"set","name":"set set payload data","xml":"<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '{'`\" />","comments":"","x":2017.3095092773438,"y":5433.584121704102,"z":"c9c6dcde.41d85","wires":[]},{"id":"ccc3645.425bc98","type":"set","name":"set payload data","xml":"<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '},'`\" />","comments":"","x":2023.3095092773438,"y":5549.584121704102,"z":"c9c6dcde.41d85","wires":[]},{"id":"9620c741.a32c08","type":"set","name":"set close payload list","xml":"<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + ']}'`\" />","comments":"","x":1686.5595092773438,"y":5628.834487915039,"z":"c9c6dcde.41d85","wires":[]},{"id":"c56dc17f.72aa6","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":1719.5595092773438,"y":5733.834487915039,"z":"c9c6dcde.41d85","wires":[[]]},{"id":"487d53f1.eabebc","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":1745.5595092773438,"y":5790.834487915039,"z":"c9c6dcde.41d85","wires":[["651c5940.b09c28","4a7251cd.0b60a"]]},{"id":"651c5940.b09c28","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":2020.5595092773438,"y":5740.834487915039,"z":"c9c6dcde.41d85","wires":[["9afeb16.5065f5"]]},{"id":"cab8e3a1.df6c1","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":2385.5595092773438,"y":5840.834487915039,"z":"c9c6dcde.41d85","wires":[]},{"id":"4a7251cd.0b60a","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":2025.5595092773438,"y":5839.834487915039,"z":"c9c6dcde.41d85","wires":[["9afeb16.5065f5"]]},{"id":"9afeb16.5065f5","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":2183.5595092773438,"y":5784.834487915039,"z":"c9c6dcde.41d85","wires":[["cab8e3a1.df6c1","3ff118f8.35b6a8"]]},{"id":"3ff118f8.35b6a8","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":2399.5595092773438,"y":5731.834487915039,"z":"c9c6dcde.41d85","wires":[]},{"id":"ebde5997.992d08","type":"for","name":"for vf-module-parameters","xml":"<for silentFailure='true' 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":1997.5595092773438,"y":6323.834487915039,"z":"c9c6dcde.41d85","wires":[["2ec39bb7.3a8a04"]]},{"id":"2966d300.1e40ce","type":"switchNode","name":"switch capability-name","xml":"<switch test='`$s2[0] == $jsonContextPrefix.elements[$n].resource-name`'>\n","comments":"","outputs":1,"x":2168.5595092773438,"y":6481.834487915039,"z":"c9c6dcde.41d85","wires":[["14c0a76d.97df69"]]},{"id":"14c0a76d.97df69","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":2372.5595092773438,"y":6479.834487915039,"z":"c9c6dcde.41d85","wires":[["ea00f1e7.4c2d7"]]},{"id":"ea00f1e7.4c2d7","type":"set","name":"set service-data...param[].value","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","comments":"","x":2567.0595092773438,"y":6412.834487915039,"z":"c9c6dcde.41d85","wires":[]},{"id":"5a00a304.97afdc","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":1700.5595092773438,"y":5846.834487915039,"z":"c9c6dcde.41d85","wires":[[]]},{"id":"2116035a.e1e93c","type":"for","name":"for response elements","xml":"<for silentFailure='true' index='n' start='0' end='`$jsonContextPrefix.elements_length`' >\n","comments":"","outputs":1,"x":1729.5595092773438,"y":6324.834487915039,"z":"c9c6dcde.41d85","wires":[["ebde5997.992d08"]]},{"id":"2ec39bb7.3a8a04","type":"execute","name":"slistringUtils - check value for $","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n <parameter name=\"source\" value=\"`$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`\" />\n <parameter name=\"target\" value=\"$\"/>\n \n","comments":"","outputs":1,"x":2281.5595092773438,"y":6327.834487915039,"z":"c9c6dcde.41d85","wires":[["14acbdc.24d3742"]]},{"id":"14acbdc.24d3742","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":2509.5595092773438,"y":6324.834487915039,"z":"c9c6dcde.41d85","wires":[["68d0ae8e.fd01c"]]},{"id":"ef0cf3ae.da75f","type":"execute","name":"split resource-resolution-data","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name='ctx_memory_result_key' value='resource-resolution-split' />\n <parameter name='original_string' value='`$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`' />\n <parameter name='regex' value='\\$\\{' />\n","comments":"","outputs":1,"x":2176.5595092773438,"y":6377.834487915039,"z":"c9c6dcde.41d85","wires":[[]]},{"id":"9fc456ce.ed3458","type":"execute","name":"split resource-resolution-split-1","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name='ctx_memory_result_key' value='s2' />\n <parameter name='original_string' value='`$resource-resolution-split[1]`' />\n <parameter name='regex' value='\\}' />\n","comments":"","outputs":1,"x":2189.5595092773438,"y":6436.834487915039,"z":"c9c6dcde.41d85","wires":[[]]},{"id":"68d0ae8e.fd01c","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1936.5595092773438,"y":6403.834487915039,"z":"c9c6dcde.41d85","wires":[["2966d300.1e40ce","ef0cf3ae.da75f","9fc456ce.ed3458"]]},{"id":"1dc104d8.7bdbcb","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1810.3095092773438,"y":5436.584121704102,"z":"c9c6dcde.41d85","wires":[["b0fcdb9a.6e3ca8","d4710869.4115b8","ccc3645.425bc98"]]},{"id":"80d366a7.9805f8","type":"set","name":"set status as SUCCESS","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='SUCCESS' />","comments":"","x":1702.5595092773438,"y":5898.834487915039,"z":"c9c6dcde.41d85","wires":[]},{"id":"148b02a2.0f08dd","type":"for","name":"for vnf parameters data","xml":"<for silentFailure='true' 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":1723.5595703125,"y":6547.83447265625,"z":"c9c6dcde.41d85","wires":[["3830f933.3176e6"]]},{"id":"1ab1af10.1b8f11","type":"execute","name":"slistringUtils - check value for $","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n <parameter name=\"source\" value=\"`$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`\" />\n <parameter name=\"target\" value=\"$\"/>\n \n","comments":"","outputs":1,"x":2349.5595703125,"y":6547.83447265625,"z":"c9c6dcde.41d85","wires":[["ab5ac107.05f33"]]},{"id":"40c2a896.fde458","type":"for","name":"for vnf-parameters-data","xml":"<for silentFailure='true' 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":1253.1071166992188,"y":5382.821670532227,"z":"c9c6dcde.41d85","wires":[["4e9424aa.e70d2c"]]},{"id":"4e9424aa.e70d2c","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":1533.1071166992188,"y":5382.821670532227,"z":"c9c6dcde.41d85","wires":[["4349ca6c.3e72a4"]]},{"id":"4349ca6c.3e72a4","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1742.1072387695312,"y":5382.821670532227,"z":"c9c6dcde.41d85","wires":[["1dc104d8.7bdbcb"]]},{"id":"a96283a9.3508a","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":827.3571166992188,"y":1725.8214263916016,"z":"c9c6dcde.41d85","wires":[["d4abe1f5.3b638","7f45e439.b2edfc","e75605df.da3ce8"]]},{"id":"7f45e439.b2edfc","type":"set","name":"set payload data","xml":"<set>\n\t<parameter name='tmp.naming-data-payload' value='{&quot;elements&quot;:[' />","comments":"","x":1035.1071166992188,"y":1726.8214263916016,"z":"c9c6dcde.41d85","wires":[]},{"id":"e75605df.da3ce8","type":"switchNode","name":"switch tmp.naming-data-payload is null","xml":"<switch test=\"`$tmp.naming-data-payload == ''`\">\n","comments":"","outputs":1,"x":1083.1071166992188,"y":2005.8214263916016,"z":"c9c6dcde.41d85","wires":[["f45e050d.ab8fb8"]]},{"id":"f45e050d.ab8fb8","type":"not-found","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":1320.1071166992188,"y":2006.8214263916016,"z":"c9c6dcde.41d85","wires":[["ab718542.ae1198"]]},{"id":"ab718542.ae1198","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1358.1071166992188,"y":2064.8214263916016,"z":"c9c6dcde.41d85","wires":[["bf5f9c30.42446","c41efc01.f36c7","92f1e414.9e3a88","15f1977c.1c76a9","28e168fc.ed5c88","55fa602e.5dd92","a70fcc7d.91d0f"]]},{"id":"64813f2a.a3ada","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1004.1071166992188,"y":5315.821426391602,"z":"c9c6dcde.41d85","wires":[["3be3d704.4ffc28","40c2a896.fde458","cb870c13.46f18"]]},{"id":"3be3d704.4ffc28","type":"set","name":"set set payload data","xml":"<set>\n\t<parameter name='tmp.naming-data-payload' value='{&quot;elements&quot;:[' />","comments":"","x":1241.1071166992188,"y":5314.821426391602,"z":"c9c6dcde.41d85","wires":[]},{"id":"cb870c13.46f18","type":"switchNode","name":"switch tmp.naming-data-payload is null","xml":"<switch test=\"`$tmp.naming-data-payload == ''`\">\n","comments":"","outputs":1,"x":1283.3571472167969,"y":5505.321548461914,"z":"c9c6dcde.41d85","wires":[["6303a29b.1b880c"]]},{"id":"6303a29b.1b880c","type":"not-found","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":1517.107177734375,"y":5505.071304321289,"z":"c9c6dcde.41d85","wires":[["911111f4.9afdc"]]},{"id":"911111f4.9afdc","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1504.857177734375,"y":5582.321670532227,"z":"c9c6dcde.41d85","wires":[["9620c741.a32c08","c2bd7d37.0a159","c56dc17f.72aa6","487d53f1.eabebc","5a00a304.97afdc","80d366a7.9805f8","2116035a.e1e93c"]]},{"id":"ab5ac107.05f33","type":"failure","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":2572.25,"y":6547.25,"z":"c9c6dcde.41d85","wires":[["8601a4e9.1a1748"]]},{"id":"8601a4e9.1a1748","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":2719.25,"y":6547.25,"z":"c9c6dcde.41d85","wires":[["42d77cc.441ee84","cce02395.2e1b6"]]},{"id":"42d77cc.441ee84","type":"set","name":"set capability name","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].resource-resolution-data.capability-name`' value='INPUT' />\n","comments":"","x":2931.25,"y":6499.25,"z":"c9c6dcde.41d85","wires":[]},{"id":"cce02395.2e1b6","type":"set","name":"set status SUCCESS","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].resource-resolution-data.status`' value='SUCCESS' />\n\t","comments":"","x":2939.25,"y":6589.25,"z":"c9c6dcde.41d85","wires":[]},{"id":"f4bb10d5.f14e","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":2580.25,"y":2746.25,"z":"c9c6dcde.41d85","wires":[["d23e6946.bb00e8","60d176ef.881818"]]},{"id":"d23e6946.bb00e8","type":"set","name":"set capability name","xml":"<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].resource-resolution-data.capability-name`' value='INPUT' />","comments":"","x":2800.25,"y":2684.25,"z":"c9c6dcde.41d85","wires":[]},{"id":"60d176ef.881818","type":"set","name":"set status SUCCESS","xml":"<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].resource-resolution-data.status`' value='SUCCESS' />\n","comments":"","x":2810.25,"y":2792.25,"z":"c9c6dcde.41d85","wires":[]},{"id":"3830f933.3176e6","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[$l].resource-resolution-data.capability-name == $ss.capability-name`'>\n","comments":"","outputs":1,"x":1963.25,"y":6548.250015258789,"z":"c9c6dcde.41d85","wires":[["c4a93555.3c9858"]]},{"id":"c4a93555.3c9858","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":2143.96435546875,"y":6548.25,"z":"c9c6dcde.41d85","wires":[["1ab1af10.1b8f11"]]},{"id":"356a68ae.e49428","type":"switchNode","name":"switch capability-name","xml":"<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].resource-resolution-data.capability-name == $ss.capability-name`'>\n","comments":"","outputs":1,"x":1808.25,"y":2745.25,"z":"c9c6dcde.41d85","wires":[["6f715bfc.f59ec4"]]},{"id":"6f715bfc.f59ec4","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1988.96435546875,"y":2745.25,"z":"c9c6dcde.41d85","wires":[["e19fe063.0ef8b"]]},{"id":"9a267ac3.695f18","type":"comment","name":"Remove for ONAP","info":"","comments":"","x":1676.25,"y":6513.75,"z":"c9c6dcde.41d85","wires":[]},{"id":"9442d72b.f9e5a8","type":"comment","name":"Remove for ONAP","info":"","comments":"","x":1478.75,"y":2707.5,"z":"c9c6dcde.41d85","wires":[]}] \ No newline at end of file
+[
+ {
+ "id": "44384001.814478",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 112,
+ "y": 43,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "7f8a6cfc.d713c4"
+ ]
+ ]
+ },
+ {
+ "id": "7f8a6cfc.d713c4",
+ "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": 359.1428527832031,
+ "y": 43.99999237060547,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "3e607973.034d6e"
+ ]
+ ]
+ },
+ {
+ "id": "3e607973.034d6e",
+ "type": "method",
+ "name": "self-serve-generate-name",
+ "xml": "<method rpc='self-serve-generate-name' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 664.1428527832031,
+ "y": 43.99999237060547,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "3f9a35f8.8da52a"
+ ]
+ ]
+ },
+ {
+ "id": "3f9a35f8.8da52a",
+ "type": "block",
+ "name": "block atomic",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 163.14285278320312,
+ "y": 129.99999237060547,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "7a632215.c0ac2c",
+ "7f9a3712.0790f",
+ "f841aff3.13a07",
+ "571f0673.b8518",
+ "2a352877.19cd9"
+ ]
+ ]
+ },
+ {
+ "id": "bc633e83.bdfe98",
+ "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": 1728.8572082519531,
+ "y": 856.1427688598633,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7a632215.c0ac2c",
+ "type": "set",
+ "name": "set capability-name",
+ "xml": "<set>\n<parameter name='tmp.naming-data-payload' value='{&quot;elements&quot;:[' />\n",
+ "comments": "",
+ "x": 362.1428527832031,
+ "y": 130.99999237060547,
+ "z": "b88526e.24a7ad8",
+ "wires": []
+ },
+ {
+ "id": "7f9a3712.0790f",
+ "type": "call",
+ "name": "call capability-param-resolution",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-capability-param-resolution' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 391.1428527832031,
+ "y": 222,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "f5bead73.e939c8",
+ "e210e97d.997518"
+ ]
+ ]
+ },
+ {
+ "id": "f5e94169.5fc978",
+ "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": 1162.6430053710938,
+ "y": 487.4285125732422,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "fa4257ae.9fd718"
+ ]
+ ]
+ },
+ {
+ "id": "fa4257ae.9fd718",
+ "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": 1405.5000610351562,
+ "y": 487.4285125732422,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "4a6ecd53.d56884"
+ ]
+ ]
+ },
+ {
+ "id": "4a6ecd53.d56884",
+ "type": "not-found",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1586.2144165039062,
+ "y": 487.4284973144531,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "a7c641d6.1516b"
+ ]
+ ]
+ },
+ {
+ "id": "9750b026.40e79",
+ "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": 1698.3572082519531,
+ "y": 657.1427688598633,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "6e26ff1a.e07b88"
+ ]
+ ]
+ },
+ {
+ "id": "f5bead73.e939c8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 614.1428527832031,
+ "y": 190,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "322435c8.51411a"
+ ]
+ ]
+ },
+ {
+ "id": "e210e97d.997518",
+ "type": "failure",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 623.1428527832031,
+ "y": 256,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "322435c8.51411a"
+ ]
+ ]
+ },
+ {
+ "id": "322435c8.51411a",
+ "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 capability-param-resolution\" />\n",
+ "comments": "",
+ "x": 816.1428527832031,
+ "y": 190,
+ "z": "b88526e.24a7ad8",
+ "wires": []
+ },
+ {
+ "id": "11ec24e5.5f86b3",
+ "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;,'`\"/>\n<parameter name=\"`tmp.gen-name[0].element[$j].name`\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].name`\"/>\n<parameter name=\"`tmp.gen-name[0].element[$j].value`\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].value`\"/>\n<parameter name=\"`tmp.gen-name[0].element_length`\" value='`$j + 1`' />",
+ "comments": "",
+ "x": 2300.857208251953,
+ "y": 655.1427688598633,
+ "z": "b88526e.24a7ad8",
+ "wires": []
+ },
+ {
+ "id": "bc87beaf.bad8a",
+ "type": "set",
+ "name": "set set payload data",
+ "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '{'`\" />\n<parameter name='tmp.gen-name_length' value='1' />",
+ "comments": "",
+ "x": 1695.8573608398438,
+ "y": 582.9998626708984,
+ "z": "b88526e.24a7ad8",
+ "wires": []
+ },
+ {
+ "id": "3b24af37.62d288",
+ "type": "set",
+ "name": "set payload data",
+ "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '},'`\" />",
+ "comments": "",
+ "x": 1695.8572082519531,
+ "y": 719.1427688598633,
+ "z": "b88526e.24a7ad8",
+ "wires": []
+ },
+ {
+ "id": "a94779d8.6d99c",
+ "type": "set",
+ "name": "set close payload list",
+ "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + ']}'`\" />",
+ "comments": "",
+ "x": 1701.8572082519531,
+ "y": 784.1427688598633,
+ "z": "b88526e.24a7ad8",
+ "wires": []
+ },
+ {
+ "id": "349803e.db927fc",
+ "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": 1731.8572082519531,
+ "y": 910.1427688598633,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8af1d548.36ba08",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2097.857177734375,
+ "y": 932.1427612304688,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "c7e4d145.feb3b8"
+ ]
+ ]
+ },
+ {
+ "id": "91f543dc.e9a0c8",
+ "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": 2462.857177734375,
+ "y": 1032.1427612304688,
+ "z": "b88526e.24a7ad8",
+ "wires": []
+ },
+ {
+ "id": "6b5d2c36.36d07c",
+ "type": "failure",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2102.857177734375,
+ "y": 1031.1427612304688,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "c7e4d145.feb3b8"
+ ]
+ ]
+ },
+ {
+ "id": "c7e4d145.feb3b8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2260.857177734375,
+ "y": 976.1427612304688,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "6effc421.de541c",
+ "91f543dc.e9a0c8"
+ ]
+ ]
+ },
+ {
+ "id": "6effc421.de541c",
+ "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": 2476.857177734375,
+ "y": 923.1427612304688,
+ "z": "b88526e.24a7ad8",
+ "wires": []
+ },
+ {
+ "id": "4312cb34.d1fec4",
+ "type": "switchNode",
+ "name": "switch capability action assign",
+ "xml": "<switch test=\"`$ss.capability-action == 'assign'`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 786.3809204101562,
+ "y": 1614.7618560791016,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "c588e672.9457"
+ ]
+ ]
+ },
+ {
+ "id": "c588e672.9457",
+ "type": "not-found",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1041.0951538085938,
+ "y": 1614.7618560791016,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "96d8122d.bb415"
+ ]
+ ]
+ },
+ {
+ "id": "f5ff6d86.dbc2a8",
+ "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": 1943.8572082519531,
+ "y": 1212.1427688598633,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "9f1d9384.e4cf38"
+ ]
+ ]
+ },
+ {
+ "id": "e8412a7e.3847d8",
+ "type": "switchNode",
+ "name": "switch capability-name",
+ "xml": "<switch test='`$s2[0] == $jsonContextPrefix.elements[$n].resource-name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2146.857208251953,
+ "y": 1430.1427688598633,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "32086d42.08bf12"
+ ]
+ ]
+ },
+ {
+ "id": "32086d42.08bf12",
+ "type": "not-found",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2356.857208251953,
+ "y": 1430.1427688598633,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "8dd8a7af.a18a58"
+ ]
+ ]
+ },
+ {
+ "id": "8dd8a7af.a18a58",
+ "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[$l].value`' value=\"`$jsonContextPrefix.elements[$n].resource-value`\" />\n",
+ "comments": "",
+ "x": 2553.357208251953,
+ "y": 1431.1427688598633,
+ "z": "b88526e.24a7ad8",
+ "wires": []
+ },
+ {
+ "id": "7ce3d216.f2e854",
+ "type": "execute",
+ "name": "execute jsonStringToCtx",
+ "xml": "<execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"jsonStringToCtx\">\n\t<parameter name=\"source\" value=\"nameGenResponse.httpResponse\" />\n\t<parameter name=\"outputPath\" value=\"jsonContextPrefix\" />\n\t<parameter name=\"isEscaped\" value=\"false\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1712.8572082519531,
+ "y": 1115.1427688598633,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "174f706f.eb1c4",
+ "type": "for",
+ "name": "for response elements",
+ "xml": "<for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1705.8572082519531,
+ "y": 1211.1427688598633,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "f5ff6d86.dbc2a8"
+ ]
+ ]
+ },
+ {
+ "id": "9f1d9384.e4cf38",
+ "type": "execute",
+ "name": "slistringUtils - check value for $",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n <parameter name=\"source\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].value`\" />\n <parameter name=\"target\" value=\"$\"/>\n \n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2247.857208251953,
+ "y": 1212.1427688598633,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "ce97b583.de0eb"
+ ]
+ ]
+ },
+ {
+ "id": "ce97b583.de0eb",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2487.857208251953,
+ "y": 1211.1427688598633,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "2768322c.982d36"
+ ]
+ ]
+ },
+ {
+ "id": "edf18693.d94aa8",
+ "type": "execute",
+ "name": "split resource-resolution-data",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name='ctx_memory_result_key' value='resource-resolution-split' />\n <parameter name='original_string' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].value`' />\n <parameter name='regex' value='\\$\\{' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2154.857208251953,
+ "y": 1282.1427688598633,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ddf9d245.932de",
+ "type": "execute",
+ "name": "split resource-resolution-split-1",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name='ctx_memory_result_key' value='s2' />\n <parameter name='original_string' value='`$resource-resolution-split[1]`' />\n <parameter name='regex' value='\\}' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2169.857208251953,
+ "y": 1365.1427688598633,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2768322c.982d36",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1938.8572082519531,
+ "y": 1282.1427688598633,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "edf18693.d94aa8",
+ "ddf9d245.932de",
+ "e8412a7e.3847d8"
+ ]
+ ]
+ },
+ {
+ "id": "a7c641d6.1516b",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1488.8572082519531,
+ "y": 583.1427688598633,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "bc87beaf.bad8a",
+ "9750b026.40e79",
+ "3b24af37.62d288",
+ "a94779d8.6d99c",
+ "bc633e83.bdfe98",
+ "7ce3d216.f2e854",
+ "dcc81210.7b3bb",
+ "174f706f.eb1c4",
+ "349803e.db927fc",
+ "f9afd12e.2d3128"
+ ]
+ ]
+ },
+ {
+ "id": "dcc81210.7b3bb",
+ "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": 1710.8572082519531,
+ "y": 1165.1427688598633,
+ "z": "b88526e.24a7ad8",
+ "wires": []
+ },
+ {
+ "id": "fff738e5.4d0ce",
+ "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": 1627.5236206054688,
+ "y": 2099.6663970947266,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "16446b33.aaf505",
+ "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": 1735.0236206054688,
+ "y": 1915.6663970947266,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "95c09049.cf0398"
+ ]
+ ]
+ },
+ {
+ "id": "95c09049.cf0398",
+ "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;,'`\"/>\n<parameter name=\"`tmp.gen-name[$tmp.gen-name_length].element[$j].name`\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].name`\"/>\n<parameter name=\"`tmp.gen-name[$tmp.gen-name_length].element[$j].value`\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].value`\"/>\n<parameter name=\"`tmp.gen-name[$tmp.gen-name_length].element_length`\" value='`$j + 1`' />",
+ "comments": "",
+ "x": 1987.5236206054688,
+ "y": 1915.6663970947266,
+ "z": "b88526e.24a7ad8",
+ "wires": []
+ },
+ {
+ "id": "278f5611.2443c2",
+ "type": "set",
+ "name": "set payload data",
+ "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '{'`\" />\n",
+ "comments": "",
+ "x": 1715.9520874023438,
+ "y": 1854.3808135986328,
+ "z": "b88526e.24a7ad8",
+ "wires": []
+ },
+ {
+ "id": "b557bbbd.9b02a",
+ "type": "set",
+ "name": "set payload data",
+ "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '},'`\" />\n<parameter name='tmp.gen-name_length' value='`$tmp.gen-name_length + 1`' />",
+ "comments": "",
+ "x": 1717.5236206054688,
+ "y": 1971.6663970947266,
+ "z": "b88526e.24a7ad8",
+ "wires": []
+ },
+ {
+ "id": "88f11c7a.f31688",
+ "type": "set",
+ "name": "set close payload list",
+ "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + ']}'`\" />",
+ "comments": "",
+ "x": 1602.5236206054688,
+ "y": 2056.6663360595703,
+ "z": "b88526e.24a7ad8",
+ "wires": []
+ },
+ {
+ "id": "f398ae72.bb9338",
+ "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": 1628.5236206054688,
+ "y": 2150.6663970947266,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7136f5d4.61b024",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1969.523681640625,
+ "y": 2184.66650390625,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "cce60393.cfd56"
+ ]
+ ]
+ },
+ {
+ "id": "37abde73.8b06c2",
+ "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": 2334.523681640625,
+ "y": 2284.66650390625,
+ "z": "b88526e.24a7ad8",
+ "wires": []
+ },
+ {
+ "id": "ef775b29.4a7b",
+ "type": "failure",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1974.523681640625,
+ "y": 2283.66650390625,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "cce60393.cfd56"
+ ]
+ ]
+ },
+ {
+ "id": "cce60393.cfd56",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2132.523681640625,
+ "y": 2228.66650390625,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "546fd473.2cd5dc",
+ "37abde73.8b06c2"
+ ]
+ ]
+ },
+ {
+ "id": "546fd473.2cd5dc",
+ "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": 2348.523681640625,
+ "y": 2175.66650390625,
+ "z": "b88526e.24a7ad8",
+ "wires": []
+ },
+ {
+ "id": "e2624cc8.4eb57",
+ "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": 1848.5236206054688,
+ "y": 2407.6663970947266,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "be8a0258.a3d64"
+ ]
+ ]
+ },
+ {
+ "id": "5380bfed.f4864",
+ "type": "switchNode",
+ "name": "switch capability-name",
+ "xml": "<switch test='`$s2[0] == $jsonContextPrefix.elements[$n].resource-name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2051.5236206054688,
+ "y": 2625.6663970947266,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "94a6c10b.d1c6a"
+ ]
+ ]
+ },
+ {
+ "id": "94a6c10b.d1c6a",
+ "type": "not-found",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2261.5236206054688,
+ "y": 2625.6663970947266,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "7afdb21d.b59cb4"
+ ]
+ ]
+ },
+ {
+ "id": "7afdb21d.b59cb4",
+ "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[$l].value`' value=\"`$jsonContextPrefix.elements[$n].resource-value`\" />\n",
+ "comments": "",
+ "x": 2458.0236206054688,
+ "y": 2626.6663970947266,
+ "z": "b88526e.24a7ad8",
+ "wires": []
+ },
+ {
+ "id": "6d5e56ed.17d75",
+ "type": "execute",
+ "name": "execute jsonStringToCtx",
+ "xml": "<execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"jsonStringToCtx\">\n\t<parameter name=\"source\" value=\"nameGenResponse.httpResponse\" />\n\t<parameter name=\"outputPath\" value=\"jsonContextPrefix\" />\n\t<parameter name=\"isEscaped\" value=\"false\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1609.5236206054688,
+ "y": 2309.6663970947266,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a133146c.f8d1c",
+ "type": "for",
+ "name": "for response elements",
+ "xml": "<for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1601.5236206054688,
+ "y": 2406.6663970947266,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "e2624cc8.4eb57"
+ ]
+ ]
+ },
+ {
+ "id": "be8a0258.a3d64",
+ "type": "execute",
+ "name": "slistringUtils - check value for $",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n <parameter name=\"source\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].value`\" />\n <parameter name=\"target\" value=\"$\"/>\n \n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2152.5236206054688,
+ "y": 2407.6663970947266,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "663752cc.bb14ac"
+ ]
+ ]
+ },
+ {
+ "id": "663752cc.bb14ac",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2392.5236206054688,
+ "y": 2406.6663970947266,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "5dfb8377.41af4c"
+ ]
+ ]
+ },
+ {
+ "id": "f365dac0.f6fd5",
+ "type": "execute",
+ "name": "split resource-resolution-data",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name='ctx_memory_result_key' value='resource-resolution-split' />\n <parameter name='original_string' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].value`' />\n <parameter name='regex' value='\\$\\{' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2059.5236206054688,
+ "y": 2477.6663970947266,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f61ff7c0.095698",
+ "type": "execute",
+ "name": "split resource-resolution-split-1",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name='ctx_memory_result_key' value='s2' />\n <parameter name='original_string' value='`$resource-resolution-split[1]`' />\n <parameter name='regex' value='\\}' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2074.5236206054688,
+ "y": 2560.6663970947266,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5dfb8377.41af4c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1843.5236206054688,
+ "y": 2477.6663970947266,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "f365dac0.f6fd5",
+ "f61ff7c0.095698",
+ "5380bfed.f4864"
+ ]
+ ]
+ },
+ {
+ "id": "4849f457.b71524",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1512.6666870117188,
+ "y": 1833.9520416259766,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "278f5611.2443c2",
+ "16446b33.aaf505",
+ "b557bbbd.9b02a"
+ ]
+ ]
+ },
+ {
+ "id": "a0bc5db0.876ac8",
+ "type": "set",
+ "name": "set status as SUCCESS",
+ "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='SUCCESS' />",
+ "comments": "",
+ "x": 1608.5236206054688,
+ "y": 2360.6663970947266,
+ "z": "b88526e.24a7ad8",
+ "wires": []
+ },
+ {
+ "id": "6e26ff1a.e07b88",
+ "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": 1936.8572082519531,
+ "y": 656.1427688598633,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "983c7546.c67c28"
+ ]
+ ]
+ },
+ {
+ "id": "983c7546.c67c28",
+ "type": "not-found",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2120.857208251953,
+ "y": 656.1427688598633,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "11ec24e5.5f86b3"
+ ]
+ ]
+ },
+ {
+ "id": "d8da45ad.01a8a",
+ "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": 1848.4762573242188,
+ "y": 4070.3329010009766,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a3bde9b.3b85798",
+ "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": 1136.9761352539062,
+ "y": 3682.3333892822266,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "4c84b197.b55718"
+ ]
+ ]
+ },
+ {
+ "id": "4c84b197.b55718",
+ "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": 1416.9761352539062,
+ "y": 3682.3333892822266,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "8fbf4fc0.ccf628"
+ ]
+ ]
+ },
+ {
+ "id": "8fbf4fc0.ccf628",
+ "type": "not-found",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1625.9762573242188,
+ "y": 3682.3333892822266,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "37468c59.dd2414"
+ ]
+ ]
+ },
+ {
+ "id": "97197bdb.a2cad8",
+ "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": 1817.9762573242188,
+ "y": 3871.3329010009766,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "3908bfeb.e84f"
+ ]
+ ]
+ },
+ {
+ "id": "28d4f278.d4fa26",
+ "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;,'`\"/>\n<parameter name=\"`tmp.gen-name[0].element[$j].name`\" value=\"`$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`\"/>\n<parameter name=\"`tmp.gen-name[0].element[$j].value`\" value=\"`$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`\"/>\n<parameter name=\"`tmp.gen-name[0].element_length`\" value='`$j + 1`' />",
+ "comments": "",
+ "x": 2420.4762573242188,
+ "y": 3869.3329010009766,
+ "z": "b88526e.24a7ad8",
+ "wires": []
+ },
+ {
+ "id": "73a75422.d8850c",
+ "type": "set",
+ "name": "set set payload data",
+ "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '{'`\" />\n<parameter name='tmp.gen-name_length' value='1' />",
+ "comments": "",
+ "x": 1815.4762573242188,
+ "y": 3794.3329010009766,
+ "z": "b88526e.24a7ad8",
+ "wires": []
+ },
+ {
+ "id": "46fb189c.966838",
+ "type": "set",
+ "name": "set payload data",
+ "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '},'`\" />",
+ "comments": "",
+ "x": 1815.4762573242188,
+ "y": 3933.3329010009766,
+ "z": "b88526e.24a7ad8",
+ "wires": []
+ },
+ {
+ "id": "be439e05.fe7ff8",
+ "type": "set",
+ "name": "set close payload list",
+ "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + ']}'`\" />",
+ "comments": "",
+ "x": 1821.4762573242188,
+ "y": 3998.3329010009766,
+ "z": "b88526e.24a7ad8",
+ "wires": []
+ },
+ {
+ "id": "a84918b5.b82848",
+ "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": 1851.4762573242188,
+ "y": 4124.332901000977,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e6db3fc2.418c7",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2181.476318359375,
+ "y": 4146.3330078125,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "c89f9697.3bcd9"
+ ]
+ ]
+ },
+ {
+ "id": "54902e1f.a23738",
+ "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": 2546.476318359375,
+ "y": 4246.3330078125,
+ "z": "b88526e.24a7ad8",
+ "wires": []
+ },
+ {
+ "id": "add1de2.24bbda",
+ "type": "failure",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2186.476318359375,
+ "y": 4245.3330078125,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "c89f9697.3bcd9"
+ ]
+ ]
+ },
+ {
+ "id": "c89f9697.3bcd9",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2344.476318359375,
+ "y": 4190.3330078125,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "ed1d207b.66697",
+ "54902e1f.a23738"
+ ]
+ ]
+ },
+ {
+ "id": "ed1d207b.66697",
+ "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": 2560.476318359375,
+ "y": 4137.3330078125,
+ "z": "b88526e.24a7ad8",
+ "wires": []
+ },
+ {
+ "id": "712165ae.c8b134",
+ "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": 2063.4762573242188,
+ "y": 4426.332901000977,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "a8831bf.0add2e8"
+ ]
+ ]
+ },
+ {
+ "id": "c4d874bf.c84648",
+ "type": "switchNode",
+ "name": "switch capability-name",
+ "xml": "<switch test='`$s2[0] == $jsonContextPrefix.elements[$n].resource-name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2266.4762573242188,
+ "y": 4644.332901000977,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "6c8538a0.f116f8"
+ ]
+ ]
+ },
+ {
+ "id": "6c8538a0.f116f8",
+ "type": "not-found",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2476.4762573242188,
+ "y": 4644.332901000977,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "4ab33b35.a84a54"
+ ]
+ ]
+ },
+ {
+ "id": "4ab33b35.a84a54",
+ "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[$l].value`' value=\"`$jsonContextPrefix.elements[$n].resource-value`\" />\n",
+ "comments": "",
+ "x": 2672.9762573242188,
+ "y": 4645.332901000977,
+ "z": "b88526e.24a7ad8",
+ "wires": []
+ },
+ {
+ "id": "2bae3b0b.919654",
+ "type": "execute",
+ "name": "execute jsonStringToCtx",
+ "xml": "<execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"jsonStringToCtx\">\n\t<parameter name=\"source\" value=\"nameGenResponse.httpResponse\" />\n\t<parameter name=\"outputPath\" value=\"jsonContextPrefix\" />\n\t<parameter name=\"isEscaped\" value=\"false\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1832.4762573242188,
+ "y": 4329.332901000977,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bd0c0aec.c12ba",
+ "type": "for",
+ "name": "for response elements",
+ "xml": "<for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1825.4762573242188,
+ "y": 4425.332901000977,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "712165ae.c8b134"
+ ]
+ ]
+ },
+ {
+ "id": "a8831bf.0add2e8",
+ "type": "execute",
+ "name": "slistringUtils - check value for $",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n <parameter name=\"source\" value=\"`$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`\" />\n <parameter name=\"target\" value=\"$\"/>\n \n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2367.4762573242188,
+ "y": 4426.332901000977,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "b4bafecc.dbd1d8"
+ ]
+ ]
+ },
+ {
+ "id": "b4bafecc.dbd1d8",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2607.4762573242188,
+ "y": 4425.332901000977,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "37f99340.6371ac"
+ ]
+ ]
+ },
+ {
+ "id": "c6f61ac6.058e2",
+ "type": "execute",
+ "name": "split resource-resolution-data",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name='ctx_memory_result_key' value='resource-resolution-split' />\n <parameter name='original_string' value='`$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`' />\n <parameter name='regex' value='\\$\\{' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2274.4762573242188,
+ "y": 4496.332901000977,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7b6510ed.263a5",
+ "type": "execute",
+ "name": "split resource-resolution-split-1",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name='ctx_memory_result_key' value='s2' />\n <parameter name='original_string' value='`$resource-resolution-split[1]`' />\n <parameter name='regex' value='\\}' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2289.4762573242188,
+ "y": 4579.332901000977,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "37f99340.6371ac",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2058.4762573242188,
+ "y": 4496.332901000977,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "c6f61ac6.058e2",
+ "7b6510ed.263a5",
+ "c4d874bf.c84648"
+ ]
+ ]
+ },
+ {
+ "id": "37468c59.dd2414",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1608.4762573242188,
+ "y": 3797.3329010009766,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "73a75422.d8850c",
+ "97197bdb.a2cad8",
+ "46fb189c.966838",
+ "be439e05.fe7ff8",
+ "d8da45ad.01a8a",
+ "2bae3b0b.919654",
+ "6650d50f.f2a194",
+ "bd0c0aec.c12ba",
+ "a84918b5.b82848",
+ "99585b38.25a06"
+ ]
+ ]
+ },
+ {
+ "id": "6650d50f.f2a194",
+ "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": 1830.4762573242188,
+ "y": 4379.332901000977,
+ "z": "b88526e.24a7ad8",
+ "wires": []
+ },
+ {
+ "id": "3908bfeb.e84f",
+ "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": 2056.4762573242188,
+ "y": 3870.3329010009766,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "5a34ee8b.f9c61"
+ ]
+ ]
+ },
+ {
+ "id": "5a34ee8b.f9c61",
+ "type": "not-found",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2240.4762573242188,
+ "y": 3870.3329010009766,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "28d4f278.d4fa26"
+ ]
+ ]
+ },
+ {
+ "id": "f841aff3.13a07",
+ "type": "switchNode",
+ "name": "switch capability-type. vnf",
+ "xml": "<switch test=\"`$ss.capability-type == 'vnf'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 372.1428527832031,
+ "y": 300.99999237060547,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "58dd98ce.eb99f"
+ ]
+ ]
+ },
+ {
+ "id": "58dd98ce.eb99f",
+ "type": "not-found",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 575.5714111328125,
+ "y": 300.2857208251953,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "7b0e8ad8.f3802c"
+ ]
+ ]
+ },
+ {
+ "id": "571f0673.b8518",
+ "type": "switchNode",
+ "name": "switch capability-type vf-module",
+ "xml": "<switch test=\"`$ss.capability-type == 'vf-module'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 501.4761962890625,
+ "y": 3464.3333282470703,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "48a38bbd.e8a77c"
+ ]
+ ]
+ },
+ {
+ "id": "48a38bbd.e8a77c",
+ "type": "not-found",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 720.4761962890625,
+ "y": 3465.3333892822266,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "750bfd10.899924"
+ ]
+ ]
+ },
+ {
+ "id": "a6e4bc7d.20b678",
+ "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": 1613.5236206054688,
+ "y": 2586.6663970947266,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "ffc03440.e917d"
+ ]
+ ]
+ },
+ {
+ "id": "ffc03440.e917d",
+ "type": "execute",
+ "name": "slistringUtils - check value for $",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n <parameter name=\"source\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].value`\" />\n <parameter name=\"target\" value=\"$\"/>\n \n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1739.1902465820312,
+ "y": 2717.6663970947266,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "1af41882.7a6b4f"
+ ]
+ ]
+ },
+ {
+ "id": "1af41882.7a6b4f",
+ "type": "failure",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2001.1902465820312,
+ "y": 2773.6663970947266,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "fcd660c4.530c58"
+ ]
+ ]
+ },
+ {
+ "id": "fcd660c4.530c58",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2217.1902465820312,
+ "y": 2773.6663970947266,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "236c01c7.bf3206",
+ "bd4596a.19984e8"
+ ]
+ ]
+ },
+ {
+ "id": "236c01c7.bf3206",
+ "type": "set",
+ "name": "set capability name",
+ "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].resource-resolution-data.capability-name`' value='INPUT' />",
+ "comments": "",
+ "x": 2437.1902465820312,
+ "y": 2711.6663970947266,
+ "z": "b88526e.24a7ad8",
+ "wires": []
+ },
+ {
+ "id": "bd4596a.19984e8",
+ "type": "set",
+ "name": "set status SUCCESS",
+ "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].resource-resolution-data.status`' value='SUCCESS' />\n",
+ "comments": "",
+ "x": 2447.1902465820312,
+ "y": 2819.6663970947266,
+ "z": "b88526e.24a7ad8",
+ "wires": []
+ },
+ {
+ "id": "4bd2a625.600b48",
+ "type": "switchNode",
+ "name": "switch capability action unassign",
+ "xml": "<switch test=\"`$ss.capability-action == 'unassign'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 829.7142333984375,
+ "y": 391.1428680419922,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "f5867b52.e6b6c"
+ ]
+ ]
+ },
+ {
+ "id": "f5867b52.e6b6c",
+ "type": "not-found",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1115.4285278320312,
+ "y": 389.7142791748047,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "f5e94169.5fc978"
+ ]
+ ]
+ },
+ {
+ "id": "7b0e8ad8.f3802c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 579.7142944335938,
+ "y": 365.42860412597656,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "4bd2a625.600b48",
+ "4312cb34.d1fec4"
+ ]
+ ]
+ },
+ {
+ "id": "acaab3ca.702c88",
+ "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": 1054.0715942382812,
+ "y": 1777.166763305664,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "ae04112f.bd2d08"
+ ]
+ ]
+ },
+ {
+ "id": "ae04112f.bd2d08",
+ "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": 1295.6786499023438,
+ "y": 1777.166763305664,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "1e81a1ec.bd42f6"
+ ]
+ ]
+ },
+ {
+ "id": "1e81a1ec.bd42f6",
+ "type": "not-found",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1476.3930053710938,
+ "y": 1777.166763305664,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "4849f457.b71524"
+ ]
+ ]
+ },
+ {
+ "id": "d951a688.ea8908",
+ "type": "not-found",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1208.8572387695312,
+ "y": 3593.5714263916016,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "a3bde9b.3b85798"
+ ]
+ ]
+ },
+ {
+ "id": "90ab2ac1.82262",
+ "type": "switchNode",
+ "name": "switch capability action unassign",
+ "xml": "<switch test=\"`$ss.capability-action == 'unassign'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 967.8569946289062,
+ "y": 3593.5714263916016,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "d951a688.ea8908"
+ ]
+ ]
+ },
+ {
+ "id": "750bfd10.899924",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 724.8571166992188,
+ "y": 3530.5714263916016,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "90ab2ac1.82262",
+ "876d4c7d.f86a88"
+ ]
+ ]
+ },
+ {
+ "id": "876d4c7d.f86a88",
+ "type": "switchNode",
+ "name": "switch capability action assign",
+ "xml": "<switch test=\"`$ss.capability-action == 'assign'`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 944.8096313476562,
+ "y": 5201.334121704102,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "97b1b31a.f402b"
+ ]
+ ]
+ },
+ {
+ "id": "97b1b31a.f402b",
+ "type": "not-found",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1173.8096313476562,
+ "y": 5201.334121704102,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "bf89c636.30aac8"
+ ]
+ ]
+ },
+ {
+ "id": "c54c6f8e.b8ff58",
+ "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": 1722.3095092773438,
+ "y": 5671.584487915039,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b361600c.eb049",
+ "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": 2040.5595092773438,
+ "y": 5479.334121704102,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "b5cdeaa7.6f11d"
+ ]
+ ]
+ },
+ {
+ "id": "b5cdeaa7.6f11d",
+ "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;,'`\"/>\n<parameter name=\"`tmp.gen-name[$tmp.gen-name_length].element[$j].name`\" value=\"`$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`\"/>\n<parameter name=\"`tmp.gen-name[$tmp.gen-name_length].element[$j].value`\" value=\"`$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`\"/>\n<parameter name=\"`tmp.gen-name[$tmp.gen-name_length].element_length`\" value='`$j + 1`' />",
+ "comments": "",
+ "x": 2297.0595092773438,
+ "y": 5479.334121704102,
+ "z": "b88526e.24a7ad8",
+ "wires": []
+ },
+ {
+ "id": "8bb2899.7eabb78",
+ "type": "set",
+ "name": "set set payload data",
+ "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '{'`\" />",
+ "comments": "",
+ "x": 2023.0595092773438,
+ "y": 5425.334121704102,
+ "z": "b88526e.24a7ad8",
+ "wires": []
+ },
+ {
+ "id": "feb610d7.764ab",
+ "type": "set",
+ "name": "set payload data",
+ "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '},'`\" />\n<parameter name='tmp.gen-name_length' value='`$tmp.gen-name_length + 1`' />",
+ "comments": "",
+ "x": 2029.0595092773438,
+ "y": 5541.334121704102,
+ "z": "b88526e.24a7ad8",
+ "wires": []
+ },
+ {
+ "id": "aba737c8.b673a",
+ "type": "set",
+ "name": "set close payload list",
+ "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + ']}'`\" />",
+ "comments": "",
+ "x": 1692.3095092773438,
+ "y": 5620.584487915039,
+ "z": "b88526e.24a7ad8",
+ "wires": []
+ },
+ {
+ "id": "e94ef6dd.a37908",
+ "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": 1725.3095092773438,
+ "y": 5725.584487915039,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1ec3d3c3.85586c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2028.3095703125,
+ "y": 5739.58447265625,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "21b0f329.fc401c"
+ ]
+ ]
+ },
+ {
+ "id": "7a611dc7.f16d14",
+ "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": 2393.3095703125,
+ "y": 5839.58447265625,
+ "z": "b88526e.24a7ad8",
+ "wires": []
+ },
+ {
+ "id": "80386656.f0d7d",
+ "type": "failure",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2033.3095703125,
+ "y": 5838.58447265625,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "21b0f329.fc401c"
+ ]
+ ]
+ },
+ {
+ "id": "21b0f329.fc401c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2191.3095703125,
+ "y": 5783.58447265625,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "7a611dc7.f16d14",
+ "399dfaf7.a00f2e"
+ ]
+ ]
+ },
+ {
+ "id": "399dfaf7.a00f2e",
+ "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": 2407.3095703125,
+ "y": 5730.58447265625,
+ "z": "b88526e.24a7ad8",
+ "wires": []
+ },
+ {
+ "id": "8744b72d.e0422",
+ "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": 2003.3095092773438,
+ "y": 6315.584487915039,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "26376a44.3bf3e6"
+ ]
+ ]
+ },
+ {
+ "id": "c8297614.5665c8",
+ "type": "switchNode",
+ "name": "switch capability-name",
+ "xml": "<switch test='`$s2[0] == $jsonContextPrefix.elements[$n].resource-name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2174.3095092773438,
+ "y": 6473.584487915039,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "5c1866b1.7ab59"
+ ]
+ ]
+ },
+ {
+ "id": "5c1866b1.7ab59",
+ "type": "not-found",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2378.3095092773438,
+ "y": 6471.584487915039,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "8068dba1.b90f38"
+ ]
+ ]
+ },
+ {
+ "id": "8068dba1.b90f38",
+ "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[$l].value`' value=\"`$jsonContextPrefix.elements[$n].resource-value`\" />\n",
+ "comments": "",
+ "x": 2572.8095092773438,
+ "y": 6404.584487915039,
+ "z": "b88526e.24a7ad8",
+ "wires": []
+ },
+ {
+ "id": "cbc78ec6.7ff248",
+ "type": "execute",
+ "name": "execute jsonStringToCtx",
+ "xml": "<execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"jsonStringToCtx\">\n\t<parameter name=\"source\" value=\"nameGenResponse.httpResponse\" />\n\t<parameter name=\"outputPath\" value=\"jsonContextPrefix\" />\n\t<parameter name=\"isEscaped\" value=\"false\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1706.3095092773438,
+ "y": 5838.584487915039,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1e5d91b7.f1cac6",
+ "type": "for",
+ "name": "for response elements",
+ "xml": "<for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1735.3095092773438,
+ "y": 6316.584487915039,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "8744b72d.e0422"
+ ]
+ ]
+ },
+ {
+ "id": "26376a44.3bf3e6",
+ "type": "execute",
+ "name": "slistringUtils - check value for $",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n <parameter name=\"source\" value=\"`$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`\" />\n <parameter name=\"target\" value=\"$\"/>\n \n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2287.3095092773438,
+ "y": 6319.584487915039,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "6638dc1c.c0f774"
+ ]
+ ]
+ },
+ {
+ "id": "6638dc1c.c0f774",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2515.3095092773438,
+ "y": 6316.584487915039,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "49c6c4cb.ae35f4"
+ ]
+ ]
+ },
+ {
+ "id": "614640d1.2410b",
+ "type": "execute",
+ "name": "split resource-resolution-data",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name='ctx_memory_result_key' value='resource-resolution-split' />\n <parameter name='original_string' value='`$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`' />\n <parameter name='regex' value='\\$\\{' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2182.3095092773438,
+ "y": 6369.584487915039,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f159cc8b.de17d",
+ "type": "execute",
+ "name": "split resource-resolution-split-1",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name='ctx_memory_result_key' value='s2' />\n <parameter name='original_string' value='`$resource-resolution-split[1]`' />\n <parameter name='regex' value='\\}' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2195.3095092773438,
+ "y": 6428.584487915039,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "49c6c4cb.ae35f4",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1942.3095092773438,
+ "y": 6395.584487915039,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "c8297614.5665c8",
+ "614640d1.2410b",
+ "f159cc8b.de17d"
+ ]
+ ]
+ },
+ {
+ "id": "80097c84.1bbc38",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1816.0595092773438,
+ "y": 5428.334121704102,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "b361600c.eb049",
+ "8bb2899.7eabb78",
+ "feb610d7.764ab"
+ ]
+ ]
+ },
+ {
+ "id": "d085846f.259da",
+ "type": "set",
+ "name": "set status as SUCCESS",
+ "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='SUCCESS' />",
+ "comments": "",
+ "x": 1708.3095092773438,
+ "y": 5890.584487915039,
+ "z": "b88526e.24a7ad8",
+ "wires": []
+ },
+ {
+ "id": "2d4ee971.9f5306",
+ "type": "for",
+ "name": "for vnf parameters data",
+ "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": 1730.3095092773438,
+ "y": 6538.584487915039,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "968d7f58.752fa8"
+ ]
+ ]
+ },
+ {
+ "id": "968d7f58.752fa8",
+ "type": "execute",
+ "name": "slistringUtils - check value for $",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n <parameter name=\"source\" value=\"`$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`\" />\n <parameter name=\"target\" value=\"$\"/>\n \n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2036.3095092773438,
+ "y": 6536.584487915039,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "b316390f.c223e"
+ ]
+ ]
+ },
+ {
+ "id": "b316390f.c223e",
+ "type": "failure",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2274.3095092773438,
+ "y": 6536.584487915039,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "523d1dc3.a4cfdc"
+ ]
+ ]
+ },
+ {
+ "id": "523d1dc3.a4cfdc",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2436.3095092773438,
+ "y": 6530.584487915039,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "196036c5.88ba19",
+ "a33c55dc.d6268"
+ ]
+ ]
+ },
+ {
+ "id": "196036c5.88ba19",
+ "type": "set",
+ "name": "set capability name",
+ "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].resource-resolution-data.capability-name`' value='INPUT' />\n",
+ "comments": "",
+ "x": 2660.3095092773438,
+ "y": 6496.584487915039,
+ "z": "b88526e.24a7ad8",
+ "wires": []
+ },
+ {
+ "id": "a33c55dc.d6268",
+ "type": "set",
+ "name": "set status SUCCESS",
+ "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].resource-resolution-data.status`' value='SUCCESS' />\n\t",
+ "comments": "",
+ "x": 2648.3095092773438,
+ "y": 6596.584487915039,
+ "z": "b88526e.24a7ad8",
+ "wires": []
+ },
+ {
+ "id": "af0954c0.0ed2a8",
+ "type": "for",
+ "name": "for vnf-parameters data",
+ "xml": "<for index='cn' 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": 1718.3095092773438,
+ "y": 5996.584487915039,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "fcdfe07c.36982"
+ ]
+ ]
+ },
+ {
+ "id": "fcdfe07c.36982",
+ "type": "switchNode",
+ "name": "switch param[] 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[$cn].name == 'vnfc-name'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1971.8095092773438,
+ "y": 5997.584854125977,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "ecb5c713.928a5"
+ ]
+ ]
+ },
+ {
+ "id": "ecb5c713.928a5",
+ "type": "success",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2164.8095092773438,
+ "y": 5998.084732055664,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "a271047.93a13f8"
+ ]
+ ]
+ },
+ {
+ "id": "a271047.93a13f8",
+ "type": "for",
+ "name": "for j in resource key",
+ "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[$cn].resource-resolution-data.resource-key_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1806.3095092773438,
+ "y": 6112.584487915039,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "a54bbb54.f3ff88"
+ ]
+ ]
+ },
+ {
+ "id": "a54bbb54.f3ff88",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2078.3095092773438,
+ "y": 6108.584487915039,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "7a50c097.1fd508",
+ "bae1a795.c95818",
+ "6cb03d6a.b426e4",
+ "fdef5f45.af46b8",
+ "d977a0bb.d25038",
+ "d4543380.8a8648",
+ "80d478e2.ca4f3"
+ ]
+ ]
+ },
+ {
+ "id": "bae1a795.c95818",
+ "type": "switchNode",
+ "name": "switch model-invariant-uuid",
+ "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[$cn].resource-resolution-data.resource-key[$j].name == 'model-invariant-uuid'`\">\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2516.3095092773438,
+ "y": 5984.584487915039,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "e21bbc33.3bd9b8"
+ ]
+ ]
+ },
+ {
+ "id": "6cb03d6a.b426e4",
+ "type": "switchNode",
+ "name": "switch model-customization-uuid",
+ "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[$cn].resource-resolution-data.resource-key[$j].name == 'model-customization-uuid'`\">\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2484.3095092773438,
+ "y": 6042.584487915039,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "26752abf.e0f87e"
+ ]
+ ]
+ },
+ {
+ "id": "fdef5f45.af46b8",
+ "type": "switchNode",
+ "name": "switch model-uuid",
+ "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[$cn].resource-resolution-data.resource-key[$j].name == 'model-uuid'`\">\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2482.3095092773438,
+ "y": 6104.584487915039,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "99545f4f.9552"
+ ]
+ ]
+ },
+ {
+ "id": "d977a0bb.d25038",
+ "type": "switchNode",
+ "name": "switch model-version",
+ "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[$cn].resource-resolution-data.resource-key[$j].name == 'model-version'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2490.3095092773438,
+ "y": 6166.584487915039,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "d332c105.d01b6"
+ ]
+ ]
+ },
+ {
+ "id": "7a50c097.1fd508",
+ "type": "switchNode",
+ "name": "switch vm-type",
+ "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[$cn].resource-resolution-data.resource-key[$j].name == 'vm-type'`\">\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2506.3095092773438,
+ "y": 5912.584487915039,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "343730f6.0bde"
+ ]
+ ]
+ },
+ {
+ "id": "343730f6.0bde",
+ "type": "success",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2710.3095092773438,
+ "y": 5908.584487915039,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "10dcd678.f75eb2"
+ ]
+ ]
+ },
+ {
+ "id": "e21bbc33.3bd9b8",
+ "type": "success",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2710.3095092773438,
+ "y": 5982.834487915039,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "ba46d15f.84fe98"
+ ]
+ ]
+ },
+ {
+ "id": "26752abf.e0f87e",
+ "type": "success",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2716.3095092773438,
+ "y": 6038.584487915039,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "ec7f1ff2.18d6b8"
+ ]
+ ]
+ },
+ {
+ "id": "99545f4f.9552",
+ "type": "success",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2720.3095092773438,
+ "y": 6096.584487915039,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "9cb30ad2.947f6"
+ ]
+ ]
+ },
+ {
+ "id": "d332c105.d01b6",
+ "type": "success",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2726.3095092773438,
+ "y": 6162.584487915039,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "78957203.1f8534"
+ ]
+ ]
+ },
+ {
+ "id": "10dcd678.f75eb2",
+ "type": "set",
+ "name": "set vm-type",
+ "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-assignments.vms.vm[0].vm-type`' value='`$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[$cn].resource-resolution-data.resource-key[$j].value`' />\n",
+ "comments": "",
+ "x": 2874.3095092773438,
+ "y": 5910.584487915039,
+ "z": "b88526e.24a7ad8",
+ "wires": []
+ },
+ {
+ "id": "ba46d15f.84fe98",
+ "type": "set",
+ "name": "set model-invariant-uuid",
+ "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-assignments.vms.vm[0].onap-model-information.model-invariant-uuid`' value='`$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[$cn].resource-resolution-data.resource-key[$j].value`' />\n",
+ "comments": "",
+ "x": 2920.3095092773438,
+ "y": 5976.584487915039,
+ "z": "b88526e.24a7ad8",
+ "wires": []
+ },
+ {
+ "id": "ec7f1ff2.18d6b8",
+ "type": "set",
+ "name": "set model-customization-uuid",
+ "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-assignments.vms.vm[0].onap-model-information.model-customization-uuid`' value='`$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[$cn].resource-resolution-data.resource-key[$j].value`' />\n",
+ "comments": "",
+ "x": 2964.3095092773438,
+ "y": 6040.584487915039,
+ "z": "b88526e.24a7ad8",
+ "wires": []
+ },
+ {
+ "id": "9cb30ad2.947f6",
+ "type": "set",
+ "name": "set model-uuid",
+ "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-assignments.vms.vm[0].onap-model-information.model-uuid`' value='`$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[$cn].resource-resolution-data.resource-key[$j].value`' />\n",
+ "comments": "",
+ "x": 2940.3095092773438,
+ "y": 6094.584487915039,
+ "z": "b88526e.24a7ad8",
+ "wires": []
+ },
+ {
+ "id": "78957203.1f8534",
+ "type": "set",
+ "name": "set model-version",
+ "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-assignments.vms.vm[0].onap-model-information.model-version`' value='`$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[$cn].resource-resolution-data.resource-key[j].value`' />\n",
+ "comments": "",
+ "x": 2886.3095092773438,
+ "y": 6160.584487915039,
+ "z": "b88526e.24a7ad8",
+ "wires": []
+ },
+ {
+ "id": "72d6e55e.c52994",
+ "type": "set",
+ "name": "set model-name",
+ "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-assignments.vms.vm[0].onap-model-information.model-name`' value='`$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[$cn].resource-resolution-data.resource-key[$j].value`' />\n",
+ "comments": "",
+ "x": 2892.3095092773438,
+ "y": 6216.584487915039,
+ "z": "b88526e.24a7ad8",
+ "wires": []
+ },
+ {
+ "id": "f9bda76a.6618c8",
+ "type": "set",
+ "name": "set vnfc-name",
+ "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-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-name`' value='`$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[$cn].resource-resolution-data.resource-key[$j].value`' />\n",
+ "comments": "",
+ "x": 2910.3095092773438,
+ "y": 6272.584487915039,
+ "z": "b88526e.24a7ad8",
+ "wires": []
+ },
+ {
+ "id": "d4543380.8a8648",
+ "type": "switchNode",
+ "name": "switch model-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[$cn].resource-resolution-data.resource-key[$j].name == 'model-name'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2490.3095092773438,
+ "y": 6218.584487915039,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "ebf87fd3.da0e28"
+ ]
+ ]
+ },
+ {
+ "id": "80d478e2.ca4f3",
+ "type": "switchNode",
+ "name": "switch vnfc-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[$cn].resource-resolution-data.resource-key[$j].name == 'vnfc-name'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2488.3095092773438,
+ "y": 6272.584487915039,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "e0094cf6.191bc"
+ ]
+ ]
+ },
+ {
+ "id": "ebf87fd3.da0e28",
+ "type": "success",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2724.3095092773438,
+ "y": 6216.584487915038,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "72d6e55e.c52994"
+ ]
+ ]
+ },
+ {
+ "id": "e0094cf6.191bc",
+ "type": "success",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2718.3095092773438,
+ "y": 6270.584487915038,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "f9bda76a.6618c8"
+ ]
+ ]
+ },
+ {
+ "id": "c88ce4fa.2e3558",
+ "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": 1258.8571166992188,
+ "y": 5374.571670532227,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "5a20be5b.b3a028"
+ ]
+ ]
+ },
+ {
+ "id": "5a20be5b.b3a028",
+ "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": 1538.8571166992188,
+ "y": 5374.571670532227,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "deb0eb20.bf079"
+ ]
+ ]
+ },
+ {
+ "id": "deb0eb20.bf079",
+ "type": "not-found",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1747.8572387695312,
+ "y": 5374.571670532227,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "80097c84.1bbc38"
+ ]
+ ]
+ },
+ {
+ "id": "96d8122d.bb415",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 833.1071166992188,
+ "y": 1717.5714263916016,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "acaab3ca.702c88",
+ "6764646d.7a6754",
+ "e7afeea8.32592"
+ ]
+ ]
+ },
+ {
+ "id": "6764646d.7a6754",
+ "type": "set",
+ "name": "set payload data",
+ "xml": "<set>\n\t<parameter name='tmp.naming-data-payload' value='{&quot;elements&quot;:[' />\n\t<parameter name='tmp.gen-name_length' value='0' />",
+ "comments": "",
+ "x": 1040.8571166992188,
+ "y": 1718.5714263916016,
+ "z": "b88526e.24a7ad8",
+ "wires": []
+ },
+ {
+ "id": "e7afeea8.32592",
+ "type": "switchNode",
+ "name": "switch tmp.naming-data-payload is null",
+ "xml": "<switch test=\"`$tmp.naming-data-payload == ''`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1088.8571166992188,
+ "y": 1997.5714263916016,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "b86e6a12.7ee33"
+ ]
+ ]
+ },
+ {
+ "id": "b86e6a12.7ee33",
+ "type": "not-found",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1325.8571166992188,
+ "y": 1998.5714263916016,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "6e3664a9.34079c"
+ ]
+ ]
+ },
+ {
+ "id": "6e3664a9.34079c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1363.8571166992188,
+ "y": 2056.5714263916016,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "88f11c7a.f31688",
+ "fff738e5.4d0ce",
+ "f398ae72.bb9338",
+ "6d5e56ed.17d75",
+ "a0bc5db0.876ac8",
+ "a133146c.f8d1c",
+ "a6e4bc7d.20b678",
+ "93dc5615.04a418"
+ ]
+ ]
+ },
+ {
+ "id": "bf89c636.30aac8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1009.8571166992188,
+ "y": 5307.571426391602,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "86e86da4.4fe67",
+ "c88ce4fa.2e3558",
+ "b36f7e94.174be"
+ ]
+ ]
+ },
+ {
+ "id": "86e86da4.4fe67",
+ "type": "set",
+ "name": "set set payload data",
+ "xml": "<set>\n\t<parameter name='tmp.naming-data-payload' value='{&quot;elements&quot;:[' />\n\t<parameter name='tmp.gen-name_length' value='0' />",
+ "comments": "",
+ "x": 1246.8571166992188,
+ "y": 5306.571426391602,
+ "z": "b88526e.24a7ad8",
+ "wires": []
+ },
+ {
+ "id": "b36f7e94.174be",
+ "type": "switchNode",
+ "name": "switch tmp.naming-data-payload is null",
+ "xml": "<switch test=\"`$tmp.naming-data-payload == ''`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1289.1071472167969,
+ "y": 5497.071548461914,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "1f8cfbc.8ebb904"
+ ]
+ ]
+ },
+ {
+ "id": "1f8cfbc.8ebb904",
+ "type": "not-found",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1522.857177734375,
+ "y": 5496.821304321289,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "d5e5468.2a80438"
+ ]
+ ]
+ },
+ {
+ "id": "d5e5468.2a80438",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1510.607177734375,
+ "y": 5574.071670532227,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "aba737c8.b673a",
+ "c54c6f8e.b8ff58",
+ "e94ef6dd.a37908",
+ "cbc78ec6.7ff248",
+ "d085846f.259da",
+ "af0954c0.0ed2a8",
+ "1e5d91b7.f1cac6",
+ "2d4ee971.9f5306",
+ "d6d7c682.438ef8"
+ ]
+ ]
+ },
+ {
+ "id": "2a352877.19cd9",
+ "type": "execute",
+ "name": "execute readProperties",
+ "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",
+ "comments": "",
+ "outputs": 1,
+ "x": 375,
+ "y": 176,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d6d7c682.438ef8",
+ "type": "execute",
+ "name": "execute RestApiCallNode - POST gen-name",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > \n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.naming.gen-name.templatefile`\" />\n <parameter name='restapiUrl' value='`$prop.naming.gen-name.url + $prop.restapi.naming.gen-name.service`' />\n <parameter name='restapiUser' value='`$prop.naming.gen-name.user`' />\n <parameter name='restapiPassword' value='`$prop.naming.gen-name.pwd`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='POST' />\n <parameter name=\"responsePrefix\" value=\"nameGenResponse\" />\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1771,
+ "y": 5787,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "1ec3d3c3.85586c",
+ "80386656.f0d7d"
+ ]
+ ]
+ },
+ {
+ "id": "93dc5615.04a418",
+ "type": "execute",
+ "name": "execute RestApiCallNode - POST gen-name",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > \n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.naming.gen-name.templatefile`\" />\n <parameter name='restapiUrl' value='`$prop.naming.gen-name.url + $prop.restapi.naming.gen-name.service`' />\n <parameter name='restapiUser' value='`$prop.naming.gen-name.user`' />\n <parameter name='restapiPassword' value='`$prop.naming.gen-name.pwd`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='POST' />\n <parameter name=\"responsePrefix\" value=\"nameGenResponse\" />\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1674,
+ "y": 2229,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "7136f5d4.61b024",
+ "ef775b29.4a7b"
+ ]
+ ]
+ },
+ {
+ "id": "99585b38.25a06",
+ "type": "execute",
+ "name": "execute RestApiCallNode - DELETE gen-name",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > \n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.naming.gen-name.templatefile`\" />\n <parameter name='restapiUrl' value='`$prop.naming.gen-name.url + $prop.restapi.naming.gen-name.service`' />\n <parameter name='restapiUser' value='`$prop.naming.gen-name.user`' />\n <parameter name='restapiPassword' value='`$prop.naming.gen-name.pwd`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='DELETE' />\n <parameter name=\"responsePrefix\" value=\"nameGenResponse\" />\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1891,
+ "y": 4194,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "e6db3fc2.418c7",
+ "add1de2.24bbda"
+ ]
+ ]
+ },
+ {
+ "id": "f9afd12e.2d3128",
+ "type": "execute",
+ "name": "execute RestApiCallNode - DELETE gen-name",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > \n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.naming.gen-name.templatefile`\" />\n <parameter name='restapiUrl' value='`$prop.naming.gen-name.url + $prop.restapi.naming.gen-name.service`' />\n <parameter name='restapiUser' value='`$prop.naming.gen-name.user`' />\n <parameter name='restapiPassword' value='`$prop.naming.gen-name.pwd`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='DELETE' />\n <parameter name=\"responsePrefix\" value=\"nameGenResponse\" />\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1784,
+ "y": 979,
+ "z": "b88526e.24a7ad8",
+ "wires": [
+ [
+ "8af1d548.36ba08",
+ "6b5d2c36.36d07c"
+ ]
+ ]
+ },
+ {
+ "id": "63a7432d.46f304",
+ "type": "comment",
+ "name": "For Generate Name DG Capability ",
+ "info": "Support Bulk assign and single delete\nAlso calls Naming gen mS for assign/un-assign\n\nAdded by Ajay Singh(as396y)",
+ "comments": "",
+ "x": 838,
+ "y": 106,
+ "z": "b88526e.24a7ad8",
+ "wires": []
+ }
+] \ No newline at end of file