-[
- {
- "id": "79cac42d.82a4dc",
- "type": "dgstart",
- "name": "DGSTART",
- "outputs": 1,
- "x": 140,
- "y": 84.99999749660492,
- "z": "79df67f4.514258",
- "wires": [
- [
- "f47fc6b0.f6a1d8"
- ]
- ]
- },
- {
- "id": "629c9f43.786f9",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 163.19049072265625,
- "y": 199.84921395778656,
- "z": "79df67f4.514258",
- "wires": [
- [
- "6aad54ac.f3caac",
- "3ec605f9.8838da",
- "23449213.b3818e",
- "840f76a2.614648",
- "decf4ed7.49434",
- "448e6879.87f338",
- "d9639a54.037b48",
- "ee1bc60b.f75e88"
- ]
- ]
- },
- {
- "id": "b7b42bd3.4f3918",
- "type": "method",
- "name": "method self-serve-vf-module-assign",
- "xml": "<method rpc='self-serve-vf-module-assign' mode='sync'>\n",
- "comments": "",
- "outputs": 1,
- "x": 243.76190948486328,
- "y": 139.7063525915146,
- "z": "79df67f4.514258",
- "wires": [
- [
- "629c9f43.786f9"
- ]
- ]
- },
- {
- "id": "f47fc6b0.f6a1d8",
- "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": 402.23819732666016,
- "y": 85.1904901266098,
- "z": "79df67f4.514258",
- "wires": [
- [
- "b7b42bd3.4f3918"
- ]
- ]
- },
- {
- "id": "3ec605f9.8838da",
- "type": "switchNode",
- "name": "switch vf-module-parameters.param_length",
- "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param_length`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 478.2500305175781,
- "y": 1402.3691610097885,
- "z": "79df67f4.514258",
- "wires": [
- [
- "1a9c3c61.643984"
- ]
- ]
- },
- {
- "id": "1a9c3c61.643984",
- "type": "other",
- "name": "NULL",
- "xml": "<outcome value=''>\n",
- "comments": "",
- "outputs": 1,
- "x": 738.2500610351562,
- "y": 1402.3691610097885,
- "z": "79df67f4.514258",
- "wires": [
- [
- "9d73c04f.a8004"
- ]
- ]
- },
- {
- "id": "beaa39ce.b3ffc8",
- "type": "call",
- "name": "call GENERIC-RESOURCE-API:self-serve-vfmodule-ra-assignment",
- "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-vfmodule-ra-assignment' mode='sync' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1279.9643096923828,
- "y": 1449.6549113988876,
- "z": "79df67f4.514258",
- "wires": [
- [
- "3b98ee66.3d30a2"
- ]
- ]
- },
- {
- "id": "3228d8db.9bd078",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'Failed to get RA assignments: ' + $error-message`\" />\n",
- "comments": "",
- "x": 1760.6785507202148,
- "y": 1449.2263149023056,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "4c4fa3b4.ff618c",
- "type": "for",
- "name": "foreach vf-module-parameters.param[]",
- "xml": "<for index='pidx' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 763.5359954833984,
- "y": 1712.5477479696274,
- "z": "79df67f4.514258",
- "wires": [
- [
- "4e0d4948.3d6618",
- "b58f94e5.3a5748"
- ]
- ]
- },
- {
- "id": "6aad54ac.f3caac",
- "type": "set",
- "name": "set ss.capability.execution-order[]",
- "xml": "<set>\n<parameter name='ss.capability.execution-order[0]' value='generate-name' />\n<parameter name='ss.capability.execution-order[1]' value='alts-entitlement-assign' />\n<parameter name='ss.capability.execution-order[2]' value='alts-license-assign' />\n<parameter name='ss.capability.execution-order[3]' value='vlan-tag-assign' />\n<parameter name='ss.capability.execution-order[4]' value='mS-vlan-tag-assign' />\n<parameter name='ss.capability.execution-order[5]' value='eipam-ip-assignment' />\n<parameter name='ss.capability.execution-order[6]' value='eipam-create-pool' />\n<parameter name='ss.capability.execution-order[7]' value='netbox-ip-assign' />\n<parameter name='ss.capability.execution-order[8]' value='mac-address-assign' />\n<parameter name='ss.capability.execution-order[9]' value='mS-mac-address-assign' />\n<parameter name='ss.capability.execution-order[10]' value='create-vpe-pool' />\n<parameter name='ss.capability.execution-order[11]' value='unresolved-composite-data' />\n<parameter name='ss.capability.execution-order[12]' value='aai-vf-module-put' />\n<parameter name='ss.capability.execution-order_length' value='13' />\n",
- "comments": "",
- "x": 450.41666412353516,
- "y": 1264.4286407232285,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "23449213.b3818e",
- "type": "for",
- "name": "foreach capability-order[]",
- "xml": "<for index='cidx' start='0' end='`$ss.capability.execution-order_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 419.1786193847656,
- "y": 1568.3690408468246,
- "z": "79df67f4.514258",
- "wires": [
- [
- "79b45fed.9e95a",
- "6e6f02a3.6e1a8c",
- "4c4fa3b4.ff618c",
- "6825ba6.a6c7b44"
- ]
- ]
- },
- {
- "id": "4e0d4948.3d6618",
- "type": "switchNode",
- "name": "switch capability-name param vs. execution",
- "xml": "<switch test='`$ss.capability-name == $tmp.param.capability-name`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1129.9288177490234,
- "y": 1758.1905406713486,
- "z": "79df67f4.514258",
- "wires": [
- [
- "b70e352c.4630e8"
- ]
- ]
- },
- {
- "id": "b70e352c.4630e8",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1393.4288177490234,
- "y": 1758.4405406713486,
- "z": "79df67f4.514258",
- "wires": [
- [
- "39d72ba9.0f9c94"
- ]
- ]
- },
- {
- "id": "3b98ee66.3d30a2",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1606.5356559753418,
- "y": 1449.0835050344467,
- "z": "79df67f4.514258",
- "wires": [
- [
- "3228d8db.9bd078"
- ]
- ]
- },
- {
- "id": "79b45fed.9e95a",
- "type": "set",
- "name": "set ss.capability-name",
- "xml": "<set>\n<parameter name='ss.capability-name' value='`$ss.capability.execution-order[$cidx]`' />\n\n<!--\nss.capability.execution-order\n-->",
- "comments": "",
- "x": 710.5356750488281,
- "y": 1568.3214925527573,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "b58f94e5.3a5748",
- "type": "set",
- "name": "tmp.param.capability-name",
- "xml": "<set>\n<parameter name='tmp.param.capability-name' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].resource-resolution-data.capability-name`' />\n",
- "comments": "",
- "x": 1079.2858428955078,
- "y": 1712.7977508306503,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "6e6f02a3.6e1a8c",
- "type": "set",
- "name": "set ss.capability-action = assign",
- "xml": "<set>\n<parameter name='ss.capability-action' value='assign' />\n",
- "comments": "",
- "x": 741.2498168945312,
- "y": 1615.2380765676498,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "6825ba6.a6c7b44",
- "type": "set",
- "name": "set capability-dg with 'self-serve-' + capability-name",
- "xml": "<set>\n<parameter name='ss.capability-dg' value=\"`'self-serve-' + $ss.capability.execution-order[$cidx]`\" />\n",
- "comments": "",
- "x": 803.5832824707031,
- "y": 1663.8929475545883,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "efb9f733.4243e8",
- "type": "set",
- "name": "set sdnc-generated-cloud-resources = true",
- "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.sdnc-generated-cloud-resources' \n\tvalue='true' />\n",
- "comments": "",
- "x": 1065.952392578125,
- "y": 1150.8573163747787,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "39d72ba9.0f9c94",
- "type": "switchNode",
- "name": "switch resource-resolution-data.status",
- "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].resource-resolution-data.status`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 509.5121765136719,
- "y": 2286.9723123311996,
- "z": "79df67f4.514258",
- "wires": [
- [
- "c3a7253a.e36418",
- "8f6e910.95aa57"
- ]
- ]
- },
- {
- "id": "c3a7253a.e36418",
- "type": "other",
- "name": "PENDING",
- "xml": "<outcome value='PENDING'>\n",
- "comments": "",
- "outputs": 1,
- "x": 778.8693923950195,
- "y": 2286.972268462181,
- "z": "79df67f4.514258",
- "wires": [
- [
- "5345ddf0.1150f4"
- ]
- ]
- },
- {
- "id": "8f6e910.95aa57",
- "type": "other",
- "name": "FAILED",
- "xml": "<outcome value='FAILED'>\n",
- "comments": "",
- "outputs": 1,
- "x": 772.4052085876465,
- "y": 2337.936599135399,
- "z": "79df67f4.514258",
- "wires": [
- [
- "5345ddf0.1150f4"
- ]
- ]
- },
- {
- "id": "5345ddf0.1150f4",
- "type": "call",
- "name": "call ss.capability-dg",
- "xml": "<call module='GENERIC-RESOURCE-API' rpc='`$ss.capability-dg`' mode='sync' >\n",
- "comments": "",
- "outputs": 1,
- "x": 987.5239410400391,
- "y": 2338.698450446129,
- "z": "79df67f4.514258",
- "wires": [
- [
- "f18bef24.d1ba1"
- ]
- ]
- },
- {
- "id": "9fad02a1.51c23",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'Encountered error from capability: '+ $ss.capability-dg + ', with error: '+ $error-message`\" />\n",
- "comments": "",
- "x": 1562.2142753601074,
- "y": 2692.3893016576767,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "f18bef24.d1ba1",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1180.5592918395996,
- "y": 2338.412728667259,
- "z": "79df67f4.514258",
- "wires": [
- [
- "dff817e.b93aee8"
- ]
- ]
- },
- {
- "id": "dff817e.b93aee8",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1343.833408355713,
- "y": 2337.7222694158554,
- "z": "79df67f4.514258",
- "wires": [
- [
- "9fad02a1.51c23",
- "e3eb24ad.1f9df8",
- "f1f25f48.ce065",
- "dbccdeae.36726",
- "deeeb223.3247f",
- "5998fcd6.dc3424"
- ]
- ]
- },
- {
- "id": "e3eb24ad.1f9df8",
- "type": "execute",
- "name": "execute RestApiCallNode - PUT vf-module",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ss.vfmodule.templatefile`\" />\n <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ss-vfmodule-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-ss-vfmodule\" />\n\n",
- "comments": "",
- "outputs": 1,
- "x": 1659.3808479309082,
- "y": 2594.096228957176,
- "z": "79df67f4.514258",
- "wires": [
- [
- "67fa2519.b6797c",
- "ed4a64cf.4b1be8"
- ]
- ]
- },
- {
- "id": "67fa2519.b6797c",
- "type": "not-found",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1933.9745140075684,
- "y": 2648.0943826436996,
- "z": "79df67f4.514258",
- "wires": [
- [
- "67b02263.04705c"
- ]
- ]
- },
- {
- "id": "ed4a64cf.4b1be8",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1926.403148651123,
- "y": 2594.5944026708603,
- "z": "79df67f4.514258",
- "wires": [
- [
- "67b02263.04705c"
- ]
- ]
- },
- {
- "id": "448e6879.87f338",
- "type": "execute",
- "name": "printContext",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/ss-vf-assign.log' />\n",
- "comments": "",
- "outputs": 1,
- "x": 361.75794219970703,
- "y": 2839.123444914818,
- "z": "79df67f4.514258",
- "wires": [
- []
- ]
- },
- {
- "id": "840f76a2.614648",
- "type": "switchNode",
- "name": "switch vf-module_length",
- "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 416.2022895812988,
- "y": 319.2619956731796,
- "z": "79df67f4.514258",
- "wires": [
- [
- "5f673fc1.968f5",
- "fbe20ca5.38fa1",
- "30e274b0.d8c48c"
- ]
- ]
- },
- {
- "id": "5f673fc1.968f5",
- "type": "other",
- "name": "NULL",
- "xml": "<outcome value=''>\n",
- "comments": "",
- "outputs": 1,
- "x": 628.8332595825195,
- "y": 248.65478646755219,
- "z": "79df67f4.514258",
- "wires": [
- [
- "37c2dea1.9a4e82"
- ]
- ]
- },
- {
- "id": "d2367a6.32d0b88",
- "type": "set",
- "name": "set vf-module-index=0",
- "xml": "<set>\n<parameter name='vf-module-index' value='0' />\n",
- "comments": "",
- "x": 967.9522895812988,
- "y": 259.5715717077255,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "fbe20ca5.38fa1",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 628.0118522644043,
- "y": 387.4406465291977,
- "z": "79df67f4.514258",
- "wires": [
- [
- "6a7324ac.7b0bcc"
- ]
- ]
- },
- {
- "id": "bc8a226e.61ad3",
- "type": "set",
- "name": "set vf-module-id",
- "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id'\n value='`$vf-module-topology-operation-input.vf-module-information.vf-module-id`' />\n",
- "comments": "",
- "x": 984.2379302978516,
- "y": 541.6816152334213,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "6fbf85af.00b1fc",
- "type": "set",
- "name": "set vf-module-parameters",
- "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.'\n value='vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.' />\n",
- "comments": "",
- "x": 1148.9285278320312,
- "y": 1401.5244034528732,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "bab133f3.77f18",
- "type": "set",
- "name": "set order-status to PendingCreate",
- "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-level-oper-status.order-status'\n value='PendingCreate' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-level-oper-status.last-rpc-action'\n value='`$vf-module-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-level-oper-status.last-action'\n value='`$vf-module-topology-operation-input.sdnc-request-header.request-action`' />\n",
- "comments": "",
- "x": 1038.5121002197266,
- "y": 1103.5448144674301,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "f1f25f48.ce065",
- "type": "set",
- "name": "set vf data for restapi-call-node",
- "xml": "<set>\n<parameter name='vf.vf-module-id'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id`' />\n<parameter name='vf.vf-module-data.sdnc-request-header.'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.sdnc-request-header.`' />\n<parameter name='vf.vf-module-data.request-information.'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.request-information.`' />\n<parameter name='vf.vf-module-data.service-information.'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.service-information.`' />\n<parameter name='vf.vf-module-data.vnf-information.'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vnf-information.`' />\n<parameter name='vf.vf-module-data.vf-module-information.'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-information.`' />\n<parameter name='vf.vf-module-data.vf-module-topology.'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.`' />\n<parameter name='vf.vf-module-data.vf-module-level-oper-status.'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-level-oper-status.`' />\n<parameter name='vf.vf-module-data.vf-module-request-input.vf-module-input-parameters.'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.vf-module-input-parameters.`' />\n<parameter name='vf.vf-module-data.vf-module-request-input.request-version'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.request-version`' />\n<parameter name='vf.vf-module-data.vf-module-request-input.vf-module-name'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.vf-module-name`' />\n<parameter name='vf.vf-module-data.vf-module-request-input.tenant'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.tenant`' />\n<parameter name='vf.vf-module-data.vf-module-request-input.aic-cloud-region'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.aic-cloud-region`' />\n<parameter name='vf.vf-module-data.vf-module-request-input.aic-clli'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.aic-clli`' />",
- "comments": "",
- "x": 1620.8928718566895,
- "y": 2338.2142461538315,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "dbccdeae.36726",
- "type": "execute",
- "name": "generate ss-vfmodule url replace service-instance-id",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.ss-vfmodule-assignments`\"/>\n <parameter name=\"outputPath\" value=\"tmp.ss-vfmodule-url\"/>\n <parameter name=\"target\" value=\"{service-instance-id}\"/>\n <parameter name=\"replacement\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.service-information.service-instance-id`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 1687.1428184509277,
- "y": 2386.2142909765244,
- "z": "79df67f4.514258",
- "wires": [
- []
- ]
- },
- {
- "id": "deeeb223.3247f",
- "type": "execute",
- "name": "generate ss-vfmodule url - replace vnf-id",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.ss-vfmodule-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.ss-vfmodule-url\"/>\n <parameter name=\"target\" value=\"{vnf-id}\"/>\n <parameter name=\"replacement\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vnf-information.vnf-id`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 1651.4285163879395,
- "y": 2434.2732080221176,
- "z": "79df67f4.514258",
- "wires": [
- []
- ]
- },
- {
- "id": "5998fcd6.dc3424",
- "type": "execute",
- "name": "generate ss-vfmodule url - replace vf-module-id",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.ss-vfmodule-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.ss-vfmodule-url\"/>\n <parameter name=\"target\" value=\"{vf-module-id}\"/>\n <parameter name=\"replacement\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 1673.3691902160645,
- "y": 2484.1897081136703,
- "z": "79df67f4.514258",
- "wires": [
- []
- ]
- },
- {
- "id": "decf4ed7.49434",
- "type": "set",
- "name": "set ss.capability-type = vf-module",
- "xml": "<set>\n<parameter name='ss.capability-type' value='vf-module' />\n",
- "comments": "",
- "x": 451.3214569091797,
- "y": 1221.4285987615585,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "9d73c04f.a8004",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 913.607153756278,
- "y": 1402.249972973551,
- "z": "79df67f4.514258",
- "wires": [
- [
- "6fbf85af.00b1fc",
- "beaa39ce.b3ffc8"
- ]
- ]
- },
- {
- "id": "d9639a54.037b48",
- "type": "set",
- "name": "set is-new-vfmodule = true",
- "xml": "<set>\n<parameter name='is-new-vfmodule' value='true' />\n",
- "comments": "",
- "x": 423.0239715576172,
- "y": 199.67871797084808,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "e87b2ba2.633fe8",
- "type": "for",
- "name": "for each existing VF module",
- "xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 986.8452301025391,
- "y": 387.1309846639633,
- "z": "79df67f4.514258",
- "wires": [
- [
- "3ba9afdd.0665c"
- ]
- ]
- },
- {
- "id": "3ba9afdd.0665c",
- "type": "switchNode",
- "name": "switch vf-module-id: input vs service-data",
- "xml": "<switch test='`$vf-module-topology-operation-input.vf-module-information.vf-module-id == $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-id`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1297.9643630981445,
- "y": 387.7023996114731,
- "z": "79df67f4.514258",
- "wires": [
- [
- "6ce227d9.fecd58"
- ]
- ]
- },
- {
- "id": "6ce227d9.fecd58",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1551.8333930969238,
- "y": 387.52385652065277,
- "z": "79df67f4.514258",
- "wires": [
- [
- "3ad721db.a51a9e"
- ]
- ]
- },
- {
- "id": "24be89e2.e6aa36",
- "type": "set",
- "name": "set is-new-vfmodule = false",
- "xml": "<set>\n<parameter name='is-new-vfmodule' value='false' />\n",
- "comments": "",
- "x": 1924.0001335144043,
- "y": 386.7857450246811,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "3ad721db.a51a9e",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1693.2501373291016,
- "y": 387.0357412099838,
- "z": "79df67f4.514258",
- "wires": [
- [
- "24be89e2.e6aa36",
- "1e447c14.cce5b4",
- "3f5ccfb0.8d0e9"
- ]
- ]
- },
- {
- "id": "1e447c14.cce5b4",
- "type": "break",
- "name": "break",
- "xml": "<break>\n",
- "comments": "",
- "x": 1861.1429252624512,
- "y": 473.03571927547455,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "3f5ccfb0.8d0e9",
- "type": "set",
- "name": "set vf-module-index = idx",
- "xml": "<set>\n<parameter name='vf-module-index' value='`$idx`' />\n",
- "comments": "",
- "x": 1916.9644470214844,
- "y": 430.0714000463486,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "98a1c4.7cd14e4",
- "type": "set",
- "name": "set new vf-module_length = vf-module-index + 1",
- "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length' value='`$vf-module-index + 1`' />\n",
- "comments": "",
- "x": 1049.3097114562988,
- "y": 300.8930000066757,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "6a7324ac.7b0bcc",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 765.1667671203613,
- "y": 387.82150876522064,
- "z": "79df67f4.514258",
- "wires": [
- [
- "3c04529f.56f7be",
- "e87b2ba2.633fe8"
- ]
- ]
- },
- {
- "id": "d693bb2e.413388",
- "type": "set",
- "name": "set new vf-module_length++",
- "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length' \n\tvalue='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length + 1`' />\n",
- "comments": "",
- "x": 1534.416790008545,
- "y": 499.5715135335922,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "3c04529f.56f7be",
- "type": "switchNode",
- "name": "switch is-new-vfmodule",
- "xml": "<switch test='`$is-new-vfmodule`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 972.6667633056641,
- "y": 457.3928884267807,
- "z": "79df67f4.514258",
- "wires": [
- [
- "4309a437.97210c"
- ]
- ]
- },
- {
- "id": "4309a437.97210c",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1170.5239181518555,
- "y": 456.9643357992172,
- "z": "79df67f4.514258",
- "wires": [
- [
- "96be78ac.86f8b8"
- ]
- ]
- },
- {
- "id": "37c2dea1.9a4e82",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 771.6667633056641,
- "y": 280.32150304317474,
- "z": "79df67f4.514258",
- "wires": [
- [
- "98a1c4.7cd14e4",
- "d2367a6.32d0b88"
- ]
- ]
- },
- {
- "id": "30e274b0.d8c48c",
- "type": "other",
- "name": "0",
- "xml": "<outcome value='0'>\n",
- "comments": "",
- "outputs": 1,
- "x": 630,
- "y": 318.7499974966049,
- "z": "79df67f4.514258",
- "wires": [
- [
- "37c2dea1.9a4e82"
- ]
- ]
- },
- {
- "id": "ee1bc60b.f75e88",
- "type": "switchNode",
- "name": "switch is-new-vfmodule",
- "xml": "<switch test='`$is-new-vfmodule`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 415.75,
- "y": 542.4999974966049,
- "z": "79df67f4.514258",
- "wires": [
- [
- "13983552.193d8b"
- ]
- ]
- },
- {
- "id": "13983552.193d8b",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 613.6071548461914,
- "y": 542.0714448690414,
- "z": "79df67f4.514258",
- "wires": [
- [
- "cc2f6623.a91fa8"
- ]
- ]
- },
- {
- "id": "6d104f94.64904",
- "type": "set",
- "name": "Copy vf-module-topology data",
- "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-topology-identifier.vf-module-id' \n value='`$vf-module-topology-operation-input.vf-module-information.vf-module-id`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-topology-identifier.vf-module-name' \n value='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-name`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-topology-identifier.vf-module-type' \n value='`$vf-module-topology-operation-input.vf-module-information.vf-module-type`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.tenant' \n value='`$vf-module-topology-operation-input.vf-module-request-input.tenant`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.aic-cloud-region' \n value='`$vf-module-topology-operation-input.vf-module-request-input.aic-cloud-region`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.aic-clli'\n value='`$vf-module-topology-operation-input.vf-module-request-input.aic-clli`' />",
- "comments": "",
- "x": 1029.500015258789,
- "y": 587.50006711483,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "20ce23b1.a03bcc",
- "type": "set",
- "name": "set from DB",
- "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.onap-model-information.model-invariant-uuid'\n value='`$db.vf-module-model.invariant-uuid`' />\n",
- "comments": "",
- "x": 1394.511775970459,
- "y": 639.9435075521469,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "f594ed84.91226",
- "type": "switchNode",
- "name": "switch input model-invariant-uuid",
- "xml": "<switch test='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-invariant-uuid`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1038.3688507080078,
- "y": 662.7679513692856,
- "z": "79df67f4.514258",
- "wires": [
- [
- "19819d73.7f6253",
- "20ac1beb.2d92a4"
- ]
- ]
- },
- {
- "id": "19819d73.7f6253",
- "type": "outcome",
- "name": "NULL",
- "xml": "<outcome value=''>",
- "comments": "",
- "outputs": 1,
- "x": 1244.0355224609375,
- "y": 639.9109147787094,
- "z": "79df67f4.514258",
- "wires": [
- [
- "20ce23b1.a03bcc"
- ]
- ]
- },
- {
- "id": "20ac1beb.2d92a4",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1245.4641189575195,
- "y": 684.1965059041977,
- "z": "79df67f4.514258",
- "wires": [
- [
- "6cb882c0.21104c"
- ]
- ]
- },
- {
- "id": "6cb882c0.21104c",
- "type": "set",
- "name": "set from input",
- "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.onap-model-information.model-invariant-uuid'\n value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-invariant-uuid`' />\n",
- "comments": "",
- "x": 1399.749855041504,
- "y": 683.6250780820847,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "c1338cf1.49d55",
- "type": "set",
- "name": "set from DB",
- "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.onap-model-information.model-uuid'\n value='`$db.vf-module-model.uuid`' />\n",
- "comments": "",
- "x": 1395.4640464782715,
- "y": 728.4821838140488,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "da9fd0ff.5b11d",
- "type": "switchNode",
- "name": "switch input model-uuid",
- "xml": "<switch test='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-uuid`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1010.9878692626953,
- "y": 751.3066886663437,
- "z": "79df67f4.514258",
- "wires": [
- [
- "efa13db1.f31b3",
- "dc586e76.0fe1f"
- ]
- ]
- },
- {
- "id": "efa13db1.f31b3",
- "type": "outcome",
- "name": "NULL",
- "xml": "<outcome value=''>",
- "comments": "",
- "outputs": 1,
- "x": 1244.9878425598145,
- "y": 728.4496206045151,
- "z": "79df67f4.514258",
- "wires": [
- [
- "c1338cf1.49d55"
- ]
- ]
- },
- {
- "id": "dc586e76.0fe1f",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1246.4164390563965,
- "y": 772.7352117300034,
- "z": "79df67f4.514258",
- "wires": [
- [
- "37b9776c.f277f8"
- ]
- ]
- },
- {
- "id": "37b9776c.f277f8",
- "type": "set",
- "name": "set from input",
- "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.onap-model-information.model-uuid'\n value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-uuid`' />\n",
- "comments": "",
- "x": 1400.7021751403809,
- "y": 772.1637839078903,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "5083e9e9.b5d418",
- "type": "set",
- "name": "set from DB",
- "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.onap-model-information.model-version'\n value='`$db.vf-module-model.version`' />\n",
- "comments": "",
- "x": 1386.6069793701172,
- "y": 817.3393911123276,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "c4880faa.a34e6",
- "type": "switchNode",
- "name": "switch input model-version",
- "xml": "<switch test='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-version`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1013.1307411193848,
- "y": 840.1638358831406,
- "z": "79df67f4.514258",
- "wires": [
- [
- "2928758b.07188a",
- "92292a26.871f08"
- ]
- ]
- },
- {
- "id": "2928758b.07188a",
- "type": "outcome",
- "name": "NULL",
- "xml": "<outcome value=''>",
- "comments": "",
- "outputs": 1,
- "x": 1236.1307258605957,
- "y": 817.3067983388901,
- "z": "79df67f4.514258",
- "wires": [
- [
- "5083e9e9.b5d418"
- ]
- ]
- },
- {
- "id": "92292a26.871f08",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1237.5593223571777,
- "y": 861.5923894643784,
- "z": "79df67f4.514258",
- "wires": [
- [
- "9d1f9d6a.be14d"
- ]
- ]
- },
- {
- "id": "9d1f9d6a.be14d",
- "type": "set",
- "name": "set from input",
- "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.onap-model-information.model-version'\n value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-version`' />\n",
- "comments": "",
- "x": 1391.845058441162,
- "y": 861.0209616422653,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "3b78e526.52c88a",
- "type": "set",
- "name": "set from DB",
- "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.onap-model-information.model-name'\n value='`$db.vf-module-model.name`' />\n",
- "comments": "",
- "x": 1386.6069793701172,
- "y": 904.4822133779526,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "63f6df8b.ac388",
- "type": "switchNode",
- "name": "switch input model-name",
- "xml": "<switch test='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-name`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1010.1307411193848,
- "y": 927.3066581487656,
- "z": "79df67f4.514258",
- "wires": [
- [
- "1a910821.50f078",
- "8103d79c.7a9d38"
- ]
- ]
- },
- {
- "id": "1a910821.50f078",
- "type": "outcome",
- "name": "NULL",
- "xml": "<outcome value=''>",
- "comments": "",
- "outputs": 1,
- "x": 1236.1307258605957,
- "y": 904.4496206045151,
- "z": "79df67f4.514258",
- "wires": [
- [
- "3b78e526.52c88a"
- ]
- ]
- },
- {
- "id": "8103d79c.7a9d38",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1237.5593223571777,
- "y": 948.7352117300034,
- "z": "79df67f4.514258",
- "wires": [
- [
- "9a8105a2.ce7958"
- ]
- ]
- },
- {
- "id": "9a8105a2.ce7958",
- "type": "set",
- "name": "set from input",
- "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.onap-model-information.model-name'\n value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-name`' />\n",
- "comments": "",
- "x": 1391.845058441162,
- "y": 948.1637839078903,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "c363e16.a6e012",
- "type": "set",
- "name": "set model-customization-uuid",
- "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.onap-model-information.model-customization-uuid'\n value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid`' />\n",
- "comments": "",
- "x": 1023.5830993652344,
- "y": 1001.2441428899765,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "c5d1dbac.64b258",
- "type": "set",
- "name": "copy input data",
- "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.sdnc-request-header.'\n value='$vf-module-topology-operation-input.sdnc-request-header.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.request-information.'\n value='$vf-module-topology-operation-input.request-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.service-information.'\n value='$vf-module-topology-operation-input.service-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vnf-information.'\n value='$vf-module-topology-operation-input.vnf-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-information.'\n value='$vf-module-topology-operation-input.vf-module-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.' \n value='$vf-module-topology-operation-input.vf-module-request-input.' />",
- "comments": "",
- "x": 980.2381744384766,
- "y": 1055.9288457632065,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "cc2f6623.a91fa8",
- "type": "block",
- "name": "block",
- "xml": "<block>",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 769.7024154663086,
- "y": 541.8491891622543,
- "z": "79df67f4.514258",
- "wires": [
- [
- "f594ed84.91226",
- "da9fd0ff.5b11d",
- "c4880faa.a34e6",
- "63f6df8b.ac388",
- "c363e16.a6e012",
- "c5d1dbac.64b258",
- "6d104f94.64904",
- "bc8a226e.61ad3",
- "bab133f3.77f18",
- "efb9f733.4243e8"
- ]
- ]
- },
- {
- "id": "3c2bf88f.0c3cd8",
- "type": "set",
- "name": "set vf-module-index = vf-module_length",
- "xml": "<set>\n<parameter name='vf-module-index' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`' />\n",
- "comments": "",
- "x": 1567.0000190734863,
- "y": 455.75000512599945,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "96be78ac.86f8b8",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1313.5000190734863,
- "y": 456.50000512599945,
- "z": "79df67f4.514258",
- "wires": [
- [
- "3c2bf88f.0c3cd8",
- "d693bb2e.413388"
- ]
- ]
- },
- {
- "id": "67b02263.04705c",
- "type": "set",
- "name": "set error-message",
- "xml": "<set>\n<parameter name=\"error-message\" value=\"Failed to persist self-serve vf-module assignments during assign in MD-SAL\" />",
- "comments": "",
- "x": 2145.714286804199,
- "y": 2594.4284204244614,
- "z": "79df67f4.514258",
- "wires": []
- }
-]
+[\r
+ {\r
+ "id": "ac4672ac.5506d",\r
+ "type": "dgstart",\r
+ "name": "DGSTART",\r
+ "outputs": 1,\r
+ "x": 188.5863037109375,\r
+ "y": 82.87202453613281,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": [\r
+ [\r
+ "317db8fd.6a2138"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "5ad093b4.b05f9c",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic='true'>",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 211.77679443359375,\r
+ "y": 197.72124099731445,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": [\r
+ [\r
+ "1da7f042.70418",\r
+ "cd953152.81acb",\r
+ "96a7ad27.1cb38",\r
+ "78d86895.250bc8",\r
+ "7d46526.17c5aac",\r
+ "beeecd6c.915e8",\r
+ "cdf4ff1.5e539",\r
+ "d2d53277.c8e3b",\r
+ "4d9da943.9b5318",\r
+ "74e369b1.130768"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f1172be.64de4d8",\r
+ "type": "method",\r
+ "name": "method self-serve-vf-module-assign",\r
+ "xml": "<method rpc='self-serve-vf-module-assign' mode='sync'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 292.3482131958008,\r
+ "y": 137.57837963104248,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": [\r
+ [\r
+ "5ad093b4.b05f9c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "317db8fd.6a2138",\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": 450.82450103759766,\r
+ "y": 83.0625171661377,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": [\r
+ [\r
+ "f1172be.64de4d8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "cd953152.81acb",\r
+ "type": "switchNode",\r
+ "name": "switch vf-module-parameters.param_length",\r
+ "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param_length`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 526.8363342285156,\r
+ "y": 1400.2411880493164,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": [\r
+ [\r
+ "1cade304.1c3bbd"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1cade304.1c3bbd",\r
+ "type": "other",\r
+ "name": "NULL",\r
+ "xml": "<outcome value=''>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 786.8363647460938,\r
+ "y": 1400.2411880493164,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": [\r
+ [\r
+ "da6ecb81.86ff58"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "55d6d80f.981a78",\r
+ "type": "call",\r
+ "name": "call GENERIC-RESOURCE-API:self-serve-vfmodule-ra-assignment",\r
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-vfmodule-ra-assignment' mode='sync' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1328.5506134033203,\r
+ "y": 1447.5269384384155,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": [\r
+ [\r
+ "b1e02e63.0273f"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "bd16b308.30dcd",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'Failed to get RA assignments: ' + $error-message`\" />\n",\r
+ "comments": "",\r
+ "x": 1809.2648544311523,\r
+ "y": 1447.0983419418335,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "f6c740a2.a923e",\r
+ "type": "for",\r
+ "name": "foreach vf-module-parameters.param[]",\r
+ "xml": "<for index='pidx' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 812.1222991943359,\r
+ "y": 1710.4197750091553,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": [\r
+ [\r
+ "7eddc009.26c91",\r
+ "d8e56ff1.4693a"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1da7f042.70418",\r
+ "type": "set",\r
+ "name": "set ss.capability.execution-order[]",\r
+ "xml": "<set>\n<parameter name='ss.capability.execution-order[0]' value='generate-name' />\n<parameter name='ss.capability.execution-order[1]' value='alts-entitlement-assign' />\n<parameter name='ss.capability.execution-order[2]' value='alts-license-assign' />\n<parameter name='ss.capability.execution-order[3]' value='vlan-tag-assign' />\n<parameter name='ss.capability.execution-order[4]' value='mS-vlan-tag-assign' />\n<parameter name='ss.capability.execution-order[5]' value='eipam-ip-assignment' />\n<parameter name='ss.capability.execution-order[6]' value='eipam-create-pool' />\n<parameter name='ss.capability.execution-order[7]' value='netbox-ip-assign' />\n<parameter name='ss.capability.execution-order[8]' value='mac-address-assign' />\n<parameter name='ss.capability.execution-order[9]' value='mS-mac-address-assign' />\n<parameter name='ss.capability.execution-order[10]' value='create-vpe-pool' />\n<parameter name='ss.capability.execution-order[11]' value='unresolved-composite-data' />\n<parameter name='ss.capability.execution-order[12]' value='aai-vf-module-put' />\n<parameter name='ss.capability.execution-order_length' value='13' />\n",\r
+ "comments": "",\r
+ "x": 499.00296783447266,\r
+ "y": 1262.3006677627563,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "96a7ad27.1cb38",\r
+ "type": "for",\r
+ "name": "foreach capability-order[]",\r
+ "xml": "<for index='cidx' start='0' end='`$ss.capability.execution-order_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 467.7649230957031,\r
+ "y": 1566.2410678863525,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": [\r
+ [\r
+ "7e687860.5de498",\r
+ "baaad7ca.98ffc8",\r
+ "f6c740a2.a923e",\r
+ "dc8699f7.88cd38"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7eddc009.26c91",\r
+ "type": "switchNode",\r
+ "name": "switch capability-name param vs. execution",\r
+ "xml": "<switch test='`$ss.capability-name == $tmp.param.capability-name`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1178.515121459961,\r
+ "y": 1756.0625677108765,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": [\r
+ [\r
+ "24ac9f8a.76969"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "24ac9f8a.76969",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1442.015121459961,\r
+ "y": 1756.3125677108765,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": [\r
+ [\r
+ "2b650c7a.d8a5d4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b1e02e63.0273f",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1655.1219596862793,\r
+ "y": 1446.9555320739746,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": [\r
+ [\r
+ "bd16b308.30dcd"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7e687860.5de498",\r
+ "type": "set",\r
+ "name": "set ss.capability-name",\r
+ "xml": "<set>\n<parameter name='ss.capability-name' value='`$ss.capability.execution-order[$cidx]`' />\n\n<!--\nss.capability.execution-order\n-->",\r
+ "comments": "",\r
+ "x": 759.1219787597656,\r
+ "y": 1566.1935195922852,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "d8e56ff1.4693a",\r
+ "type": "set",\r
+ "name": "tmp.param.capability-name",\r
+ "xml": "<set>\n<parameter name='tmp.param.capability-name' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].resource-resolution-data.capability-name`' />\n",\r
+ "comments": "",\r
+ "x": 1127.8721466064453,\r
+ "y": 1710.6697778701782,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "baaad7ca.98ffc8",\r
+ "type": "set",\r
+ "name": "set ss.capability-action = assign",\r
+ "xml": "<set>\n<parameter name='ss.capability-action' value='assign' />\n",\r
+ "comments": "",\r
+ "x": 789.8361206054688,\r
+ "y": 1613.1101036071777,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "dc8699f7.88cd38",\r
+ "type": "set",\r
+ "name": "set capability-dg with 'self-serve-' + capability-name",\r
+ "xml": "<set>\n<parameter name='ss.capability-dg' value=\"`'self-serve-' + $ss.capability.execution-order[$cidx]`\" />\n",\r
+ "comments": "",\r
+ "x": 852.1695861816406,\r
+ "y": 1661.7649745941162,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "27bec64f.ffd41a",\r
+ "type": "set",\r
+ "name": "set sdnc-generated-cloud-resources = true",\r
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.sdnc-generated-cloud-resources' \n\tvalue='true' />\n",\r
+ "comments": "",\r
+ "x": 1114.5386962890625,\r
+ "y": 1148.7293434143066,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "f04ab0bc.e42dc",\r
+ "type": "switchNode",\r
+ "name": "switch resource-resolution-data.status",\r
+ "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].resource-resolution-data.status`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 893.0984791346959,\r
+ "y": 2241.511119570051,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": [\r
+ [\r
+ "c5e63e10.a3093",\r
+ "1f165162.67ec4f"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c5e63e10.a3093",\r
+ "type": "other",\r
+ "name": "PENDING",\r
+ "xml": "<outcome value='PENDING'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1162.455695016044,\r
+ "y": 2241.5110757010325,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": [\r
+ [\r
+ "61a1d33.b88882c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1f165162.67ec4f",\r
+ "type": "other",\r
+ "name": "FAILED",\r
+ "xml": "<outcome value='FAILED'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1155.991511208671,\r
+ "y": 2292.4754063742503,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": [\r
+ [\r
+ "61a1d33.b88882c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "61a1d33.b88882c",\r
+ "type": "call",\r
+ "name": "call ss.capability-dg",\r
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='`$ss.capability-dg`' mode='sync' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1371.1102436610636,\r
+ "y": 2293.2372576849802,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": [\r
+ [\r
+ "e5879237.9e628",\r
+ "2526c489.eb217c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e5879237.9e628",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1564.1455944606241,\r
+ "y": 2292.9515359061106,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": [\r
+ [\r
+ "d2b0c64f.697d78"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "beeecd6c.915e8",\r
+ "type": "execute",\r
+ "name": "printContext",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/ss-vf-assign.log' />\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 413.2013931274414,\r
+ "y": 2755.56672000885,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "78d86895.250bc8",\r
+ "type": "switchNode",\r
+ "name": "switch vf-module_length",\r
+ "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 464.7885932922363,\r
+ "y": 317.1340227127075,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": [\r
+ [\r
+ "94c0784a.4efbd8",\r
+ "2302720.f948a8e",\r
+ "4dc65b88.c7c4c4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "94c0784a.4efbd8",\r
+ "type": "other",\r
+ "name": "NULL",\r
+ "xml": "<outcome value=''>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 677.419563293457,\r
+ "y": 246.52681350708008,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": [\r
+ [\r
+ "c1ab19e3.a09b38"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c98eda13.6cb768",\r
+ "type": "set",\r
+ "name": "set vf-module-index=0",\r
+ "xml": "<set>\n<parameter name='vf-module-index' value='0' />\n",\r
+ "comments": "",\r
+ "x": 1016.5385932922363,\r
+ "y": 257.4435987472534,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "2302720.f948a8e",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 676.5981559753418,\r
+ "y": 385.3126735687256,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": [\r
+ [\r
+ "e441c1f2.c0ad1"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f5150a81.100538",\r
+ "type": "set",\r
+ "name": "set vf-module-id",\r
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id'\n value='`$vf-module-topology-operation-input.vf-module-information.vf-module-id`' />\n",\r
+ "comments": "",\r
+ "x": 1032.824234008789,\r
+ "y": 539.5536422729492,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "fe3a9a0d.f3a558",\r
+ "type": "set",\r
+ "name": "set vf-module-parameters",\r
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.'\n value='vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.' />\n",\r
+ "comments": "",\r
+ "x": 1197.5148315429688,\r
+ "y": 1399.3964304924011,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "3c0e578a.5d7b08",\r
+ "type": "set",\r
+ "name": "set order-status to PendingCreate",\r
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-level-oper-status.order-status'\n value='PendingCreate' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-level-oper-status.last-rpc-action'\n value='`$vf-module-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-level-oper-status.last-action'\n value='`$vf-module-topology-operation-input.request-information.request-action`' />",\r
+ "comments": "",\r
+ "x": 1087.098403930664,\r
+ "y": 1101.416841506958,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "7d46526.17c5aac",\r
+ "type": "set",\r
+ "name": "set ss.capability-type = vf-module",\r
+ "xml": "<set>\n<parameter name='ss.capability-type' value='vf-module' />\n",\r
+ "comments": "",\r
+ "x": 499.9077606201172,\r
+ "y": 1219.3006258010864,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "da6ecb81.86ff58",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic='true'>",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 962.1934574672159,\r
+ "y": 1400.1220000130788,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": [\r
+ [\r
+ "fe3a9a0d.f3a558",\r
+ "55d6d80f.981a78",\r
+ "dfb33174.f2c9c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "cdf4ff1.5e539",\r
+ "type": "set",\r
+ "name": "set is-new-vfmodule = true",\r
+ "xml": "<set>\n<parameter name='is-new-vfmodule' value='true' />\n",\r
+ "comments": "",\r
+ "x": 471.6102752685547,\r
+ "y": 197.55074501037598,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "f6595347.aba9",\r
+ "type": "for",\r
+ "name": "for each existing VF module",\r
+ "xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1035.4315338134766,\r
+ "y": 385.0030117034912,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": [\r
+ [\r
+ "cb80b6c2.f7f7a8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "cb80b6c2.f7f7a8",\r
+ "type": "switchNode",\r
+ "name": "switch vf-module-id: input vs service-data",\r
+ "xml": "<switch test='`$vf-module-topology-operation-input.vf-module-information.vf-module-id == $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-id`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1346.550666809082,\r
+ "y": 385.574426651001,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": [\r
+ [\r
+ "cb23fa3d.38db08"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "cb23fa3d.38db08",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1600.4196968078613,\r
+ "y": 385.39588356018066,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": [\r
+ [\r
+ "25cbd14.1ae082e"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "5f9f2341.7aeedc",\r
+ "type": "set",\r
+ "name": "set is-new-vfmodule = false",\r
+ "xml": "<set>\n<parameter name='is-new-vfmodule' value='false' />\n",\r
+ "comments": "",\r
+ "x": 1972.5864372253418,\r
+ "y": 384.657772064209,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "25cbd14.1ae082e",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1741.836441040039,\r
+ "y": 384.9077682495117,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": [\r
+ [\r
+ "5f9f2341.7aeedc",\r
+ "b086c015.9686a",\r
+ "539e0d93.0e4764"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b086c015.9686a",\r
+ "type": "break",\r
+ "name": "break",\r
+ "xml": "<break>\n",\r
+ "comments": "",\r
+ "x": 1909.7292289733887,\r
+ "y": 470.90774631500244,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "539e0d93.0e4764",\r
+ "type": "set",\r
+ "name": "set vf-module-index = idx",\r
+ "xml": "<set>\n<parameter name='vf-module-index' value='`$idx`' />\n",\r
+ "comments": "",\r
+ "x": 1965.5507507324219,\r
+ "y": 427.94342708587646,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "470bd393.8815fc",\r
+ "type": "set",\r
+ "name": "set new vf-module_length = vf-module-index + 1",\r
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length' value='`$vf-module-index + 1`' />\n",\r
+ "comments": "",\r
+ "x": 1097.8960151672363,\r
+ "y": 298.7650270462036,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "e441c1f2.c0ad1",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 813.7530708312988,\r
+ "y": 385.69353580474854,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": [\r
+ [\r
+ "9c5458e2.63ba88",\r
+ "f6595347.aba9"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f2ad673d.c9d758",\r
+ "type": "set",\r
+ "name": "set new vf-module_length++",\r
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length' \n\tvalue='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length + 1`' />\n",\r
+ "comments": "",\r
+ "x": 1583.0030937194824,\r
+ "y": 497.4435405731201,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "9c5458e2.63ba88",\r
+ "type": "switchNode",\r
+ "name": "switch is-new-vfmodule",\r
+ "xml": "<switch test='`$is-new-vfmodule`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1021.2530670166016,\r
+ "y": 455.2649154663086,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": [\r
+ [\r
+ "328de05d.d7c21"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "328de05d.d7c21",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1219.110221862793,\r
+ "y": 454.8363628387451,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": [\r
+ [\r
+ "b1cc1eae.576a8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c1ab19e3.a09b38",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 820.2530670166016,\r
+ "y": 278.19353008270264,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": [\r
+ [\r
+ "470bd393.8815fc",\r
+ "c98eda13.6cb768"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "4dc65b88.c7c4c4",\r
+ "type": "other",\r
+ "name": "0",\r
+ "xml": "<outcome value='0'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 678.5863037109375,\r
+ "y": 316.6220245361328,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": [\r
+ [\r
+ "c1ab19e3.a09b38"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d2d53277.c8e3b",\r
+ "type": "switchNode",\r
+ "name": "switch is-new-vfmodule",\r
+ "xml": "<switch test='`$is-new-vfmodule`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 464.3363037109375,\r
+ "y": 540.3720245361328,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": [\r
+ [\r
+ "228816c9.7d6b7a"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "228816c9.7d6b7a",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 662.1934585571289,\r
+ "y": 539.9434719085693,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": [\r
+ [\r
+ "160cf147.59b4af"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9660a91.81f1358",\r
+ "type": "set",\r
+ "name": "Copy vf-module-topology data",\r
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-topology-identifier.vf-module-id' \n value='`$vf-module-topology-operation-input.vf-module-information.vf-module-id`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-topology-identifier.vf-module-name' \n value='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-name`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-topology-identifier.vf-module-type' \n value='`$vf-module-topology-operation-input.vf-module-information.vf-module-type`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.tenant' \n value='`$vf-module-topology-operation-input.vf-module-request-input.tenant`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.aic-cloud-region' \n value='`$vf-module-topology-operation-input.vf-module-request-input.aic-cloud-region`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.aic-clli'\n value='`$vf-module-topology-operation-input.vf-module-request-input.aic-clli`' />",\r
+ "comments": "",\r
+ "x": 1078.0863189697266,\r
+ "y": 585.3720941543579,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "d0c524cc.997e98",\r
+ "type": "set",\r
+ "name": "set from DB",\r
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.onap-model-information.model-invariant-uuid'\n value='`$db.vf-module-model.invariant-uuid`' />\n",\r
+ "comments": "",\r
+ "x": 1443.0980796813965,\r
+ "y": 637.8155345916748,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "9632b3a5.151f7",\r
+ "type": "switchNode",\r
+ "name": "switch input model-invariant-uuid",\r
+ "xml": "<switch test='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-invariant-uuid`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1086.9551544189453,\r
+ "y": 660.6399784088135,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": [\r
+ [\r
+ "d993041d.727fe8",\r
+ "7b777471.7e5a6c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d993041d.727fe8",\r
+ "type": "outcome",\r
+ "name": "NULL",\r
+ "xml": "<outcome value=''>",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1292.621826171875,\r
+ "y": 637.7829418182373,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": [\r
+ [\r
+ "d0c524cc.997e98"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7b777471.7e5a6c",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1294.050422668457,\r
+ "y": 682.0685329437256,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": [\r
+ [\r
+ "23246502.21d58a"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "23246502.21d58a",\r
+ "type": "set",\r
+ "name": "set from input",\r
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.onap-model-information.model-invariant-uuid'\n value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-invariant-uuid`' />\n",\r
+ "comments": "",\r
+ "x": 1448.3361587524414,\r
+ "y": 681.4971051216125,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "9b1fd622.5ea208",\r
+ "type": "set",\r
+ "name": "set from DB",\r
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.onap-model-information.model-uuid'\n value='`$db.vf-module-model.uuid`' />\n",\r
+ "comments": "",\r
+ "x": 1444.050350189209,\r
+ "y": 726.3542108535767,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "a9b9767.d0f3d88",\r
+ "type": "switchNode",\r
+ "name": "switch input model-uuid",\r
+ "xml": "<switch test='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-uuid`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1059.5741729736328,\r
+ "y": 749.1787157058716,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": [\r
+ [\r
+ "95b67445.582658",\r
+ "f28422f1.a8a5a"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "95b67445.582658",\r
+ "type": "outcome",\r
+ "name": "NULL",\r
+ "xml": "<outcome value=''>",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1293.574146270752,\r
+ "y": 726.321647644043,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": [\r
+ [\r
+ "9b1fd622.5ea208"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f28422f1.a8a5a",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1295.002742767334,\r
+ "y": 770.6072387695312,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": [\r
+ [\r
+ "5b080c13.af5d04"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "5b080c13.af5d04",\r
+ "type": "set",\r
+ "name": "set from input",\r
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.onap-model-information.model-uuid'\n value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-uuid`' />\n",\r
+ "comments": "",\r
+ "x": 1449.2884788513184,\r
+ "y": 770.0358109474182,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "3e2787e5.70ce38",\r
+ "type": "set",\r
+ "name": "set from DB",\r
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.onap-model-information.model-version'\n value='`$db.vf-module-model.version`' />\n",\r
+ "comments": "",\r
+ "x": 1435.1932830810547,\r
+ "y": 815.2114181518555,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "d072296.6aca9d8",\r
+ "type": "switchNode",\r
+ "name": "switch input model-version",\r
+ "xml": "<switch test='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-version`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1061.7170448303223,\r
+ "y": 838.0358629226685,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": [\r
+ [\r
+ "ae7bcfb3.5f0d2",\r
+ "153e40d6.cb774f"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ae7bcfb3.5f0d2",\r
+ "type": "outcome",\r
+ "name": "NULL",\r
+ "xml": "<outcome value=''>",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1284.7170295715332,\r
+ "y": 815.178825378418,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": [\r
+ [\r
+ "3e2787e5.70ce38"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "153e40d6.cb774f",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1286.1456260681152,\r
+ "y": 859.4644165039062,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": [\r
+ [\r
+ "ab4b217e.693c2"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ab4b217e.693c2",\r
+ "type": "set",\r
+ "name": "set from input",\r
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.onap-model-information.model-version'\n value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-version`' />\n",\r
+ "comments": "",\r
+ "x": 1440.4313621520996,\r
+ "y": 858.8929886817932,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "59cb1887.519c68",\r
+ "type": "set",\r
+ "name": "set from DB",\r
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.onap-model-information.model-name'\n value='`$db.vf-module-model.name`' />\n",\r
+ "comments": "",\r
+ "x": 1435.1932830810547,\r
+ "y": 902.3542404174805,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "e085243.3e05cd8",\r
+ "type": "switchNode",\r
+ "name": "switch input model-name",\r
+ "xml": "<switch test='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-name`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1058.7170448303223,\r
+ "y": 925.1786851882935,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": [\r
+ [\r
+ "4f31d90c.74c998",\r
+ "84e2607f.f6a01"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "4f31d90c.74c998",\r
+ "type": "outcome",\r
+ "name": "NULL",\r
+ "xml": "<outcome value=''>",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1284.7170295715332,\r
+ "y": 902.321647644043,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": [\r
+ [\r
+ "59cb1887.519c68"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "84e2607f.f6a01",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1286.1456260681152,\r
+ "y": 946.6072387695312,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": [\r
+ [\r
+ "6e518b97.0cd334"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "6e518b97.0cd334",\r
+ "type": "set",\r
+ "name": "set from input",\r
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.onap-model-information.model-name'\n value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-name`' />\n",\r
+ "comments": "",\r
+ "x": 1440.4313621520996,\r
+ "y": 946.0358109474182,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "ec7b65fb.fc6018",\r
+ "type": "set",\r
+ "name": "set model-customization-uuid",\r
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.onap-model-information.model-customization-uuid'\n value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid`' />\n",\r
+ "comments": "",\r
+ "x": 1072.1694030761719,\r
+ "y": 999.1161699295044,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "63af0c3d.77f934",\r
+ "type": "set",\r
+ "name": "copy input data",\r
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.sdnc-request-header.'\n value='$vf-module-topology-operation-input.sdnc-request-header.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.request-information.'\n value='$vf-module-topology-operation-input.request-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.service-information.'\n value='$vf-module-topology-operation-input.service-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vnf-information.'\n value='$vf-module-topology-operation-input.vnf-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-information.'\n value='$vf-module-topology-operation-input.vf-module-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.' \n value='$vf-module-topology-operation-input.vf-module-request-input.' />",\r
+ "comments": "",\r
+ "x": 1028.824478149414,\r
+ "y": 1053.8008728027344,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "160cf147.59b4af",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 818.2887191772461,\r
+ "y": 539.7212162017822,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": [\r
+ [\r
+ "9632b3a5.151f7",\r
+ "a9b9767.d0f3d88",\r
+ "d072296.6aca9d8",\r
+ "e085243.3e05cd8",\r
+ "ec7b65fb.fc6018",\r
+ "63af0c3d.77f934",\r
+ "9660a91.81f1358",\r
+ "f5150a81.100538",\r
+ "3c0e578a.5d7b08",\r
+ "27bec64f.ffd41a"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "dd621f57.8792a",\r
+ "type": "set",\r
+ "name": "set vf-module-index = vf-module_length",\r
+ "xml": "<set>\n<parameter name='vf-module-index' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`' />\n",\r
+ "comments": "",\r
+ "x": 1615.5863227844238,\r
+ "y": 453.62203216552734,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "b1cc1eae.576a8",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1362.0863227844238,\r
+ "y": 454.37203216552734,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": [\r
+ [\r
+ "dd621f57.8792a",\r
+ "f2ad673d.c9d758"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2b650c7a.d8a5d4",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic='true'>",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 618.0148696899414,\r
+ "y": 2241.538803100586,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": [\r
+ [\r
+ "f04ab0bc.e42dc",\r
+ "9691a52d.6666b8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9691a52d.6666b8",\r
+ "type": "break",\r
+ "name": "break",\r
+ "xml": "<break>\n",\r
+ "comments": "",\r
+ "x": 796.4434356689453,\r
+ "y": 2510.9673385620117,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "2526c489.eb217c",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1588.4076690673828,\r
+ "y": 2438.943384170532,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": [\r
+ [\r
+ "3c2b90e5.13698"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3c2b90e5.13698",\r
+ "type": "record",\r
+ "name": "record",\r
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"`'DONE: ' + $ss.capability-dg`\"/>\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1732.1576690673828,\r
+ "y": 2437.693384170532,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "dfb33174.f2c9c",\r
+ "type": "record",\r
+ "name": "record",\r
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"DONE with vfmodule-ra-assignment\"/>\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1142.3363037109375,\r
+ "y": 1495.3720245361328,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "8f918c25.18662",\r
+ "type": "execute",\r
+ "name": "execute PropertiesNode",\r
+ "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",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 890.5863167898997,\r
+ "y": 1308.5862832750595,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "4d9da943.9b5318",\r
+ "type": "switchNode",\r
+ "name": "switch prop.controller.user",\r
+ "xml": "<switch test='`$prop.controller.user`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 479.30055236816406,\r
+ "y": 1309.0149040222168,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": [\r
+ [\r
+ "7e82a787.ebfeb8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7e82a787.ebfeb8",\r
+ "type": "failure",\r
+ "name": "NULL",\r
+ "xml": "<outcome value=''>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 679.1576478140696,\r
+ "y": 1308.5863185610092,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": [\r
+ [\r
+ "8f918c25.18662"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "74e369b1.130768",\r
+ "type": "call",\r
+ "name": "call self-serve-vf-module-mdsal-put",\r
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-vf-module-mdsal-put' mode='sync' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 496.5741882324219,\r
+ "y": 2650.58260345459,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "72e787c4.788818",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`$error-message`\" />\n",\r
+ "comments": "",\r
+ "x": 1958.5863037109375,\r
+ "y": 2376.507080078125,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "d2b0c64f.697d78",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic='true'>",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1734.0270718165812,\r
+ "y": 2292.0185897009715,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": [\r
+ [\r
+ "72e787c4.788818",\r
+ "245c83ad.8fed6c",\r
+ "c9140ce7.8a308"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "245c83ad.8fed6c",\r
+ "type": "call",\r
+ "name": "call self-serve-vf-module-mdsal-put",\r
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-vf-module-mdsal-put' mode='sync' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2033.2294006347656,\r
+ "y": 2334.0579681396484,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "c9140ce7.8a308",\r
+ "type": "set",\r
+ "name": "set error-message",\r
+ "xml": "<set>\n<parameter name='error-message' value=\"`'Encountered error from ' + $ss.capability-dg + ' with error: ' + $error-message`\" />",\r
+ "comments": "",\r
+ "x": 1971.4439086914062,\r
+ "y": 2291.5579509735107,\r
+ "z": "6a89d3e3.fb4ddc",\r
+ "wires": []\r
+ }\r
+]
\ No newline at end of file