aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-pnf-ra-assignment.json746
-rw-r--r--platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vfmodule-ra-assignment.json812
-rw-r--r--platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vnf-ra-assignment.json742
-rw-r--r--platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-pnf-ra-assignment.xml2
-rw-r--r--platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vfmodule-ra-assignment.xml2
-rw-r--r--platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vnf-ra-assignment.xml2
-rw-r--r--platform-logic/restconfapi-yang/src/main/yang/cds/execution-service.yang6
7 files changed, 1156 insertions, 1156 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-pnf-ra-assignment.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-pnf-ra-assignment.json
index de0dfdf5..a02cdc96 100644
--- a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-pnf-ra-assignment.json
+++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-pnf-ra-assignment.json
@@ -1,20 +1,20 @@
[
{
- "id": "f0a981bd.88fcb",
+ "id": "6e7dfa88.0b63a4",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 117,
- "y": 75,
- "z": "cfe922a8.7a91",
+ "x": 113,
+ "y": 115,
+ "z": "3e07b032.f312e",
"wires": [
[
- "a665a331.b55d"
+ "ef8026b7.3aed68"
]
]
},
{
- "id": "a665a331.b55d",
+ "id": "ef8026b7.3aed68",
"type": "service-logic",
"name": "GENERIC-RESOURCE-API ${project.version}",
"module": "GENERIC-RESOURCE-API",
@@ -22,1065 +22,1065 @@
"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": 393,
- "y": 76,
- "z": "cfe922a8.7a91",
+ "x": 389,
+ "y": 116,
+ "z": "3e07b032.f312e",
"wires": [
[
- "c81bde26.d0259"
+ "501d9d26.bee994"
]
]
},
{
- "id": "c81bde26.d0259",
+ "id": "501d9d26.bee994",
"type": "method",
"name": "self-serve-pnf-ra-assignment",
"xml": "<method rpc='self-serve-pnf-ra-assignment' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 250.00001525878906,
- "y": 129.00000762939453,
- "z": "cfe922a8.7a91",
+ "x": 245,
+ "y": 166,
+ "z": "3e07b032.f312e",
"wires": [
[
- "55728079.b669b"
+ "197fccd4.459f43"
]
]
},
{
- "id": "55728079.b669b",
+ "id": "197fccd4.459f43",
"type": "block",
"name": "block atomic",
"xml": "<block atomic=\"true\">\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 212.16664123535156,
- "y": 177.3333339691162,
- "z": "cfe922a8.7a91",
+ "x": 208.16664123535156,
+ "y": 217.3333339691162,
+ "z": "3e07b032.f312e",
"wires": [
[
- "ded0fa5f.1cc958",
- "da49825b.f212e",
- "e804e40a.3348d8",
- "c602f6a.b7d2b08",
- "110c1be6.299a84",
- "11ca6e3a.745ed2",
- "3087bf64.dce3e",
- "3cae11e4.851bfe",
- "83f9cf68.29fa4",
- "59d259e0.595458",
- "7696cfe3.25742",
- "906be4e1.f2f3b8",
- "59d1a840.b9e3b8",
- "7eebfe0.8659a04",
- "9f59e925.e7ed18",
- "c4d5f704.d66b18"
+ "7426a829.e11b58",
+ "620a96bb.b8f688",
+ "3cdb0db8.762952",
+ "36172836.56b358",
+ "e2b19a30.529508",
+ "2598fbe5.d5c5f4",
+ "37b2123.535f6ee",
+ "e2f03825.a87998",
+ "b0595425.3a0188",
+ "cc933ad3.514df8",
+ "4d6dae.f7535254",
+ "20179f5d.5c224",
+ "4a91f214.3421ac",
+ "7a5f6ac8.a537a4",
+ "94bb3392.15fed",
+ "791d57a6.77d138"
]
]
},
{
- "id": "da49825b.f212e",
+ "id": "620a96bb.b8f688",
"type": "set",
"name": "set",
"xml": "<set>\n <parameter name=\"cds\" value=\"execution-service_process.\"/> \n <parameter name=\"`$cds + 'commonHeader.requestId'`\" value=\"`$tmp.return.generate.pnf-se-serv-uuid`\"/>\n <parameter name=\"resource-type\" value=\"`$pnf-topology-operation-input.pnf-details.pnf-type`\" /> \n <parameter name=\"`$cds + 'commonHeader.subRequestId'`\" value=\"`$pnf-topology-operation-input.pnf-details.pnf-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": 397.9166603088379,
- "y": 222.08333015441895,
- "z": "cfe922a8.7a91",
+ "x": 393.9166603088379,
+ "y": 262.08333015441895,
+ "z": "3e07b032.f312e",
"wires": []
},
{
- "id": "fc9300fc.e62da",
+ "id": "d40fa708.653618",
"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 = $pnf-topology-operation-input.pnf-details.onap-model-information.model-customization-uuid'\n pfx='db1.vf-model'>\n \n\n",
"comments": "",
"outputs": 1,
- "x": 936.8094635009766,
- "y": 613.6189861297607,
- "z": "cfe922a8.7a91",
+ "x": 932.8094635009766,
+ "y": 653.6189861297607,
+ "z": "3e07b032.f312e",
"wires": [
[
- "27e699d9.486f86",
- "3868ab1a.84cf94",
- "c4b3e20a.976c9"
+ "9b84f245.766fb",
+ "7d2bf88b.328138",
+ "389573c6.6a65bc"
]
]
},
{
- "id": "27e699d9.486f86",
+ "id": "9b84f245.766fb",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1181.8095626831055,
- "y": 562.904709815979,
- "z": "cfe922a8.7a91",
+ "x": 1177.8095626831055,
+ "y": 602.904709815979,
+ "z": "3e07b032.f312e",
"wires": [
[
- "980d344b.b7a248"
+ "1a0cb80.0f69248"
]
]
},
{
- "id": "980d344b.b7a248",
+ "id": "1a0cb80.0f69248",
"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_MODEL table\" />\n",
"comments": "",
- "x": 1354.8095626831055,
- "y": 561.904709815979,
- "z": "cfe922a8.7a91",
+ "x": 1350.8095626831055,
+ "y": 601.904709815979,
+ "z": "3e07b032.f312e",
"wires": []
},
{
- "id": "c69ac6a5.a782c8",
+ "id": "cab43d3d.ed3fd",
"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": 1557.2380638122559,
- "y": 663.047513961792,
- "z": "cfe922a8.7a91",
+ "x": 1553.2380638122559,
+ "y": 703.047513961792,
+ "z": "3e07b032.f312e",
"wires": []
},
{
- "id": "64c18674.de26f8",
+ "id": "a9fa6546.1f0d38",
"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=\"`'No VF_MODEL found where customization_uuid = ' + $pnf-topology-operation-input.pnf-details.onap-model-information.model-customization-uuid`\" />\n",
"comments": "",
- "x": 1356.8095626831055,
- "y": 610.904709815979,
- "z": "cfe922a8.7a91",
+ "x": 1352.8095626831055,
+ "y": 650.904709815979,
+ "z": "3e07b032.f312e",
"wires": []
},
{
- "id": "110c1be6.299a84",
+ "id": "e2b19a30.529508",
"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": 457.80946350097656,
- "y": 614.6189861297607,
- "z": "cfe922a8.7a91",
+ "x": 453.80946350097656,
+ "y": 654.6189861297607,
+ "z": "3e07b032.f312e",
"wires": [
[
- "5004e54f.2514ac"
+ "9243d005.83d72"
]
]
},
{
- "id": "3868ab1a.84cf94",
+ "id": "7d2bf88b.328138",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1187.8095626831055,
- "y": 611.904709815979,
- "z": "cfe922a8.7a91",
+ "x": 1183.8095626831055,
+ "y": 651.904709815979,
+ "z": "3e07b032.f312e",
"wires": [
[
- "64c18674.de26f8"
+ "a9fa6546.1f0d38"
]
]
},
{
- "id": "5004e54f.2514ac",
+ "id": "9243d005.83d72",
"type": "outcome",
"name": "true",
"xml": "<outcome value='true'>",
"comments": "",
"outputs": 1,
- "x": 706.8094635009766,
- "y": 614.6189861297607,
- "z": "cfe922a8.7a91",
+ "x": 702.8094635009766,
+ "y": 654.6189861297607,
+ "z": "3e07b032.f312e",
"wires": [
[
- "fc9300fc.e62da"
+ "d40fa708.653618"
]
]
},
{
- "id": "c602f6a.b7d2b08",
+ "id": "36172836.56b358",
"type": "for",
"name": "for pnf-topology-operation-input",
"xml": "<for silentFailure='true' index='i' start='0' end='`$pnf-topology-operation-input.pnf-request-input.pnf-input-parameters.param_length`' >",
"comments": "",
"outputs": 1,
- "x": 473.66664123535156,
- "y": 414.3333339691162,
- "z": "cfe922a8.7a91",
+ "x": 469.66664123535156,
+ "y": 454.3333339691162,
+ "z": "3e07b032.f312e",
"wires": [
[
- "8c0bf6a3.a5bba8"
+ "3124c1a0.424eee"
]
]
},
{
- "id": "8c0bf6a3.a5bba8",
+ "id": "3124c1a0.424eee",
"type": "block",
"name": "block atomic",
"xml": "<block atomic=\"true\">",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 695.6666412353516,
- "y": 413.3333339691162,
- "z": "cfe922a8.7a91",
+ "x": 691.6666412353516,
+ "y": 453.3333339691162,
+ "z": "3e07b032.f312e",
"wires": [
[
- "aaf46ed5.322dd"
+ "403c833.890537c"
]
]
},
{
- "id": "6da0f254.b738bc",
+ "id": "ae35475f.7b1f68",
"type": "set",
"name": "set tmp.sdnc-model-name",
"xml": "<set>\n<parameter name='tmp.sdnc-model-name' value='`$pnf-topology-operation-input.pnf-request-input.pnf-input-parameters.param[$i].value`' />\n",
"comments": "",
- "x": 1346.6666412353516,
- "y": 346.3333339691162,
- "z": "cfe922a8.7a91",
+ "x": 1342.6666412353516,
+ "y": 386.3333339691162,
+ "z": "3e07b032.f312e",
"wires": []
},
{
- "id": "870f2532.302988",
+ "id": "1ba5fa8a.63d565",
"type": "outcome",
"name": "sdnc_model_name",
"xml": "<outcome value='sdnc_model_name'>\n",
"comments": "",
"outputs": 1,
- "x": 1092.6666412353516,
- "y": 346.3333339691162,
- "z": "cfe922a8.7a91",
+ "x": 1088.6666412353516,
+ "y": 386.3333339691162,
+ "z": "3e07b032.f312e",
"wires": [
[
- "6da0f254.b738bc"
+ "ae35475f.7b1f68"
]
]
},
{
- "id": "aaf46ed5.322dd",
+ "id": "403c833.890537c",
"type": "switchNode",
"name": "switch",
"xml": "<switch test='`$pnf-topology-operation-input.pnf-request-input.pnf-input-parameters.param[$i].name`'>\n\n",
"comments": "",
"outputs": 1,
- "x": 854.6666412353516,
- "y": 413.3333339691162,
- "z": "cfe922a8.7a91",
+ "x": 850.6666412353516,
+ "y": 453.3333339691162,
+ "z": "3e07b032.f312e",
"wires": [
[
- "870f2532.302988",
- "c69b064d.42d558",
- "360ea5f2.3aba6a",
- "51becd83.b90354"
+ "1ba5fa8a.63d565",
+ "7c0fa2e7.67b91c",
+ "1bdfaec5.b5c291",
+ "4faad0fb.85c13"
]
]
},
{
- "id": "c69b064d.42d558",
+ "id": "7c0fa2e7.67b91c",
"type": "outcome",
"name": "sdnc_model_version",
"xml": "<outcome value='sdnc_model_version'>\n",
"comments": "",
"outputs": 1,
- "x": 1095.6666412353516,
- "y": 392.3333339691162,
- "z": "cfe922a8.7a91",
+ "x": 1091.6666412353516,
+ "y": 432.3333339691162,
+ "z": "3e07b032.f312e",
"wires": [
[
- "4c9f2347.0813ec"
+ "18be0bb.98eb3f4"
]
]
},
{
- "id": "360ea5f2.3aba6a",
+ "id": "1bdfaec5.b5c291",
"type": "outcome",
"name": "sdnc_artifact_name",
"xml": "<outcome value='sdnc_artifact_name'>\n",
"comments": "",
"outputs": 1,
- "x": 1094.6666412353516,
- "y": 441.3333339691162,
- "z": "cfe922a8.7a91",
+ "x": 1090.6666412353516,
+ "y": 481.3333339691162,
+ "z": "3e07b032.f312e",
"wires": [
[
- "b1d9cd42.816"
+ "53837331.158fac"
]
]
},
{
- "id": "4c9f2347.0813ec",
+ "id": "18be0bb.98eb3f4",
"type": "set",
"name": "set tmp.sdnc-model-version",
- "xml": "<set>\n<parameter name='tmp.sdnc-model-version' value='`$pnf-topology-operation-input.pnf-request-input.pnf-input-parameters.param[$i].value`' />\n",
+ "xml": "<set>\n<parameter name='tmp.sdnc-model-version' value='`$pnf-topology-operation-input.pnf-request-input.pnf-input-parameters.param[$i].value`' />\n\n",
"comments": "",
- "x": 1350.6666412353516,
- "y": 392.3333339691162,
- "z": "cfe922a8.7a91",
+ "x": 1346.6666412353516,
+ "y": 432.3333339691162,
+ "z": "3e07b032.f312e",
"wires": []
},
{
- "id": "b1d9cd42.816",
+ "id": "53837331.158fac",
"type": "set",
"name": "set tmp.sdnc-artifact-name",
"xml": "<set>\n<parameter name='tmp.sdnc-artifact-name' value='`$pnf-topology-operation-input.pnf-request-input.pnf-input-parameters.param[$i].value`' />\n\n",
"comments": "",
- "x": 1346.6666412353516,
- "y": 441.3333339691162,
- "z": "cfe922a8.7a91",
+ "x": 1342.6666412353516,
+ "y": 481.3333339691162,
+ "z": "3e07b032.f312e",
"wires": []
},
{
- "id": "44b0c539.9ab1fc",
+ "id": "1fd42ea3.2e4e71",
"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 + '&quot;' + $pnf-topology-operation-input.pnf-request-input.pnf-input-parameters.param[$i].name + '&quot;:&quot;' + $pnf-topology-operation-input.pnf-request-input.pnf-input-parameters.param[$i].value + '&quot;,'`\"/>\n",
+ "xml": "<set>\n<parameter name=\"tmp.config-name-value-other-payload\" value=\"`$tmp.config-name-value-other-payload + '&quot;' + $pnf-topology-operation-input.pnf-request-input.pnf-input-parameters.param[$i].name + '&quot;:&quot;' + $pnf-topology-operation-input.pnf-request-input.pnf-input-parameters.param[$i].value + '&quot;,'`\"/>\n\n",
"comments": "",
- "x": 1263.916648864746,
- "y": 492.83335041999817,
- "z": "cfe922a8.7a91",
+ "x": 1259.916648864746,
+ "y": 532.8333504199982,
+ "z": "3e07b032.f312e",
"wires": []
},
{
- "id": "51becd83.b90354",
+ "id": "4faad0fb.85c13",
"type": "outcome",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1054.666648864746,
- "y": 490.9047546386719,
- "z": "cfe922a8.7a91",
+ "x": 1050.666648864746,
+ "y": 530.9047546386719,
+ "z": "3e07b032.f312e",
"wires": [
[
- "44b0c539.9ab1fc"
+ "1fd42ea3.2e4e71"
]
]
},
{
- "id": "11ca6e3a.745ed2",
+ "id": "2598fbe5.d5c5f4",
"type": "set",
"name": "set configAssignment JsonString",
"xml": "<set>\n<parameter name=\"tmp.config-name-value-payload4\" value=\"`$tmp.config-name-value-other-payload + '&quot;service-instance-id&quot;:&quot;' + $pnf-topology-operation-input.service-information.service-instance-id + '&quot;,'`\"/>\n<parameter name=\"tmp.config-name-value-payload5\" value=\"`$tmp.config-name-value-payload4 + '&quot;pnf-model-customization-uuid&quot;:&quot;' + $pnf-topology-operation-input.pnf-details.onap-model-information.model-customization-uuid + '&quot;,'`\"/>\n<parameter name=\"tmp.config-name-value-payload6\" value=\"`$tmp.config-name-value-payload5 + '&quot;pnf-id&quot;:&quot;' + $pnf-topology-operation-input.pnf-details.pnf-id + '&quot;,'`\"/>\n<parameter name=\"tmp.config-name-value-payload7\" value=\"`$tmp.config-name-value-payload6 + '&quot;aic-cloud-region&quot;:&quot;' + $pnf-topology-operation-input.pnf-request-input.aic-cloud-region + '&quot;'`\"/>\n",
"comments": "",
- "x": 478.6666564941406,
- "y": 682.3333568572998,
- "z": "cfe922a8.7a91",
+ "x": 470,
+ "y": 720,
+ "z": "3e07b032.f312e",
"wires": []
},
{
- "id": "3087bf64.dce3e",
+ "id": "37b2123.535f6ee",
"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": 475.33331298828125,
- "y": 888,
- "z": "cfe922a8.7a91",
+ "x": 471.33331298828125,
+ "y": 928,
+ "z": "3e07b032.f312e",
"wires": [
[
- "d361485e.79ff28",
- "8b7ec47b.a1ed38"
+ "9094229e.6fb6f",
+ "77fe21f0.7024"
]
]
},
{
- "id": "d361485e.79ff28",
+ "id": "9094229e.6fb6f",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 715.3333129882812,
- "y": 862,
- "z": "cfe922a8.7a91",
+ "x": 711.3333129882812,
+ "y": 902,
+ "z": "3e07b032.f312e",
"wires": [
[
- "f00d65b.058a198"
+ "34639eb4.1a62c2"
]
]
},
{
- "id": "f00d65b.058a198",
+ "id": "34639eb4.1a62c2",
"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 BlueprintProcessingClient\" />\n",
"comments": "",
- "x": 897.3333129882812,
- "y": 883,
- "z": "cfe922a8.7a91",
+ "x": 893.3333129882812,
+ "y": 923,
+ "z": "3e07b032.f312e",
"wires": []
},
{
- "id": "83f9cf68.29fa4",
+ "id": "b0595425.3a0188",
"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": 499.66664123535156,
- "y": 1105.333324432373,
- "z": "cfe922a8.7a91",
+ "x": 495.66664123535156,
+ "y": 1145.333324432373,
+ "z": "3e07b032.f312e",
"wires": [
[
- "326b7e58.3b8352"
+ "144b214e.ee862f"
]
]
},
{
- "id": "b2f73366.8118d",
+ "id": "d7374bb0.605eb8",
"type": "set",
"name": "set from resource-accumulator-resolved-data",
"xml": "<set>\n\t<parameter name='`service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.pnf-parameters-data.param[$highnum].name`' value='`$jsonContextPrefix.resource-accumulator-resolved-data[$i].param-name`'/>\n\t<parameter name='`service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.pnf-parameters-data.param[$highnum].value`' value='`$jsonContextPrefix.resource-accumulator-resolved-data[$i].param-value`'/>\n\t<parameter name='`service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.pnf-parameters-data.param[$highnum].resource-resolution-data.capability-name`' value='RA Resolved'/>\n\t<parameter name='`service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.pnf-parameters-data.param[$highnum].resource-resolution-data.status`' value='SUCCESS'/>\n",
"comments": "",
- "x": 1729.6666412353516,
- "y": 1157.333324432373,
- "z": "cfe922a8.7a91",
+ "x": 1725.6666412353516,
+ "y": 1197.333324432373,
+ "z": "3e07b032.f312e",
"wires": []
},
{
- "id": "59d259e0.595458",
+ "id": "cc933ad3.514df8",
"type": "for",
"name": "for capability-data",
"xml": "<for silentFailure='true' index='i' start='0' end='`$jsonContextPrefix.capability-data_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 424.66664123535156,
- "y": 1447.333324432373,
- "z": "cfe922a8.7a91",
+ "x": 420.66664123535156,
+ "y": 1487.333324432373,
+ "z": "3e07b032.f312e",
"wires": [
[
- "abe63410.577b08"
+ "99781cdc.7c44d"
]
]
},
{
- "id": "abe63410.577b08",
+ "id": "99781cdc.7c44d",
"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": 633.6666412353516,
- "y": 1447.333324432373,
- "z": "cfe922a8.7a91",
+ "x": 629.6666412353516,
+ "y": 1487.333324432373,
+ "z": "3e07b032.f312e",
"wires": [
[
- "22c99553.60eefa"
+ "bf322fce.e592c"
]
]
},
{
- "id": "3cae11e4.851bfe",
+ "id": "e2f03825.a87998",
"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": 443.66664123535156,
- "y": 1026.333324432373,
- "z": "cfe922a8.7a91",
+ "x": 439.66664123535156,
+ "y": 1066.333324432373,
+ "z": "3e07b032.f312e",
"wires": [
[]
]
},
{
- "id": "ded0fa5f.1cc958",
+ "id": "7426a829.e11b58",
"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.pnf-se-serv-uuid\" /> \n ",
"comments": "",
"outputs": 1,
- "x": 449.66664123535156,
- "y": 177.3333339691162,
- "z": "cfe922a8.7a91",
+ "x": 445.66664123535156,
+ "y": 217.3333339691162,
+ "z": "3e07b032.f312e",
"wires": [
[
- "18c0cf9e.15786"
+ "bd169e2e.cd056"
]
]
},
{
- "id": "18c0cf9e.15786",
+ "id": "bd169e2e.cd056",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 627.6666412353516,
- "y": 175.3333339691162,
- "z": "cfe922a8.7a91",
+ "x": 623.6666412353516,
+ "y": 215.3333339691162,
+ "z": "3e07b032.f312e",
"wires": [
[
- "3e720596.bd100a"
+ "8d37998c.c31cd8"
]
]
},
{
- "id": "3e720596.bd100a",
+ "id": "8d37998c.c31cd8",
"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": 774.6666412353516,
- "y": 176.3333339691162,
- "z": "cfe922a8.7a91",
+ "x": 770.6666412353516,
+ "y": 216.3333339691162,
+ "z": "3e07b032.f312e",
"wires": []
},
{
- "id": "44191ec0.ea1e9",
+ "id": "b62ba659.caf4e8",
"type": "for",
"name": "for pnf-parameters-data.param[]",
"xml": "<for silentFailure='true' index='cnt' start='0' end='`$service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.pnf-parameters-data.param_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1472.6666412353516,
- "y": 1106.333324432373,
- "z": "cfe922a8.7a91",
+ "x": 1468.6666412353516,
+ "y": 1146.333324432373,
+ "z": "3e07b032.f312e",
"wires": [
[
- "9c0ff949.cfd6d8"
+ "f680ed9a.93d9a"
]
]
},
{
- "id": "326b7e58.3b8352",
+ "id": "144b214e.ee862f",
"type": "block",
"name": "block atomic",
"xml": "<block atomic=\"true\">",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 778.6666412353516,
- "y": 1106.333324432373,
- "z": "cfe922a8.7a91",
+ "x": 774.6666412353516,
+ "y": 1146.333324432373,
+ "z": "3e07b032.f312e",
"wires": [
[
- "2e3037b5.bead58",
- "af1ab131.f6b7a",
- "319ebff5.0b18b"
+ "c4e18a04.cc5ad8",
+ "39301a70.a551a6",
+ "a5d3dcbb.7d89b"
]
]
},
{
- "id": "e804e40a.3348d8",
+ "id": "3cdb0db8.762952",
"type": "switchNode",
"name": "switch pnf-parameters-data.param_length",
"xml": "<switch test='`$service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.pnf-parameters-data.param_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 501.66664123535156,
- "y": 275.3333339691162,
- "z": "cfe922a8.7a91",
+ "x": 497.66664123535156,
+ "y": 315.3333339691162,
+ "z": "3e07b032.f312e",
"wires": [
[
- "3011eef2.7f3872",
- "abb635bf.35df38"
+ "692693e.6482a6c",
+ "b4ce064e.134fb8"
]
]
},
{
- "id": "3011eef2.7f3872",
+ "id": "692693e.6482a6c",
"type": "outcome",
"name": "null",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 739.6666412353516,
- "y": 243.3333339691162,
- "z": "cfe922a8.7a91",
+ "x": 735.6666412353516,
+ "y": 283.3333339691162,
+ "z": "3e07b032.f312e",
"wires": [
[
- "a428765d.4325f8"
+ "b469ec33.a0de6"
]
]
},
{
- "id": "abb635bf.35df38",
+ "id": "b4ce064e.134fb8",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 738.6666412353516,
- "y": 307.3333339691162,
- "z": "cfe922a8.7a91",
+ "x": 734.6666412353516,
+ "y": 347.3333339691162,
+ "z": "3e07b032.f312e",
"wires": [
[
- "a82baf5c.81017"
+ "dc74d8db.deeb98"
]
]
},
{
- "id": "a428765d.4325f8",
+ "id": "b469ec33.a0de6",
"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": 952.6666412353516,
- "y": 243.3333339691162,
- "z": "cfe922a8.7a91",
+ "x": 948.6666412353516,
+ "y": 283.3333339691162,
+ "z": "3e07b032.f312e",
"wires": []
},
{
- "id": "a82baf5c.81017",
+ "id": "dc74d8db.deeb98",
"type": "set",
"name": "set pre service param len",
"xml": "<set>\n <parameter name='highnum' value='`$service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.pnf-parameters-data.param_length`' />\n <parameter name='prehighnum' value='`$service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.pnf-parameters-data.param_length`' />",
"comments": "",
- "x": 937.6666412353516,
- "y": 307.3333339691162,
- "z": "cfe922a8.7a91",
+ "x": 933.6666412353516,
+ "y": 347.3333339691162,
+ "z": "3e07b032.f312e",
"wires": []
},
{
- "id": "9c0ff949.cfd6d8",
+ "id": "f680ed9a.93d9a",
"type": "switchNode",
"name": "switch param[].name - input vs. jsonContextPrefix",
"xml": "<switch test='`$service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.pnf-parameters-data.param[$cnt].name == $jsonContextPrefix.resource-accumulator-resolved-data[$i].param-name`'>\n",
"comments": "",
"outputs": 1,
- "x": 1851.6666412353516,
- "y": 1106.333324432373,
- "z": "cfe922a8.7a91",
+ "x": 1847.6666412353516,
+ "y": 1146.333324432373,
+ "z": "3e07b032.f312e",
"wires": [
[
- "3d278d5e.539d72"
+ "51787a.defa3788"
]
]
},
{
- "id": "3d278d5e.539d72",
+ "id": "51787a.defa3788",
"type": "not-found",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2135.6666412353516,
- "y": 1106.333324432373,
- "z": "cfe922a8.7a91",
+ "x": 2131.6666412353516,
+ "y": 1146.333324432373,
+ "z": "3e07b032.f312e",
"wires": [
[
- "780e9758.f7fea8"
+ "8e02c19.7396e4"
]
]
},
{
- "id": "780e9758.f7fea8",
+ "id": "8e02c19.7396e4",
"type": "set",
"name": "set for existing param name",
"xml": "<set>\n<parameter name='`service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.pnf-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": 2345.6666412353516,
- "y": 1106.333324432373,
- "z": "cfe922a8.7a91",
+ "x": 2341.6666412353516,
+ "y": 1146.333324432373,
+ "z": "3e07b032.f312e",
"wires": []
},
{
- "id": "319ebff5.0b18b",
+ "id": "a5d3dcbb.7d89b",
"type": "switchNode",
"name": "switch tmp.mso.param.found",
"xml": "<switch test='`$tmp.mso.param.found`'>\n",
"comments": "",
"outputs": 1,
- "x": 1020.6666412353516,
- "y": 1158.333324432373,
- "z": "cfe922a8.7a91",
+ "x": 1016.6666412353516,
+ "y": 1198.333324432373,
+ "z": "3e07b032.f312e",
"wires": [
[
- "51c6e9e.96e2e18"
+ "68059366.a0145c"
]
]
},
{
- "id": "51c6e9e.96e2e18",
+ "id": "68059366.a0145c",
"type": "not-found",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1254.6666412353516,
- "y": 1157.333324432373,
- "z": "cfe922a8.7a91",
+ "x": 1250.6666412353516,
+ "y": 1197.333324432373,
+ "z": "3e07b032.f312e",
"wires": [
[
- "8a90fcb6.f7a9d"
+ "94a4430.4bf41c"
]
]
},
{
- "id": "2e3037b5.bead58",
+ "id": "c4e18a04.cc5ad8",
"type": "set",
"name": "set for existing param name",
"xml": "<set>\n<parameter name='tmp.mso.param.found' value='false' />\n",
"comments": "",
- "x": 1002.1666412353516,
- "y": 1044.8333282470703,
- "z": "cfe922a8.7a91",
+ "x": 998.1666412353516,
+ "y": 1084.8333282470703,
+ "z": "3e07b032.f312e",
"wires": []
},
{
- "id": "af1ab131.f6b7a",
+ "id": "39301a70.a551a6",
"type": "switchNode",
"name": "switch check length > 0",
"xml": "<switch test='`$prehighnum &gt; 0`'>\n",
"comments": "",
"outputs": 1,
- "x": 997.1666412353516,
- "y": 1106.333324432373,
- "z": "cfe922a8.7a91",
+ "x": 993.1666412353516,
+ "y": 1146.333324432373,
+ "z": "3e07b032.f312e",
"wires": [
[
- "a1472e40.a778d"
+ "ba53f08d.0d8b9"
]
]
},
{
- "id": "a1472e40.a778d",
+ "id": "ba53f08d.0d8b9",
"type": "not-found",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1244.1666412353516,
- "y": 1106.333324432373,
- "z": "cfe922a8.7a91",
+ "x": 1240.1666412353516,
+ "y": 1146.333324432373,
+ "z": "3e07b032.f312e",
"wires": [
[
- "44191ec0.ea1e9"
+ "b62ba659.caf4e8"
]
]
},
{
- "id": "14c96642.2bd2ba",
+ "id": "4f8e5f1e.3457a",
"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": 1815.6666412353516,
- "y": 1465.333324432373,
- "z": "cfe922a8.7a91",
+ "x": 1811.6666412353516,
+ "y": 1505.333324432373,
+ "z": "3e07b032.f312e",
"wires": [
[
- "75923618.437e88"
+ "2d47ebc7.829284"
]
]
},
{
- "id": "8660981d.5c4d68",
+ "id": "5427e182.75617",
"type": "set",
"name": "set resource-key",
"xml": "<set>\n<parameter name='`service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.pnf-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.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.pnf-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": 2164.6666412353516,
- "y": 1401.333324432373,
- "z": "cfe922a8.7a91",
+ "x": 2160.6666412353516,
+ "y": 1441.333324432373,
+ "z": "3e07b032.f312e",
"wires": []
},
{
- "id": "d0968145.fc2fe",
+ "id": "f997b839.44f4f8",
"type": "set",
"name": "set output-data ",
"xml": "<set>\n<parameter name='`service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.pnf-parameters-data.param[$highnum].name`' value='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].output-key-mapping[$l].resource-name`'/>\n<parameter name='`service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.pnf-parameters-data.param[$highnum].value`' value='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].output-key-mapping[$l].resource-value`'/>\n<parameter name='`service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.pnf-parameters-data.param[$highnum].resource-resolution-data.capability-name`' value='`$jsonContextPrefix.capability-data[$i].capability-name`'/>\n<parameter name='`service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.pnf-parameters-data.param[$highnum].resource-resolution-data.status`' value='PENDING'/>\n<parameter name='num' value='0' />",
"comments": "",
- "x": 1388.6666412353516,
- "y": 1345.333324432373,
- "z": "cfe922a8.7a91",
+ "x": 1384.6666412353516,
+ "y": 1385.333324432373,
+ "z": "3e07b032.f312e",
"wires": []
},
{
- "id": "22c99553.60eefa",
+ "id": "bf322fce.e592c",
"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": 856.6666412353516,
- "y": 1447.333324432373,
- "z": "cfe922a8.7a91",
+ "x": 852.6666412353516,
+ "y": 1487.333324432373,
+ "z": "3e07b032.f312e",
"wires": [
[
- "dc9f6311.0ad25"
+ "4d04f0e8.c62b1"
]
]
},
{
- "id": "dc9f6311.0ad25",
+ "id": "4d04f0e8.c62b1",
"type": "block",
"name": "block atomic",
"xml": "<block atomic=\"true\">",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1107.6666412353516,
- "y": 1447.333324432373,
- "z": "cfe922a8.7a91",
+ "x": 1103.6666412353516,
+ "y": 1487.333324432373,
+ "z": "3e07b032.f312e",
"wires": [
[
- "d0968145.fc2fe",
- "aa6c039b.482f3",
- "90cc12a2.1a5b1",
- "d40d407c.44133"
+ "f997b839.44f4f8",
+ "cb027477.fd3288",
+ "9865bc19.a7a",
+ "fe1b0e57.bb09a"
]
]
},
{
- "id": "aa6c039b.482f3",
+ "id": "cb027477.fd3288",
"type": "set",
"name": "set length",
"xml": "<set>\n\t<parameter name='`service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.pnf-parameters-data.param_length`' value='`$highnum + 1`'/>\n",
"comments": "",
- "x": 1376.6666412353516,
- "y": 1483.333324432373,
- "z": "cfe922a8.7a91",
+ "x": 1372.6666412353516,
+ "y": 1523.333324432373,
+ "z": "3e07b032.f312e",
"wires": []
},
{
- "id": "8b7ec47b.a1ed38",
+ "id": "77fe21f0.7024",
"type": "failure",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 720.3333129882812,
- "y": 924,
- "z": "cfe922a8.7a91",
+ "x": 716.3333129882812,
+ "y": 964,
+ "z": "3e07b032.f312e",
"wires": [
[
- "f00d65b.058a198"
+ "34639eb4.1a62c2"
]
]
},
{
- "id": "90cc12a2.1a5b1",
+ "id": "9865bc19.a7a",
"type": "switchNode",
"name": "switch payload_length",
"xml": "<switch test=\"`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload_length == ''`\">\n",
"comments": "",
"outputs": 1,
- "x": 1412.6666412353516,
- "y": 1416.333324432373,
- "z": "cfe922a8.7a91",
+ "x": 1408.6666412353516,
+ "y": 1456.333324432373,
+ "z": "3e07b032.f312e",
"wires": [
[
- "666568c4.95c698",
- "c52ff329.5425"
+ "675eb90.9fdfb48",
+ "5bbeffdc.356"
]
]
},
{
- "id": "666568c4.95c698",
+ "id": "675eb90.9fdfb48",
"type": "outcome",
"name": "true",
"xml": "<outcome value='true'>",
"comments": "",
"outputs": 1,
- "x": 1633.6666412353516,
- "y": 1347.333324432373,
- "z": "cfe922a8.7a91",
+ "x": 1629.6666412353516,
+ "y": 1387.333324432373,
+ "z": "3e07b032.f312e",
"wires": [
[]
]
},
{
- "id": "c52ff329.5425",
+ "id": "5bbeffdc.356",
"type": "other",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1640.6666412353516,
- "y": 1465.333324432373,
- "z": "cfe922a8.7a91",
+ "x": 1636.6666412353516,
+ "y": 1505.333324432373,
+ "z": "3e07b032.f312e",
"wires": [
[
- "14c96642.2bd2ba"
+ "4f8e5f1e.3457a"
]
]
},
{
- "id": "c4b3e20a.976c9",
+ "id": "389573c6.6a65bc",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1183.9523658752441,
- "y": 662.9046821594238,
- "z": "cfe922a8.7a91",
+ "x": 1179.9523658752441,
+ "y": 702.9046821594238,
+ "z": "3e07b032.f312e",
"wires": [
[
- "c69ac6a5.a782c8"
+ "cab43d3d.ed3fd"
]
]
},
{
- "id": "f3c41dd.4705be",
+ "id": "2ab626a8.e030da",
"type": "set",
"name": "set length",
"xml": "<set>\n\t<parameter name='`service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.pnf-parameters-data.param[$highnum].resource-resolution-data.resource-key_length`' value='`$num + 1`'/>\n",
"comments": "",
- "x": 2153.6666412353516,
- "y": 1465.333324432373,
- "z": "cfe922a8.7a91",
+ "x": 2149.6666412353516,
+ "y": 1505.333324432373,
+ "z": "3e07b032.f312e",
"wires": []
},
{
- "id": "a26d3950.c7a1e8",
+ "id": "d8d964ff.e455e8",
"type": "set",
"name": "increment length",
"xml": "<set>\n\t<parameter name='num' value='`$num + 1`' />\n",
"comments": "",
- "x": 2171.6666412353516,
- "y": 1539.333324432373,
- "z": "cfe922a8.7a91",
+ "x": 2167.6666412353516,
+ "y": 1579.333324432373,
+ "z": "3e07b032.f312e",
"wires": []
},
{
- "id": "d40d407c.44133",
+ "id": "fe1b0e57.bb09a",
"type": "set",
"name": "increment length",
"xml": "<set>\n\t<parameter name='highnum' value='`$highnum + 1`' />\n\n",
"comments": "",
- "x": 1397.6666412353516,
- "y": 1550.333324432373,
- "z": "cfe922a8.7a91",
+ "x": 1393.6666412353516,
+ "y": 1590.333324432373,
+ "z": "3e07b032.f312e",
"wires": []
},
{
- "id": "8a90fcb6.f7a9d",
+ "id": "94a4430.4bf41c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1431.6666412353516,
- "y": 1156.333324432373,
- "z": "cfe922a8.7a91",
+ "x": 1427.6666412353516,
+ "y": 1196.333324432373,
+ "z": "3e07b032.f312e",
"wires": [
[
- "b2f73366.8118d",
- "e0efad2.feb625"
+ "d7374bb0.605eb8",
+ "14df53e7.f86e2c"
]
]
},
{
- "id": "e0efad2.feb625",
+ "id": "14df53e7.f86e2c",
"type": "set",
"name": "increment length",
"xml": "<set>\n\t<parameter name='highnum' value='`$highnum + 1`' />\n",
"comments": "",
- "x": 1646.6666412353516,
- "y": 1216.333324432373,
- "z": "cfe922a8.7a91",
+ "x": 1642.6666412353516,
+ "y": 1256.333324432373,
+ "z": "3e07b032.f312e",
"wires": []
},
{
- "id": "75923618.437e88",
+ "id": "2d47ebc7.829284",
"type": "block",
"name": "block atomic",
"xml": "<block atomic=\"true\">",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1971.6666412353516,
- "y": 1466.333324432373,
- "z": "cfe922a8.7a91",
+ "x": 1967.6666412353516,
+ "y": 1506.333324432373,
+ "z": "3e07b032.f312e",
"wires": [
[
- "8660981d.5c4d68",
- "f3c41dd.4705be",
- "a26d3950.c7a1e8"
+ "5427e182.75617",
+ "2ab626a8.e030da",
+ "d8d964ff.e455e8"
]
]
},
{
- "id": "7696cfe3.25742",
+ "id": "4d6dae.f7535254",
"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": 397.9999809265137,
- "y": 809.333324432373,
- "z": "cfe922a8.7a91",
+ "x": 393.9999809265137,
+ "y": 849.333324432373,
+ "z": "3e07b032.f312e",
"wires": [
[]
]
},
{
- "id": "906be4e1.f2f3b8",
+ "id": "20179f5d.5c224",
"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": 394.6666488647461,
- "y": 964.3333320617676,
- "z": "cfe922a8.7a91",
+ "x": 390.6666488647461,
+ "y": 1004.3333320617676,
+ "z": "3e07b032.f312e",
"wires": [
[]
]
},
{
- "id": "7eebfe0.8659a04",
+ "id": "7a5f6ac8.a537a4",
"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": 403.00000762939453,
- "y": 1768.5000267028809,
- "z": "cfe922a8.7a91",
+ "x": 399.00000762939453,
+ "y": 1808.5000267028809,
+ "z": "3e07b032.f312e",
"wires": [
[]
]
},
{
- "id": "59d1a840.b9e3b8",
+ "id": "4a91f214.3421ac",
"type": "set",
"name": "set pathname",
"xml": "<set>\n<parameter name='pathname' \n\tvalue=\"`'/var/tmp/ss-pnf-ra-assignment-' + \n\t$service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-details.pnf-id + '.log'`\" />\n",
"comments": "",
- "x": 409.25000762939453,
- "y": 1716.0000247955322,
- "z": "cfe922a8.7a91",
+ "x": 405.25000762939453,
+ "y": 1756.0000247955322,
+ "z": "3e07b032.f312e",
"wires": []
},
{
- "id": "9f59e925.e7ed18",
+ "id": "94bb3392.15fed",
"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: pnf-ra-assignment\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 386.75000381469727,
- "y": 1669.7500247955322,
- "z": "cfe922a8.7a91",
+ "x": 382.75000381469727,
+ "y": 1709.7500247955322,
+ "z": "3e07b032.f312e",
"wires": [
[]
]
},
{
- "id": "c4d5f704.d66b18",
+ "id": "791d57a6.77d138",
"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`' />",
+ "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.resource-assignment-request.template-prefix[0]'`\" value='`$tmp.sdnc-artifact-name`' />\n<parameter name=\"`$cds + 'payload.resource-assignment-request.resource-assignment-properties'`\" value='`$tmp.json-payload`' />",
"comments": "",
- "x": 451.00003814697266,
- "y": 732.3333587646484,
- "z": "cfe922a8.7a91",
+ "x": 441,
+ "y": 780,
+ "z": "3e07b032.f312e",
"wires": []
}
] \ No newline at end of file
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vfmodule-ra-assignment.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vfmodule-ra-assignment.json
index 74bd7b78..47cb37f0 100644
--- a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vfmodule-ra-assignment.json
+++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vfmodule-ra-assignment.json
@@ -1,20 +1,20 @@
[
{
- "id": "eef285aa.adcf08",
+ "id": "a497f564.a4f098",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 112,
- "y": 56,
- "z": "37ca9f86.ffaea",
+ "x": 177,
+ "y": 84,
+ "z": "2e17456e.1fa78a",
"wires": [
[
- "7fa82770.3d11a8"
+ "86c9c962.7342a8"
]
]
},
{
- "id": "7fa82770.3d11a8",
+ "id": "86c9c962.7342a8",
"type": "service-logic",
"name": "GENERIC-RESOURCE-API ${project.version}",
"module": "GENERIC-RESOURCE-API",
@@ -22,1164 +22,1164 @@
"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": 388,
- "y": 57,
- "z": "37ca9f86.ffaea",
+ "x": 453,
+ "y": 85,
+ "z": "2e17456e.1fa78a",
"wires": [
[
- "4815508b.fe2d3"
+ "d7517e20.9dcd5"
]
]
},
{
- "id": "4815508b.fe2d3",
+ "id": "d7517e20.9dcd5",
"type": "method",
"name": "self-serve-vfmodule-ra-assignment",
"xml": "<method rpc='self-serve-vfmodule-ra-assignment' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 739,
- "y": 57,
- "z": "37ca9f86.ffaea",
+ "x": 804,
+ "y": 85,
+ "z": "2e17456e.1fa78a",
"wires": [
[
- "8883fb88.18b918"
+ "ed8eb912.b3b758"
]
]
},
{
- "id": "8883fb88.18b918",
+ "id": "ed8eb912.b3b758",
"type": "block",
"name": "block atomic",
"xml": "<block atomic=\"true\">\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 124.5,
- "y": 139,
- "z": "37ca9f86.ffaea",
+ "x": 189.5,
+ "y": 167,
+ "z": "2e17456e.1fa78a",
"wires": [
[
- "b71ab664.30d0b8",
- "664b49d9.a8ed68",
- "b69a7caa.2ef72",
- "fd0f0fe.b870bf",
- "4556977.80dab68",
- "f4d2dad9.651818",
- "c1dc247a.f59bd8",
- "1584a1f4.77616e",
- "d7fdb480.d92b28",
- "34d4733f.ad277c",
- "1f798081.68b1ef",
- "860049fc.959878",
- "53829451.b6abdc",
- "f39abee0.7b55a",
- "5ee34dfd.0df884",
- "a487406b.42d53"
+ "aa1b1c80.cc44a",
+ "ad94d45c.b42738",
+ "be3cc63c.1364a8",
+ "d22ed1cc.a3d2",
+ "3b2d4411.81821c",
+ "e9f32b69.e2f1b8",
+ "d975d3e7.41559",
+ "2129120f.4c214e",
+ "c3a30796.aceda8",
+ "9175398d.c04fa8",
+ "11b406c0.22da09",
+ "bbab380e.910a58",
+ "8e0f6b.25999098",
+ "873ccf3b.1d408",
+ "5989d23c.c4816c",
+ "f15b2532.ed6cd8"
]
]
},
{
- "id": "664b49d9.a8ed68",
+ "id": "ad94d45c.b42738",
"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=\"`$vf-module-topology-operation-input.vf-module-information.vf-module-type`\" /> \n <parameter name=\"`$cds + 'commonHeader.subRequestId'`\" value=\"`$vf-module-topology-operation-input.vf-module-information.vf-module-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": 309,
- "y": 185,
- "z": "37ca9f86.ffaea",
+ "x": 370,
+ "y": 220,
+ "z": "2e17456e.1fa78a",
"wires": []
},
{
- "id": "f8be6bf3.459048",
+ "id": "64e2173c.958b58",
"type": "outcome",
"name": "true",
"xml": "<outcome value='true'>",
"comments": "",
"outputs": 1,
- "x": 585.2142486572266,
- "y": 537.4642963409424,
- "z": "37ca9f86.ffaea",
+ "x": 650.2142486572266,
+ "y": 565.4642963409424,
+ "z": "2e17456e.1fa78a",
"wires": [
[
- "70a816d3.209488"
+ "545277b4.e0bb38"
]
]
},
{
- "id": "fd0f0fe.b870bf",
+ "id": "d22ed1cc.a3d2",
"type": "for",
"name": "for vf-module-topology-operation-input",
"xml": "<for silentFailure='true' index='i' start='0' end='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param_length`' >",
"comments": "",
"outputs": 1,
- "x": 408.71431732177734,
- "y": 402.7143135070801,
- "z": "37ca9f86.ffaea",
+ "x": 473.71431732177734,
+ "y": 430.7143135070801,
+ "z": "2e17456e.1fa78a",
"wires": [
[
- "43cc66c7.9e4908"
+ "4bf3e8f8.745bd8"
]
]
},
{
- "id": "48b337df.0e22f8",
+ "id": "70a829fa.30fea8",
"type": "set",
"name": "set tmp.sdnc-model-name",
"xml": "<set>\n<parameter name='tmp.sdnc-model-name' value='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$i].value`' />\n",
"comments": "",
- "x": 1155.428565979004,
- "y": 335.1428813934326,
- "z": "37ca9f86.ffaea",
+ "x": 1220.428565979004,
+ "y": 363.1428813934326,
+ "z": "2e17456e.1fa78a",
"wires": []
},
{
- "id": "31ed0071.fe8b9",
+ "id": "3153b11f.bf66de",
"type": "outcome",
"name": "sdnc_model_name",
"xml": "<outcome value='sdnc_model_name'>\n",
"comments": "",
"outputs": 1,
- "x": 901.4285659790039,
- "y": 335.1428813934326,
- "z": "37ca9f86.ffaea",
+ "x": 966.4285659790039,
+ "y": 363.1428813934326,
+ "z": "2e17456e.1fa78a",
"wires": [
[
- "48b337df.0e22f8"
+ "70a829fa.30fea8"
]
]
},
{
- "id": "43cc66c7.9e4908",
+ "id": "4bf3e8f8.745bd8",
"type": "switchNode",
"name": "switch",
"xml": "<switch test='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$i].name`'>\n\n",
"comments": "",
"outputs": 1,
- "x": 663.4285659790039,
- "y": 402.1428813934326,
- "z": "37ca9f86.ffaea",
+ "x": 728.4285659790039,
+ "y": 430.1428813934326,
+ "z": "2e17456e.1fa78a",
"wires": [
[
- "31ed0071.fe8b9",
- "44279893.74a9d8",
- "67bd2926.b30418",
- "a154fcf0.3dc44"
+ "3153b11f.bf66de",
+ "2f8525ae.fd272a",
+ "49db862e.217b58",
+ "ba2667e.2988e98"
]
]
},
{
- "id": "44279893.74a9d8",
+ "id": "2f8525ae.fd272a",
"type": "outcome",
"name": "sdnc_model_version",
"xml": "<outcome value='sdnc_model_version'>\n",
"comments": "",
"outputs": 1,
- "x": 904.4285659790039,
- "y": 381.1428813934326,
- "z": "37ca9f86.ffaea",
+ "x": 969.4285659790039,
+ "y": 409.1428813934326,
+ "z": "2e17456e.1fa78a",
"wires": [
[
- "cf17488c.4f8388"
+ "1585d1d8.a9e64e"
]
]
},
{
- "id": "67bd2926.b30418",
+ "id": "49db862e.217b58",
"type": "outcome",
"name": "vf_module_label",
"xml": "<outcome value='vf_module_label'>\n",
"comments": "",
"outputs": 1,
- "x": 889.4285659790039,
- "y": 430.1428813934326,
- "z": "37ca9f86.ffaea",
+ "x": 954.4285659790039,
+ "y": 458.1428813934326,
+ "z": "2e17456e.1fa78a",
"wires": [
[
- "c0c56190.d3b15"
+ "4fdf7f0e.99111"
]
]
},
{
- "id": "cf17488c.4f8388",
+ "id": "1585d1d8.a9e64e",
"type": "set",
"name": "set tmp.sdnc-model-version",
"xml": "<set>\n<parameter name='tmp.sdnc-model-version' value='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$i].value`' />\n\n",
"comments": "",
- "x": 1159.428565979004,
- "y": 381.1428813934326,
- "z": "37ca9f86.ffaea",
+ "x": 1224.428565979004,
+ "y": 409.1428813934326,
+ "z": "2e17456e.1fa78a",
"wires": []
},
{
- "id": "c0c56190.d3b15",
+ "id": "4fdf7f0e.99111",
"type": "set",
"name": "set tmp.vf-module-label",
"xml": "<set>\n<parameter name='tmp.vf-module-label' value='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$i].value`' />\n\n",
"comments": "",
- "x": 1141.428565979004,
- "y": 430.1428813934326,
- "z": "37ca9f86.ffaea",
+ "x": 1206.428565979004,
+ "y": 458.1428813934326,
+ "z": "2e17456e.1fa78a",
"wires": []
},
{
- "id": "e897fa08.d5bf28",
+ "id": "99a874b2.f5f858",
"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 + '&quot;' + $vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$i].name + '&quot;:&quot;' + $vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$i].value + '&quot;,'`\"/>\n\n",
"comments": "",
- "x": 1159.428565979004,
- "y": 481.1428813934326,
- "z": "37ca9f86.ffaea",
+ "x": 1224.428565979004,
+ "y": 509.1428813934326,
+ "z": "2e17456e.1fa78a",
"wires": []
},
{
- "id": "a154fcf0.3dc44",
+ "id": "ba2667e.2988e98",
"type": "outcome",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 861.4285659790039,
- "y": 481.1428813934326,
- "z": "37ca9f86.ffaea",
+ "x": 926.4285659790039,
+ "y": 509.1428813934326,
+ "z": "2e17456e.1fa78a",
"wires": [
[
- "e897fa08.d5bf28"
+ "99a874b2.f5f858"
]
]
},
{
- "id": "4556977.80dab68",
+ "id": "3b2d4411.81821c",
"type": "set",
"name": "set configAssignment JsonString",
"xml": "<set>\n<parameter name=\"tmp.config-name-value-payload4\" value=\"`$tmp.config-name-value-other-payload + '&quot;service-instance-id&quot;:&quot;' + $vf-module-topology-operation-input.service-information.service-instance-id + '&quot;,'`\"/>\n<parameter name=\"tmp.config-name-value-payload5\" value=\"`$tmp.config-name-value-payload4 + '&quot;vnf-id&quot;:&quot;' + $vf-module-topology-operation-input.vnf-information.vnf-id + '&quot;,'`\"/>\n<parameter name=\"tmp.config-name-value-payload6\" value=\"`$tmp.config-name-value-payload5 + '&quot;vf-module-model-customization-uuid&quot;:&quot;' + $vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid + '&quot;,'`\"/>\n<parameter name=\"tmp.config-name-value-payload7\" value=\"`$tmp.config-name-value-payload6 + '&quot;vnf-model-customization-uuid&quot;:&quot;' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-information.onap-model-information.model-customization-uuid + '&quot;,'`\"/>\n<parameter name=\"tmp.config-name-value-payload8\" value=\"`$tmp.config-name-value-payload7 + '&quot;vf-module-id&quot;:&quot;' + $vf-module-topology-operation-input.vf-module-information.vf-module-id + '&quot;,'`\"/>\n<parameter name=\"tmp.config-name-value-payload9\" value=\"`$tmp.config-name-value-payload8 + '&quot;aic-cloud-region&quot;:&quot;' + $vf-module-topology-operation-input.vf-module-request-input.aic-cloud-region + '&quot;'`\"/>",
"comments": "",
- "x": 395.0000190734863,
- "y": 651,
- "z": "37ca9f86.ffaea",
+ "x": 450,
+ "y": 660,
+ "z": "2e17456e.1fa78a",
"wires": []
},
{
- "id": "f4d2dad9.651818",
+ "id": "e9f32b69.e2f1b8",
"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='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='POST' />\n <parameter name=\"responsePrefix\" value=\"`$responsePrefix`\" />",
"comments": "",
"outputs": 1,
- "x": 397.3333435058594,
- "y": 869.000057220459,
- "z": "37ca9f86.ffaea",
+ "x": 459.33331298828125,
+ "y": 900,
+ "z": "2e17456e.1fa78a",
"wires": [
[
- "8233e320.47afe",
- "6398d565.0d7bec"
+ "110f9145.d77fff",
+ "356e5968.733e76"
]
]
},
{
- "id": "8233e320.47afe",
+ "id": "110f9145.d77fff",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 618.3333129882812,
- "y": 838,
- "z": "37ca9f86.ffaea",
+ "x": 683.3333129882812,
+ "y": 866,
+ "z": "2e17456e.1fa78a",
"wires": [
[
- "ad5923cd.d6bbb"
+ "48054045.e69da"
]
]
},
{
- "id": "ad5923cd.d6bbb",
+ "id": "48054045.e69da",
"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": 816.3333129882812,
- "y": 838,
- "z": "37ca9f86.ffaea",
+ "x": 881.3333129882812,
+ "y": 866,
+ "z": "2e17456e.1fa78a",
"wires": []
},
{
- "id": "1584a1f4.77616e",
+ "id": "2129120f.4c214e",
"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": 427.00001525878906,
- "y": 1140.3333473205566,
- "z": "37ca9f86.ffaea",
+ "x": 492.00001525878906,
+ "y": 1168.3333473205566,
+ "z": "2e17456e.1fa78a",
"wires": [
[
- "a0dff41d.c5f6f8"
+ "cb710ae6.5a4038"
]
]
},
{
- "id": "b1915485.d1a248",
+ "id": "9c282888.202138",
"type": "set",
"name": "set from resource-accumulator-resolved-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-parameters.param[$highnum].name`' value='`$jsonContextPrefix.resource-accumulator-resolved-data[$i].param-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-parameters.param[$highnum].value`' value='`$jsonContextPrefix.resource-accumulator-resolved-data[$i].param-value`'/>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$highnum].resource-resolution-data.capability-name`' value='RA Resolved'/>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$highnum].resource-resolution-data.status`' value='SUCCESS'/>\n\n",
"comments": "",
- "x": 1641.000015258789,
- "y": 1191.3333473205566,
- "z": "37ca9f86.ffaea",
+ "x": 1706.000015258789,
+ "y": 1219.3333473205566,
+ "z": "2e17456e.1fa78a",
"wires": []
},
{
- "id": "d7fdb480.d92b28",
+ "id": "c3a30796.aceda8",
"type": "for",
"name": "for capability-data",
"xml": "<for silentFailure='true' index='i' start='0' end='`$jsonContextPrefix.capability-data_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 346.00001525878906,
- "y": 1403.3333473205566,
- "z": "37ca9f86.ffaea",
+ "x": 411.00001525878906,
+ "y": 1431.3333473205566,
+ "z": "2e17456e.1fa78a",
"wires": [
[
- "57177866.272cc8"
+ "74b1206d.0fed1"
]
]
},
{
- "id": "57177866.272cc8",
+ "id": "74b1206d.0fed1",
"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": 569.0000152587891,
- "y": 1403.3333473205566,
- "z": "37ca9f86.ffaea",
+ "x": 634.0000152587891,
+ "y": 1431.3333473205566,
+ "z": "2e17456e.1fa78a",
"wires": [
[
- "c093b4a1.367fc8"
+ "acaea466.cd4ab8"
]
]
},
{
- "id": "c1dc247a.f59bd8",
+ "id": "d975d3e7.41559",
"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.vf-module-label`\" />\n\t<parameter name=\"outputPath\" value=\"jsonContextPrefix\" />\n\t<parameter name=\"isEscaped\" value=\"false\" />\n\n",
"comments": "",
"outputs": 1,
- "x": 371.00001525878906,
- "y": 1061.3333473205566,
- "z": "37ca9f86.ffaea",
+ "x": 436.00001525878906,
+ "y": 1089.3333473205566,
+ "z": "2e17456e.1fa78a",
"wires": [
[]
]
},
{
- "id": "b71ab664.30d0b8",
+ "id": "aa1b1c80.cc44a",
"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": 354,
- "y": 139,
- "z": "37ca9f86.ffaea",
+ "x": 419,
+ "y": 167,
+ "z": "2e17456e.1fa78a",
"wires": [
[
- "f5981e01.60fd2"
+ "322955c2.67bfda"
]
]
},
{
- "id": "f5981e01.60fd2",
+ "id": "322955c2.67bfda",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 559,
- "y": 139,
- "z": "37ca9f86.ffaea",
+ "x": 624,
+ "y": 167,
+ "z": "2e17456e.1fa78a",
"wires": [
[
- "3c5c1bf8.51e694"
+ "eedef31.1f0501"
]
]
},
{
- "id": "3c5c1bf8.51e694",
+ "id": "eedef31.1f0501",
"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": 723,
- "y": 138,
- "z": "37ca9f86.ffaea",
+ "x": 788,
+ "y": 166,
+ "z": "2e17456e.1fa78a",
"wires": []
},
{
- "id": "cde17ef3.62e96",
+ "id": "ee67402d.5d28e",
"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.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1400.000015258789,
- "y": 1140.3333473205566,
- "z": "37ca9f86.ffaea",
+ "x": 1465.000015258789,
+ "y": 1168.3333473205566,
+ "z": "2e17456e.1fa78a",
"wires": [
[
- "ee7f99cb.ec6478"
+ "7f19057e.59cacc"
]
]
},
{
- "id": "a0dff41d.c5f6f8",
+ "id": "cb710ae6.5a4038",
"type": "block",
"name": "block atomic",
"xml": "<block atomic=\"true\">",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 706.0000152587891,
- "y": 1141.3333473205566,
- "z": "37ca9f86.ffaea",
+ "x": 771.0000152587891,
+ "y": 1169.3333473205566,
+ "z": "2e17456e.1fa78a",
"wires": [
[
- "5ba2a252.918fcc",
- "9de1e4b8.140328",
- "8d20aa37.3155b8"
+ "e2f0cba4.654da8",
+ "bd5d211c.f590f",
+ "69e4eac9.bfa664"
]
]
},
{
- "id": "b69a7caa.2ef72",
+ "id": "be3cc63c.1364a8",
"type": "switchNode",
"name": "switch vf-parameters-data.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": 426,
- "y": 240,
- "z": "37ca9f86.ffaea",
+ "x": 491,
+ "y": 268,
+ "z": "2e17456e.1fa78a",
"wires": [
[
- "4afc6166.7a666",
- "82ad191e.542718"
+ "dcf68c0.5595078",
+ "212315d0.254f0a"
]
]
},
{
- "id": "4afc6166.7a666",
+ "id": "dcf68c0.5595078",
"type": "outcome",
"name": "null",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 689.1428833007812,
- "y": 207.85715293884277,
- "z": "37ca9f86.ffaea",
+ "x": 754.1428833007812,
+ "y": 235.85715293884277,
+ "z": "2e17456e.1fa78a",
"wires": [
[
- "efd0848b.dde0a8"
+ "2fd156a6.7f84aa"
]
]
},
{
- "id": "82ad191e.542718",
+ "id": "212315d0.254f0a",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 688.1428833007812,
- "y": 271.8571529388428,
- "z": "37ca9f86.ffaea",
+ "x": 753.1428833007812,
+ "y": 299.8571529388428,
+ "z": "2e17456e.1fa78a",
"wires": [
[
- "f848b2f3.3c79"
+ "704076e8.db1178"
]
]
},
{
- "id": "efd0848b.dde0a8",
+ "id": "2fd156a6.7f84aa",
"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": 902.1428833007812,
- "y": 207.85715293884277,
- "z": "37ca9f86.ffaea",
+ "x": 967.1428833007812,
+ "y": 235.85715293884277,
+ "z": "2e17456e.1fa78a",
"wires": []
},
{
- "id": "f848b2f3.3c79",
+ "id": "704076e8.db1178",
"type": "set",
"name": "set pre service param len",
"xml": "<set>\n <parameter name='highnum' 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_length`' />\n <parameter name='prehighnum' 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_length`' />",
"comments": "",
- "x": 887.1428833007812,
- "y": 271.8571529388428,
- "z": "37ca9f86.ffaea",
+ "x": 952.1428833007812,
+ "y": 299.8571529388428,
+ "z": "2e17456e.1fa78a",
"wires": []
},
{
- "id": "ee7f99cb.ec6478",
+ "id": "7f19057e.59cacc",
"type": "switchNode",
"name": "switch input vnf-name",
"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[$cnt].name == $jsonContextPrefix.resource-accumulator-resolved-data[$i].param-name`'>\n",
"comments": "",
"outputs": 1,
- "x": 1658.000015258789,
- "y": 1140.3333473205566,
- "z": "37ca9f86.ffaea",
+ "x": 1723.000015258789,
+ "y": 1168.3333473205566,
+ "z": "2e17456e.1fa78a",
"wires": [
[
- "9cff4b27.b85b38"
+ "249e69e0.c58706"
]
]
},
{
- "id": "9cff4b27.b85b38",
+ "id": "249e69e0.c58706",
"type": "not-found",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1838.000015258789,
- "y": 1140.3333473205566,
- "z": "37ca9f86.ffaea",
+ "x": 1903.000015258789,
+ "y": 1168.3333473205566,
+ "z": "2e17456e.1fa78a",
"wires": [
[
- "c0fb05df.380d78"
+ "ed76b6f6.2b9568"
]
]
},
{
- "id": "c0fb05df.380d78",
+ "id": "ed76b6f6.2b9568",
"type": "set",
"name": "set for existing param name",
"xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$cnt].value`' value='`$jsonContextPrefix.resource-accumulator-resolved-data[$i].param-value`'/>\n<parameter name='tmp.mso.param.found' value='true' />\n",
"comments": "",
- "x": 2048.000015258789,
- "y": 1141.3333473205566,
- "z": "37ca9f86.ffaea",
+ "x": 2113.000015258789,
+ "y": 1169.3333473205566,
+ "z": "2e17456e.1fa78a",
"wires": []
},
{
- "id": "8d20aa37.3155b8",
+ "id": "69e4eac9.bfa664",
"type": "switchNode",
"name": "switch tmp.mso.param.not-found",
"xml": "<switch test='`$tmp.mso.param.found`'>\n",
"comments": "",
"outputs": 1,
- "x": 948.0000152587891,
- "y": 1193.3333473205566,
- "z": "37ca9f86.ffaea",
+ "x": 1013.0000152587891,
+ "y": 1221.3333473205566,
+ "z": "2e17456e.1fa78a",
"wires": [
[
- "1c10cd2a.821413"
+ "9a1a87b5.132028"
]
]
},
{
- "id": "1c10cd2a.821413",
+ "id": "9a1a87b5.132028",
"type": "not-found",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1182.000015258789,
- "y": 1192.3333473205566,
- "z": "37ca9f86.ffaea",
+ "x": 1247.000015258789,
+ "y": 1220.3333473205566,
+ "z": "2e17456e.1fa78a",
"wires": [
[
- "99896231.f8f2a"
+ "60cb391a.7088d8"
]
]
},
{
- "id": "5ba2a252.918fcc",
+ "id": "e2f0cba4.654da8",
"type": "set",
"name": "set for existing param name",
"xml": "<set>\n<parameter name='tmp.mso.param.found' value='false' />\n",
"comments": "",
- "x": 932.0000152587891,
- "y": 1082.3333473205566,
- "z": "37ca9f86.ffaea",
+ "x": 997.0000152587891,
+ "y": 1110.3333473205566,
+ "z": "2e17456e.1fa78a",
"wires": []
},
{
- "id": "9de1e4b8.140328",
+ "id": "bd5d211c.f590f",
"type": "switchNode",
"name": "switch check length > 0",
"xml": "<switch test='`$prehighnum &gt; 0`'>\n",
"comments": "",
"outputs": 1,
- "x": 924.5000152587891,
- "y": 1141.3333473205566,
- "z": "37ca9f86.ffaea",
+ "x": 989.5000152587891,
+ "y": 1169.3333473205566,
+ "z": "2e17456e.1fa78a",
"wires": [
[
- "9213bfe0.b1c2f"
+ "a9041b72.5fd4e8"
]
]
},
{
- "id": "9213bfe0.b1c2f",
+ "id": "a9041b72.5fd4e8",
"type": "not-found",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1171.500015258789,
- "y": 1141.3333473205566,
- "z": "37ca9f86.ffaea",
+ "x": 1236.500015258789,
+ "y": 1169.3333473205566,
+ "z": "2e17456e.1fa78a",
"wires": [
[
- "cde17ef3.62e96"
+ "ee67402d.5d28e"
]
]
},
{
- "id": "2ccc2373.2f411c",
+ "id": "a8fb4875.424878",
"type": "for",
"name": "for payload",
"xml": "<for index='k' start='0' end='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload_length`' >",
"comments": "",
"outputs": 1,
- "x": 1618.000015258789,
- "y": 1455.3333473205566,
- "z": "37ca9f86.ffaea",
+ "x": 1683.000015258789,
+ "y": 1483.3333473205566,
+ "z": "2e17456e.1fa78a",
"wires": [
[
- "f1daaf1.ffce15"
+ "d1581b7a.307818"
]
]
},
{
- "id": "44960d5c.3364a4",
+ "id": "c34d628a.5ba25",
"type": "set",
"name": "set resource-key",
"xml": "<set>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$highnum].resource-resolution-data.resource-key[$num].name`' value='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload[$k].param-name`'/>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$highnum].resource-resolution-data.resource-key[$num].value`' value='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload[$k].param-value`'/>\n\t\n",
"comments": "",
- "x": 2017.000015258789,
- "y": 1396.3333473205566,
- "z": "37ca9f86.ffaea",
+ "x": 2082.000015258789,
+ "y": 1424.3333473205566,
+ "z": "2e17456e.1fa78a",
"wires": []
},
{
- "id": "53d49382.5b17ac",
+ "id": "8aa1345a.8ddd28",
"type": "set",
"name": "set output-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-parameters.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.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.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.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.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.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$highnum].resource-resolution-data.status`' value='PENDING'/>\n<parameter name='num' value='0' />",
"comments": "",
- "x": 1196.000015258789,
- "y": 1357.3333473205566,
- "z": "37ca9f86.ffaea",
+ "x": 1261.000015258789,
+ "y": 1385.3333473205566,
+ "z": "2e17456e.1fa78a",
"wires": []
},
{
- "id": "c093b4a1.367fc8",
+ "id": "acaea466.cd4ab8",
"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": 804.0000152587891,
- "y": 1404.3333473205566,
- "z": "37ca9f86.ffaea",
+ "x": 869.0000152587891,
+ "y": 1432.3333473205566,
+ "z": "2e17456e.1fa78a",
"wires": [
[
- "556a862d.ca6cc8"
+ "44eeef6b.763aa"
]
]
},
{
- "id": "556a862d.ca6cc8",
+ "id": "44eeef6b.763aa",
"type": "block",
"name": "block atomic",
"xml": "<block atomic=\"true\">",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 999.0000152587891,
- "y": 1403.3333473205566,
- "z": "37ca9f86.ffaea",
+ "x": 1064.000015258789,
+ "y": 1431.3333473205566,
+ "z": "2e17456e.1fa78a",
"wires": [
[
- "53d49382.5b17ac",
- "d10a9ec.6fa016",
- "1edc412b.57e08f",
- "fb512106.96832"
+ "8aa1345a.8ddd28",
+ "859dcf36.75878",
+ "7a25862.9293b78",
+ "cf8679e9.4fafd8"
]
]
},
{
- "id": "1edc412b.57e08f",
+ "id": "7a25862.9293b78",
"type": "set",
"name": "set length",
"xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param_length`' value='`$highnum + 1`'/>\n\n",
"comments": "",
- "x": 1195.000015258789,
- "y": 1455.3333473205566,
- "z": "37ca9f86.ffaea",
+ "x": 1260.000015258789,
+ "y": 1483.3333473205566,
+ "z": "2e17456e.1fa78a",
"wires": []
},
{
- "id": "6398d565.0d7bec",
+ "id": "356e5968.733e76",
"type": "failure",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 623.3333129882812,
- "y": 900,
- "z": "37ca9f86.ffaea",
+ "x": 688.3333129882812,
+ "y": 928,
+ "z": "2e17456e.1fa78a",
"wires": [
[
- "ad5923cd.d6bbb"
+ "48054045.e69da"
]
]
},
{
- "id": "d10a9ec.6fa016",
+ "id": "859dcf36.75878",
"type": "switchNode",
"name": "switch payload_length",
"xml": "<switch test=\"`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload_length == ''`\">\n",
"comments": "",
"outputs": 1,
- "x": 1225.000015258789,
- "y": 1404.3333473205566,
- "z": "37ca9f86.ffaea",
+ "x": 1290.000015258789,
+ "y": 1432.3333473205566,
+ "z": "2e17456e.1fa78a",
"wires": [
[
- "4ee4b348.8656dc",
- "e4f53748.a116e8"
+ "4c86e71b.d68c88",
+ "24678540.a0541a"
]
]
},
{
- "id": "4ee4b348.8656dc",
+ "id": "4c86e71b.d68c88",
"type": "outcome",
"name": "true",
"xml": "<outcome value='true'>",
"comments": "",
"outputs": 1,
- "x": 1440.000015258789,
- "y": 1336.3333473205566,
- "z": "37ca9f86.ffaea",
+ "x": 1505.000015258789,
+ "y": 1364.3333473205566,
+ "z": "2e17456e.1fa78a",
"wires": [
[]
]
},
{
- "id": "e4f53748.a116e8",
+ "id": "24678540.a0541a",
"type": "other",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1449.000015258789,
- "y": 1455.3333473205566,
- "z": "37ca9f86.ffaea",
+ "x": 1514.000015258789,
+ "y": 1483.3333473205566,
+ "z": "2e17456e.1fa78a",
"wires": [
[
- "2ccc2373.2f411c"
+ "a8fb4875.424878"
]
]
},
{
- "id": "34d4733f.ad277c",
+ "id": "9175398d.c04fa8",
"type": "switchNode",
"name": "switch: model info == NULL",
"xml": "<switch test=\"`$tmp.sdnc-model-name == '' or $tmp.sdnc-model-version == '' or $tmp.vf-module-label == ''`\">\n",
"comments": "",
"outputs": 1,
- "x": 373.78570556640625,
- "y": 537.6071863174438,
- "z": "37ca9f86.ffaea",
+ "x": 438.78570556640625,
+ "y": 565.6071863174438,
+ "z": "2e17456e.1fa78a",
"wires": [
[
- "f8be6bf3.459048"
+ "64e2173c.958b58"
]
]
},
{
- "id": "2dcbecbb.bef464",
+ "id": "d294acc7.bd931",
"type": "get-resource",
"name": "get VF_MODEL.sdnc_model_name",
"xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n key='SELECT * from VF_MODEL WHERE customization_uuid = $vf-module-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid'\n pfx='db1.vf-model'>\n\n",
"comments": "",
"outputs": 1,
- "x": 1051.9285354614258,
- "y": 538.464297413826,
- "z": "37ca9f86.ffaea",
+ "x": 1116.9285354614258,
+ "y": 566.464297413826,
+ "z": "2e17456e.1fa78a",
"wires": [
[
- "6d48236.8c58cdc",
- "77c0ba75.bf78b4",
- "3eefac05.6098c4"
+ "10c023aa.5d4fbc",
+ "dedcf4a6.d6ca18",
+ "2f6f6c84.413364"
]
]
},
{
- "id": "6d48236.8c58cdc",
+ "id": "10c023aa.5d4fbc",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1295.1427536010742,
- "y": 538.8451566696167,
- "z": "37ca9f86.ffaea",
+ "x": 1360.1427536010742,
+ "y": 566.8451566696167,
+ "z": "2e17456e.1fa78a",
"wires": [
[
- "b60c82bc.a0482"
+ "2b521b7.20a39e4"
]
]
},
{
- "id": "b60c82bc.a0482",
+ "id": "2b521b7.20a39e4",
"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_MODEL table\" />\n",
"comments": "",
- "x": 1476.142734527588,
- "y": 538.9880638122559,
- "z": "37ca9f86.ffaea",
+ "x": 1541.142734527588,
+ "y": 566.9880638122559,
+ "z": "2e17456e.1fa78a",
"wires": []
},
{
- "id": "691f618d.9d0b7",
+ "id": "64e226e0.1a2c48",
"type": "get-resource",
"name": "get VF_MODULE_MODEL.vf-module-label",
"xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n key='SELECT vf_module_label from VF_MODULE_MODEL WHERE customization_uuid = $vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid \n \tAND vf_module_label is not null'\n pfx='db1.vf-module-model'>\n\n",
"comments": "",
"outputs": 1,
- "x": 1073.380874633789,
- "y": 667.3095798492432,
- "z": "37ca9f86.ffaea",
+ "x": 1138.380874633789,
+ "y": 695.3095798492432,
+ "z": "2e17456e.1fa78a",
"wires": [
[
- "7a3b7e53.0cbf9",
- "21c1086d.e4f9e8",
- "9b560159.d8c39"
+ "8ea00362.3b8f7",
+ "cf82827d.c0abe",
+ "78e0a6e.6498258"
]
]
},
{
- "id": "7a3b7e53.0cbf9",
+ "id": "8ea00362.3b8f7",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1352.1664581298828,
- "y": 667.6904038190842,
- "z": "37ca9f86.ffaea",
+ "x": 1417.1664581298828,
+ "y": 695.6904038190842,
+ "z": "2e17456e.1fa78a",
"wires": [
[
- "e1cb3e60.4c427"
+ "9c3a2915.d4bae8"
]
]
},
{
- "id": "e1cb3e60.4c427",
+ "id": "9c3a2915.d4bae8",
"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": 1527.166389465332,
- "y": 667.8333042860031,
- "z": "37ca9f86.ffaea",
+ "x": 1592.166389465332,
+ "y": 695.8333042860031,
+ "z": "2e17456e.1fa78a",
"wires": []
},
{
- "id": "21c1086d.e4f9e8",
+ "id": "cf82827d.c0abe",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1362.3808822631836,
- "y": 747.095287322998,
- "z": "37ca9f86.ffaea",
+ "x": 1427.3808822631836,
+ "y": 775.095287322998,
+ "z": "2e17456e.1fa78a",
"wires": [
[
- "3dd958.a42046a8"
+ "726ff5db.17542c"
]
]
},
{
- "id": "70a816d3.209488",
+ "id": "545277b4.e0bb38",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 760.7380294799805,
- "y": 537.8452922105789,
- "z": "37ca9f86.ffaea",
+ "x": 825.7380294799805,
+ "y": 565.8452922105789,
+ "z": "2e17456e.1fa78a",
"wires": [
[
- "2dcbecbb.bef464",
- "691f618d.9d0b7"
+ "d294acc7.bd931",
+ "64e226e0.1a2c48"
]
]
},
{
- "id": "e3b84927.6478a8",
+ "id": "7bffb405.6623ac",
"type": "set",
"name": "set sdnc-model-name, sdnc-model-version",
"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\n\n\n",
"comments": "",
- "x": 1574.42866897583,
- "y": 618.964334487915,
- "z": "37ca9f86.ffaea",
+ "x": 1639.42866897583,
+ "y": 646.964334487915,
+ "z": "2e17456e.1fa78a",
"wires": []
},
{
- "id": "77c0ba75.bf78b4",
+ "id": "dedcf4a6.d6ca18",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1303.0001411437988,
- "y": 619.2500095367432,
- "z": "37ca9f86.ffaea",
+ "x": 1368.0001411437988,
+ "y": 647.2500095367432,
+ "z": "2e17456e.1fa78a",
"wires": [
[
- "e3b84927.6478a8"
+ "7bffb405.6623ac"
]
]
},
{
- "id": "3dd958.a42046a8",
+ "id": "726ff5db.17542c",
"type": "set",
"name": "set vf-module-label",
"xml": "<set>\n<parameter name='tmp.vf-module-label' value='`$db1.vf-module-model.vf-module-label`' />\n\n\n\n",
"comments": "",
- "x": 1566.821434020996,
- "y": 748.6786003112793,
- "z": "37ca9f86.ffaea",
+ "x": 1631.821434020996,
+ "y": 776.6786003112793,
+ "z": "2e17456e.1fa78a",
"wires": []
},
{
- "id": "f1daaf1.ffce15",
+ "id": "d1581b7a.307818",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1795.000015258789,
- "y": 1454.3333473205566,
- "z": "37ca9f86.ffaea",
+ "x": 1860.000015258789,
+ "y": 1482.3333473205566,
+ "z": "2e17456e.1fa78a",
"wires": [
[
- "44960d5c.3364a4",
- "4b9e8979.c71658",
- "bdf323e8.a11f4"
+ "c34d628a.5ba25",
+ "c56e214a.a3f38",
+ "57886653.e3ab98"
]
]
},
{
- "id": "4b9e8979.c71658",
+ "id": "c56e214a.a3f38",
"type": "set",
"name": "set length",
"xml": "<set>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$highnum].resource-resolution-data.resource-key_length`' value='`$num + 1`'/>\n",
"comments": "",
- "x": 2006.000015258789,
- "y": 1454.3333473205566,
- "z": "37ca9f86.ffaea",
+ "x": 2071.000015258789,
+ "y": 1482.3333473205566,
+ "z": "2e17456e.1fa78a",
"wires": []
},
{
- "id": "3eefac05.6098c4",
+ "id": "2f6f6c84.413364",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1305.7500190734863,
- "y": 578.5000076293945,
- "z": "37ca9f86.ffaea",
+ "x": 1370.7500190734863,
+ "y": 606.5000076293945,
+ "z": "2e17456e.1fa78a",
"wires": [
[
- "8019c4ec.975338"
+ "6ec44df1.26ebd4"
]
]
},
{
- "id": "8019c4ec.975338",
+ "id": "6ec44df1.26ebd4",
"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=\"`'No VF_MODEL found with customization_uuid = ' + $vf-module-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid`\" />",
"comments": "",
- "x": 1477.0000228881836,
- "y": 577.2500085830688,
- "z": "37ca9f86.ffaea",
+ "x": 1542.0000228881836,
+ "y": 605.2500085830688,
+ "z": "2e17456e.1fa78a",
"wires": []
},
{
- "id": "9b560159.d8c39",
+ "id": "78e0a6e.6498258",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1363.25,
- "y": 708.5,
- "z": "37ca9f86.ffaea",
+ "x": 1428.25,
+ "y": 736.5,
+ "z": "2e17456e.1fa78a",
"wires": [
[
- "489b8367.0100dc"
+ "b55099bd.544558"
]
]
},
{
- "id": "489b8367.0100dc",
+ "id": "b55099bd.544558",
"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=\"`'vf_module_label not found in VF_MODULE_MODEL WHERE customization_uuid = ' + $vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid`\" />",
"comments": "",
- "x": 1534.5000038146973,
- "y": 707.2500009536743,
- "z": "37ca9f86.ffaea",
+ "x": 1599.5000038146973,
+ "y": 735.2500009536743,
+ "z": "2e17456e.1fa78a",
"wires": []
},
{
- "id": "bdf323e8.a11f4",
+ "id": "57886653.e3ab98",
"type": "set",
"name": "increment length",
"xml": "<set>\n\t<parameter name='num' value='`$num + 1`' />\n",
"comments": "",
- "x": 2019.000015258789,
- "y": 1520.3333473205566,
- "z": "37ca9f86.ffaea",
+ "x": 2084.000015258789,
+ "y": 1548.3333473205566,
+ "z": "2e17456e.1fa78a",
"wires": []
},
{
- "id": "fb512106.96832",
+ "id": "cf8679e9.4fafd8",
"type": "set",
"name": "increment length",
"xml": "<set>\n\t<parameter name='highnum' value='`$highnum + 1`' />\n",
"comments": "",
- "x": 1212.000015258789,
- "y": 1526.3333473205566,
- "z": "37ca9f86.ffaea",
+ "x": 1277.000015258789,
+ "y": 1554.3333473205566,
+ "z": "2e17456e.1fa78a",
"wires": []
},
{
- "id": "3d1f3402.e6765c",
+ "id": "a939f9eb.ae83b8",
"type": "set",
"name": "increment length",
"xml": "<set>\n\t<parameter name='highnum' value='`$highnum + 1`' />\n",
"comments": "",
- "x": 1559.000015258789,
- "y": 1251.3333473205566,
- "z": "37ca9f86.ffaea",
+ "x": 1624.000015258789,
+ "y": 1279.3333473205566,
+ "z": "2e17456e.1fa78a",
"wires": []
},
{
- "id": "99896231.f8f2a",
+ "id": "60cb391a.7088d8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1353.000015258789,
- "y": 1191.3333473205566,
- "z": "37ca9f86.ffaea",
+ "x": 1418.000015258789,
+ "y": 1219.3333473205566,
+ "z": "2e17456e.1fa78a",
"wires": [
[
- "b1915485.d1a248",
- "3d1f3402.e6765c"
+ "9c282888.202138",
+ "a939f9eb.ae83b8"
]
]
},
{
- "id": "1f798081.68b1ef",
+ "id": "11b406c0.22da09",
"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": 318.6666603088379,
- "y": 801.0000104904175,
- "z": "37ca9f86.ffaea",
+ "x": 370,
+ "y": 820,
+ "z": "2e17456e.1fa78a",
"wires": [
[]
]
},
{
- "id": "860049fc.959878",
+ "id": "bbab380e.910a58",
"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": 315.3333282470703,
- "y": 956.000018119812,
- "z": "37ca9f86.ffaea",
+ "x": 380.3333282470703,
+ "y": 984.000018119812,
+ "z": "2e17456e.1fa78a",
"wires": [
[]
]
},
{
- "id": "f39abee0.7b55a",
+ "id": "873ccf3b.1d408",
"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": 328.25,
- "y": 1678.5000133514404,
- "z": "37ca9f86.ffaea",
+ "x": 393.25,
+ "y": 1706.5000133514404,
+ "z": "2e17456e.1fa78a",
"wires": [
[]
]
},
{
- "id": "53829451.b6abdc",
+ "id": "8e0f6b.25999098",
"type": "set",
"name": "set pathname",
"xml": "<set>\n<parameter name='pathname' \n\tvalue=\"`'/var/tmp/ss-vfmodule-ra-assignment-' + \n\t$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-information.vf-module-id + '.log'`\" />\n",
"comments": "",
- "x": 334.5,
- "y": 1626.0000114440918,
- "z": "37ca9f86.ffaea",
+ "x": 399.5,
+ "y": 1654.0000114440918,
+ "z": "2e17456e.1fa78a",
"wires": []
},
{
- "id": "5ee34dfd.0df884",
+ "id": "5989d23c.c4816c",
"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: vfmodule-ra-assignment\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 313.00000381469727,
- "y": 1577.2500190734863,
- "z": "37ca9f86.ffaea",
+ "x": 378.00000381469727,
+ "y": 1605.2500190734863,
+ "z": "2e17456e.1fa78a",
"wires": [
[]
]
},
{
- "id": "a487406b.42d53",
+ "id": "f15b2532.ed6cd8",
"type": "set",
"name": "set updateJsonPayload",
- "xml": "<set>\n\t<parameter name=\"tmp.json-payload\" value=\"`'{' + $tmp.config-name-value-payload9 + '}'`\" />\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`' />",
+ "xml": "<set>\n\t<parameter name=\"tmp.json-payload\" value=\"`'{' + $tmp.config-name-value-payload9 + '}'`\" />\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.resource-assignment-request.template-prefix[0]'`\" value='`$tmp.sdnc-artifact-name`' />\n <parameter name=\"`$cds + 'payload.resource-assignment-request.resource-assignment-properties'`\" value='`$tmp.json-payload`' />",
"comments": "",
- "x": 369.0000228881836,
- "y": 702.6667098999023,
- "z": "37ca9f86.ffaea",
+ "x": 421,
+ "y": 740,
+ "z": "2e17456e.1fa78a",
"wires": []
}
] \ No newline at end of file
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vnf-ra-assignment.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vnf-ra-assignment.json
index 0cf5a8da..61c880f9 100644
--- a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vnf-ra-assignment.json
+++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vnf-ra-assignment.json
@@ -1,20 +1,20 @@
[
{
- "id": "1264c6cd.930839",
+ "id": "1e918461.063a3c",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 101,
- "y": 96,
- "z": "4a0b2401.ec39ec",
+ "x": 125,
+ "y": 42,
+ "z": "3ef876bf.78b1fa",
"wires": [
[
- "cd72f82b.448a88"
+ "7b65fd49.93ba14"
]
]
},
{
- "id": "cd72f82b.448a88",
+ "id": "7b65fd49.93ba14",
"type": "service-logic",
"name": "GENERIC-RESOURCE-API ${project.version}",
"module": "GENERIC-RESOURCE-API",
@@ -22,1065 +22,1065 @@
"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",
+ "x": 401,
+ "y": 43,
+ "z": "3ef876bf.78b1fa",
"wires": [
[
- "1882c0cd.fac1af"
+ "96f203b4.cb4d1"
]
]
},
{
- "id": "1882c0cd.fac1af",
+ "id": "96f203b4.cb4d1",
"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",
+ "x": 718,
+ "y": 43,
+ "z": "3ef876bf.78b1fa",
"wires": [
[
- "5be6105f.ccbde"
+ "38f3f9c9.28a466"
]
]
},
{
- "id": "5be6105f.ccbde",
+ "id": "38f3f9c9.28a466",
"type": "block",
"name": "block atomic",
"xml": "<block atomic=\"true\">\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 190.16664123535156,
- "y": 177.3333339691162,
- "z": "4a0b2401.ec39ec",
+ "x": 214.16664123535156,
+ "y": 123.33333396911621,
+ "z": "3ef876bf.78b1fa",
"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"
+ "5a42798d.9a03d8",
+ "94e52d4.07895d",
+ "f709c437.029758",
+ "ef8d7a.8b1ad288",
+ "bdb13e3c.e9de2",
+ "dd0c4879.786768",
+ "654c303d.bc966",
+ "41ae2337.afe27c",
+ "8e50b155.95aaa",
+ "4b3da748.094068",
+ "72e48172.d53ce",
+ "4471abbd.a27dc4",
+ "40bf0919.577208",
+ "fa837cb4.36bad",
+ "c9addd0a.302f8",
+ "d351ac36.10e8b"
]
]
},
{
- "id": "9ad508ab.052518",
+ "id": "94e52d4.07895d",
"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",
+ "x": 399.9166603088379,
+ "y": 168.08333015441895,
+ "z": "3ef876bf.78b1fa",
"wires": []
},
{
- "id": "877ede4f.92e9b",
+ "id": "1f52d973.dc6427",
"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",
+ "x": 938.8094635009766,
+ "y": 559.6189861297607,
+ "z": "3ef876bf.78b1fa",
"wires": [
[
- "8947e8ba.8b6c18",
- "7bc2b258.538c7c",
- "c5829c3f.f44d7"
+ "ef8bd7bf.770928",
+ "785d91f7.04973",
+ "7c972f3e.f0f83"
]
]
},
{
- "id": "8947e8ba.8b6c18",
+ "id": "ef8bd7bf.770928",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1159.8095626831055,
- "y": 562.904709815979,
- "z": "4a0b2401.ec39ec",
+ "x": 1183.8095626831055,
+ "y": 508.904709815979,
+ "z": "3ef876bf.78b1fa",
"wires": [
[
- "2b79a1d8.82461e"
+ "a279ec52.aab4c"
]
]
},
{
- "id": "2b79a1d8.82461e",
+ "id": "a279ec52.aab4c",
"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",
+ "x": 1356.8095626831055,
+ "y": 507.904709815979,
+ "z": "3ef876bf.78b1fa",
"wires": []
},
{
- "id": "9a929dee.aae27",
+ "id": "a6be3be4.1bdc08",
"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",
+ "x": 1559.2380638122559,
+ "y": 609.047513961792,
+ "z": "3ef876bf.78b1fa",
"wires": []
},
{
- "id": "1f983518.26a63b",
+ "id": "46a2ef10.633e8",
"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",
+ "x": 1358.8095626831055,
+ "y": 556.904709815979,
+ "z": "3ef876bf.78b1fa",
"wires": []
},
{
- "id": "f2aa029b.615de",
+ "id": "bdb13e3c.e9de2",
"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",
+ "x": 459.80946350097656,
+ "y": 560.6189861297607,
+ "z": "3ef876bf.78b1fa",
"wires": [
[
- "a0598bd4.bb2518"
+ "25045ee0.e3d5c2"
]
]
},
{
- "id": "7bc2b258.538c7c",
+ "id": "785d91f7.04973",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1165.8095626831055,
- "y": 611.904709815979,
- "z": "4a0b2401.ec39ec",
+ "x": 1189.8095626831055,
+ "y": 557.904709815979,
+ "z": "3ef876bf.78b1fa",
"wires": [
[
- "1f983518.26a63b"
+ "46a2ef10.633e8"
]
]
},
{
- "id": "a0598bd4.bb2518",
+ "id": "25045ee0.e3d5c2",
"type": "outcome",
"name": "true",
"xml": "<outcome value='true'>",
"comments": "",
"outputs": 1,
- "x": 684.8094635009766,
- "y": 614.6189861297607,
- "z": "4a0b2401.ec39ec",
+ "x": 708.8094635009766,
+ "y": 560.6189861297607,
+ "z": "3ef876bf.78b1fa",
"wires": [
[
- "877ede4f.92e9b"
+ "1f52d973.dc6427"
]
]
},
{
- "id": "2edab5da.4808ea",
+ "id": "ef8d7a.8b1ad288",
"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",
+ "x": 475.66664123535156,
+ "y": 360.3333339691162,
+ "z": "3ef876bf.78b1fa",
"wires": [
[
- "8e542e02.8473f"
+ "51f6fdb.4dce504"
]
]
},
{
- "id": "8e542e02.8473f",
+ "id": "51f6fdb.4dce504",
"type": "block",
"name": "block atomic",
"xml": "<block atomic=\"true\">",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 673.6666412353516,
- "y": 413.3333339691162,
- "z": "4a0b2401.ec39ec",
+ "x": 697.6666412353516,
+ "y": 359.3333339691162,
+ "z": "3ef876bf.78b1fa",
"wires": [
[
- "d470eb9a.687f98"
+ "58dbc6ed.e4fb78"
]
]
},
{
- "id": "fb20cb1a.51a4b8",
+ "id": "3eef3f7d.acf9e",
"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",
+ "x": 1348.6666412353516,
+ "y": 292.3333339691162,
+ "z": "3ef876bf.78b1fa",
"wires": []
},
{
- "id": "7c80301e.7f871",
+ "id": "28936220.7676ce",
"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",
+ "x": 1094.6666412353516,
+ "y": 292.3333339691162,
+ "z": "3ef876bf.78b1fa",
"wires": [
[
- "fb20cb1a.51a4b8"
+ "3eef3f7d.acf9e"
]
]
},
{
- "id": "d470eb9a.687f98",
+ "id": "58dbc6ed.e4fb78",
"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",
+ "x": 856.6666412353516,
+ "y": 359.3333339691162,
+ "z": "3ef876bf.78b1fa",
"wires": [
[
- "7c80301e.7f871",
- "69dbd226.9264ec",
- "87b3dbed.61a088",
- "27ccfdc6.314a12"
+ "28936220.7676ce",
+ "41a51be4.e2de84",
+ "97a885a0.8b08e8",
+ "95df12c3.3ce8e"
]
]
},
{
- "id": "69dbd226.9264ec",
+ "id": "41a51be4.e2de84",
"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",
+ "x": 1097.6666412353516,
+ "y": 338.3333339691162,
+ "z": "3ef876bf.78b1fa",
"wires": [
[
- "74fadd31.036b54"
+ "50619bed.59bcf4"
]
]
},
{
- "id": "87b3dbed.61a088",
+ "id": "97a885a0.8b08e8",
"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",
+ "x": 1096.6666412353516,
+ "y": 387.3333339691162,
+ "z": "3ef876bf.78b1fa",
"wires": [
[
- "a7f5b067.57b29"
+ "82133366.c0bff"
]
]
},
{
- "id": "74fadd31.036b54",
+ "id": "50619bed.59bcf4",
"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",
+ "x": 1352.6666412353516,
+ "y": 338.3333339691162,
+ "z": "3ef876bf.78b1fa",
"wires": []
},
{
- "id": "a7f5b067.57b29",
+ "id": "82133366.c0bff",
"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",
+ "x": 1348.6666412353516,
+ "y": 387.3333339691162,
+ "z": "3ef876bf.78b1fa",
"wires": []
},
{
- "id": "e803a56a.a7f258",
+ "id": "77c6656f.94e17c",
"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 + '&quot;' + $vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$i].name + '&quot;:&quot;' + $vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$i].value + '&quot;,'`\"/>\n\n",
"comments": "",
- "x": 1340.6666412353516,
- "y": 490.3333339691162,
- "z": "4a0b2401.ec39ec",
+ "x": 1364.6666412353516,
+ "y": 436.3333339691162,
+ "z": "3ef876bf.78b1fa",
"wires": []
},
{
- "id": "27ccfdc6.314a12",
+ "id": "95df12c3.3ce8e",
"type": "outcome",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1032.666648864746,
- "y": 490.9047546386719,
- "z": "4a0b2401.ec39ec",
+ "x": 1056.666648864746,
+ "y": 436.9047546386719,
+ "z": "3ef876bf.78b1fa",
"wires": [
[
- "e803a56a.a7f258"
+ "77c6656f.94e17c"
]
]
},
{
- "id": "10dc8417.707e0c",
+ "id": "dd0c4879.786768",
"type": "set",
"name": "set configAssignment JsonString",
"xml": "<set>\n<parameter name=\"tmp.config-name-value-payload4\" value=\"`$tmp.config-name-value-other-payload + '&quot;service-instance-id&quot;:&quot;' + $vnf-topology-operation-input.service-information.service-instance-id + '&quot;,'`\"/>\n<parameter name=\"tmp.config-name-value-payload5\" value=\"`$tmp.config-name-value-payload4 + '&quot;vnf-model-customization-uuid&quot;:&quot;' + $vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid + '&quot;,'`\"/>\n<parameter name=\"tmp.config-name-value-payload6\" value=\"`$tmp.config-name-value-payload5 + '&quot;vnf-id&quot;:&quot;' + $vnf-topology-operation-input.vnf-information.vnf-id + '&quot;,'`\"/>\n<parameter name=\"tmp.config-name-value-payload7\" value=\"`$tmp.config-name-value-payload6 + '&quot;aic-cloud-region&quot;:&quot;' + $vnf-topology-operation-input.vnf-request-input.aic-cloud-region + '&quot;'`\"/>\n",
"comments": "",
- "x": 461.6666564941406,
- "y": 685.3333568572998,
- "z": "4a0b2401.ec39ec",
+ "x": 470,
+ "y": 620,
+ "z": "3ef876bf.78b1fa",
"wires": []
},
{
- "id": "fd52ae4e.bd56c",
+ "id": "654c303d.bc966",
"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",
+ "x": 477.33331298828125,
+ "y": 834,
+ "z": "3ef876bf.78b1fa",
"wires": [
[
- "51cecb46.839514",
- "d8c1b9cb.9f5348"
+ "d37d9ea0.c12ad",
+ "e8698b70.c431d8"
]
]
},
{
- "id": "51cecb46.839514",
+ "id": "d37d9ea0.c12ad",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 693.3333129882812,
- "y": 862,
- "z": "4a0b2401.ec39ec",
+ "x": 717.3333129882812,
+ "y": 808,
+ "z": "3ef876bf.78b1fa",
"wires": [
[
- "5d166bf5.6d0624"
+ "cb6982c3.5d096"
]
]
},
{
- "id": "5d166bf5.6d0624",
+ "id": "cb6982c3.5d096",
"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",
+ "x": 899.3333129882812,
+ "y": 829,
+ "z": "3ef876bf.78b1fa",
"wires": []
},
{
- "id": "d29a4d92.8e7d9",
+ "id": "8e50b155.95aaa",
"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",
+ "x": 501.66664123535156,
+ "y": 1051.333324432373,
+ "z": "3ef876bf.78b1fa",
"wires": [
[
- "fbbcea55.468248"
+ "76ae92fe.97658c"
]
]
},
{
- "id": "9947d8c1.f7aff8",
+ "id": "edaf4d66.0e603",
"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",
+ "x": 1731.6666412353516,
+ "y": 1103.333324432373,
+ "z": "3ef876bf.78b1fa",
"wires": []
},
{
- "id": "84a90182.cf73",
+ "id": "4b3da748.094068",
"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",
+ "x": 426.66664123535156,
+ "y": 1393.333324432373,
+ "z": "3ef876bf.78b1fa",
"wires": [
[
- "fa102a2b.773698"
+ "afcca100.08442"
]
]
},
{
- "id": "fa102a2b.773698",
+ "id": "afcca100.08442",
"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",
+ "x": 635.6666412353516,
+ "y": 1393.333324432373,
+ "z": "3ef876bf.78b1fa",
"wires": [
[
- "420ba6ad.7d12f8"
+ "f22e79d3.9fa598"
]
]
},
{
- "id": "c73b8162.24f6f",
+ "id": "41ae2337.afe27c",
"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",
+ "x": 445.66664123535156,
+ "y": 972.333324432373,
+ "z": "3ef876bf.78b1fa",
"wires": [
[]
]
},
{
- "id": "95e79859.795e68",
+ "id": "5a42798d.9a03d8",
"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",
+ "x": 451.66664123535156,
+ "y": 123.33333396911621,
+ "z": "3ef876bf.78b1fa",
"wires": [
[
- "b2ef8bc8.f9b188"
+ "90850917.831e78"
]
]
},
{
- "id": "b2ef8bc8.f9b188",
+ "id": "90850917.831e78",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 605.6666412353516,
- "y": 175.3333339691162,
- "z": "4a0b2401.ec39ec",
+ "x": 629.6666412353516,
+ "y": 121.33333396911621,
+ "z": "3ef876bf.78b1fa",
"wires": [
[
- "359040a9.7ab45"
+ "5b293973.a44fd8"
]
]
},
{
- "id": "359040a9.7ab45",
+ "id": "5b293973.a44fd8",
"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",
+ "x": 776.6666412353516,
+ "y": 122.33333396911621,
+ "z": "3ef876bf.78b1fa",
"wires": []
},
{
- "id": "2048f9bb.f2f736",
+ "id": "55dc72e4.040a6c",
"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",
+ "x": 1474.6666412353516,
+ "y": 1051.333324432373,
+ "z": "3ef876bf.78b1fa",
"wires": [
[
- "b6d977b7.115288"
+ "ef8bc14b.ccbff"
]
]
},
{
- "id": "fbbcea55.468248",
+ "id": "76ae92fe.97658c",
"type": "block",
"name": "block atomic",
"xml": "<block atomic=\"true\">",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 756.6666412353516,
- "y": 1106.333324432373,
- "z": "4a0b2401.ec39ec",
+ "x": 780.6666412353516,
+ "y": 1052.333324432373,
+ "z": "3ef876bf.78b1fa",
"wires": [
[
- "4a737be7.870a34",
- "20c5df3a.f6ffc",
- "34f87842.282048"
+ "824fa75d.391fc8",
+ "2c5ebadc.773bc6",
+ "f84c1bca.bb7958"
]
]
},
{
- "id": "3ac5cd34.2257f2",
+ "id": "f709c437.029758",
"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",
+ "x": 503.66664123535156,
+ "y": 221.3333339691162,
+ "z": "3ef876bf.78b1fa",
"wires": [
[
- "400017d.409bfe8",
- "7d611aa7.76df04"
+ "23708a8a.213166",
+ "80282891.85c258"
]
]
},
{
- "id": "400017d.409bfe8",
+ "id": "23708a8a.213166",
"type": "outcome",
"name": "null",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 717.6666412353516,
- "y": 243.3333339691162,
- "z": "4a0b2401.ec39ec",
+ "x": 741.6666412353516,
+ "y": 189.3333339691162,
+ "z": "3ef876bf.78b1fa",
"wires": [
[
- "27c026e8.fb154a"
+ "dc5b10f3.283cb"
]
]
},
{
- "id": "7d611aa7.76df04",
+ "id": "80282891.85c258",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 716.6666412353516,
- "y": 307.3333339691162,
- "z": "4a0b2401.ec39ec",
+ "x": 740.6666412353516,
+ "y": 253.3333339691162,
+ "z": "3ef876bf.78b1fa",
"wires": [
[
- "3e29b95e.47e686"
+ "9174046b.b8b7d8"
]
]
},
{
- "id": "27c026e8.fb154a",
+ "id": "dc5b10f3.283cb",
"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",
+ "x": 954.6666412353516,
+ "y": 189.3333339691162,
+ "z": "3ef876bf.78b1fa",
"wires": []
},
{
- "id": "3e29b95e.47e686",
+ "id": "9174046b.b8b7d8",
"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",
+ "x": 939.6666412353516,
+ "y": 253.3333339691162,
+ "z": "3ef876bf.78b1fa",
"wires": []
},
{
- "id": "b6d977b7.115288",
+ "id": "ef8bc14b.ccbff",
"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",
+ "x": 1732.6666412353516,
+ "y": 1051.333324432373,
+ "z": "3ef876bf.78b1fa",
"wires": [
[
- "67c98419.11b03c"
+ "ee6ccc97.25efa"
]
]
},
{
- "id": "67c98419.11b03c",
+ "id": "ee6ccc97.25efa",
"type": "not-found",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1888.6666412353516,
- "y": 1105.333324432373,
- "z": "4a0b2401.ec39ec",
+ "x": 1912.6666412353516,
+ "y": 1051.333324432373,
+ "z": "3ef876bf.78b1fa",
"wires": [
[
- "c179b41f.2921e8"
+ "ed52e9db.e0c808"
]
]
},
{
- "id": "c179b41f.2921e8",
+ "id": "ed52e9db.e0c808",
"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",
+ "x": 2122.6666412353516,
+ "y": 1052.333324432373,
+ "z": "3ef876bf.78b1fa",
"wires": []
},
{
- "id": "34f87842.282048",
+ "id": "f84c1bca.bb7958",
"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",
+ "x": 1022.6666412353516,
+ "y": 1104.333324432373,
+ "z": "3ef876bf.78b1fa",
"wires": [
[
- "56f65a3d.bdecc4"
+ "eb181e3d.05137"
]
]
},
{
- "id": "56f65a3d.bdecc4",
+ "id": "eb181e3d.05137",
"type": "not-found",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1232.6666412353516,
- "y": 1157.333324432373,
- "z": "4a0b2401.ec39ec",
+ "x": 1256.6666412353516,
+ "y": 1103.333324432373,
+ "z": "3ef876bf.78b1fa",
"wires": [
[
- "ecce6565.d1e898"
+ "f72b62.fb42f4a"
]
]
},
{
- "id": "4a737be7.870a34",
+ "id": "824fa75d.391fc8",
"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",
+ "x": 1006.6666412353516,
+ "y": 993.333324432373,
+ "z": "3ef876bf.78b1fa",
"wires": []
},
{
- "id": "20c5df3a.f6ffc",
+ "id": "2c5ebadc.773bc6",
"type": "switchNode",
"name": "switch check length > 0",
"xml": "<switch test='`$prehighnum &gt; 0`'>\n",
"comments": "",
"outputs": 1,
- "x": 975.1666412353516,
- "y": 1106.333324432373,
- "z": "4a0b2401.ec39ec",
+ "x": 999.1666412353516,
+ "y": 1052.333324432373,
+ "z": "3ef876bf.78b1fa",
"wires": [
[
- "278fa054.17f2"
+ "6aca2d7e.39e184"
]
]
},
{
- "id": "278fa054.17f2",
+ "id": "6aca2d7e.39e184",
"type": "not-found",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1222.1666412353516,
- "y": 1106.333324432373,
- "z": "4a0b2401.ec39ec",
+ "x": 1246.1666412353516,
+ "y": 1052.333324432373,
+ "z": "3ef876bf.78b1fa",
"wires": [
[
- "2048f9bb.f2f736"
+ "55dc72e4.040a6c"
]
]
},
{
- "id": "910d6ed9.68335",
+ "id": "32788be4.48e304",
"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",
+ "x": 1817.6666412353516,
+ "y": 1411.333324432373,
+ "z": "3ef876bf.78b1fa",
"wires": [
[
- "451cb826.e55b18"
+ "52ca6e98.bf065"
]
]
},
{
- "id": "ebc212fd.50c99",
+ "id": "778c089.bfab7f8",
"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",
+ "x": 2166.6666412353516,
+ "y": 1347.333324432373,
+ "z": "3ef876bf.78b1fa",
"wires": []
},
{
- "id": "77f8b842.ce0bf8",
+ "id": "1eb3f359.e179fd",
"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",
+ "x": 1390.6666412353516,
+ "y": 1291.333324432373,
+ "z": "3ef876bf.78b1fa",
"wires": []
},
{
- "id": "420ba6ad.7d12f8",
+ "id": "f22e79d3.9fa598",
"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",
+ "x": 858.6666412353516,
+ "y": 1393.333324432373,
+ "z": "3ef876bf.78b1fa",
"wires": [
[
- "de871bca.269b28"
+ "b6e3c033.d365e"
]
]
},
{
- "id": "de871bca.269b28",
+ "id": "b6e3c033.d365e",
"type": "block",
"name": "block atomic",
"xml": "<block atomic=\"true\">",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1085.6666412353516,
- "y": 1447.333324432373,
- "z": "4a0b2401.ec39ec",
+ "x": 1109.6666412353516,
+ "y": 1393.333324432373,
+ "z": "3ef876bf.78b1fa",
"wires": [
[
- "77f8b842.ce0bf8",
- "d1ce4892.013d98",
- "435b327b.50848c",
- "833f0238.99363"
+ "1eb3f359.e179fd",
+ "c8871600.cda7b8",
+ "31cafe60.c858c2",
+ "d883e8b5.c87cd8"
]
]
},
{
- "id": "d1ce4892.013d98",
+ "id": "c8871600.cda7b8",
"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",
+ "x": 1378.6666412353516,
+ "y": 1429.333324432373,
+ "z": "3ef876bf.78b1fa",
"wires": []
},
{
- "id": "d8c1b9cb.9f5348",
+ "id": "e8698b70.c431d8",
"type": "failure",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 698.3333129882812,
- "y": 924,
- "z": "4a0b2401.ec39ec",
+ "x": 722.3333129882812,
+ "y": 870,
+ "z": "3ef876bf.78b1fa",
"wires": [
[
- "5d166bf5.6d0624"
+ "cb6982c3.5d096"
]
]
},
{
- "id": "435b327b.50848c",
+ "id": "31cafe60.c858c2",
"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",
+ "x": 1414.6666412353516,
+ "y": 1362.333324432373,
+ "z": "3ef876bf.78b1fa",
"wires": [
[
- "a70ff081.a1c2e",
- "cd6e211b.36062"
+ "35a0c321.c01b8c",
+ "4c60a062.02cd4"
]
]
},
{
- "id": "a70ff081.a1c2e",
+ "id": "35a0c321.c01b8c",
"type": "outcome",
"name": "true",
"xml": "<outcome value='true'>",
"comments": "",
"outputs": 1,
- "x": 1611.6666412353516,
- "y": 1347.333324432373,
- "z": "4a0b2401.ec39ec",
+ "x": 1635.6666412353516,
+ "y": 1293.333324432373,
+ "z": "3ef876bf.78b1fa",
"wires": [
[]
]
},
{
- "id": "cd6e211b.36062",
+ "id": "4c60a062.02cd4",
"type": "other",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1618.6666412353516,
- "y": 1465.333324432373,
- "z": "4a0b2401.ec39ec",
+ "x": 1642.6666412353516,
+ "y": 1411.333324432373,
+ "z": "3ef876bf.78b1fa",
"wires": [
[
- "910d6ed9.68335"
+ "32788be4.48e304"
]
]
},
{
- "id": "c5829c3f.f44d7",
+ "id": "7c972f3e.f0f83",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1161.9523658752441,
- "y": 662.9046821594238,
- "z": "4a0b2401.ec39ec",
+ "x": 1185.9523658752441,
+ "y": 608.9046821594238,
+ "z": "3ef876bf.78b1fa",
"wires": [
[
- "9a929dee.aae27"
+ "a6be3be4.1bdc08"
]
]
},
{
- "id": "7d1e7719.053288",
+ "id": "b887f515.962a38",
"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",
+ "x": 2155.6666412353516,
+ "y": 1411.333324432373,
+ "z": "3ef876bf.78b1fa",
"wires": []
},
{
- "id": "e4fba5aa.251098",
+ "id": "30950fde.196f6",
"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",
+ "x": 2173.6666412353516,
+ "y": 1485.333324432373,
+ "z": "3ef876bf.78b1fa",
"wires": []
},
{
- "id": "833f0238.99363",
+ "id": "d883e8b5.c87cd8",
"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",
+ "x": 1399.6666412353516,
+ "y": 1496.333324432373,
+ "z": "3ef876bf.78b1fa",
"wires": []
},
{
- "id": "ecce6565.d1e898",
+ "id": "f72b62.fb42f4a",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1409.6666412353516,
- "y": 1156.333324432373,
- "z": "4a0b2401.ec39ec",
+ "x": 1433.6666412353516,
+ "y": 1102.333324432373,
+ "z": "3ef876bf.78b1fa",
"wires": [
[
- "9947d8c1.f7aff8",
- "44e5b8af.77e3d8"
+ "edaf4d66.0e603",
+ "aba36cfb.938af"
]
]
},
{
- "id": "44e5b8af.77e3d8",
+ "id": "aba36cfb.938af",
"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",
+ "x": 1648.6666412353516,
+ "y": 1162.333324432373,
+ "z": "3ef876bf.78b1fa",
"wires": []
},
{
- "id": "451cb826.e55b18",
+ "id": "52ca6e98.bf065",
"type": "block",
"name": "block atomic",
"xml": "<block atomic=\"true\">",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1949.6666412353516,
- "y": 1466.333324432373,
- "z": "4a0b2401.ec39ec",
+ "x": 1973.6666412353516,
+ "y": 1412.333324432373,
+ "z": "3ef876bf.78b1fa",
"wires": [
[
- "ebc212fd.50c99",
- "7d1e7719.053288",
- "e4fba5aa.251098"
+ "778c089.bfab7f8",
+ "b887f515.962a38",
+ "30950fde.196f6"
]
]
},
{
- "id": "48b65c6e.618e44",
+ "id": "72e48172.d53ce",
"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",
+ "x": 399.9999809265137,
+ "y": 755.333324432373,
+ "z": "3ef876bf.78b1fa",
"wires": [
[]
]
},
{
- "id": "80225cf4.2c8b2",
+ "id": "4471abbd.a27dc4",
"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",
+ "x": 396.6666488647461,
+ "y": 910.3333320617676,
+ "z": "3ef876bf.78b1fa",
"wires": [
[]
]
},
{
- "id": "638697ae.8d3678",
+ "id": "fa837cb4.36bad",
"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",
+ "x": 405.00000762939453,
+ "y": 1714.5000267028809,
+ "z": "3ef876bf.78b1fa",
"wires": [
[]
]
},
{
- "id": "a4083479.8e5dd8",
+ "id": "40bf0919.577208",
"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",
+ "x": 411.25000762939453,
+ "y": 1662.0000247955322,
+ "z": "3ef876bf.78b1fa",
"wires": []
},
{
- "id": "2e936c1f.cb2bd4",
+ "id": "c9addd0a.302f8",
"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",
+ "x": 388.75000381469727,
+ "y": 1615.7500247955322,
+ "z": "3ef876bf.78b1fa",
"wires": [
[]
]
},
{
- "id": "546a230c.3e01dc",
+ "id": "d351ac36.10e8b",
"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`' />",
+ "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.resource-assignment-request.template-prefix[0]'`\" 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",
+ "x": 441,
+ "y": 680,
+ "z": "3ef876bf.78b1fa",
"wires": []
}
] \ No newline at end of file
diff --git a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-pnf-ra-assignment.xml b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-pnf-ra-assignment.xml
index c1f8931e..cff4d493 100644
--- a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-pnf-ra-assignment.xml
+++ b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-pnf-ra-assignment.xml
@@ -103,7 +103,7 @@
<parameter name="tmp.json-payload" value="`'{' + $tmp.config-name-value-payload7 + '}'`" />
<parameter name="`$cds + 'actionIdentifiers.blueprintName'`" value='`$tmp.sdnc-model-name`' />
<parameter name="`$cds + 'actionIdentifiers.blueprintVersion'`" value='`$tmp.sdnc-model-version`' />
- <parameter name="`$cds + 'payload.template-prefix'`" value='`$tmp.sdnc-artifact-name`' />
+ <parameter name="`$cds + 'payload.resource-assignment-request.template-prefix[0]'`" value='`$tmp.sdnc-artifact-name`' />
<parameter name="`$cds + 'payload.resource-assignment-request.resource-assignment-properties'`" value='`$tmp.json-payload`' />
</set>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder">
diff --git a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vfmodule-ra-assignment.xml b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vfmodule-ra-assignment.xml
index a2fa9417..415a1506 100644
--- a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vfmodule-ra-assignment.xml
+++ b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vfmodule-ra-assignment.xml
@@ -128,7 +128,7 @@
<parameter name="tmp.json-payload" value="`'{' + $tmp.config-name-value-payload9 + '}'`" />
<parameter name="`$cds + 'actionIdentifiers.blueprintName'`" value='`$tmp.sdnc-model-name`' />
<parameter name="`$cds + 'actionIdentifiers.blueprintVersion'`" value='`$tmp.sdnc-model-version`' />
- <parameter name="`$cds + 'payload.template-prefix'`" value='`$tmp.sdnc-artifact-name`' />
+ <parameter name="`$cds + 'payload.resource-assignment-request.template-prefix[0]'`" value='`$tmp.sdnc-artifact-name`' />
<parameter name="`$cds + 'payload.resource-assignment-request.resource-assignment-properties'`" value='`$tmp.json-payload`' />
</set>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder">
diff --git a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vnf-ra-assignment.xml b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vnf-ra-assignment.xml
index b279626a..347dd718 100644
--- a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vnf-ra-assignment.xml
+++ b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vnf-ra-assignment.xml
@@ -103,7 +103,7 @@
<parameter name="tmp.json-payload" value="`'{' + $tmp.config-name-value-payload7 + '}'`" />
<parameter name="`$cds + 'actionIdentifiers.blueprintName'`" value='`$tmp.sdnc-model-name`' />
<parameter name="`$cds + 'actionIdentifiers.blueprintVersion'`" value='`$tmp.sdnc-model-version`' />
- <parameter name="`$cds + 'payload.template-prefix'`" value='`$tmp.sdnc-artifact-name`' />
+ <parameter name="`$cds + 'payload.resource-assignment-request.template-prefix[0]'`" value='`$tmp.sdnc-artifact-name`' />
<parameter name="`$cds + 'payload.resource-assignment-request.resource-assignment-properties'`" value='`$tmp.json-payload`' />
</set>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder">
diff --git a/platform-logic/restconfapi-yang/src/main/yang/cds/execution-service.yang b/platform-logic/restconfapi-yang/src/main/yang/cds/execution-service.yang
index d7cf68f1..fcd35ed5 100644
--- a/platform-logic/restconfapi-yang/src/main/yang/cds/execution-service.yang
+++ b/platform-logic/restconfapi-yang/src/main/yang/cds/execution-service.yang
@@ -32,10 +32,10 @@ module execution-service {
}
}
container payload {
- leaf-list template-prefix {
- type string;
- }
container resource-assignment-request {
+ leaf-list template-prefix {
+ type string;
+ }
anyxml resource-assignment-properties;
}
}