-[\r
- {\r
- "id": "3b1aba17.7c1826",\r
- "type": "dgstart",\r
- "name": "DGSTART",\r
- "outputs": 1,\r
- "x": 115,\r
- "y": 68,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": [\r
- [\r
- "e99264a4.25e6a8"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "e99264a4.25e6a8",\r
- "type": "service-logic",\r
- "name": "GENERIC-RESOURCE-API ${project.version}",\r
- "module": "GENERIC-RESOURCE-API",\r
- "version": "${project.version}",\r
- "comments": "",\r
- "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}'>",\r
- "outputs": 1,\r
- "x": 391,\r
- "y": 69,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": [\r
- [\r
- "c338772a.5e1888"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "c338772a.5e1888",\r
- "type": "method",\r
- "name": "self-serve-vnf-ra-assignment",\r
- "xml": "<method rpc='self-serve-vnf-ra-assignment' mode='sync'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 708,\r
- "y": 69,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": [\r
- [\r
- "971bd94.0992328"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "971bd94.0992328",\r
- "type": "block",\r
- "name": "block atomic",\r
- "xml": "<block atomic=\"true\">\n",\r
- "atomic": "false",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 127.5,\r
- "y": 151,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": [\r
- [\r
- "10097b0c.be147d",\r
- "b1b46c68.863f28",\r
- "f0185691.279e7",\r
- "47b3200f.608d6",\r
- "3a4ad1c4.38fc2e",\r
- "c842e06b.8ab228",\r
- "be0316b4.790d2",\r
- "59d0a06.3503f6",\r
- "559fb17c.e49a68",\r
- "70263817.6abee"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "b1b46c68.863f28",\r
- "type": "set",\r
- "name": "set",\r
- "xml": "<set>\n <parameter name=\"request-id\" value=\"`$tmp.return.generate.vnf-se-serv-uuid`\"/>\n <parameter name=\"resource-type\" value=\"`$vnf-topology-operation-input.vnf-information.vnf-type`\" /> \n <parameter name=\"resource-id\" value=\"`$vnf-topology-operation-input.vnf-information.vnf-id`\" /> \n <parameter name=\"action-name\" value=\"resource-assignment-action\"/> \n <parameter name=\"responsePrefix\" value=\"sriovAssign\" />\n",\r
- "comments": "",\r
- "x": 312,\r
- "y": 197,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": []\r
- },\r
- {\r
- "id": "71b23404.02121c",\r
- "type": "get-resource",\r
- "name": "get-resource VF_MODEL",\r
- "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n key='SELECT * from VF_MODEL WHERE customization_uuid = $vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid'\n pfx='db1.vf-model'>\n \n\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 852.142822265625,\r
- "y": 587.2856521606445,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": [\r
- [\r
- "7502b307.1af5a4",\r
- "d915743.fe9bf08",\r
- "2bba7cf3.b8c2bc"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "7502b307.1af5a4",\r
- "type": "failure",\r
- "name": "failure",\r
- "xml": "<outcome value='failure'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1097.142921447754,\r
- "y": 536.5713758468628,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": [\r
- [\r
- "481c5f0.afa62a"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "481c5f0.afa62a",\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=\"Error reading VF_MODULE_MODEL table\" />\n",\r
- "comments": "",\r
- "x": 1270.142921447754,\r
- "y": 535.5713758468628,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": []\r
- },\r
- {\r
- "id": "14e34196.659ba6",\r
- "type": "set",\r
- "name": "set tmp.sdnc-model-name, tmp.sdnc-model-version, tmp.sdnc-artifact-name",\r
- "xml": "<set>\n<parameter name='tmp.sdnc-model-name' value='`$db1.vf-model.sdnc-model-name`' />\n<parameter name='tmp.sdnc-model-version' value='`$db1.vf-model.sdnc-model-version`' />\n<parameter name='tmp.sdnc-artifact-name' value='`$db1.vf-model.sdnc-artifact-name`' />\n\n\n\n\n",\r
- "comments": "",\r
- "x": 1472.5714225769043,\r
- "y": 636.7141799926758,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": []\r
- },\r
- {\r
- "id": "a4fe9c9.fb5b0e",\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=\"Error reading VF_MODULE_MODEL table\" />\n",\r
- "comments": "",\r
- "x": 1272.142921447754,\r
- "y": 584.5713758468628,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": []\r
- },\r
- {\r
- "id": "3a4ad1c4.38fc2e",\r
- "type": "switchNode",\r
- "name": "switch: model info == NULL",\r
- "xml": "<switch test=\"`$tmp.sdnc-model-name == '' or $tmp.sdnc-model-version == '' or $tmp.sdnc-artifact-name == ''`\">\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 373.142822265625,\r
- "y": 588.2856521606445,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": [\r
- [\r
- "f4c0f536.df7df8"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "d915743.fe9bf08",\r
- "type": "not-found",\r
- "name": "not-found",\r
- "xml": "<outcome value='not-found'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1103.142921447754,\r
- "y": 585.5713758468628,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": [\r
- [\r
- "a4fe9c9.fb5b0e"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "f4c0f536.df7df8",\r
- "type": "outcome",\r
- "name": "true",\r
- "xml": "<outcome value='true'>",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 622.142822265625,\r
- "y": 588.2856521606445,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": [\r
- [\r
- "71b23404.02121c"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "47b3200f.608d6",\r
- "type": "for",\r
- "name": "for vnf-topology-operation-input",\r
- "xml": "<for index='i' start='0' end='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param_length`' >",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 389,\r
- "y": 388,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": [\r
- [\r
- "eb6b4120.147a5"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "eb6b4120.147a5",\r
- "type": "block",\r
- "name": "block atomic",\r
- "xml": "<block atomic=\"true\">",\r
- "atomic": "false",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 611,\r
- "y": 387,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": [\r
- [\r
- "7392a8a6.2a47a"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "66c14820.f9c39",\r
- "type": "set",\r
- "name": "set tmp.sdnc-model-name",\r
- "xml": "<set>\n<parameter name='tmp.sdnc-model-name' value='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$i].value`' />\n",\r
- "comments": "",\r
- "x": 1262,\r
- "y": 320,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": []\r
- },\r
- {\r
- "id": "c8da9580.2b1fc8",\r
- "type": "outcome",\r
- "name": "sdnc_model_name",\r
- "xml": "<outcome value='sdnc_model_name'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1008,\r
- "y": 320,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": [\r
- [\r
- "66c14820.f9c39"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "7392a8a6.2a47a",\r
- "type": "switchNode",\r
- "name": "switch",\r
- "xml": "<switch test='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$i].name`'>\n\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 770,\r
- "y": 387,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": [\r
- [\r
- "c8da9580.2b1fc8",\r
- "e8bd2d0c.947458",\r
- "9fbb1f79.e96eb",\r
- "9ea74ab3.987f4"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "e8bd2d0c.947458",\r
- "type": "outcome",\r
- "name": "sdnc_model_version",\r
- "xml": "<outcome value='sdnc_model_version'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1011,\r
- "y": 366,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": [\r
- [\r
- "354f425a.791bee"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "9fbb1f79.e96eb",\r
- "type": "outcome",\r
- "name": "sdnc_artifact_name",\r
- "xml": "<outcome value='sdnc_artifact_name'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1010,\r
- "y": 415,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": [\r
- [\r
- "71247184.8b77d8"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "354f425a.791bee",\r
- "type": "set",\r
- "name": "set tmp.sdnc-model-version",\r
- "xml": "<set>\n<parameter name='tmp.sdnc-model-version' value='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$i].value`' />\n\n",\r
- "comments": "",\r
- "x": 1266,\r
- "y": 366,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": []\r
- },\r
- {\r
- "id": "71247184.8b77d8",\r
- "type": "set",\r
- "name": "set tmp.sdnc-artifact-name",\r
- "xml": "<set>\n<parameter name='tmp.sdnc-artifact-name' value='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$i].value`' />\n\n",\r
- "comments": "",\r
- "x": 1262,\r
- "y": 415,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": []\r
- },\r
- {\r
- "id": "4dd91492.f93cac",\r
- "type": "set",\r
- "name": "set name-value other JsonString",\r
- "xml": "<set>\n<parameter name=\"tmp.config-name-value-other-payload\" value=\"`$tmp.config-name-value-other-payload + '"' + $vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$i].name + '":"' + $vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$i].value + '",'`\"/>\n\n",\r
- "comments": "",\r
- "x": 1278,\r
- "y": 464,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": []\r
- },\r
- {\r
- "id": "9ea74ab3.987f4",\r
- "type": "outcome",\r
- "name": "other",\r
- "xml": "<outcome value='Other'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 970.0000076293945,\r
- "y": 464.57142066955566,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": [\r
- [\r
- "4dd91492.f93cac"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "c842e06b.8ab228",\r
- "type": "set",\r
- "name": "set configAssignment JsonString",\r
- "xml": "<set>\n<parameter name=\"tmp.config-name-value-payload4\" value=\"`$tmp.config-name-value-other-payload + '"service-instance-id":"' + $vnf-topology-operation-input.service-information.service-instance-id + '",'`\"/>\n<parameter name=\"tmp.config-name-value-payload5\" value=\"`$tmp.config-name-value-payload4 + '"vnf-model-customization-uuid":"' + $vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid + '",'`\"/>\n<parameter name=\"tmp.config-name-value-payload6\" value=\"`$tmp.config-name-value-payload5 + '"vnf-id":"' + $vnf-topology-operation-input.vnf-information.vnf-id + '",'`\"/>\n<parameter name=\"tmp.config-name-value-payload7\" value=\"`$tmp.config-name-value-payload6 + '"aic-cloud-region":"' + $vnf-topology-operation-input.vnf-request-input.aic-cloud-region + '"'`\"/>\n<parameter name=\"tmp.json-payload\" value=\"`'{' + $tmp.config-name-value-payload7 + '}'`\" />",\r
- "comments": "",\r
- "x": 383,\r
- "y": 707,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": []\r
- },\r
- {\r
- "id": "be0316b4.790d2",\r
- "type": "execute",\r
- "name": "execute ConfigAssignment",\r
- "xml": "<execute plugin='org.openecomp.sdnc.config.assignment.service.ConfigAssignmentNode' method='process'>\n\t<parameter name=\"request-id\" value='`$request-id`' />\n\t<parameter name=\"resource-id\" value='`$resource-id`' /> \n\t<parameter name=\"resource-type\" value='`$resource-type`' />\n\t<parameter name=\"action-name\" value='`$action-name`' />\n\t<parameter name=\"template-names\" value=\"`'["' + $tmp.sdnc-artifact-name + '"]'`\" />\n\t<parameter name=\"service-template-name\" value='`$tmp.sdnc-model-name`' />\n\t<parameter name=\"service-template-version\" value='`$tmp.sdnc-model-version`' />\n\t<parameter name='input-data' value='`$tmp.json-payload`' />\n\t<parameter name=\"prifix\" value=\"sriovAssign\" />",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 369,\r
- "y": 785,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": [\r
- [\r
- "42110e18.f45af8",\r
- "3e7b87d6.7041e8"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "42110e18.f45af8",\r
- "type": "failure",\r
- "name": "failure",\r
- "xml": "<outcome value='failure'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 559,\r
- "y": 761,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": [\r
- [\r
- "ad545491.7c2e4"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "ad545491.7c2e4",\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=\"Error from ConfigAssignmentNode\" />\n",\r
- "comments": "",\r
- "x": 741,\r
- "y": 782,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": []\r
- },\r
- {\r
- "id": "559fb17c.e49a68",\r
- "type": "for",\r
- "name": "for resource-accumulator-resolved-data loop",\r
- "xml": "<for index='i' start='0' end='`$jsonContextPrefix.resource-accumulator-resolved-data_length`' >\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 415,\r
- "y": 944,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": [\r
- [\r
- "649757ec.4297e"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "8124e534.e1fe7",\r
- "type": "set",\r
- "name": "set from resource-accumulator-resolved-data",\r
- "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].name`' value='`$jsonContextPrefix.resource-accumulator-resolved-data[$i].param-name`'/>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].value`' value='`$jsonContextPrefix.resource-accumulator-resolved-data[$i].param-value`'/>\n<parameter name='highnum' value='`$highnum + 1`' />\n",\r
- "comments": "",\r
- "x": 1447,\r
- "y": 996,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": []\r
- },\r
- {\r
- "id": "70263817.6abee",\r
- "type": "for",\r
- "name": "for capability-data",\r
- "xml": "<for index='i' start='0' end='`$jsonContextPrefix.capability-data_length`' >\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 334,\r
- "y": 1207,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": [\r
- [\r
- "fdd77be.4778888"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "75f41ec9.a2806",\r
- "type": "for",\r
- "name": "for key-mapping",\r
- "xml": "<for index='j' start='0' end='`$jsonContextPrefix.capability-data[$i].key-mapping_length`' >",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 722,\r
- "y": 1286,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": [\r
- [\r
- "9acad820.b00a68"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "fdd77be.4778888",\r
- "type": "block",\r
- "name": "block atomic",\r
- "xml": "<block atomic=\"true\">",\r
- "atomic": "false",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 511,\r
- "y": 1207,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": [\r
- [\r
- "f4f12ffc.4952c8",\r
- "75f41ec9.a2806"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "f4f12ffc.4952c8",\r
- "type": "set",\r
- "name": "set counter",\r
- "xml": "<set>\n<parameter name='num' value='0' />",\r
- "comments": "",\r
- "x": 685,\r
- "y": 1183,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": []\r
- },\r
- {\r
- "id": "59d0a06.3503f6",\r
- "type": "execute",\r
- "name": "execute jsonStringToCtx",\r
- "xml": "<execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"jsonStringToCtx\">\n\t<parameter name=\"source\" value=\"`'sriovAssign.mashed-data.' + $tmp.sdnc-artifact-name`\" />\n\t<parameter name=\"outputPath\" value=\"jsonContextPrefix\" />\n\t<parameter name=\"isEscaped\" value=\"false\" />\n\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 359,\r
- "y": 865,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": [\r
- []\r
- ]\r
- },\r
- {\r
- "id": "10097b0c.be147d",\r
- "type": "execute",\r
- "name": "execute generateUUID",\r
- "xml": " <execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"generateUUID\" > \n <parameter name=\"ctx-destination\" value=\"tmp.return.generate.vnf-se-serv-uuid\" /> \n ",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 365,\r
- "y": 151,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": [\r
- [\r
- "4ac47d0.68ec704"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "4ac47d0.68ec704",\r
- "type": "failure",\r
- "name": "failure",\r
- "xml": "<outcome value='failure'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 543,\r
- "y": 149,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": [\r
- [\r
- "8083b3a2.780248"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "8083b3a2.780248",\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=\"generateUUID is failed\" />\n",\r
- "comments": "",\r
- "x": 690,\r
- "y": 150,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": []\r
- },\r
- {\r
- "id": "92f17a3f.155768",\r
- "type": "for",\r
- "name": "for vnf-parameters-data.param",\r
- "xml": "<for index='cnt' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1388,\r
- "y": 944,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": [\r
- [\r
- "b4d343.7109c4c"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "649757ec.4297e",\r
- "type": "block",\r
- "name": "block atomic",\r
- "xml": "<block atomic=\"true\">",\r
- "atomic": "false",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 694,\r
- "y": 945,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": [\r
- [\r
- "9365408f.c6c6f",\r
- "c132e8f7.e921d8",\r
- "390d84cf.f48204"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "f0185691.279e7",\r
- "type": "switchNode",\r
- "name": "switch vnf-parameters-data.param_length",\r
- "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 417,\r
- "y": 249,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": [\r
- [\r
- "780eea64.1a2b0c",\r
- "4f86be8a.a5a418"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "780eea64.1a2b0c",\r
- "type": "outcome",\r
- "name": "null",\r
- "xml": "<outcome value=''>",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 655,\r
- "y": 217,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": [\r
- [\r
- "32c872b.35a408e"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "4f86be8a.a5a418",\r
- "type": "other",\r
- "name": "other",\r
- "xml": "<outcome value='Other'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 654,\r
- "y": 281,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": [\r
- [\r
- "5d2b28ad.0645b8"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "32c872b.35a408e",\r
- "type": "set",\r
- "name": "set pre service param len as 0",\r
- "xml": "<set>\n <parameter name='highnum' value='0' />\n <parameter name='prehighnum' value='0'/>\n",\r
- "comments": "",\r
- "x": 868,\r
- "y": 217,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": []\r
- },\r
- {\r
- "id": "5d2b28ad.0645b8",\r
- "type": "set",\r
- "name": "set pre service param len",\r
- "xml": "<set>\n <parameter name='highnum' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' />\n <parameter name='prehighnum' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' />",\r
- "comments": "",\r
- "x": 853,\r
- "y": 281,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": []\r
- },\r
- {\r
- "id": "b4d343.7109c4c",\r
- "type": "switchNode",\r
- "name": "switch input vnf-name",\r
- "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$cnt].name == $jsonContextPrefix.resource-accumulator-resolved-data[$i].param-name`'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1646,\r
- "y": 944,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": [\r
- [\r
- "4c134771.683f4"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "4c134771.683f4",\r
- "type": "not-found",\r
- "name": "true",\r
- "xml": "<outcome value='true'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1826,\r
- "y": 944,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": [\r
- [\r
- "2ddabbac.2ec004"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "2ddabbac.2ec004",\r
- "type": "set",\r
- "name": "set for existing param name",\r
- "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$cnt].value`' value='`$jsonContextPrefix.resource-accumulator-resolved-data[$i].param-value`'/>\n<parameter name='tmp.mso.param.found' value='true' />\n",\r
- "comments": "",\r
- "x": 2036,\r
- "y": 945,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": []\r
- },\r
- {\r
- "id": "390d84cf.f48204",\r
- "type": "switchNode",\r
- "name": "switch tmp.mso.param.not-found",\r
- "xml": "<switch test='`$tmp.mso.param.found`'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 936,\r
- "y": 997,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": [\r
- [\r
- "63764524.6435d4"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "63764524.6435d4",\r
- "type": "not-found",\r
- "name": "false",\r
- "xml": "<outcome value='false'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1170,\r
- "y": 996,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": [\r
- [\r
- "8124e534.e1fe7"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "9365408f.c6c6f",\r
- "type": "set",\r
- "name": "set for existing param name",\r
- "xml": "<set>\n<parameter name='tmp.mso.param.found' value='false' />\n",\r
- "comments": "",\r
- "x": 920,\r
- "y": 886,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": []\r
- },\r
- {\r
- "id": "c132e8f7.e921d8",\r
- "type": "switchNode",\r
- "name": "switch check length > 0",\r
- "xml": "<switch test='`$prehighnum > 0`'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 912.5,\r
- "y": 945,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": [\r
- [\r
- "63049a42.ba9d8c"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "63049a42.ba9d8c",\r
- "type": "not-found",\r
- "name": "true",\r
- "xml": "<outcome value='true'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1159.5,\r
- "y": 945,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": [\r
- [\r
- "92f17a3f.155768"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "1dd72859.ea109",\r
- "type": "for",\r
- "name": "for payload",\r
- "xml": "<for index='k' start='0' end='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload_length`' >",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1981,\r
- "y": 1329,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": [\r
- [\r
- "dc69327e.e35f2"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "dc69327e.e35f2",\r
- "type": "set",\r
- "name": "set resource-key",\r
- "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].resource-resolution-data.resource-key[$num].name`' value='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload[$k].param-name`'/>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].resource-resolution-data.resource-key[$num].value`' value='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload[$k].param-value`'/>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].resource-resolution-data.resource-key_length`' value='`$num + 1`'/>\n<parameter name='num' value='`$num + 1`' />\n",\r
- "comments": "",\r
- "x": 2168,\r
- "y": 1328,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": []\r
- },\r
- {\r
- "id": "59eb3d70.39851c",\r
- "type": "set",\r
- "name": "set output-data ",\r
- "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].name`' value='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].output-key-mapping[$l].resource-name`'/>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].value`' value='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].output-key-mapping[$l].resource-value`'/>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].resource-resolution-data.capability-name`' value='`$jsonContextPrefix.capability-data[$i].capability-name`'/>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].resource-resolution-data.status`' value='PENDING'/>",\r
- "comments": "",\r
- "x": 1554,\r
- "y": 1209,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": []\r
- },\r
- {\r
- "id": "3dd7f604.27aa1a",\r
- "type": "for",\r
- "name": "for output-key-mapping",\r
- "xml": "<for index='l' start='0' end='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].output-key-mapping_length`' >",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1142,\r
- "y": 1285,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": [\r
- [\r
- "5ce3bd4f.7b2c8c"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "9acad820.b00a68",\r
- "type": "block",\r
- "name": "block atomic",\r
- "xml": "<block atomic=\"true\">",\r
- "atomic": "false",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 928,\r
- "y": 1286,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": [\r
- [\r
- "3dd7f604.27aa1a"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "5ce3bd4f.7b2c8c",\r
- "type": "block",\r
- "name": "block atomic",\r
- "xml": "<block atomic=\"true\">",\r
- "atomic": "false",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1357,\r
- "y": 1285,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": [\r
- [\r
- "59eb3d70.39851c",\r
- "b435769d.e12fb8",\r
- "37c4ce28.952daa"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "b435769d.e12fb8",\r
- "type": "set",\r
- "name": "set length",\r
- "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' value='`$highnum + 1`'/>\n<parameter name='highnum' value='`$highnum + 1`' />\n\n",\r
- "comments": "",\r
- "x": 1542,\r
- "y": 1347,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": []\r
- },\r
- {\r
- "id": "3e7b87d6.7041e8",\r
- "type": "failure",\r
- "name": "not-found",\r
- "xml": "<outcome value='not-found'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 564,\r
- "y": 823,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": [\r
- [\r
- "ad545491.7c2e4"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "37c4ce28.952daa",\r
- "type": "switchNode",\r
- "name": "switch payload_length",\r
- "xml": "<switch test=\"`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload_length == ''`\">\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1578,\r
- "y": 1280,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": [\r
- [\r
- "e0a4762d.f7835",\r
- "d4c7fb38.1af79"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "e0a4762d.f7835",\r
- "type": "outcome",\r
- "name": "true",\r
- "xml": "<outcome value='true'>",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1799,\r
- "y": 1211,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": [\r
- []\r
- ]\r
- },\r
- {\r
- "id": "d4c7fb38.1af79",\r
- "type": "other",\r
- "name": "false",\r
- "xml": "<outcome value='false'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1806,\r
- "y": 1329,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": [\r
- [\r
- "1dd72859.ea109"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "2bba7cf3.b8c2bc",\r
- "type": "success",\r
- "name": "success",\r
- "xml": "<outcome value='success'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1099.2857246398926,\r
- "y": 636.5713481903076,\r
- "z": "f71f1d7.b5adf6",\r
- "wires": [\r
- [\r
- "14e34196.659ba6"\r
- ]\r
- ]\r
- }\r
+[
+ {
+ "id": "1264c6cd.930839",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 101,
+ "y": 96,
+ "z": "4a0b2401.ec39ec",
+ "wires": [
+ [
+ "cd72f82b.448a88"
+ ]
+ ]
+ },
+ {
+ "id": "cd72f82b.448a88",
+ "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": 377,
+ "y": 97,
+ "z": "4a0b2401.ec39ec",
+ "wires": [
+ [
+ "1882c0cd.fac1af"
+ ]
+ ]
+ },
+ {
+ "id": "1882c0cd.fac1af",
+ "type": "method",
+ "name": "self-serve-vnf-ra-assignment",
+ "xml": "<method rpc='self-serve-vnf-ra-assignment' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 694,
+ "y": 97,
+ "z": "4a0b2401.ec39ec",
+ "wires": [
+ [
+ "5be6105f.ccbde"
+ ]
+ ]
+ },
+ {
+ "id": "5be6105f.ccbde",
+ "type": "block",
+ "name": "block atomic",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 190.16664123535156,
+ "y": 177.3333339691162,
+ "z": "4a0b2401.ec39ec",
+ "wires": [
+ [
+ "95e79859.795e68",
+ "9ad508ab.052518",
+ "3ac5cd34.2257f2",
+ "2edab5da.4808ea",
+ "f2aa029b.615de",
+ "10dc8417.707e0c",
+ "fd52ae4e.bd56c",
+ "c73b8162.24f6f",
+ "d29a4d92.8e7d9",
+ "84a90182.cf73",
+ "48b65c6e.618e44",
+ "80225cf4.2c8b2",
+ "a4083479.8e5dd8",
+ "638697ae.8d3678",
+ "2e936c1f.cb2bd4",
+ "546a230c.3e01dc"
+ ]
+ ]
+ },
+ {
+ "id": "9ad508ab.052518",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n <parameter name=\"cds\" value=\"execution-service_process.\"/>\n <parameter name=\"`$cds + 'commonHeader.requestId'`\" value=\"`$tmp.return.generate.vnf-se-serv-uuid`\"/>\n <parameter name=\"resource-type\" value=\"`$vnf-topology-operation-input.vnf-information.vnf-type`\" /> \n <parameter name=\"`$cds + 'commonHeader.subRequestId'`\" value=\"`$vnf-topology-operation-input.vnf-information.vnf-id`\" /> \n <parameter name=\"`$cds + 'actionIdentifiers.actionName'`\" value=\"resource-assignment\"/> \n <parameter name=\"responsePrefix\" value=\"raAssign\" />\n <parameter name=\"`$cds + 'isNonAppend'`\" value=\"true\"/>\n <parameter name=\"`$cds + 'commonHeader.originatorId'`\" value=\"SDNC_DG\"/>\n <parameter name=\"`$cds + 'actionIdentifiers.mode'`\" value=\"sync\"/>\n",
+ "comments": "",
+ "x": 375.9166603088379,
+ "y": 222.08333015441895,
+ "z": "4a0b2401.ec39ec",
+ "wires": []
+ },
+ {
+ "id": "877ede4f.92e9b",
+ "type": "get-resource",
+ "name": "get-resource VF_MODEL",
+ "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n key='SELECT * from VF_MODEL WHERE customization_uuid = $vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid'\n pfx='db1.vf-model'>\n \n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 914.8094635009766,
+ "y": 613.6189861297607,
+ "z": "4a0b2401.ec39ec",
+ "wires": [
+ [
+ "8947e8ba.8b6c18",
+ "7bc2b258.538c7c",
+ "c5829c3f.f44d7"
+ ]
+ ]
+ },
+ {
+ "id": "8947e8ba.8b6c18",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1159.8095626831055,
+ "y": 562.904709815979,
+ "z": "4a0b2401.ec39ec",
+ "wires": [
+ [
+ "2b79a1d8.82461e"
+ ]
+ ]
+ },
+ {
+ "id": "2b79a1d8.82461e",
+ "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 reading VF_MODULE_MODEL table\" />\n",
+ "comments": "",
+ "x": 1332.8095626831055,
+ "y": 561.904709815979,
+ "z": "4a0b2401.ec39ec",
+ "wires": []
+ },
+ {
+ "id": "9a929dee.aae27",
+ "type": "set",
+ "name": "set tmp.sdnc-model-name, tmp.sdnc-model-version, tmp.sdnc-artifact-name",
+ "xml": "<set>\n<parameter name='tmp.sdnc-model-name' value='`$db1.vf-model.sdnc-model-name`' />\n<parameter name='tmp.sdnc-model-version' value='`$db1.vf-model.sdnc-model-version`' />\n<parameter name='tmp.sdnc-artifact-name' value='`$db1.vf-model.sdnc-artifact-name`' />\n\n\n\n\n",
+ "comments": "",
+ "x": 1535.2380638122559,
+ "y": 663.047513961792,
+ "z": "4a0b2401.ec39ec",
+ "wires": []
+ },
+ {
+ "id": "1f983518.26a63b",
+ "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 reading VF_MODULE_MODEL table\" />\n",
+ "comments": "",
+ "x": 1334.8095626831055,
+ "y": 610.904709815979,
+ "z": "4a0b2401.ec39ec",
+ "wires": []
+ },
+ {
+ "id": "f2aa029b.615de",
+ "type": "switchNode",
+ "name": "switch: model info == NULL",
+ "xml": "<switch test=\"`$tmp.sdnc-model-name == '' or $tmp.sdnc-model-version == '' or $tmp.sdnc-artifact-name == ''`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 435.80946350097656,
+ "y": 614.6189861297607,
+ "z": "4a0b2401.ec39ec",
+ "wires": [
+ [
+ "a0598bd4.bb2518"
+ ]
+ ]
+ },
+ {
+ "id": "7bc2b258.538c7c",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1165.8095626831055,
+ "y": 611.904709815979,
+ "z": "4a0b2401.ec39ec",
+ "wires": [
+ [
+ "1f983518.26a63b"
+ ]
+ ]
+ },
+ {
+ "id": "a0598bd4.bb2518",
+ "type": "outcome",
+ "name": "true",
+ "xml": "<outcome value='true'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 684.8094635009766,
+ "y": 614.6189861297607,
+ "z": "4a0b2401.ec39ec",
+ "wires": [
+ [
+ "877ede4f.92e9b"
+ ]
+ ]
+ },
+ {
+ "id": "2edab5da.4808ea",
+ "type": "for",
+ "name": "for vnf-topology-operation-input",
+ "xml": "<for silentFailure='true' index='i' start='0' end='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param_length`' >",
+ "comments": "",
+ "outputs": 1,
+ "x": 451.66664123535156,
+ "y": 414.3333339691162,
+ "z": "4a0b2401.ec39ec",
+ "wires": [
+ [
+ "8e542e02.8473f"
+ ]
+ ]
+ },
+ {
+ "id": "8e542e02.8473f",
+ "type": "block",
+ "name": "block atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 673.6666412353516,
+ "y": 413.3333339691162,
+ "z": "4a0b2401.ec39ec",
+ "wires": [
+ [
+ "d470eb9a.687f98"
+ ]
+ ]
+ },
+ {
+ "id": "fb20cb1a.51a4b8",
+ "type": "set",
+ "name": "set tmp.sdnc-model-name",
+ "xml": "<set>\n<parameter name='tmp.sdnc-model-name' value='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$i].value`' />\n",
+ "comments": "",
+ "x": 1324.6666412353516,
+ "y": 346.3333339691162,
+ "z": "4a0b2401.ec39ec",
+ "wires": []
+ },
+ {
+ "id": "7c80301e.7f871",
+ "type": "outcome",
+ "name": "sdnc_model_name",
+ "xml": "<outcome value='sdnc_model_name'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1070.6666412353516,
+ "y": 346.3333339691162,
+ "z": "4a0b2401.ec39ec",
+ "wires": [
+ [
+ "fb20cb1a.51a4b8"
+ ]
+ ]
+ },
+ {
+ "id": "d470eb9a.687f98",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$i].name`'>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 832.6666412353516,
+ "y": 413.3333339691162,
+ "z": "4a0b2401.ec39ec",
+ "wires": [
+ [
+ "7c80301e.7f871",
+ "69dbd226.9264ec",
+ "87b3dbed.61a088",
+ "27ccfdc6.314a12"
+ ]
+ ]
+ },
+ {
+ "id": "69dbd226.9264ec",
+ "type": "outcome",
+ "name": "sdnc_model_version",
+ "xml": "<outcome value='sdnc_model_version'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1073.6666412353516,
+ "y": 392.3333339691162,
+ "z": "4a0b2401.ec39ec",
+ "wires": [
+ [
+ "74fadd31.036b54"
+ ]
+ ]
+ },
+ {
+ "id": "87b3dbed.61a088",
+ "type": "outcome",
+ "name": "sdnc_artifact_name",
+ "xml": "<outcome value='sdnc_artifact_name'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1072.6666412353516,
+ "y": 441.3333339691162,
+ "z": "4a0b2401.ec39ec",
+ "wires": [
+ [
+ "a7f5b067.57b29"
+ ]
+ ]
+ },
+ {
+ "id": "74fadd31.036b54",
+ "type": "set",
+ "name": "set tmp.sdnc-model-version",
+ "xml": "<set>\n<parameter name='tmp.sdnc-model-version' value='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$i].value`' />\n\n",
+ "comments": "",
+ "x": 1328.6666412353516,
+ "y": 392.3333339691162,
+ "z": "4a0b2401.ec39ec",
+ "wires": []
+ },
+ {
+ "id": "a7f5b067.57b29",
+ "type": "set",
+ "name": "set tmp.sdnc-artifact-name",
+ "xml": "<set>\n<parameter name='tmp.sdnc-artifact-name' value='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$i].value`' />\n\n",
+ "comments": "",
+ "x": 1324.6666412353516,
+ "y": 441.3333339691162,
+ "z": "4a0b2401.ec39ec",
+ "wires": []
+ },
+ {
+ "id": "e803a56a.a7f258",
+ "type": "set",
+ "name": "set name-value other JsonString",
+ "xml": "<set>\n<parameter name=\"tmp.config-name-value-other-payload\" value=\"`$tmp.config-name-value-other-payload + '"' + $vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$i].name + '":"' + $vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$i].value + '",'`\"/>\n\n",
+ "comments": "",
+ "x": 1340.6666412353516,
+ "y": 490.3333339691162,
+ "z": "4a0b2401.ec39ec",
+ "wires": []
+ },
+ {
+ "id": "27ccfdc6.314a12",
+ "type": "outcome",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1032.666648864746,
+ "y": 490.9047546386719,
+ "z": "4a0b2401.ec39ec",
+ "wires": [
+ [
+ "e803a56a.a7f258"
+ ]
+ ]
+ },
+ {
+ "id": "10dc8417.707e0c",
+ "type": "set",
+ "name": "set configAssignment JsonString",
+ "xml": "<set>\n<parameter name=\"tmp.config-name-value-payload4\" value=\"`$tmp.config-name-value-other-payload + '"service-instance-id":"' + $vnf-topology-operation-input.service-information.service-instance-id + '",'`\"/>\n<parameter name=\"tmp.config-name-value-payload5\" value=\"`$tmp.config-name-value-payload4 + '"vnf-model-customization-uuid":"' + $vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid + '",'`\"/>\n<parameter name=\"tmp.config-name-value-payload6\" value=\"`$tmp.config-name-value-payload5 + '"vnf-id":"' + $vnf-topology-operation-input.vnf-information.vnf-id + '",'`\"/>\n<parameter name=\"tmp.config-name-value-payload7\" value=\"`$tmp.config-name-value-payload6 + '"aic-cloud-region":"' + $vnf-topology-operation-input.vnf-request-input.aic-cloud-region + '"'`\"/>\n",
+ "comments": "",
+ "x": 461.6666564941406,
+ "y": 685.3333568572998,
+ "z": "4a0b2401.ec39ec",
+ "wires": []
+ },
+ {
+ "id": "fd52ae4e.bd56c",
+ "type": "execute",
+ "name": "execute BlueprintProcessingClient",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfapicall.RestconfApiCallNode' method='sendRequest' >\n <parameter name='restapiUrl' value=\"`$prop.cds.url + '/api/v1/execution-service/process'`\" />\n <parameter name='restapiUser' value='`$prop.cds.user`' />\n <parameter name='restapiPassword' value='`$prop.cds.pwd`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='POST' />\n <parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n <parameter name=\"responsePrefix\" value=\"`$responsePrefix`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 453.33331298828125,
+ "y": 888,
+ "z": "4a0b2401.ec39ec",
+ "wires": [
+ [
+ "51cecb46.839514",
+ "d8c1b9cb.9f5348"
+ ]
+ ]
+ },
+ {
+ "id": "51cecb46.839514",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 693.3333129882812,
+ "y": 862,
+ "z": "4a0b2401.ec39ec",
+ "wires": [
+ [
+ "5d166bf5.6d0624"
+ ]
+ ]
+ },
+ {
+ "id": "5d166bf5.6d0624",
+ "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 ConfigAssignmentNode\" />\n",
+ "comments": "",
+ "x": 875.3333129882812,
+ "y": 883,
+ "z": "4a0b2401.ec39ec",
+ "wires": []
+ },
+ {
+ "id": "d29a4d92.8e7d9",
+ "type": "for",
+ "name": "for resource-accumulator-resolved-data loop",
+ "xml": "<for silentFailure='true' index='i' start='0' end='`$jsonContextPrefix.resource-accumulator-resolved-data_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 477.66664123535156,
+ "y": 1105.333324432373,
+ "z": "4a0b2401.ec39ec",
+ "wires": [
+ [
+ "fbbcea55.468248"
+ ]
+ ]
+ },
+ {
+ "id": "9947d8c1.f7aff8",
+ "type": "set",
+ "name": "set from resource-accumulator-resolved-data",
+ "xml": "<set>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].name`' value='`$jsonContextPrefix.resource-accumulator-resolved-data[$i].param-name`'/>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].value`' value='`$jsonContextPrefix.resource-accumulator-resolved-data[$i].param-value`'/>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].resource-resolution-data.capability-name`' value='RA Resolved'/>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].resource-resolution-data.status`' value='SUCCESS'/>\n",
+ "comments": "",
+ "x": 1707.6666412353516,
+ "y": 1157.333324432373,
+ "z": "4a0b2401.ec39ec",
+ "wires": []
+ },
+ {
+ "id": "84a90182.cf73",
+ "type": "for",
+ "name": "for capability-data",
+ "xml": "<for silentFailure='true' index='i' start='0' end='`$jsonContextPrefix.capability-data_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 402.66664123535156,
+ "y": 1447.333324432373,
+ "z": "4a0b2401.ec39ec",
+ "wires": [
+ [
+ "fa102a2b.773698"
+ ]
+ ]
+ },
+ {
+ "id": "fa102a2b.773698",
+ "type": "for",
+ "name": "for key-mapping",
+ "xml": "<for silentFailure='true' index='j' start='0' end='`$jsonContextPrefix.capability-data[$i].key-mapping_length`' >",
+ "comments": "",
+ "outputs": 1,
+ "x": 611.6666412353516,
+ "y": 1447.333324432373,
+ "z": "4a0b2401.ec39ec",
+ "wires": [
+ [
+ "420ba6ad.7d12f8"
+ ]
+ ]
+ },
+ {
+ "id": "c73b8162.24f6f",
+ "type": "execute",
+ "name": "execute jsonStringToCtx",
+ "xml": "<execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"jsonStringToCtx\">\n\t<parameter name=\"source\" value=\"`'raAssign.payload.resource-assignment-response.meshed-template.' + $tmp.sdnc-artifact-name`\" />\n\t<parameter name=\"outputPath\" value=\"jsonContextPrefix\" />\n\t<parameter name=\"isEscaped\" value=\"false\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 421.66664123535156,
+ "y": 1026.333324432373,
+ "z": "4a0b2401.ec39ec",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "95e79859.795e68",
+ "type": "execute",
+ "name": "execute generateUUID",
+ "xml": " <execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"generateUUID\" > \n <parameter name=\"ctx-destination\" value=\"tmp.return.generate.vnf-se-serv-uuid\" /> \n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 427.66664123535156,
+ "y": 177.3333339691162,
+ "z": "4a0b2401.ec39ec",
+ "wires": [
+ [
+ "b2ef8bc8.f9b188"
+ ]
+ ]
+ },
+ {
+ "id": "b2ef8bc8.f9b188",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 605.6666412353516,
+ "y": 175.3333339691162,
+ "z": "4a0b2401.ec39ec",
+ "wires": [
+ [
+ "359040a9.7ab45"
+ ]
+ ]
+ },
+ {
+ "id": "359040a9.7ab45",
+ "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=\"generateUUID is failed\" />\n",
+ "comments": "",
+ "x": 752.6666412353516,
+ "y": 176.3333339691162,
+ "z": "4a0b2401.ec39ec",
+ "wires": []
+ },
+ {
+ "id": "2048f9bb.f2f736",
+ "type": "for",
+ "name": "for vnf-parameters-data.param",
+ "xml": "<for silentFailure='true' index='cnt' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1450.6666412353516,
+ "y": 1105.333324432373,
+ "z": "4a0b2401.ec39ec",
+ "wires": [
+ [
+ "b6d977b7.115288"
+ ]
+ ]
+ },
+ {
+ "id": "fbbcea55.468248",
+ "type": "block",
+ "name": "block atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 756.6666412353516,
+ "y": 1106.333324432373,
+ "z": "4a0b2401.ec39ec",
+ "wires": [
+ [
+ "4a737be7.870a34",
+ "20c5df3a.f6ffc",
+ "34f87842.282048"
+ ]
+ ]
+ },
+ {
+ "id": "3ac5cd34.2257f2",
+ "type": "switchNode",
+ "name": "switch vnf-parameters-data.param_length",
+ "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 479.66664123535156,
+ "y": 275.3333339691162,
+ "z": "4a0b2401.ec39ec",
+ "wires": [
+ [
+ "400017d.409bfe8",
+ "7d611aa7.76df04"
+ ]
+ ]
+ },
+ {
+ "id": "400017d.409bfe8",
+ "type": "outcome",
+ "name": "null",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 717.6666412353516,
+ "y": 243.3333339691162,
+ "z": "4a0b2401.ec39ec",
+ "wires": [
+ [
+ "27c026e8.fb154a"
+ ]
+ ]
+ },
+ {
+ "id": "7d611aa7.76df04",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 716.6666412353516,
+ "y": 307.3333339691162,
+ "z": "4a0b2401.ec39ec",
+ "wires": [
+ [
+ "3e29b95e.47e686"
+ ]
+ ]
+ },
+ {
+ "id": "27c026e8.fb154a",
+ "type": "set",
+ "name": "set pre service param len as 0",
+ "xml": "<set>\n <parameter name='highnum' value='0' />\n <parameter name='prehighnum' value='0'/>\n",
+ "comments": "",
+ "x": 930.6666412353516,
+ "y": 243.3333339691162,
+ "z": "4a0b2401.ec39ec",
+ "wires": []
+ },
+ {
+ "id": "3e29b95e.47e686",
+ "type": "set",
+ "name": "set pre service param len",
+ "xml": "<set>\n <parameter name='highnum' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' />\n <parameter name='prehighnum' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' />",
+ "comments": "",
+ "x": 915.6666412353516,
+ "y": 307.3333339691162,
+ "z": "4a0b2401.ec39ec",
+ "wires": []
+ },
+ {
+ "id": "b6d977b7.115288",
+ "type": "switchNode",
+ "name": "switch input vnf-name",
+ "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$cnt].name == $jsonContextPrefix.resource-accumulator-resolved-data[$i].param-name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1708.6666412353516,
+ "y": 1105.333324432373,
+ "z": "4a0b2401.ec39ec",
+ "wires": [
+ [
+ "67c98419.11b03c"
+ ]
+ ]
+ },
+ {
+ "id": "67c98419.11b03c",
+ "type": "not-found",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1888.6666412353516,
+ "y": 1105.333324432373,
+ "z": "4a0b2401.ec39ec",
+ "wires": [
+ [
+ "c179b41f.2921e8"
+ ]
+ ]
+ },
+ {
+ "id": "c179b41f.2921e8",
+ "type": "set",
+ "name": "set for existing param name",
+ "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$cnt].value`' value='`$jsonContextPrefix.resource-accumulator-resolved-data[$i].param-value`'/>\n<parameter name='tmp.mso.param.found' value='true' />\n",
+ "comments": "",
+ "x": 2098.6666412353516,
+ "y": 1106.333324432373,
+ "z": "4a0b2401.ec39ec",
+ "wires": []
+ },
+ {
+ "id": "34f87842.282048",
+ "type": "switchNode",
+ "name": "switch tmp.mso.param.not-found",
+ "xml": "<switch test='`$tmp.mso.param.found`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 998.6666412353516,
+ "y": 1158.333324432373,
+ "z": "4a0b2401.ec39ec",
+ "wires": [
+ [
+ "56f65a3d.bdecc4"
+ ]
+ ]
+ },
+ {
+ "id": "56f65a3d.bdecc4",
+ "type": "not-found",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1232.6666412353516,
+ "y": 1157.333324432373,
+ "z": "4a0b2401.ec39ec",
+ "wires": [
+ [
+ "ecce6565.d1e898"
+ ]
+ ]
+ },
+ {
+ "id": "4a737be7.870a34",
+ "type": "set",
+ "name": "set for existing param name",
+ "xml": "<set>\n<parameter name='tmp.mso.param.found' value='false' />\n",
+ "comments": "",
+ "x": 982.6666412353516,
+ "y": 1047.333324432373,
+ "z": "4a0b2401.ec39ec",
+ "wires": []
+ },
+ {
+ "id": "20c5df3a.f6ffc",
+ "type": "switchNode",
+ "name": "switch check length > 0",
+ "xml": "<switch test='`$prehighnum > 0`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 975.1666412353516,
+ "y": 1106.333324432373,
+ "z": "4a0b2401.ec39ec",
+ "wires": [
+ [
+ "278fa054.17f2"
+ ]
+ ]
+ },
+ {
+ "id": "278fa054.17f2",
+ "type": "not-found",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1222.1666412353516,
+ "y": 1106.333324432373,
+ "z": "4a0b2401.ec39ec",
+ "wires": [
+ [
+ "2048f9bb.f2f736"
+ ]
+ ]
+ },
+ {
+ "id": "910d6ed9.68335",
+ "type": "for",
+ "name": "for payload",
+ "xml": "<for silentFailure='true' index='k' start='0' end='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload_length`' >",
+ "comments": "",
+ "outputs": 1,
+ "x": 1793.6666412353516,
+ "y": 1465.333324432373,
+ "z": "4a0b2401.ec39ec",
+ "wires": [
+ [
+ "451cb826.e55b18"
+ ]
+ ]
+ },
+ {
+ "id": "ebc212fd.50c99",
+ "type": "set",
+ "name": "set resource-key",
+ "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].resource-resolution-data.resource-key[$num].name`' value='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload[$k].param-name`'/>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].resource-resolution-data.resource-key[$num].value`' value='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload[$k].param-value`'/>\n\n",
+ "comments": "",
+ "x": 2142.6666412353516,
+ "y": 1401.333324432373,
+ "z": "4a0b2401.ec39ec",
+ "wires": []
+ },
+ {
+ "id": "77f8b842.ce0bf8",
+ "type": "set",
+ "name": "set output-data ",
+ "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].name`' value='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].output-key-mapping[$l].resource-name`'/>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].value`' value='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].output-key-mapping[$l].resource-value`'/>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].resource-resolution-data.capability-name`' value='`$jsonContextPrefix.capability-data[$i].capability-name`'/>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].resource-resolution-data.status`' value='PENDING'/>\n<parameter name='num' value='0' />",
+ "comments": "",
+ "x": 1366.6666412353516,
+ "y": 1345.333324432373,
+ "z": "4a0b2401.ec39ec",
+ "wires": []
+ },
+ {
+ "id": "420ba6ad.7d12f8",
+ "type": "for",
+ "name": "for output-key-mapping",
+ "xml": "<for silentFailure='true' index='l' start='0' end='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].output-key-mapping_length`' >",
+ "comments": "",
+ "outputs": 1,
+ "x": 834.6666412353516,
+ "y": 1447.333324432373,
+ "z": "4a0b2401.ec39ec",
+ "wires": [
+ [
+ "de871bca.269b28"
+ ]
+ ]
+ },
+ {
+ "id": "de871bca.269b28",
+ "type": "block",
+ "name": "block atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1085.6666412353516,
+ "y": 1447.333324432373,
+ "z": "4a0b2401.ec39ec",
+ "wires": [
+ [
+ "77f8b842.ce0bf8",
+ "d1ce4892.013d98",
+ "435b327b.50848c",
+ "833f0238.99363"
+ ]
+ ]
+ },
+ {
+ "id": "d1ce4892.013d98",
+ "type": "set",
+ "name": "set length",
+ "xml": "<set>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' value='`$highnum + 1`'/>\n",
+ "comments": "",
+ "x": 1354.6666412353516,
+ "y": 1483.333324432373,
+ "z": "4a0b2401.ec39ec",
+ "wires": []
+ },
+ {
+ "id": "d8c1b9cb.9f5348",
+ "type": "failure",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 698.3333129882812,
+ "y": 924,
+ "z": "4a0b2401.ec39ec",
+ "wires": [
+ [
+ "5d166bf5.6d0624"
+ ]
+ ]
+ },
+ {
+ "id": "435b327b.50848c",
+ "type": "switchNode",
+ "name": "switch payload_length",
+ "xml": "<switch test=\"`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload_length == ''`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1390.6666412353516,
+ "y": 1416.333324432373,
+ "z": "4a0b2401.ec39ec",
+ "wires": [
+ [
+ "a70ff081.a1c2e",
+ "cd6e211b.36062"
+ ]
+ ]
+ },
+ {
+ "id": "a70ff081.a1c2e",
+ "type": "outcome",
+ "name": "true",
+ "xml": "<outcome value='true'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1611.6666412353516,
+ "y": 1347.333324432373,
+ "z": "4a0b2401.ec39ec",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cd6e211b.36062",
+ "type": "other",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1618.6666412353516,
+ "y": 1465.333324432373,
+ "z": "4a0b2401.ec39ec",
+ "wires": [
+ [
+ "910d6ed9.68335"
+ ]
+ ]
+ },
+ {
+ "id": "c5829c3f.f44d7",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1161.9523658752441,
+ "y": 662.9046821594238,
+ "z": "4a0b2401.ec39ec",
+ "wires": [
+ [
+ "9a929dee.aae27"
+ ]
+ ]
+ },
+ {
+ "id": "7d1e7719.053288",
+ "type": "set",
+ "name": "set length",
+ "xml": "<set>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].resource-resolution-data.resource-key_length`' value='`$num + 1`'/>\n",
+ "comments": "",
+ "x": 2131.6666412353516,
+ "y": 1465.333324432373,
+ "z": "4a0b2401.ec39ec",
+ "wires": []
+ },
+ {
+ "id": "e4fba5aa.251098",
+ "type": "set",
+ "name": "increment length",
+ "xml": "<set>\n\t<parameter name='num' value='`$num + 1`' />\n",
+ "comments": "",
+ "x": 2149.6666412353516,
+ "y": 1539.333324432373,
+ "z": "4a0b2401.ec39ec",
+ "wires": []
+ },
+ {
+ "id": "833f0238.99363",
+ "type": "set",
+ "name": "increment length",
+ "xml": "<set>\n\t<parameter name='highnum' value='`$highnum + 1`' />\n\n",
+ "comments": "",
+ "x": 1375.6666412353516,
+ "y": 1550.333324432373,
+ "z": "4a0b2401.ec39ec",
+ "wires": []
+ },
+ {
+ "id": "ecce6565.d1e898",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1409.6666412353516,
+ "y": 1156.333324432373,
+ "z": "4a0b2401.ec39ec",
+ "wires": [
+ [
+ "9947d8c1.f7aff8",
+ "44e5b8af.77e3d8"
+ ]
+ ]
+ },
+ {
+ "id": "44e5b8af.77e3d8",
+ "type": "set",
+ "name": "increment length",
+ "xml": "<set>\n\t<parameter name='highnum' value='`$highnum + 1`' />\n",
+ "comments": "",
+ "x": 1624.6666412353516,
+ "y": 1216.333324432373,
+ "z": "4a0b2401.ec39ec",
+ "wires": []
+ },
+ {
+ "id": "451cb826.e55b18",
+ "type": "block",
+ "name": "block atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1949.6666412353516,
+ "y": 1466.333324432373,
+ "z": "4a0b2401.ec39ec",
+ "wires": [
+ [
+ "ebc212fd.50c99",
+ "7d1e7719.053288",
+ "e4fba5aa.251098"
+ ]
+ ]
+ },
+ {
+ "id": "48b65c6e.618e44",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"BEFORE BlueprintProcessingClient\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 375.9999809265137,
+ "y": 809.333324432373,
+ "z": "4a0b2401.ec39ec",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "80225cf4.2c8b2",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"AFTER BlueprintProcessingClient\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 372.6666488647461,
+ "y": 964.3333320617676,
+ "z": "4a0b2401.ec39ec",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "638697ae.8d3678",
+ "type": "execute",
+ "name": "printContext",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='`$pathname`' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 381.00000762939453,
+ "y": 1768.5000267028809,
+ "z": "4a0b2401.ec39ec",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a4083479.8e5dd8",
+ "type": "set",
+ "name": "set pathname",
+ "xml": "<set>\n<parameter name='pathname' \n\tvalue=\"`'/var/tmp/ss-vnf-ra-assignment-' + \n\t$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-information.vnf-id + '.log'`\" />\n",
+ "comments": "",
+ "x": 387.25000762939453,
+ "y": 1716.0000247955322,
+ "z": "4a0b2401.ec39ec",
+ "wires": []
+ },
+ {
+ "id": "2e936c1f.cb2bd4",
+ "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=\"DONE: vnf-ra-assignment\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 364.75000381469727,
+ "y": 1669.7500247955322,
+ "z": "4a0b2401.ec39ec",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "546a230c.3e01dc",
+ "type": "set",
+ "name": "set updateJsonPayload",
+ "xml": "<set>\n<parameter name=\"tmp.json-payload\" value=\"`'{' + $tmp.config-name-value-payload7 + '}'`\" />\n<parameter name=\"`$cds + 'actionIdentifiers.blueprintName'`\" value='`$tmp.sdnc-model-name`' />\n<parameter name=\"`$cds + 'actionIdentifiers.blueprintVersion'`\" value='`$tmp.sdnc-model-version`' />\n<parameter name=\"`$cds + 'payload.template-prefix'`\" value='`$tmp.sdnc-artifact-name`' />\n<parameter name=\"`$cds + 'payload.resource-assignment-request.resource-assignment-properties'`\" value='`$tmp.json-payload`' />",
+ "comments": "",
+ "x": 430.0000457763672,
+ "y": 736.3333587646484,
+ "z": "4a0b2401.ec39ec",
+ "wires": []
+ }
]
\ No newline at end of file