+ },\r
+ {\r
+ "id": "46f139dc.3ca98",\r
+ "type": "other",\r
+ "name": "Null",\r
+ "xml": "<outcome value=''>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1274.0000953674316,\r
+ "y": 251.00008651893586,\r
+ "z": "1749c920.27afb7",\r
+ "wires": [\r
+ [\r
+ "646213b6.68f42c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7a6d1b04.564dbc",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1267.000503540039,\r
+ "y": 284.0000903336331,\r
+ "z": "1749c920.27afb7",\r
+ "wires": [\r
+ [\r
+ "4e29626e.e0608c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "4e29626e.e0608c",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 1414.2700462341309,\r
+ "y": 284.55473539512604,\r
+ "z": "1749c920.27afb7",\r
+ "wires": [\r
+ [\r
+ "530877d0.02663",\r
+ "a9f43f7c.095d3"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "530877d0.02663",\r
+ "type": "for",\r
+ "name": "for vidx..service-data.vnfs.vnf_length[]",\r
+ "xml": "<for index='vidx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1660.2861633300781,\r
+ "y": 291.4286558357999,\r
+ "z": "1749c920.27afb7",\r
+ "wires": [\r
+ [\r
+ "a8e35f93.0e2bf"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a8e35f93.0e2bf",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1879.6357955932617,\r
+ "y": 290.9687359062955,\r
+ "z": "1749c920.27afb7",\r
+ "wires": [\r
+ [\r
+ "370233d.767e7cc"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "370233d.767e7cc",\r
+ "type": "switchNode",\r
+ "name": "switch vnfid found",\r
+ "xml": "<switch test=\"`$service-data.vnfs.vnf[$vidx].vnf-id == $vnf-topology-operation-input.vnf-information.vnf-id`\">\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2033.7153930664062,\r
+ "y": 290.67881796043366,\r
+ "z": "1749c920.27afb7",\r
+ "wires": [\r
+ [\r
+ "908635e8.5a6bb"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "908635e8.5a6bb",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2209.6675148010254,\r
+ "y": 290.57150003593415,\r
+ "z": "1749c920.27afb7",\r
+ "wires": [\r
+ [\r
+ "f0769224.c0af2"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f0769224.c0af2",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 2358.312973022461,\r
+ "y": 278.97913000267,\r
+ "z": "1749c920.27afb7",\r
+ "wires": [\r
+ [\r
+ "6bf835a7.6620bc"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "6bf835a7.6620bc",\r
+ "type": "set",\r
+ "name": "set tmp.vidx and ctx.vnf-data",\r
+ "xml": "<set>\n<parameter name='tmp.vidx' value='`$vidx`' />\n<parameter name='ctx.vnf-data.' value='`$service-data.vnfs.vnf[$vidx].`' />\n",\r
+ "comments": "",\r
+ "x": 2620.1997680664062,\r
+ "y": 256.3215563027188,\r
+ "z": "1749c920.27afb7",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "a9f43f7c.095d3",\r
+ "type": "switchNode",\r
+ "name": "switch tmp.vidx ",\r
+ "xml": "<switch test=\"`$tmp.vidx`\">\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1603.0000228881836,\r
+ "y": 345.99999353569,\r
+ "z": "1749c920.27afb7",\r
+ "wires": [\r
+ [\r
+ "b3149be7.2c6a9"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b3149be7.2c6a9",\r
+ "type": "outcome",\r
+ "name": "NULL",\r
+ "xml": "<outcome value=''>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1758.4286499023438,\r
+ "y": 345.57137701194733,\r
+ "z": "1749c920.27afb7",\r
+ "wires": [\r
+ [\r
+ "4610208d.e47188"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "4610208d.e47188",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "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=\"vnf-topology-operation-input.vnf-request-input.vnf-id not found in service-data\" />\n",\r
+ "comments": "",\r
+ "x": 1903.8573913574219,\r
+ "y": 345.7143146721646,\r
+ "z": "1749c920.27afb7",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "cdfb0ad2.8ad0d8",\r
+ "type": "switchNode",\r
+ "name": "switch vnf-level-oper-status",\r
+ "xml": "<switch test='`$service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-level-oper-status.order-status`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 971.0000762939453,\r
+ "y": 358.88902044296265,\r
+ "z": "1749c920.27afb7",\r
+ "wires": [\r
+ [\r
+ "c03a8f6a.5ba2c",\r
+ "fbd10336.a597a8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c03a8f6a.5ba2c",\r
+ "type": "outcome",\r
+ "name": "outcome Active",\r
+ "xml": "<outcome value='Active'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1216.8333702087402,\r
+ "y": 360.00011825561523,\r
+ "z": "1749c920.27afb7",\r
+ "wires": [\r
+ [\r
+ "442f984.65ce9e8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "442f984.65ce9e8",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 1430.139762878418,\r
+ "y": 369.32530784606934,\r
+ "z": "1749c920.27afb7",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "fbd10336.a597a8",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1194.8333892822266,\r
+ "y": 410.00012969970703,\r
+ "z": "1749c920.27afb7",\r
+ "wires": [\r
+ [\r
+ "2dff766b.d66b12"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2dff766b.d66b12",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "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=\"`'VNF is not in appropriate state for activate. Current state is ' + $service-data.vnfs.vnf[$tmp.nidx].vnf-data.vnf-level-oper-status.order-status`\" />",\r
+ "comments": "",\r
+ "x": 1354.3331565856934,\r
+ "y": 413.0001287460327,\r
+ "z": "1749c920.27afb7",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "4b93b56d.437c5c",\r
+ "type": "set",\r
+ "name": "copy input data to service data",\r
+ "xml": "<set>\n<!--parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-id' value='`$vnf-topology-operation-input.vnf-information.vnf-id`' /-->\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.sdnc-request-header.' value='$vnf-topology-operation-input.sdnc-request-header.' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.request-information.' value='$vnf-topology-operation-input.request-information.' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.' value='$vnf-topology-operation-input.service-information.' />",\r
+ "comments": "",\r
+ "x": 980.0065612792969,\r
+ "y": 418.010435461998,\r
+ "z": "1749c920.27afb7",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "614f37e0.0249a",\r
+ "type": "save",\r
+ "name": "update AnAI - vnf-instance.orchestration-status",\r
+ "xml": "<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"generic-vnf\" \n\t\tkey=\"generic-vnf.vnf-id = $vnfId\" >\n<parameter name=\"orchestration-status\" value=\"PendingDelete\" />\n<parameter name=\"vnf-type\" value=\"some vnf-type\" />",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1022.0064239501953,\r
+ "y": 564.0105141401291,\r
+ "z": "1749c920.27afb7",\r
+ "wires": [\r
+ []\r
+ ]\r