aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_generic-configuration-notification-assign.json
blob: 517d8f4caa177190f93d6f034bb5ecc9b4d5b4bf (plain)
1
[{"id":"3cc1250e.772baa","type":"dgstart","name":"DGSTART","outputs":1,"x":102.5,"y":81.25,"z":"ae8dc4de.f4dc68","wires":[["3402eab5.73f3c6"]]},{"id":"3402eab5.73f3c6","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":217.78569793701172,"y":121.48810863494873,"z":"ae8dc4de.f4dc68","wires":[["c7e6ed9c.afa8c"]]},{"id":"c7e6ed9c.afa8c","type":"method","name":"method generic-configuration-notification-assign","xml":"<method rpc='generic-configuration-notification-assign' mode='sync'>\n","comments":"","outputs":1,"x":221.92862701416016,"y":162.2499942779541,"z":"ae8dc4de.f4dc68","wires":[["4767442b.f6c4ac"]]},{"id":"f1cc6d3c.1df33","type":"comment","name":"generic-configuration-notification-assign","info":"","comments":"","x":496.84485626220703,"y":28.83634376525879,"z":"ae8dc4de.f4dc68","wires":[]},{"id":"4767442b.f6c4ac","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":134.16668701171875,"y":1781.7530403137207,"z":"ae8dc4de.f4dc68","wires":[["35944643.078a2a","146f698f.4e6226","d50bb092.cd571","8a5cfd84.4d1b4","d95d1950.bfe9f8","d52389db.225f08","7cc00fe8.04bdc","66091730.734bc8","522d7ed3.d05ac","9701d1bb.39173","3e76235a.0128ac","8568c1b1.c067e","84f34e5d.99cf4","da804b8e.c31568","7b830214.43feec","5d7d0687.7531f8","26306c7b.99f5a4","1d596143.fb1def","2f677052.127b9","7751357c.f0a3cc","9ed7f37f.7e0ba","1193a369.1cbf5d","d08c3347.9e6b8","f219dd.0348962","a1de031b.00549","5fb22bd5.354cf4","c4805bf4.e29698","1ddae120.504e2f","2def915d.1e931e","f1d80dd8.29bb8","d36d4389.7f7d9","8ba3a63e.d10ba8","33c48630.2bf5ba","57bab6ea.edaec8","d08f8ccc.1a7f7","1ea13a3.ea552c6","eafe9b0d.7484d8","61dbdcf5.d51804","57b4b7f.10e8948"]]},{"id":"35944643.078a2a","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"success\" />\n\n","comments":"","x":379.99983978271484,"y":2749.2528038024902,"z":"ae8dc4de.f4dc68","wires":[]},{"id":"146f698f.4e6226","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":411.6666488647461,"y":276.6666679382324,"z":"ae8dc4de.f4dc68","wires":[[]]},{"id":"d50bb092.cd571","type":"execute","name":"generate gc-configuration url","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.gc-configuration`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.gc-url\"/>\n    <parameter name=\"target\" value=\"{configuration-id}\"/>\n    <parameter name=\"replacement\" value=\"`$generic-configuration-notification-input.configuration-information.configuration-id`\"/>\n","comments":"","outputs":1,"x":428.33331298828125,"y":335,"z":"ae8dc4de.f4dc68","wires":[[]]},{"id":"13678d4c.8f5533","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":763.3332214355469,"y":386.6665210723877,"z":"ae8dc4de.f4dc68","wires":[["6d9a2e0a.afa9c"]]},{"id":"8a5cfd84.4d1b4","type":"execute","name":"execute RestApiCallNode - GET gc-configuration","xml":"<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.gc-url`' />\n    <parameter name='restapiUser' value='`$prop.controller.user`' />\n    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='GET' />\n    <parameter name=\"responsePrefix\" value=\"mdsal-gc\" />\n\n","comments":"","outputs":1,"x":495.00003814697266,"y":386.6666717529297,"z":"ae8dc4de.f4dc68","wires":[["13678d4c.8f5533"]]},{"id":"d95d1950.bfe9f8","type":"execute","name":"printContext","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/bgb-gcnotify.log' />\n","comments":"","outputs":1,"x":373.3331718444824,"y":2703.3330841064453,"z":"ae8dc4de.f4dc68","wires":[[]]},{"id":"d52389db.225f08","type":"switchNode","name":"switch response-code","xml":"<switch test='`$generic-configuration-notification-input.response-code`'>\n","comments":"","outputs":1,"x":409.9999542236328,"y":495.00000953674316,"z":"ae8dc4de.f4dc68","wires":[["e66bcbd9.adfbd8","8765b92f.58af98"]]},{"id":"e66bcbd9.adfbd8","type":"outcome","name":"200","xml":"<outcome value='200'>\n","comments":"","outputs":1,"x":596.6667327880859,"y":526.6666688919067,"z":"ae8dc4de.f4dc68","wires":[["655312ec.c6ca4c"]]},{"id":"8765b92f.58af98","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":599.9999809265137,"y":466.66667556762695,"z":"ae8dc4de.f4dc68","wires":[["23f6b332.6a269c"]]},{"id":"84b95e52.d26aa","type":"configure","name":"send failure to MSO","xml":"<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.mso.MSOAdaptor\" key=\"__READ_FROM_PARAMETERS__\">\n<parameter name=\"notification-url\"\n  value=\"`$mdsal-gc.gc-configuration[0].configuration-data.configuration-operation-information.sdnc-request-header.svc-notification-url`\" />\n<parameter name=\"input.ack-final-indicator\"\n  value=\"`$generic-configuration-notification-input.ack-final-indicator`\" />\n<parameter name=\"input.response-code\"\n  value=\"`$generic-configuration-notification-input.response-code`\" />\n<parameter name=\"input.svc-request-id\"\n  value=\"`$generic-configuration-notification-input.svc-request-id`\" />\n<parameter name=\"input.service-information.service-type\"\n  value=\"`$generic-configuration-notification-input.service-information.subscription-service-type`\" />\n<parameter name=\"input.service-information.service-instance-id\"\n  value=\"`$generic-configuration-notification-input.service-information.service-instance-id`\" />\n","comments":"","outputs":1,"x":905.0000381469727,"y":443.3333206176758,"z":"ae8dc4de.f4dc68","wires":[[]]},{"id":"1ea13a3.ea552c6","type":"configure","name":"send success to MSO","xml":"<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.mso.MSOAdaptor\" key=\"__READ_FROM_PARAMETERS__\">\n<parameter name=\"notification-url\"\n  value=\"`$mdsal-gc.gc-configuration[0].configuration-data.configuration-operation-information.sdnc-request-header.svc-notification-url`\" />\n<parameter name=\"input.ack-final-indicator\"\n  value=\"`$generic-configuration-notification-input.ack-final-indicator`\" />\n<parameter name=\"input.response-code\"\n  value=\"`$generic-configuration-notification-input.response-code`\" />\n<parameter name=\"input.svc-request-id\"\n  value=\"`$generic-configuration-notification-input.svc-request-id`\" />\n<parameter name=\"input.service-information.service-type\"\n  value=\"`$generic-configuration-notification-input.service-information.subscription-service-type`\" />\n<parameter name=\"input.service-information.service-instance-id\"\n  value=\"`$generic-configuration-notification-input.service-information.service-instance-id`\" />\n","comments":"","outputs":1,"x":403.3332290649414,"y":2658.333112716675,"z":"ae8dc4de.f4dc68","wires":[[]]},{"id":"7cc00fe8.04bdc","type":"switchNode","name":"switch provided-configuration_length","xml":"<switch test='`$service-data.provided-configurations.provided-configuration_length`'>\n","comments":"","outputs":1,"x":455.00001525878906,"y":628.3333387374878,"z":"ae8dc4de.f4dc68","wires":[["ba800083.1956e"]]},{"id":"ba800083.1956e","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":678.3333129882812,"y":626.6666259765625,"z":"ae8dc4de.f4dc68","wires":[["89b0cf6a.10519"]]},{"id":"89b0cf6a.10519","type":"set","name":"set provided-configuration_length to 0","xml":"<set>\n<parameter name='service-data.provided-configurations.provided-configuration_length' value='0' />\n","comments":"","x":908.3332824707031,"y":626.666711807251,"z":"ae8dc4de.f4dc68","wires":[]},{"id":"66091730.734bc8","type":"set","name":"set found-provided-configuration to false","xml":"<set>\n<parameter name='found-provided-configuration' value='false' />\n","comments":"","x":465.00001525878906,"y":676.6666965484619,"z":"ae8dc4de.f4dc68","wires":[]},{"id":"522d7ed3.d05ac","type":"for","name":"for each provided-configuration","xml":"<for silentFailure='true' index='pc-index' start='0' end='`$service-data.provided-configurations.provided-configuration_length`' >\n","comments":"","outputs":1,"x":434.99999237060547,"y":780.0000705718994,"z":"ae8dc4de.f4dc68","wires":[["b8acf999.6ad398"]]},{"id":"b8acf999.6ad398","type":"switchNode","name":"switch configuration-ids match?","xml":"<switch test='`$service-data.provided-configurations.provided-configuration[$pc-index].configuration-id\n  == $generic-configuration-notification-input.configuration-information.configuration-id`'>\n","comments":"","outputs":1,"x":715.0000381469727,"y":780.0000305175781,"z":"ae8dc4de.f4dc68","wires":[["77441f9a.3950f"]]},{"id":"77441f9a.3950f","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":928.3333435058594,"y":778.3333225250244,"z":"ae8dc4de.f4dc68","wires":[["53f19e9a.4c592"]]},{"id":"53f19e9a.4c592","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1064.9999313354492,"y":778.3333339691162,"z":"ae8dc4de.f4dc68","wires":[["f80ba273.e518","794072c0.94b0fc"]]},{"id":"655312ec.c6ca4c","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":731.6666259765625,"y":525,"z":"ae8dc4de.f4dc68","wires":[[]]},{"id":"23f6b332.6a269c","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":731.6666259765625,"y":466.6666564941406,"z":"ae8dc4de.f4dc68","wires":[["84b95e52.d26aa","2eee38b0.9cc638"]]},{"id":"f80ba273.e518","type":"set","name":"set found-provided-configuration to true","xml":"<set>\n<parameter name='found-provided-configuration' value='true' />\n","comments":"","x":1293.333351135254,"y":748.3332796096802,"z":"ae8dc4de.f4dc68","wires":[]},{"id":"794072c0.94b0fc","type":"break","name":"break","xml":"<break>\n","comments":"","x":1191.6666870117188,"y":796.6666769981384,"z":"ae8dc4de.f4dc68","wires":[]},{"id":"9701d1bb.39173","type":"switchNode","name":"switch found-provided-configuration","xml":"<switch test='`$found-provided-configuration`'>\n","comments":"","outputs":1,"x":448.33335876464844,"y":833.3333644866943,"z":"ae8dc4de.f4dc68","wires":[["3bf36f48.88521"]]},{"id":"3bf36f48.88521","type":"outcomeFalse","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":663.3333129882812,"y":833.3333435058594,"z":"ae8dc4de.f4dc68","wires":[["e204449a.562808"]]},{"id":"e204449a.562808","type":"set","name":"increment provided-configuration_length","xml":"<set>\n<parameter name='service-data.provided-configurations.provided-configuration_length'\n  value='`$service-data.provided-configurations.provided-configuration_length + 1`' />\n","comments":"","x":894.9999847412109,"y":833.3333225250244,"z":"ae8dc4de.f4dc68","wires":[]},{"id":"3e76235a.0128ac","type":"set","name":"set provided-configuration data","xml":"<set>\n<parameter name='service-data.provided-configurations.provided-configuration[$pc-index].configuration-id'\n  value='`$generic-configuration-notification-input.configuration-information.configuration-id`' />\n<parameter name='service-data.provided-configurations.provided-configuration[$pc-index].configuration-type'\n  value='`$generic-configuration-notification-input.configuration-information.configuration-type`' />\n<parameter name='service-data.provided-configurations.provided-configuration[$pc-index].configuration-sub-type'\n  value='`$generic-configuration-notification-input.configuration-information.configuration-sub-type`' />\n<parameter name='service-data.provided-configurations.provided-configuration[$pc-index].configuration-topology-link'\n  value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n   + $generic-configuration-notification-input.service-information.service-instance-id\n   + '/service-data/provided-configurations/provided-configuration/'\n   + $generic-configuration-notification-input.configuration-information.configuration-id`\" />\n","comments":"","x":431.66666412353516,"y":888.333306312561,"z":"ae8dc4de.f4dc68","wires":[]},{"id":"f496c6ed.5771a8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":813.3332901000977,"y":1181.6666851043701,"z":"ae8dc4de.f4dc68","wires":[["9cb35e05.54f97"]]},{"id":"8568c1b1.c067e","type":"execute","name":"execute RestApiCallNode - GET vnf-sub-interface-group","xml":"<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.vsig-url`' />\n    <parameter name='restapiUser' value='`$prop.controller.user`' />\n    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='GET' />\n    <parameter name=\"responsePrefix\" value=\"mdsal-vsig\" />\n\n","comments":"","outputs":1,"x":511.6666564941406,"y":1183.3335456848145,"z":"ae8dc4de.f4dc68","wires":[["f496c6ed.5771a8"]]},{"id":"84f34e5d.99cf4","type":"execute","name":"generate vnf-sub-interface-group URL","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.vnf-sub-interface-group`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.part\"/>\n    <parameter name=\"target\" value=\"{service-instance-id}\"/>\n    <parameter name=\"replacement\" value=\"`$generic-configuration-notification-input.vnr-parameters.vnf-service-instance-id`\"/>\n","comments":"","outputs":1,"x":454.9999694824219,"y":938.3333206176758,"z":"ae8dc4de.f4dc68","wires":[[]]},{"id":"da804b8e.c31568","type":"execute","name":"generate vnf-sub-interface-group URL","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.part`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.part\"/>\n    <parameter name=\"target\" value=\"{vnf-id}\"/>\n    <parameter name=\"replacement\" value=\"`$generic-configuration-notification-input.vnr-parameters.vnf-id`\"/>\n","comments":"","outputs":1,"x":454.9999465942383,"y":988.3333654403687,"z":"ae8dc4de.f4dc68","wires":[[]]},{"id":"7b830214.43feec","type":"execute","name":"generate vnf-sub-interface-group URL","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.part`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.part\"/>\n    <parameter name=\"target\" value=\"{vnfc-instance-group-function}\"/>\n    <parameter name=\"replacement\" value=\"`$generic-configuration-notification-input.vnr-parameters.vnfc-instance-group-function`\"/>\n","comments":"","outputs":1,"x":454.99993896484375,"y":1038.3332872390747,"z":"ae8dc4de.f4dc68","wires":[[]]},{"id":"5d7d0687.7531f8","type":"execute","name":"generate vnf-sub-interface-group URL","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.part`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.part\"/>\n    <parameter name=\"target\" value=\"{network-instance-group-function}\"/>\n    <parameter name=\"replacement\" value=\"`$generic-configuration-notification-input.vnr-parameters.network-instance-group-function`\"/>\n","comments":"","outputs":1,"x":454.99996185302734,"y":1086.6665840148926,"z":"ae8dc4de.f4dc68","wires":[[]]},{"id":"26306c7b.99f5a4","type":"execute","name":"generate vnf-sub-interface-group URL","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.part`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.vsig-url\"/>\n    <parameter name=\"target\" value=\"{parent-port-role}\"/>\n    <parameter name=\"replacement\" value=\"`$generic-configuration-notification-input.vnr-parameters.parent-port-role`\"/>\n","comments":"","outputs":1,"x":454.99993896484375,"y":1135.0000438690186,"z":"ae8dc4de.f4dc68","wires":[[]]},{"id":"ef8bdf4c.8e0fb","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'Cannot find vnf-sub-interface-group in service ' + $generic-configuration-notification-input.vnr-parameters.vnf-service-instance-id`\" />\n","comments":"","x":1100.0003967285156,"y":1199.9998970031738,"z":"ae8dc4de.f4dc68","wires":[]},{"id":"6d9a2e0a.afa9c","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":891.6665420532227,"y":386.66664695739746,"z":"ae8dc4de.f4dc68","wires":[["a8eb0918.9f1948","6dad07ad.23e0c8"]]},{"id":"a8eb0918.9f1948","type":"configure","name":"send failure to MSO","xml":"<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.mso.MSOAdaptor\" key=\"__READ_FROM_PARAMETERS__\">\n<parameter name=\"notification-url\"\n  value=\"`$mdsal-gc.gc-configuration[0].configuration-data.configuration-operation-information.sdnc-request-header.svc-notification-url`\" />\n<parameter name=\"input.ack-final-indicator\"\n  value=\"Y\" />\n<parameter name=\"input.response-code\"\n  value=\"500\" />\n<parameter name=\"input.response-message\"\n  value=\"`'Cannot find configuration ' + $generic-configuration-notification-input.configuration-information.configuration-id`\" />\n<parameter name=\"input.svc-request-id\"\n  value=\"`$generic-configuration-notification-input.svc-request-id`\" />\n<parameter name=\"input.service-information.service-type\"\n  value=\"`$generic-configuration-notification-input.service-information.subscription-service-type`\" />\n<parameter name=\"input.service-information.service-instance-id\"\n  value=\"`$generic-configuration-notification-input.service-information.service-instance-id`\" />\n","comments":"","outputs":1,"x":1069.999855041504,"y":354.99999046325684,"z":"ae8dc4de.f4dc68","wires":[[]]},{"id":"6dad07ad.23e0c8","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'Cannot find configuration ' + $generic-configuration-notification-input.configuration-information.configuration-id`\" />\n","comments":"","x":1046.66650390625,"y":406.666672706604,"z":"ae8dc4de.f4dc68","wires":[]},{"id":"2eee38b0.9cc638","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`$generic-configuration-notification-input.response-message`\" />\n","comments":"","x":883.3333129882812,"y":489.9999694824219,"z":"ae8dc4de.f4dc68","wires":[]},{"id":"9cb35e05.54f97","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":953.3332748413086,"y":1181.6666774749756,"z":"ae8dc4de.f4dc68","wires":[["ef8bdf4c.8e0fb","15aaaf48.cec541"]]},{"id":"15aaaf48.cec541","type":"configure","name":"send failure to MSO","xml":"<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.mso.MSOAdaptor\" key=\"__READ_FROM_PARAMETERS__\">\n<parameter name=\"notification-url\"\n  value=\"`$mdsal-gc.gc-configuration[0].configuration-data.configuration-operation-information.sdnc-request-header.svc-notification-url`\" />\n<parameter name=\"input.ack-final-indicator\"\n  value=\"Y\" />\n<parameter name=\"input.response-code\"\n  value=\"500\" />\n<parameter name=\"input.response-message\"\n  value=\"`'Cannot find vnf-sub-interface-group in service ' + $generic-configuration-notification-input.vnr-parameters.vnf-service-instance-id`\" />\n<parameter name=\"input.svc-request-id\"\n  value=\"`$generic-configuration-notification-input.svc-request-id`\" />\n<parameter name=\"input.service-information.service-type\"\n  value=\"`$generic-configuration-notification-input.service-information.subscription-service-type`\" />\n<parameter name=\"input.service-information.service-instance-id\"\n  value=\"`$generic-configuration-notification-input.service-information.service-instance-id`\" />\n","comments":"","outputs":1,"x":1119.999900817871,"y":1154.9999294281006,"z":"ae8dc4de.f4dc68","wires":[[]]},{"id":"1d596143.fb1def","type":"for","name":"for each vnfc","xml":"<for silentFailure='true' index='vnfc-index' start='0' end='`$mdsal-vsig.vnf-sub-interface-group[0].vnfcs.vnfc_length`' >\n","comments":"","outputs":1,"x":376.666690826416,"y":1256.6666355133057,"z":"ae8dc4de.f4dc68","wires":[["78c2892b.27f7b8"]]},{"id":"78c2892b.27f7b8","type":"for","name":"for each vnic","xml":"<for silentFailure='true' index='vnic-index' start='0' end='`$mdsal-vsig.vnf-sub-interface-group[0].vnfcs.vnfc[$vnfc-index].vnics.vnic_length`' >\n","comments":"","outputs":1,"x":545,"y":1255,"z":"ae8dc4de.f4dc68","wires":[["71029de0.105574"]]},{"id":"71029de0.105574","type":"for","name":"for each subinterface","xml":"<for silentFailure='true' index='si-index' start='0' end='`$mdsal-vsig.vnf-sub-interface-group[0].vnfcs.vnfc[$vnfc-index].vnics.vnic[$vnic-index].sub-interfaces.sub-interface_length`' >\n","comments":"","outputs":1,"x":736.6666564941406,"y":1255.0000495910645,"z":"ae8dc4de.f4dc68","wires":[["ec687857.094fb8"]]},{"id":"ec687857.094fb8","type":"switchNode","name":"switch lower-tag-ids equal?","xml":"<switch test='`$mdsal-vsig.vnf-sub-interface-group[0].vnfcs.vnfc[$vnfc-index].vnics.vnic[$vnic-index].sub-interfaces.sub-interface[$si-index].vlan-tags.lower-tag-id\n  == $generic-configuration-notification-input.vnr-parameters.lower-tag-id`'>\n","comments":"","outputs":1,"x":973.3333053588867,"y":1253.3332614898682,"z":"ae8dc4de.f4dc68","wires":[["a2c19f89.3b803"]]},{"id":"a2c19f89.3b803","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1168.3333435058594,"y":1251.6667175292969,"z":"ae8dc4de.f4dc68","wires":[["52075d54.ad5254"]]},{"id":"52075d54.ad5254","type":"set","name":"set sub-interface-status to 'assigned'","xml":"<set>\n<parameter name='mdsal-vsig.vnf-sub-interface-group[0].vnfcs.vnfc[$vnfc-index].vnics.vnic[$vnic-index].sub-interfaces.sub-interface[$si-index].sub-interface-status'\n  value='assigned' />\n","comments":"","x":1393.3331832885742,"y":1249.9998865127563,"z":"ae8dc4de.f4dc68","wires":[]},{"id":"2f677052.127b9","type":"switchNode","name":"switch customer-bonding-request_length","xml":"<switch test='`$mdsal-vsig.vnf-sub-interface-group[0].customer-bonding-requests.customer-bonding-request_length`'>\n","comments":"","outputs":1,"x":461.66664123535156,"y":1331.66667842865,"z":"ae8dc4de.f4dc68","wires":[["49eafbd8.217b14"]]},{"id":"49eafbd8.217b14","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":696.6666259765625,"y":1330,"z":"ae8dc4de.f4dc68","wires":[["876b66b2.c44fc8"]]},{"id":"876b66b2.c44fc8","type":"set","name":"set customer-bonding-request_length to 0","xml":"<set>\n<parameter name='mdsal-vsig.vnf-sub-interface-group[0].customer-bonding-requests.customer-bonding-request_length'\n  value='0' />\n","comments":"","x":934.9999694824219,"y":1329.999930381775,"z":"ae8dc4de.f4dc68","wires":[]},{"id":"7751357c.f0a3cc","type":"for","name":"for each customer-bonding-request","xml":"<for index='cbr-index' start='0' end='`$mdsal-vsig.vnf-sub-interface-group[0].customer-bonding-requests.customer-bonding-request_length`' >\n","comments":"","outputs":1,"x":443.3332977294922,"y":1441.6666831970215,"z":"ae8dc4de.f4dc68","wires":[["52b7e9d6.3b8d68"]]},{"id":"52b7e9d6.3b8d68","type":"switchNode","name":"switch configuration-ids equal?","xml":"<switch test='`$mdsal-vsig.vnf-sub-interface-group[0].customer-bonding-requests.customer-bonding-request[$cbr-index].configuration-id\n  == $generic-configuration-notification-input.configuration-information.configuration-id`'>\n","comments":"","outputs":1,"x":738.3333206176758,"y":1441.666603088379,"z":"ae8dc4de.f4dc68","wires":[["668d8732.ab0708"]]},{"id":"9ed7f37f.7e0ba","type":"set","name":"set found-customer-bonding-request to false","xml":"<set>\n<parameter name='found-customer-bonding-request' value='false' />\n","comments":"","x":473.3333435058594,"y":1381.6665992736816,"z":"ae8dc4de.f4dc68","wires":[]},{"id":"668d8732.ab0708","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":939.9999389648438,"y":1441.6666259765625,"z":"ae8dc4de.f4dc68","wires":[["18edad9e.582f42"]]},{"id":"18edad9e.582f42","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1076.6665267944336,"y":1441.6666374206543,"z":"ae8dc4de.f4dc68","wires":[["4224a75f.aa5358","ebf48469.47ca38"]]},{"id":"4224a75f.aa5358","type":"set","name":"set found-customer-bonding-request to true","xml":"<set>\n<parameter name='found-customer-bonding-request' value='true' />\n","comments":"","x":1318.3333015441895,"y":1411.6666011810303,"z":"ae8dc4de.f4dc68","wires":[]},{"id":"ebf48469.47ca38","type":"break","name":"break","xml":"<break>\n","comments":"","x":1203.3332824707031,"y":1459.9999804496765,"z":"ae8dc4de.f4dc68","wires":[]},{"id":"1193a369.1cbf5d","type":"switchNode","name":"switch found-customer-bonding-request","xml":"<switch test='`$found-customer-bonding-request`'>\n","comments":"","outputs":1,"x":459.9999809265137,"y":1526.666748046875,"z":"ae8dc4de.f4dc68","wires":[["9422191b.a944a8"]]},{"id":"9422191b.a944a8","type":"outcomeFalse","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":704.9998817443848,"y":1526.666748046875,"z":"ae8dc4de.f4dc68","wires":[["c651b8bd.b62478"]]},{"id":"3b053b7e.793854","type":"set","name":"increment provided-configuration_length","xml":"<set>\n<parameter name='mdsal-vsig.vnf-sub-interface-group[0].customer-bonding-requests.customer-bonding-request_length'\n  value='`$mdsal-vsig.vnf-sub-interface-group[0].customer-bonding-requests.customer-bonding-request_length + 1`' />\n","comments":"","x":1068.3331909179688,"y":1548.3332347869873,"z":"ae8dc4de.f4dc68","wires":[]},{"id":"c651b8bd.b62478","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":833.3332862854004,"y":1526.6666870117188,"z":"ae8dc4de.f4dc68","wires":[["3b053b7e.793854","50457e5a.648f3"]]},{"id":"50457e5a.648f3","type":"set","name":"set configuration-id","xml":"<set>\n<parameter name='mdsal-vsig.vnf-sub-interface-group[0].customer-bonding-requests.customer-bonding-request[$mdsal-vsig.vnf-sub-interface-group[0].customer-bonding-requests.customer-bonding-request_length].configuration-id'\n  value='`$generic-configuration-notification-input.configuration-information.configuration-id`' />\n","comments":"","x":1003.3332901000977,"y":1500.0001430511475,"z":"ae8dc4de.f4dc68","wires":[]},{"id":"d08c3347.9e6b8","type":"execute","name":"execute RestApiCallNode - PUT vnf-sub-interface-group","xml":"<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.vnfsubinterfacegroup.templatefile`\" />\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.vsig-url`' />\n    <parameter name='restapiUser' value='`$prop.controller.user`' />\n    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='PUT' />\n    <parameter name=\"responsePrefix\" value=\"mdsal-vsig\" />\n\n","comments":"","outputs":1,"x":511.66663360595703,"y":1638.333152770996,"z":"ae8dc4de.f4dc68","wires":[["721a4c33.94a274"]]},{"id":"721a4c33.94a274","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":798.3332901000977,"y":1636.6665267944336,"z":"ae8dc4de.f4dc68","wires":[["a09798f2.5efdb8"]]},{"id":"762136cc.984f68","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"Failure writing vnf-sub-interface-group\" />\n","comments":"","x":1083.3331336975098,"y":1653.333194732666,"z":"ae8dc4de.f4dc68","wires":[]},{"id":"a09798f2.5efdb8","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":929.9999389648438,"y":1634.9998779296875,"z":"ae8dc4de.f4dc68","wires":[["762136cc.984f68","3ab13842.69d928"]]},{"id":"f219dd.0348962","type":"set","name":"set pc-index to 0","xml":"<set>\n<parameter name='pc-index' value='0' />\n","comments":"","x":389.9999694824219,"y":728.3333873748779,"z":"ae8dc4de.f4dc68","wires":[]},{"id":"a1de031b.00549","type":"execute","name":"generate network-instance-group-network URL","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.network-instance-group-network`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.part\"/>\n    <parameter name=\"target\" value=\"{service-instance-id}\"/>\n    <parameter name=\"replacement\" value=\"`$generic-configuration-notification-input.vnr-parameters.network-collection-service-instance-id`\"/>\n","comments":"","outputs":1,"x":484.9999084472656,"y":1716.6664113998413,"z":"ae8dc4de.f4dc68","wires":[[]]},{"id":"5fb22bd5.354cf4","type":"execute","name":"generate network-instance-group-network URL","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.part`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.part\"/>\n    <parameter name=\"target\" value=\"{network-instance-group-id}\"/>\n    <parameter name=\"replacement\" value=\"`$generic-configuration-notification-input.vnr-parameters.network-instance-group-id`\"/>\n","comments":"","outputs":1,"x":484.99989318847656,"y":1763.3332405090332,"z":"ae8dc4de.f4dc68","wires":[[]]},{"id":"c4805bf4.e29698","type":"execute","name":"generate network-instance-group-network URL","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.part`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.nign-url\"/>\n    <parameter name=\"target\" value=\"{network-id}\"/>\n    <parameter name=\"replacement\" value=\"`$generic-configuration-notification-input.vnr-parameters.network-id`\"/>\n","comments":"","outputs":1,"x":484.9998779296875,"y":1806.6664543151855,"z":"ae8dc4de.f4dc68","wires":[[]]},{"id":"53f66c5f.db0e04","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":852.0000152587891,"y":1922.6666278839111,"z":"ae8dc4de.f4dc68","wires":[["f74392fc.d0a05"]]},{"id":"1ddae120.504e2f","type":"execute","name":"execute RestApiCallNode - GET network-instance-group-network","xml":"<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.nign-url`' />\n    <parameter name='restapiUser' value='`$prop.controller.user`' />\n    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='GET' />\n    <parameter name=\"responsePrefix\" value=\"mdsal-nign\" />\n\n","comments":"","outputs":1,"x":541.6666946411133,"y":1923.3334884643555,"z":"ae8dc4de.f4dc68","wires":[["53f66c5f.db0e04"]]},{"id":"511e8517.fc5a2c","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'Cannot find network-instance-group-network in service ' + $generic-configuration-notification-input.vnr-parameters.network-collection-service-instance-id`\" />\n","comments":"","x":1128.3337020874023,"y":1949.999834060669,"z":"ae8dc4de.f4dc68","wires":[]},{"id":"f74392fc.d0a05","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":983.3333129882812,"y":1921.6666202545166,"z":"ae8dc4de.f4dc68","wires":[["511e8517.fc5a2c","8ace224e.0988d"]]},{"id":"8ace224e.0988d","type":"configure","name":"send failure to MSO","xml":"<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.mso.MSOAdaptor\" key=\"__READ_FROM_PARAMETERS__\">\n<parameter name=\"notification-url\"\n  value=\"`$mdsal-gc.gc-configuration[0].configuration-data.configuration-operation-information.sdnc-request-header.svc-notification-url`\" />\n<parameter name=\"input.ack-final-indicator\"\n  value=\"Y\" />\n<parameter name=\"input.response-code\"\n  value=\"500\" />\n<parameter name=\"input.response-message\"\n  value=\"`'Cannot find network-instance-group-network in service ' + $generic-configuration-notification-input.vnr-parameters.network-collection-service-instance-id`\" />\n<parameter name=\"input.svc-request-id\"\n  value=\"`$generic-configuration-notification-input.svc-request-id`\" />\n<parameter name=\"input.service-information.service-type\"\n  value=\"`$generic-configuration-notification-input.service-information.subscription-service-type`\" />\n<parameter name=\"input.service-information.service-instance-id\"\n  value=\"`$generic-configuration-notification-input.service-information.service-instance-id`\" />\n","comments":"","outputs":1,"x":1148.3332977294922,"y":1899.9998707771301,"z":"ae8dc4de.f4dc68","wires":[[]]},{"id":"2def915d.1e931e","type":"switchNode","name":"switch customer-bonding-request_length","xml":"<switch test='`$mdsal-nign.network[0].customer-bonding-requests.customer-bonding-request_length`'>\n","comments":"","outputs":1,"x":463.33331298828125,"y":2019.9998779296875,"z":"ae8dc4de.f4dc68","wires":[["2e033362.ff3efc"]]},{"id":"2e033362.ff3efc","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":698.3332977294922,"y":2018.3331995010376,"z":"ae8dc4de.f4dc68","wires":[["9f1b41b9.a2ee4"]]},{"id":"9f1b41b9.a2ee4","type":"set","name":"set customer-bonding-request_length to 0","xml":"<set>\n<parameter name='mdsal-nign.network[0].customer-bonding-requests.customer-bonding-request_length'\n  value='0' />\n","comments":"","x":936.6666412353516,"y":2018.3331298828125,"z":"ae8dc4de.f4dc68","wires":[]},{"id":"8ba3a63e.d10ba8","type":"for","name":"for each customer-bonding-request","xml":"<for index='cbr-index' start='0' end='`$mdsal-nign.network[0].customer-bonding-requests.customer-bonding-request_length`' >\n","comments":"","outputs":1,"x":444.9999542236328,"y":2170.0000038146973,"z":"ae8dc4de.f4dc68","wires":[["731cd6b2.d705e8"]]},{"id":"731cd6b2.d705e8","type":"switchNode","name":"switch configuration-ids equal?","xml":"<switch test='`$mdsal-nign.network[0].customer-bonding-requests.customer-bonding-request[$cbr-index].configuration-id\n  == $generic-configuration-notification-input.configuration-information.configuration-id`'>\n","comments":"","outputs":1,"x":739.9999771118164,"y":2169.9999237060547,"z":"ae8dc4de.f4dc68","wires":[["172328ac.80fd77"]]},{"id":"f1d80dd8.29bb8","type":"set","name":"set found-customer-bonding-request to false","xml":"<set>\n<parameter name='found-customer-bonding-request' value='false' />\n","comments":"","x":475.00001525878906,"y":2069.9997987747192,"z":"ae8dc4de.f4dc68","wires":[]},{"id":"172328ac.80fd77","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":941.6665954589844,"y":2169.9999465942383,"z":"ae8dc4de.f4dc68","wires":[["722ff3a4.17f61c"]]},{"id":"722ff3a4.17f61c","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1078.3331832885742,"y":2169.99995803833,"z":"ae8dc4de.f4dc68","wires":[["19bd2de.2f9ddd2","deca096b.06e4b8"]]},{"id":"19bd2de.2f9ddd2","type":"set","name":"set found-customer-bonding-request to true","xml":"<set>\n<parameter name='found-customer-bonding-request' value='true' />\n","comments":"","x":1319.99995803833,"y":2139.999921798706,"z":"ae8dc4de.f4dc68","wires":[]},{"id":"deca096b.06e4b8","type":"break","name":"break","xml":"<break>\n","comments":"","x":1204.9999389648438,"y":2188.3333010673523,"z":"ae8dc4de.f4dc68","wires":[]},{"id":"33c48630.2bf5ba","type":"switchNode","name":"switch found-customer-bonding-request","xml":"<switch test='`$found-customer-bonding-request`'>\n","comments":"","outputs":1,"x":461.6666374206543,"y":2255.000068664551,"z":"ae8dc4de.f4dc68","wires":[["5e701dee.5b5824"]]},{"id":"5e701dee.5b5824","type":"outcomeFalse","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":706.6665382385254,"y":2255.000068664551,"z":"ae8dc4de.f4dc68","wires":[["697b5fb8.beda5"]]},{"id":"e84cf705.8fbbd8","type":"set","name":"increment provided-configuration_length","xml":"<set>\n<parameter name='mdsal-nign.network[0].customer-bonding-requests.customer-bonding-request_length'\n  value='`$mdsal-nign.network[0].customer-bonding-requests.customer-bonding-request_length + 1`' />\n","comments":"","x":1069.9998474121094,"y":2276.666555404663,"z":"ae8dc4de.f4dc68","wires":[]},{"id":"697b5fb8.beda5","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":834.999942779541,"y":2255.0000076293945,"z":"ae8dc4de.f4dc68","wires":[["e84cf705.8fbbd8","f6b7d527.816a38"]]},{"id":"f6b7d527.816a38","type":"set","name":"set configuration-id","xml":"<set>\n<parameter name='mdsal-nign.network[0].customer-bonding-requests.customer-bonding-request[$mdsal-nign.network[0].customer-bonding-requests.customer-bonding-request_length].configuration-id'\n  value='`$generic-configuration-notification-input.configuration-information.configuration-id`' />\n","comments":"","x":1004.9999465942383,"y":2228.3334636688232,"z":"ae8dc4de.f4dc68","wires":[]},{"id":"d36d4389.7f7d9","type":"set","name":"set cbr-index to 0","xml":"<set>\n<parameter name='cbr-index' value='0' />\n","comments":"","x":390.0000228881836,"y":2118.3332557678223,"z":"ae8dc4de.f4dc68","wires":[]},{"id":"57bab6ea.edaec8","type":"set","name":"set network-status to assigned","xml":"<set>\n<parameter name='mdsal-nign.network[0].network-status' value='assigned' />\n","comments":"","x":431.6666717529297,"y":2313.3336696624756,"z":"ae8dc4de.f4dc68","wires":[]},{"id":"b626d1d9.7a40b","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":848.333251953125,"y":2361.6664476394653,"z":"ae8dc4de.f4dc68","wires":[["e67173fb.9bd5b"]]},{"id":"711125b6.dfa3fc","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"Failure writing network-instance-group network\" />\n","comments":"","x":1133.333095550537,"y":2378.3331155776978,"z":"ae8dc4de.f4dc68","wires":[]},{"id":"e67173fb.9bd5b","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":979.9999008178711,"y":2359.9997987747192,"z":"ae8dc4de.f4dc68","wires":[["711125b6.dfa3fc","eb1f5008.a5906"]]},{"id":"d08f8ccc.1a7f7","type":"execute","name":"execute RestApiCallNode - PUT network-instance-group-network","xml":"<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.network-instance-group-network.templatefile`\" />\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.nign-url`' />\n    <parameter name='restapiUser' value='`$prop.controller.user`' />\n    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='PUT' />\n    <parameter name=\"responsePrefix\" value=\"mdsal-nign\" />\n\n","comments":"","outputs":1,"x":538.3332977294922,"y":2363.333101272583,"z":"ae8dc4de.f4dc68","wires":[["b626d1d9.7a40b"]]},{"id":"eb1f5008.a5906","type":"configure","name":"send failure to MSO","xml":"<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.mso.MSOAdaptor\" key=\"__READ_FROM_PARAMETERS__\">\n<parameter name=\"notification-url\"\n  value=\"`$mdsal-gc.gc-configuration[0].configuration-data.configuration-operation-information.sdnc-request-header.svc-notification-url`\" />\n<parameter name=\"input.ack-final-indicator\"\n  value=\"Y\" />\n<parameter name=\"input.response-code\"\n  value=\"500\" />\n<parameter name=\"input.response-message\"\n  value=\"Failure writing network-instance-group network\" />\n<parameter name=\"input.svc-request-id\"\n  value=\"`$generic-configuration-notification-input.svc-request-id`\" />\n<parameter name=\"input.service-information.service-type\"\n  value=\"`$generic-configuration-notification-input.service-information.subscription-service-type`\" />\n<parameter name=\"input.service-information.service-instance-id\"\n  value=\"`$generic-configuration-notification-input.service-information.service-instance-id`\" />\n","comments":"","outputs":1,"x":1156.6666259765625,"y":2333.333251953125,"z":"ae8dc4de.f4dc68","wires":[[]]},{"id":"3ab13842.69d928","type":"configure","name":"send failure to MSO","xml":"<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.mso.MSOAdaptor\" key=\"__READ_FROM_PARAMETERS__\">\n<parameter name=\"notification-url\"\n  value=\"`$mdsal-gc.gc-configuration[0].configuration-data.configuration-operation-information.sdnc-request-header.svc-notification-url`\" />\n<parameter name=\"input.ack-final-indicator\"\n  value=\"Y\" />\n<parameter name=\"input.response-code\"\n  value=\"500\" />\n<parameter name=\"input.response-message\"\n  value=\"Failure writing vnf-sub-interface-group\" />\n<parameter name=\"input.svc-request-id\"\n  value=\"`$generic-configuration-notification-input.svc-request-id`\" />\n<parameter name=\"input.service-information.service-type\"\n  value=\"`$generic-configuration-notification-input.service-information.subscription-service-type`\" />\n<parameter name=\"input.service-information.service-instance-id\"\n  value=\"`$generic-configuration-notification-input.service-information.service-instance-id`\" />\n","comments":"","outputs":1,"x":1105,"y":1606.6666259765625,"z":"ae8dc4de.f4dc68","wires":[[]]},{"id":"61dbdcf5.d51804","type":"execute","name":"execute RestApiCallNode - PUT port-mirror-configuration","xml":"<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.genconfig.templatefile`\" />\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.gc-url`' />\n    <parameter name='restapiUser' value='`$prop.controller.user`' />\n    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='PUT' />\n    <parameter name=\"responsePrefix\" value=\"mdsal-gc\" />\n\n","comments":"","outputs":1,"x":513.3333206176758,"y":2584.9997758865356,"z":"ae8dc4de.f4dc68","wires":[["bfa7d1bb.33253","66bbb3f8.ea0f1c"]]},{"id":"bfa7d1bb.33253","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":813.4031410217285,"y":2606.3313312530518,"z":"ae8dc4de.f4dc68","wires":[["a48c4403.7a82c8"]]},{"id":"66bbb3f8.ea0f1c","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":805.8317756652832,"y":2564.8313512802124,"z":"ae8dc4de.f4dc68","wires":[["a48c4403.7a82c8"]]},{"id":"a48c4403.7a82c8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":968.8212852478027,"y":2578.9041776657104,"z":"ae8dc4de.f4dc68","wires":[["264f1cac.56b1a4","f64485c8.232168"]]},{"id":"264f1cac.56b1a4","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='Error updating md-sal for gc-configuration' />\n","comments":"","x":1143.3333358764648,"y":2600.000020980835,"z":"ae8dc4de.f4dc68","wires":[]},{"id":"eafe9b0d.7484d8","type":"set","name":"set order-status to Created","xml":"<set>\n<parameter name='mdsal-gc.gc-configuration[0].configuration-data.configuration-oper-status.order-status'\n  value='Created' />\n","comments":"","x":420.00001525878906,"y":2429.999858856201,"z":"ae8dc4de.f4dc68","wires":[]},{"id":"57b4b7f.10e8948","type":"set","name":"copy mdsal-gc.gc-configuration[0]. to gc.","xml":"<set>\n<parameter name='gc.' value='mdsal-gc.gc-configuration[0].' />\n","comments":"","x":461.6666564941406,"y":2511.666603088379,"z":"ae8dc4de.f4dc68","wires":[]},{"id":"f64485c8.232168","type":"configure","name":"send failure to MSO","xml":"<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.mso.MSOAdaptor\" key=\"__READ_FROM_PARAMETERS__\">\n<parameter name=\"notification-url\"\n  value=\"`$mdsal-gc.gc-configuration[0].configuration-data.configuration-operation-information.sdnc-request-header.svc-notification-url`\" />\n<parameter name=\"input.ack-final-indicator\"\n  value=\"Y\" />\n<parameter name=\"input.response-code\"\n  value=\"500\" />\n<parameter name=\"input.response-message\"\n  value=\"Error updating md-sal for gc-configuration\" />\n<parameter name=\"input.svc-request-id\"\n  value=\"`$generic-configuration-notification-input.svc-request-id`\" />\n<parameter name=\"input.service-information.service-type\"\n  value=\"`$generic-configuration-notification-input.service-information.subscription-service-type`\" />\n<parameter name=\"input.service-information.service-instance-id\"\n  value=\"`$generic-configuration-notification-input.service-information.service-instance-id`\" />\n","comments":"","outputs":1,"x":1165,"y":2553.333251953125,"z":"ae8dc4de.f4dc68","wires":[[]]}]