aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-unresolved-composite-data.json
blob: 0f08cf5378a325bd5fe891e699bb6a681222a68e (plain)
1
[{"id":"c4d98d57.5eaa","type":"dgstart","name":"DGSTART","outputs":1,"x":123.75,"y":31.25,"z":"d1ebb284.fbe55","wires":[["4d9508e5.5c5ce8"]]},{"id":"125acdba.93a952","type":"method","name":"method self-serve-unresolved-composite-data","xml":"<method rpc='self-serve-unresolved-composite-data' mode='sync'>\n","comments":"","outputs":1,"x":259.5357208251953,"y":88.3769884109497,"z":"d1ebb284.fbe55","wires":[["f5bcc04e.ca7ac"]]},{"id":"f5bcc04e.ca7ac","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":204.4999885559082,"y":153.25003004074097,"z":"d1ebb284.fbe55","wires":[["fb381734.9cb508","66c7bc67.056a74","bd9853b2.20cca","461e6611.b6aeb8"]]},{"id":"4d9508e5.5c5ce8","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":396.6071472167969,"y":30.678566932678223,"z":"d1ebb284.fbe55","wires":[["125acdba.93a952"]]},{"id":"fb381734.9cb508","type":"switchNode","name":"switch: ss.capability-name","xml":"<switch test='`$ss.capability-name`'>\n","comments":"","outputs":1,"x":462.9285545349121,"y":153.57142782211304,"z":"d1ebb284.fbe55","wires":[["ba9591dd.f019e"]]},{"id":"ba9591dd.f019e","type":"outcome","name":"NULL","xml":"<outcome value=''>","outputs":1,"x":687.9285774230957,"y":154.07142639160156,"z":"d1ebb284.fbe55","wires":[["5c6b2fb5.0487"]]},{"id":"5c6b2fb5.0487","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\t<parameter name=\"error-message\" value=\"ss.capability-name is null\" />\n","comments":"","x":847.8452491760254,"y":154.18252515792847,"z":"d1ebb284.fbe55","wires":[]},{"id":"66c7bc67.056a74","type":"switchNode","name":"switch: ss.capability-action","xml":"<switch test='`$ss.capability-action`'>\n","comments":"","outputs":1,"x":464.17857360839844,"y":203.5714282989502,"z":"d1ebb284.fbe55","wires":[["6e203304.a09bbc"]]},{"id":"6e203304.a09bbc","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":687.6785697937012,"y":203.8214282989502,"z":"d1ebb284.fbe55","wires":[["1ba29e0b.c70212"]]},{"id":"1ba29e0b.c70212","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\t<parameter name=\"error-message\" value=\"ss.capability-action is null\" />\n","comments":"","x":847.5952415466309,"y":203.9325270652771,"z":"d1ebb284.fbe55","wires":[]},{"id":"a75f7611.54b5e8","type":"set","name":"set tmp.ss.param.capability-name","xml":"<set>\n<parameter name='tmp.ss.param.capability-name' \n\tvalue='`$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[$pidx].resource-resolution-data.capability-name`' />\n","comments":"","x":1191.8571395874023,"y":422.750039100647,"z":"d1ebb284.fbe55","wires":[]},{"id":"abddfc44.f59a2","type":"for","name":"for pidx in param_length","xml":"<for index=\"pidx\" 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`\">","comments":"","outputs":1,"x":902.0713653564453,"y":422.8215093612671,"z":"d1ebb284.fbe55","wires":[["c127a681.efaf98","a75f7611.54b5e8"]]},{"id":"c127a681.efaf98","type":"switchNode","name":"switch: capability-name - ss vs param","xml":"<switch test='`$tmp.ss.param.capability-name == $ss.capability-name`'>\n","comments":"","outputs":1,"x":1203.8213653564453,"y":466.32151317596436,"z":"d1ebb284.fbe55","wires":[["e18ed568.3b3018"]]},{"id":"e18ed568.3b3018","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1442.5713729858398,"y":466.07151317596436,"z":"d1ebb284.fbe55","wires":[["d9a19f79.07d6d"]]},{"id":"7fbcb1b8.08ea5","type":"set","name":"set tmp.ss.composite","xml":"<set>\n<parameter name='tmp.ss.composite' \n\tvalue='`$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[$pidx].value`' />\n","comments":"","x":1820.500087738037,"y":465.6071786880493,"z":"d1ebb284.fbe55","wires":[]},{"id":"b3820bcc.e4a328","type":"execute","name":"replace [ in param[].value with \"\"","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.ss.composite`\" />\n\t<parameter name=\"target\" value=\"[\"/>\n\t<parameter name=\"replacement\" value=\"\"/>\n\t<parameter name=\"outputPath\" value=\"tmp.ss.composite-0\"/>\n","comments":"","outputs":1,"x":494.8730049133301,"y":928.2658996582031,"z":"d1ebb284.fbe55","wires":[[]]},{"id":"da5dabd3.0e0a28","type":"execute","name":"replace ] in param[].value with \"\"","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.ss.composite-0`\" />\n\t<parameter name=\"target\" value=\"]\"/>\n\t<parameter name=\"replacement\" value=\"\"/>\n\t<parameter name=\"outputPath\" value=\"tmp.ss.composite-1\"/>\n","comments":"","outputs":1,"x":494.8730049133301,"y":968.2658996582031,"z":"d1ebb284.fbe55","wires":[[]]},{"id":"ac7282f.bfbb08","type":"execute","name":"split , input=tmp.ss.composite-2, output=splits","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n    <parameter name=\"original_string\" value=\"`$tmp.ss.composite-2`\" />\n\t<parameter name=\"regex\" value=\",\"/>\n\t<parameter name=\"ctx_memory_result_key\" value=\"splits\" />\n","comments":"","outputs":1,"x":536.9563484191895,"y":1097.9881687164307,"z":"d1ebb284.fbe55","wires":[[]]},{"id":"9cb6a2e4.3d46f","type":"for","name":"for split-index in splits","xml":"<for index=\"split-index\" start=\"0\" end=\"`$splits_length`\">","comments":"","outputs":1,"x":463.62306213378906,"y":1186.0992221832275,"z":"d1ebb284.fbe55","wires":[["cb1cb330.6c8ea","ff9023bd.c2d2b","abbad41f.2a4dc8","4440d332.dd6aac","e67092db.2c994","b58b95cc.d8d288","8d4d20db.0044d"]]},{"id":"e3723eee.f336","type":"set","name":"set tmp.ss.final.resolved-value (end) = NULL","xml":"<set>\n<parameter name='tmp.ss.final.resolved-value' value=\"\" />\n<parameter name='tmp.ss.final.resolved-value.end' value=\"\" />\n\n","comments":"","x":529.5952644348145,"y":782.0992431640625,"z":"d1ebb284.fbe55","wires":[]},{"id":"4418320a.8cf3ec","type":"set","name":"set tmp.ss.final.resolved-value","xml":"<set>\n<parameter name='tmp.ss.final.resolved-value' \n\tvalue=\"`$tmp.ss.final.resolved-value + $tmp.ss.partial.resolved-value`\" />\n","comments":"","x":1129.5713005065918,"y":1718.6312065124512,"z":"d1ebb284.fbe55","wires":[]},{"id":"cb1cb330.6c8ea","type":"switchNode","name":"switch: split-index == 0","xml":"<switch test='`$split-index == 0`'>\n","comments":"","outputs":1,"x":726.5713996887207,"y":1719.059762954712,"z":"d1ebb284.fbe55","wires":[["ae95c6b8.e092f8","51fc0c9b.7e23f4"]]},{"id":"ae95c6b8.e092f8","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":923.2857246398926,"y":1719.059684753418,"z":"d1ebb284.fbe55","wires":[["4418320a.8cf3ec"]]},{"id":"51fc0c9b.7e23f4","type":"outcomeFalse","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":925.1427803039551,"y":1770.4882736206055,"z":"d1ebb284.fbe55","wires":[["b8ab18a4.aecb28"]]},{"id":"b8ab18a4.aecb28","type":"set","name":"set tmp.ss.final.resolved-value ,","xml":"<set>\n<parameter name='tmp.ss.final.resolved-value' \n\tvalue=\"`$tmp.ss.final.resolved-value + ',' + $tmp.ss.partial.resolved-value`\" />\n","comments":"","x":1137.1785469055176,"y":1771.9288549423218,"z":"d1ebb284.fbe55","wires":[]},{"id":"b393628e.7211c","type":"for","name":"for i in param_length","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`\">","comments":"","outputs":1,"x":1138.8572578430176,"y":1580.9644975662231,"z":"d1ebb284.fbe55","wires":[["646772a6.f2a91c","9cdb77cb.7ed498"]]},{"id":"c8ba3f96.05dd8","type":"set","name":"set tmp.ss.partial.resolved-value","xml":"<set>\n<parameter name='tmp.ss.partial.resolved-value' \n\tvalue='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].value`' />\n","comments":"","x":2180.440731048584,"y":1621.7977981567383,"z":"d1ebb284.fbe55","wires":[]},{"id":"9cdb77cb.7ed498","type":"switchNode","name":"switch: tmp.ss.partial.composite-value  vs tmp.ss.param-name","xml":"<switch test='`$tmp.ss.partial.composite-value == $tmp.ss.param-name`'>\n","comments":"","outputs":1,"x":1498.3572578430176,"y":1622.4644374847412,"z":"d1ebb284.fbe55","wires":[["90c18a2.a953c78"]]},{"id":"90c18a2.a953c78","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1813.6906471252441,"y":1622.0477514266968,"z":"d1ebb284.fbe55","wires":[["abdbcfcb.921af"]]},{"id":"3cc5d9a5.0eb3e6","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"`'SS: tmp.ss.composite-2: ' + $tmp.ss.composite-2`\"/>\n","comments":"","outputs":1,"x":417.92858505249023,"y":1053.476203918457,"z":"d1ebb284.fbe55","wires":[[]]},{"id":"646772a6.f2a91c","type":"set","name":"set tmp.ss.param-name","xml":"<set>\n<parameter name='tmp.ss.param-name' \n\tvalue='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].name`' />\n","comments":"","x":1380.3572578430176,"y":1580.6430253982544,"z":"d1ebb284.fbe55","wires":[]},{"id":"ad4cfd0b.d672b","type":"execute","name":"trim","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='trim' >\n    <parameter name=\"source\" value=\"`$tmp.ss.composite-1`\" />\n\t<parameter name=\"outputPath\" value=\"tmp.ss.composite-2\"/>\n","comments":"","outputs":1,"x":416.67858505249023,"y":1010.0714807510376,"z":"d1ebb284.fbe55","wires":[[]]},{"id":"abdbcfcb.921af","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1948.107234954834,"y":1622.393014907837,"z":"d1ebb284.fbe55","wires":[["c8ba3f96.05dd8","94ed095d.8a1368"]]},{"id":"94ed095d.8a1368","type":"break","name":"break","xml":"<break>\n","comments":"","x":2103.357234954834,"y":1663.6430139541626,"z":"d1ebb284.fbe55","wires":[]},{"id":"2dccf775.6c8f18","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":242.67858123779297,"y":781.8214797973633,"z":"d1ebb284.fbe55","wires":[["b3820bcc.e4a328","da5dabd3.0e0a28","ad4cfd0b.d672b","3cc5d9a5.0eb3e6","ac7282f.bfbb08","e3723eee.f336","9cb6a2e4.3d46f","2a9c6e9b.138ef2","3e5675f1.ea0eba","40099c0.838c864"]]},{"id":"2a9c6e9b.138ef2","type":"set","name":"concat tmp.ss.final.resolved-value.end","xml":"<set>\n<parameter name='tmp.ss.final.resolved-value' \n\tvalue='`$tmp.ss.final.resolved-value + $tmp.ss.final.resolved-value.end`' />\n\t\n","comments":"","x":523.2857704162598,"y":1867.5715646743774,"z":"d1ebb284.fbe55","wires":[]},{"id":"461e6611.b6aeb8","type":"execute","name":"printContext","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/ss-composite.log' />\n","comments":"","outputs":1,"x":411.4285583496094,"y":561.0714292526245,"z":"d1ebb284.fbe55","wires":[[]]},{"id":"ff9023bd.c2d2b","type":"execute","name":"trim to tmp.ss.trim","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='trim' >\n    <parameter name=\"source\" value=\"`$splits[$split-index]`\" />\n\t<parameter name=\"outputPath\" value=\"tmp.ss.trim\"/>","comments":"","outputs":1,"x":714.0000114440918,"y":1185.1429114341736,"z":"d1ebb284.fbe55","wires":[[]]},{"id":"abbad41f.2a4dc8","type":"execute","name":"replace ${ with \"\"","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.ss.trim`\" />\n\t<parameter name=\"target\" value=\"${\"/>\n\t<parameter name=\"replacement\" value=\"\"/>\n\t<parameter name=\"outputPath\" value=\"tmp.ss.trim-0\"/>\n","comments":"","outputs":1,"x":712.7500076293945,"y":1226.1429133415222,"z":"d1ebb284.fbe55","wires":[[]]},{"id":"4440d332.dd6aac","type":"execute","name":"replace }  with \"\"","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.ss.trim-0`\" />\n\t<parameter name=\"target\" value=\"}\"/>\n\t<parameter name=\"replacement\" value=\"\"/>\n\t<parameter name=\"outputPath\" value=\"tmp.ss.trim-1\"/>\n","comments":"","outputs":1,"x":709.0000076293945,"y":1266.1429152488708,"z":"d1ebb284.fbe55","wires":[[]]},{"id":"b58b95cc.d8d288","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"`'SS: tmp.ss.partial.composite-value: ' + $tmp.ss.partial.composite-value`\"/>\n","comments":"","outputs":1,"x":680.8056106567383,"y":1346.3532423973083,"z":"d1ebb284.fbe55","wires":[[]]},{"id":"e67092db.2c994","type":"execute","name":"trim to tmp.ss.partial.composite-value","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='trim' >\n    <parameter name=\"source\" value=\"`$tmp.ss.trim-1`\" />\n\t<parameter name=\"outputPath\" value=\"tmp.ss.partial.composite-value\"/>\n","comments":"","outputs":1,"x":777.055606842041,"y":1305.4485182762146,"z":"d1ebb284.fbe55","wires":[[]]},{"id":"3e5675f1.ea0eba","type":"execute","name":"tmp.ss.composite startsWith [","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='startsWith' emitsOutcome='true' >\n    <parameter name=\"source\" value=\"`$tmp.ss.composite`\" />\n\t<parameter name=\"target\" value=\"[\"/>\n","comments":"","outputs":1,"x":484.6785774230957,"y":876.0714721679688,"z":"d1ebb284.fbe55","wires":[["f17324ed.61c568"]]},{"id":"f17324ed.61c568","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":694.9285774230957,"y":876.3214721679688,"z":"d1ebb284.fbe55","wires":[["c18b2a23.3f59b8"]]},{"id":"c18b2a23.3f59b8","type":"set","name":"set tmp.ss.final.resolved-value (end) = [ ]","xml":"<set>\n<parameter name='tmp.ss.final.resolved-value' value=\"[\" />\n<parameter name='tmp.ss.final.resolved-value.end' value=\"]\" />\n","comments":"","x":948.1785774230957,"y":876.3214721679688,"z":"d1ebb284.fbe55","wires":[]},{"id":"a9a1d847.7acaf8","type":"set","name":"set param[].value = tmp.ss.final.resolved-value and 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[$pidx].value' \n\tvalue='`$tmp.ss.final.resolved-value`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].resource-resolution-data.status' \n\tvalue='SUCCESS' />\t\n","comments":"","x":1556.5357818603516,"y":2404.822057723999,"z":"d1ebb284.fbe55","wires":[]},{"id":"bd9853b2.20cca","type":"switchNode","name":"switch: ss.capability-type","xml":"<switch test='`$ss.capability-type`'>\n","comments":"","outputs":1,"x":458.5357131958008,"y":254.28571319580078,"z":"d1ebb284.fbe55","wires":[["cadb73a8.8075e","f93f664.a242998","d9deb500.79c198"]]},{"id":"cadb73a8.8075e","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":688.0357093811035,"y":254.53571319580078,"z":"d1ebb284.fbe55","wires":[["fc445e27.e29c7"]]},{"id":"fc445e27.e29c7","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\t<parameter name=\"error-message\" value=\"ss.capability-type is null\" />\n","comments":"","x":841.9523811340332,"y":254.64681196212769,"z":"d1ebb284.fbe55","wires":[]},{"id":"f93f664.a242998","type":"outcome","name":"vnf","xml":"<outcome value='vnf'>","comments":"","outputs":1,"x":686.7857246398926,"y":326.78571796417236,"z":"d1ebb284.fbe55","wires":[["acd6b9b1.d8fcf8"]]},{"id":"d9deb500.79c198","type":"outcome","name":"vf-module","xml":"<outcome value='vf-module'>","comments":"","outputs":1,"x":693.7857131958008,"y":423.03573513031006,"z":"d1ebb284.fbe55","wires":[["abddfc44.f59a2"]]},{"id":"a076f12f.91f12","type":"set","name":"set tmp.ss.param.capability-name","xml":"<set>\n<parameter name='tmp.ss.param.capability-name' \n\tvalue='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$pidx].resource-resolution-data.capability-name`' />\n","comments":"","x":1189.2857360839844,"y":326.785719871521,"z":"d1ebb284.fbe55","wires":[]},{"id":"acd6b9b1.d8fcf8","type":"for","name":"for pidx in param_length","xml":"<for index=\"pidx\" start=\"0\" end=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`\">","comments":"","outputs":1,"x":899.4999618530273,"y":326.8571901321411,"z":"d1ebb284.fbe55","wires":[["e802238f.8b245","a076f12f.91f12"]]},{"id":"e802238f.8b245","type":"switchNode","name":"switch: capability-name - ss vs param","xml":"<switch test='`$tmp.ss.param.capability-name == $ss.capability-name`'>\n","comments":"","outputs":1,"x":1201.2499618530273,"y":370.3571939468384,"z":"d1ebb284.fbe55","wires":[["2aca4e1c.6f6122"]]},{"id":"2aca4e1c.6f6122","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1439.9999694824219,"y":370.1071939468384,"z":"d1ebb284.fbe55","wires":[["a83291f5.b56cf"]]},{"id":"d9a19f79.07d6d","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1592.2857284545898,"y":465.7857370376587,"z":"d1ebb284.fbe55","wires":[["7fbcb1b8.08ea5","9b78ea9b.98caf8"]]},{"id":"a83291f5.b56cf","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1591.7857131958008,"y":370.2857131958008,"z":"d1ebb284.fbe55","wires":[["e1948659.fa8808","9b78ea9b.98caf8"]]},{"id":"e1948659.fa8808","type":"set","name":"set tmp.ss.composite","xml":"<set>\n<parameter name='tmp.ss.composite' \n\tvalue='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$pidx].value`' />\n","comments":"","x":1820.2857131958008,"y":370.2857131958008,"z":"d1ebb284.fbe55","wires":[]},{"id":"8d4d20db.0044d","type":"switchNode","name":"switch: ss.capability-type","xml":"<switch test='`$ss.capability-type`'>\n","comments":"","outputs":1,"x":736.5357093811035,"y":1453.0357580184937,"z":"d1ebb284.fbe55","wires":[["bd7d3608.3d5a08","4fa53f4c.f446c"]]},{"id":"4fa53f4c.f446c","type":"outcome","name":"vnf","xml":"<outcome value='vnf'>","comments":"","outputs":1,"x":946.0357246398926,"y":1452.5357847213745,"z":"d1ebb284.fbe55","wires":[["fa0a15ee.e4e5f8"]]},{"id":"bd7d3608.3d5a08","type":"outcome","name":"vf-module","xml":"<outcome value='vf-module'>","comments":"","outputs":1,"x":950.5357246398926,"y":1581.2857866287231,"z":"d1ebb284.fbe55","wires":[["b393628e.7211c"]]},{"id":"fa0a15ee.e4e5f8","type":"for","name":"for i in param_length","xml":"<for index=\"i\" start=\"0\" end=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`\">","comments":"","outputs":1,"x":1136.5357093811035,"y":1452.5357580184937,"z":"d1ebb284.fbe55","wires":[["2bb57d6a.df9ac2","d5d6f7bc.599898"]]},{"id":"b09e8532.2c3028","type":"set","name":"set tmp.ss.partial.resolved-value","xml":"<set>\n<parameter name='tmp.ss.partial.resolved-value' \n\tvalue='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].value`' />\n","comments":"","x":2178.11918258667,"y":1493.3690586090088,"z":"d1ebb284.fbe55","wires":[]},{"id":"d5d6f7bc.599898","type":"switchNode","name":"switch: tmp.ss.partial.composite-value  vs tmp.ss.param-name","xml":"<switch test='`$tmp.ss.partial.composite-value == $tmp.ss.param-name`'>\n","comments":"","outputs":1,"x":1496.0357093811035,"y":1494.0356979370117,"z":"d1ebb284.fbe55","wires":[["66e00a78.a279a4"]]},{"id":"66e00a78.a279a4","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1811.36909866333,"y":1493.6190118789673,"z":"d1ebb284.fbe55","wires":[["c0fdb200.2df4c"]]},{"id":"2bb57d6a.df9ac2","type":"set","name":"set tmp.ss.param-name","xml":"<set>\n<parameter name='tmp.ss.param-name' \n\tvalue='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].name`' />\n","comments":"","x":1378.0357093811035,"y":1452.214285850525,"z":"d1ebb284.fbe55","wires":[]},{"id":"c0fdb200.2df4c","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1945.78568649292,"y":1493.9642753601074,"z":"d1ebb284.fbe55","wires":[["b09e8532.2c3028","5ef90369.adcfec"]]},{"id":"5ef90369.adcfec","type":"break","name":"break","xml":"<break>\n","comments":"","x":2101.03568649292,"y":1535.214274406433,"z":"d1ebb284.fbe55","wires":[]},{"id":"40099c0.838c864","type":"switchNode","name":"switch: ss.capability-type","xml":"<switch test='`$ss.capability-type`'>\n","comments":"","outputs":1,"x":474.78570556640625,"y":2230.0359230041504,"z":"d1ebb284.fbe55","wires":[["e8cd3541.e0d898","8d194039.4ae3f"]]},{"id":"8d194039.4ae3f","type":"outcome","name":"vnf","xml":"<outcome value='vnf'>","comments":"","outputs":1,"x":704.5357131958008,"y":2093.5359230041504,"z":"d1ebb284.fbe55","wires":[["476988b5.1eda78"]]},{"id":"e8cd3541.e0d898","type":"outcome","name":"vf-module","xml":"<outcome value='vf-module'>","comments":"","outputs":1,"x":712.785758972168,"y":2354.2859230041504,"z":"d1ebb284.fbe55","wires":[["b8ab672c.b5d0c8"]]},{"id":"30c0bc99.74e354","type":"set","name":"set param[].value = tmp.ss.final.resolved-value, status = SUCCESS","xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$pidx].value' \n\tvalue='`$tmp.ss.final.resolved-value`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$pidx].resource-resolution-data.status' \n\tvalue='SUCCESS' />","comments":"","x":1522.2859191894531,"y":2143.5359230041504,"z":"d1ebb284.fbe55","wires":[]},{"id":"9b78ea9b.98caf8","type":"switchNode","name":"switch: tmp.ss.composite = NULL","xml":"<switch test=\"`$tmp.ss.composite == ''`\">\n","comments":"","outputs":1,"x":1858.0000305175781,"y":526.2500076293945,"z":"d1ebb284.fbe55","wires":[["6c456607.ed3258"]]},{"id":"6c456607.ed3258","type":"outcomeFalse","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":2070.500030517578,"y":526.7500076293945,"z":"d1ebb284.fbe55","wires":[["2dccf775.6c8f18"]]},{"id":"a0aff366.5f4c6","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1362.2500076293945,"y":2039.7502765655518,"z":"d1ebb284.fbe55","wires":[["5410e7be.6cfe48","43628404.33602c"]]},{"id":"476988b5.1eda78","type":"execute","name":"tmp.ss.final.resolved-value contains $","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains'  emitsOutcome='true' >\n    <parameter name=\"source\" value=\"`$tmp.ss.final.resolved-value`\" />\n    <parameter name=\"target\" value=\"$\"/>\n  \n","comments":"","outputs":1,"x":953.5,"y":2094.25,"z":"d1ebb284.fbe55","wires":[["922483c5.cb6fa","373602ae.33609e"]]},{"id":"922483c5.cb6fa","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1188.750015258789,"y":2039.5000305175781,"z":"d1ebb284.fbe55","wires":[["a0aff366.5f4c6"]]},{"id":"43628404.33602c","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$pidx].name + ' was not resolved by ' + $ss.capability + ' with value = '+ $tmp.ss.final.resolved-value`\" />\n","comments":"","x":1559.2500228881836,"y":2088.0000324249268,"z":"d1ebb284.fbe55","wires":[]},{"id":"5410e7be.6cfe48","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[$pidx].resource-resolution-data.status' value='FAILED' />","comments":"","x":1581.7500228881836,"y":2039.2500305175781,"z":"d1ebb284.fbe55","wires":[]},{"id":"373602ae.33609e","type":"outcomeFalse","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":1187.2500190734863,"y":2143.7500324249268,"z":"d1ebb284.fbe55","wires":[["30c0bc99.74e354"]]},{"id":"511e7ed4.11fc7","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1378.499984741211,"y":2299.5000019073486,"z":"d1ebb284.fbe55","wires":[["8323bab3.f3e0c8","3bb3b6fd.445e9a"]]},{"id":"b8ab672c.b5d0c8","type":"execute","name":"tmp.ss.final.resolved-value contains $","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains'  emitsOutcome='true' >\n    <parameter name=\"source\" value=\"`$tmp.ss.final.resolved-value`\" />\n    <parameter name=\"target\" value=\"$\"/>\n  \n","comments":"","outputs":1,"x":969.7499771118164,"y":2353.999725341797,"z":"d1ebb284.fbe55","wires":[["750bb424.cfb9ec","d3f81cfe.787c"]]},{"id":"750bb424.cfb9ec","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1204.9999923706055,"y":2299.249755859375,"z":"d1ebb284.fbe55","wires":[["511e7ed4.11fc7"]]},{"id":"3bb3b6fd.445e9a","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' 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[$pidx].name + ' was not resolved by ' + $ss.capability + ' with value = '+ $tmp.ss.final.resolved-value`\" />\n","comments":"","x":1575.5,"y":2347.7497577667236,"z":"d1ebb284.fbe55","wires":[]},{"id":"8323bab3.f3e0c8","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[$pidx].resource-resolution-data.status' value='FAILED' />","comments":"","x":1598,"y":2298.999755859375,"z":"d1ebb284.fbe55","wires":[]},{"id":"d3f81cfe.787c","type":"outcomeFalse","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":1203.4999961853027,"y":2405.4997577667236,"z":"d1ebb284.fbe55","wires":[["a9a1d847.7acaf8"]]}]