summaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sdwan-vnf-topology-operation-device-activate.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sdwan-vnf-topology-operation-device-activate.json')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sdwan-vnf-topology-operation-device-activate.json469
1 files changed, 229 insertions, 240 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sdwan-vnf-topology-operation-device-activate.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sdwan-vnf-topology-operation-device-activate.json
index 93cf8aee..798be486 100644
--- a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sdwan-vnf-topology-operation-device-activate.json
+++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sdwan-vnf-topology-operation-device-activate.json
@@ -1,17 +1,17 @@
[
{
- "id": "50195fc6.898bb",
+ "id": "206c85aa.5a072a",
"type": "comment",
"name": "sdwan-vnf-topology-operation-device-activate",
"info": "",
"comments": "",
- "x": 550.00390625,
- "y": 71.00390625,
- "z": "c21457e5.a6cbc8",
+ "x": 508.3447952270508,
+ "y": 68,
+ "z": "51909408.51161c",
"wires": []
},
{
- "id": "85d78052.fe7cc",
+ "id": "ca427018.80bcb",
"type": "service-logic",
"name": "GENERIC-RESOURCE-API ${project.version}",
"module": "GENERIC-RESOURCE-API",
@@ -19,625 +19,614 @@
"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": 229.94481658935547,
- "y": 142.0041732788086,
- "z": "c21457e5.a6cbc8",
+ "x": 188.28570556640625,
+ "y": 139.0002670288086,
+ "z": "51909408.51161c",
"wires": [
[
- "323cadd3.27c0d2"
+ "2fa01ba0.438244"
]
]
},
{
- "id": "aaa38f17.f307a",
+ "id": "d277668e.e654a8",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 150.65911102294922,
- "y": 79.76606369018555,
- "z": "c21457e5.a6cbc8",
+ "x": 109,
+ "y": 76.76215744018555,
+ "z": "51909408.51161c",
"wires": [
[
- "85d78052.fe7cc"
+ "ca427018.80bcb"
]
]
},
{
- "id": "220347f8.1484e8",
+ "id": "29e19c37.979fb4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 225.3257827758789,
- "y": 421.43274879455566,
- "z": "c21457e5.a6cbc8",
+ "x": 183.6666717529297,
+ "y": 418.42884254455566,
+ "z": "51909408.51161c",
"wires": [
[
- "e6b80f71.25bd4",
- "41d21371.3482cc",
- "ede17b3a.f75148",
- "d7029e79.59672",
- "6ae18188.f2044",
- "f628964.b562168",
- "120defaf.28edc",
- "46c583fa.d0b40c",
- "139f4e2.66d6eb2",
- "a27fb783.ef2f48",
- "bcf0047f.528cc8",
- "981acfda.e23ab",
- "86570f1a.fe5e8",
- "fba2af80.f96de"
+ "d0145adc.c61398",
+ "8a8e6e5a.af8ac",
+ "5365293b.242938",
+ "2b32a3df.95a32c",
+ "7f49e88e.6ac0a8",
+ "8f8a4ade.fb21d8",
+ "9162baea.a58618",
+ "96cec913.036c98",
+ "f1cfd3b2.a98b6",
+ "7bfd6f06.aec7d",
+ "a82fd005.9ab21",
+ "752aae5e.411ae",
+ "feaf1629.1e79e8",
+ "bd5ee22a.cd67b"
]
]
},
{
- "id": "41d21371.3482cc",
+ "id": "8a8e6e5a.af8ac",
"type": "returnSuccess",
"name": "return success",
"xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",
"comments": "",
- "x": 624.9925231933594,
- "y": 1066.0995807647705,
- "z": "c21457e5.a6cbc8",
+ "x": 589.0477142333984,
+ "y": 1021.6670913696289,
+ "z": "51909408.51161c",
"wires": []
},
{
- "id": "e6b80f71.25bd4",
+ "id": "d0145adc.c61398",
"type": "set",
"name": "set vnf-level-oper-status to Active",
"xml": "<set>\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-level-oper-status.order-status' value='Active' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-level-oper-status.last-rpc-action' value='`$vnf-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-level-oper-status.last-action' value='`$vnf-topology-operation-input.request-information.request-action`' />\n",
"comments": "",
- "x": 706.472583770752,
- "y": 873.4367294311523,
- "z": "c21457e5.a6cbc8",
+ "x": 670.527774810791,
+ "y": 829.0042400360107,
+ "z": "51909408.51161c",
"wires": []
},
{
- "id": "6ae18188.f2044",
+ "id": "7f49e88e.6ac0a8",
"type": "set",
"name": "copy input data to service data",
"xml": "<set>\n<!--parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-id' value='`$vnf-topology-operation-input.vnf-information.vnf-id`' /-->\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.sdnc-request-header.' value='`$vnf-topology-operation-input.sdnc-request-header.`' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.request-information.' value='`$vnf-topology-operation-input.request-information.`' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.' value='`$vnf-topology-operation-input.service-information.`' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-information.' value='`$vnf-topology-operation-input.vnf-information.`' />\n",
"comments": "",
- "x": 684.3257751464844,
- "y": 929.4329051971436,
- "z": "c21457e5.a6cbc8",
+ "x": 648.3809661865234,
+ "y": 885.000415802002,
+ "z": "51909408.51161c",
"wires": []
},
{
- "id": "4cad5392.24fc9c",
+ "id": "7ac7ee71.334c",
"type": "comment",
"name": "make sure this VNF doesn't exist already",
"info": "",
"comments": "",
- "x": 1422.5162811279297,
- "y": 644.9566164016724,
- "z": "c21457e5.a6cbc8",
+ "x": 1383.7143249511719,
+ "y": 661.9527359008789,
+ "z": "51909408.51161c",
"wires": []
},
{
- "id": "a27fb783.ef2f48",
+ "id": "7bfd6f06.aec7d",
"type": "save",
- "name": "save deviceInstance configuration in AAI",
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='device' \n key='device.device-id = $vnf-topology-operation-input.vnf-information.vnf-id' >\n<parameter name='device-id' value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\n<!--parameter name='device-id' value='`$deviceResp.success[0].id`' /-->\n<parameter name='operational-status' value='Active' />",
+ "name": "update deviceInstance configuration in AAI",
+ "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='device' \n key='device.device-id = $vnf-topology-operation-input.vnf-information.vnf-id' >\n<parameter name='device-id' value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\n<!--parameter name='device-id' value='`$deviceResp.success[0].id`' /-->\n<parameter name='operational-status' value='Active' />",
"comments": "",
"outputs": 1,
- "x": 708.6592712402344,
- "y": 979.3219051361084,
- "z": "c21457e5.a6cbc8",
+ "x": 672.7144622802734,
+ "y": 934.8894157409668,
+ "z": "51909408.51161c",
"wires": [
[]
]
},
{
- "id": "323cadd3.27c0d2",
+ "id": "2fa01ba0.438244",
"type": "method",
"name": "method sdwan-vnf-topology-operation-device-activate",
"xml": "<method rpc='sdwan-vnf-topology-operation-device-activate' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 241.65911102294922,
- "y": 236.3524055480957,
- "z": "c21457e5.a6cbc8",
+ "x": 200,
+ "y": 233.3484992980957,
+ "z": "51909408.51161c",
"wires": [
[
- "220347f8.1484e8"
+ "29e19c37.979fb4"
]
]
},
{
- "id": "ede17b3a.f75148",
+ "id": "5365293b.242938",
"type": "set",
"name": "set vnfId and vnf-object-path",
"xml": "<set>\n<parameter name='vnfId' value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\n<parameter name=\"vnf-object-path\" value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $vnf-topology-operation-input.service-information.service-instance-id + '/service-data/vnfs/vnf/' + $vnf-topology-operation-input.vnf-information.vnf-id + '/vnf-data/'` \" />",
"comments": "",
- "x": 687.6592254638672,
- "y": 822.352541923523,
- "z": "c21457e5.a6cbc8",
+ "x": 651.7144165039062,
+ "y": 777.9200525283813,
+ "z": "51909408.51161c",
"wires": []
},
{
- "id": "fba2af80.f96de",
+ "id": "feaf1629.1e79e8",
"type": "execute",
"name": "execute RestApiCallNode Create Devcie Instance",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdwan-device.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v3/devices'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"put\"/>\n<parameter name=\"responsePrefix\" value=\"deviceResp\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.openecomp.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdwan-device.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v3/devices'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"deviceResp\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.openecomp.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
"comments": "",
"outputs": 1,
- "x": 763.1037368774414,
- "y": 649.1304225921631,
- "z": "c21457e5.a6cbc8",
+ "x": 724.3017807006836,
+ "y": 666.1265420913696,
+ "z": "51909408.51161c",
"wires": [
[
- "1a1378b0.178537",
- "d8dd7f14.0ab02"
+ "1fffde57.79b802",
+ "1d6faab2.67fba5"
]
]
},
{
- "id": "86570f1a.fe5e8",
+ "id": "752aae5e.411ae",
"type": "execute",
"name": "execute RestApiCallNode Get token",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/actokentemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/v2/tokens'`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"token-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.openecomp.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>",
"comments": "",
"outputs": 1,
- "x": 717.1036605834961,
- "y": 519.1302967071533,
- "z": "c21457e5.a6cbc8",
+ "x": 675.4445495605469,
+ "y": 516.1263904571533,
+ "z": "51909408.51161c",
"wires": [
[
- "946c47ae.42bcf8",
- "ddd15567.8fafd8"
+ "32c81884.3acf08",
+ "5b1f77c1.6546b8"
]
]
},
{
- "id": "946c47ae.42bcf8",
+ "id": "32c81884.3acf08",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 949.1036605834961,
- "y": 499.1302967071533,
- "z": "c21457e5.a6cbc8",
+ "x": 907.4445495605469,
+ "y": 496.1263904571533,
+ "z": "51909408.51161c",
"wires": [
[
- "8008bf96.00803"
+ "8863e5c0.8fc5a8"
]
]
},
{
- "id": "ddd15567.8fafd8",
+ "id": "5b1f77c1.6546b8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 941.3536605834961,
- "y": 540.7731800079346,
- "z": "c21457e5.a6cbc8",
+ "x": 899.6945495605469,
+ "y": 537.7692737579346,
+ "z": "51909408.51161c",
"wires": [
[
- "87a9f03d.7da59"
+ "1b01e427.5d582c"
]
]
},
{
- "id": "8008bf96.00803",
+ "id": "8863e5c0.8fc5a8",
"type": "set",
"name": "set token-id",
"xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",
"comments": "",
- "x": 1086.103660583496,
- "y": 499.1302967071533,
- "z": "c21457e5.a6cbc8",
+ "x": 1044.4445495605469,
+ "y": 496.1263904571533,
+ "z": "51909408.51161c",
"wires": []
},
{
- "id": "87a9f03d.7da59",
+ "id": "1b01e427.5d582c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1067.437156677246,
- "y": 541.0192127227783,
- "z": "c21457e5.a6cbc8",
+ "x": 1025.7780456542969,
+ "y": 538.0153064727783,
+ "z": "51909408.51161c",
"wires": [
[]
]
},
{
- "id": "e45b42b8.e6dbb",
+ "id": "b65e0d53.3b7ed",
"type": "comment",
"name": "Do Nothing",
"info": "",
"comments": "",
- "x": 1328.9927024841309,
- "y": 341.9080295562744,
- "z": "c21457e5.a6cbc8",
+ "x": 1287.3335914611816,
+ "y": 338.9041233062744,
+ "z": "51909408.51161c",
"wires": []
},
{
- "id": "928cde96.7898d",
+ "id": "aa15cb9e.3cdaa8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1189.7702026367188,
- "y": 619.0192108154297,
- "z": "c21457e5.a6cbc8",
+ "x": 1150.968246459961,
+ "y": 636.0153303146362,
+ "z": "51909408.51161c",
"wires": [
[]
]
},
{
- "id": "d1dae5c1.63a508",
+ "id": "12eca3bc.6e077c",
"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 executing Activate Device rest api\" />\n",
"comments": "",
- "x": 1191.2147827148438,
- "y": 669.574743270874,
- "z": "c21457e5.a6cbc8",
+ "x": 1152.412826538086,
+ "y": 686.5708627700806,
+ "z": "51909408.51161c",
"wires": []
},
{
- "id": "d8dd7f14.0ab02",
+ "id": "1d6faab2.67fba5",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1038.2146263122559,
- "y": 672.5746974945068,
- "z": "c21457e5.a6cbc8",
+ "x": 999.412670135498,
+ "y": 689.5708169937134,
+ "z": "51909408.51161c",
"wires": [
[
- "d1dae5c1.63a508"
+ "12eca3bc.6e077c"
]
]
},
{
- "id": "1a1378b0.178537",
+ "id": "1fffde57.79b802",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1037.6591415405273,
- "y": 616.2414093017578,
- "z": "c21457e5.a6cbc8",
+ "x": 998.8571853637695,
+ "y": 633.2375288009644,
+ "z": "51909408.51161c",
"wires": [
[
- "928cde96.7898d"
+ "aa15cb9e.3cdaa8"
]
]
},
{
- "id": "f628964.b562168",
+ "id": "8f8a4ade.fb21d8",
"type": "set",
"name": "set deviceId to service data",
"xml": "<set>\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length].name' value=\"deviceId\" />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length].value' value='`$deviceResp.success[0].id`' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length' value='`$service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length + 1`' />\n",
"comments": "",
- "x": 693.6593780517578,
- "y": 774.3527889251709,
- "z": "c21457e5.a6cbc8",
+ "x": 657.7145690917969,
+ "y": 729.9202995300293,
+ "z": "51909408.51161c",
"wires": []
},
{
- "id": "7d88138b.724c0c",
- "type": "comment",
- "name": "AAI resource need to update",
- "info": "",
- "comments": "",
- "x": 1019.6592254638672,
- "y": 933.352541923523,
- "z": "c21457e5.a6cbc8",
- "wires": []
- },
- {
- "id": "981acfda.e23ab",
+ "id": "a82fd005.9ab21",
"type": "get-resource",
"name": "get-resource esr-thirdparty-sdnc",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = SDWANController AND \n\t\t depth = '1'\"\n pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n",
"comments": "",
"outputs": 1,
- "x": 711.6593246459961,
- "y": 423.35251808166504,
- "z": "c21457e5.a6cbc8",
+ "x": 670.0002136230469,
+ "y": 420.34861183166504,
+ "z": "51909408.51161c",
"wires": [
[
- "d90f92f1.56733",
- "58ca0b39.c48274",
- "871628e8.c20ff8"
+ "342b0391.a4834c",
+ "7a108269.f3476c",
+ "87289215.d0cea"
]
]
},
{
- "id": "d90f92f1.56733",
+ "id": "342b0391.a4834c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 952.6593818664551,
- "y": 348.3524923324585,
- "z": "c21457e5.a6cbc8",
+ "x": 911.0002708435059,
+ "y": 345.3485860824585,
+ "z": "51909408.51161c",
"wires": [
[
- "9c017cb1.5ef39"
+ "21df5526.b03a8a"
]
]
},
{
- "id": "9c017cb1.5ef39",
+ "id": "21df5526.b03a8a",
"type": "set",
"name": "set controller data",
"xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.user' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.password' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n",
"comments": "",
- "x": 1129.159423828125,
- "y": 339.35248136520386,
- "z": "c21457e5.a6cbc8",
+ "x": 1087.5003128051758,
+ "y": 336.34857511520386,
+ "z": "51909408.51161c",
"wires": []
},
{
- "id": "58ca0b39.c48274",
+ "id": "7a108269.f3476c",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 944.150218963623,
- "y": 396.92654037475586,
- "z": "c21457e5.a6cbc8",
+ "x": 902.4911079406738,
+ "y": 393.92263412475586,
+ "z": "51909408.51161c",
"wires": [
[
- "48a5b30d.99482c"
+ "e9fd26db.c0e278"
]
]
},
{
- "id": "48a5b30d.99482c",
+ "id": "e9fd26db.c0e278",
"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=\"`'An error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",
"comments": "",
- "x": 1117.7216300964355,
- "y": 385.21227645874023,
- "z": "c21457e5.a6cbc8",
+ "x": 1076.0625190734863,
+ "y": 382.20837020874023,
+ "z": "51909408.51161c",
"wires": []
},
{
- "id": "871628e8.c20ff8",
+ "id": "87289215.d0cea",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 936.483226776123,
- "y": 438.2598533630371,
- "z": "c21457e5.a6cbc8",
+ "x": 894.8241157531738,
+ "y": 435.2559471130371,
+ "z": "51909408.51161c",
"wires": [
[
- "59c1c9f6.0040b8"
+ "d7092d64.71989"
]
]
},
{
- "id": "59c1c9f6.0040b8",
+ "id": "d7092d64.71989",
"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=\"`'Unexpected error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",
"comments": "",
- "x": 1124.2557830810547,
- "y": 433.69904613494873,
- "z": "c21457e5.a6cbc8",
+ "x": 1082.5966720581055,
+ "y": 430.69513988494873,
+ "z": "51909408.51161c",
"wires": []
},
{
- "id": "bcf0047f.528cc8",
- "type": "save",
- "name": "save service relationship in AAI",
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n key='service-instance.service-instance-id = $service-data.service-information.service-instance-id \n AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id \n AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"device\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/devices/device/' + $vnf-topology-operation-input.vnf-information.vnf-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"device.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$vnf-topology-operation-input.vnf-information.vnf-id`\" />",
- "comments": "",
- "outputs": 1,
- "x": 682.6594467163086,
- "y": 1026.0994539260864,
- "z": "c21457e5.a6cbc8",
- "wires": [
- []
- ]
- },
- {
- "id": "d7029e79.59672",
+ "id": "2b32a3df.95a32c",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/svclogic.log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Provided alloted resource length\"/>\n<parameter name=\"field3\" value=\"'parameters length'\"/>\n<parameter name=\"field4\" value='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param_length`'/>\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 656.6591262817383,
- "y": 301.0190849304199,
- "z": "c21457e5.a6cbc8",
+ "x": 615.0000152587891,
+ "y": 298.0151786804199,
+ "z": "51909408.51161c",
"wires": [
[]
]
},
{
- "id": "120defaf.28edc",
+ "id": "9162baea.a58618",
"type": "for",
"name": "for vidx..service-data.vnfs.vnf_length[]",
"xml": "<for index='vidx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 744.6904144287109,
- "y": 187.0351848602295,
- "z": "c21457e5.a6cbc8",
+ "x": 703.0313034057617,
+ "y": 184.0312786102295,
+ "z": "51909408.51161c",
"wires": [
[
- "2fb6d9ed.49aab6"
+ "b4173a9a.c4a2c8"
]
]
},
{
- "id": "2fb6d9ed.49aab6",
+ "id": "b4173a9a.c4a2c8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 993.0400085449219,
- "y": 187.57525253295898,
- "z": "c21457e5.a6cbc8",
+ "x": 951.3808975219727,
+ "y": 184.57134628295898,
+ "z": "51909408.51161c",
"wires": [
[
- "974bf0fe.dc4fc"
+ "8ed61ccb.fe1d2"
]
]
},
{
- "id": "974bf0fe.dc4fc",
+ "id": "8ed61ccb.fe1d2",
"type": "switchNode",
"name": "switch vnfid found",
"xml": "<switch test=\"`$service-data.vnfs.vnf[$vidx].vnf-id == $vnf-topology-operation-input.vnf-information.vnf-id`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 1147.1196060180664,
- "y": 187.28533458709717,
- "z": "c21457e5.a6cbc8",
+ "x": 1105.4604949951172,
+ "y": 184.28142833709717,
+ "z": "51909408.51161c",
"wires": [
[
- "82b55f94.090c5"
+ "25dffe3f.86e402"
]
]
},
{
- "id": "e03d76d9.cc3a98",
+ "id": "94dc5d4a.a00f9",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1440.7171173095703,
- "y": 188.5856475830078,
- "z": "c21457e5.a6cbc8",
+ "x": 1399.058006286621,
+ "y": 185.5817413330078,
+ "z": "51909408.51161c",
"wires": [
[
- "dd0e8d25.544ad",
- "d5fff7a1.3b1048",
- "1fe66a57.7e4926"
+ "fa685102.6e48e",
+ "a75f325a.531e1",
+ "1c8ecc84.ad1ff3"
]
]
},
{
- "id": "82b55f94.090c5",
+ "id": "25dffe3f.86e402",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1302.0715980529785,
- "y": 188.1780138015747,
- "z": "c21457e5.a6cbc8",
+ "x": 1260.4124870300293,
+ "y": 185.1741075515747,
+ "z": "51909408.51161c",
"wires": [
[
- "e03d76d9.cc3a98"
+ "94dc5d4a.a00f9"
]
]
},
{
- "id": "d5fff7a1.3b1048",
+ "id": "a75f325a.531e1",
"type": "set",
"name": "set vnf-request-input.",
"xml": "<set>\n<parameter name='vnf-request-input.' value='`$ctx.vnf-data.vnf-data.vnf-request-input.`' />\n\n",
"comments": "",
- "x": 1682.0499725341797,
- "y": 144.58570766448975,
- "z": "c21457e5.a6cbc8",
+ "x": 1640.3908615112305,
+ "y": 141.58180141448975,
+ "z": "51909408.51161c",
"wires": []
},
{
- "id": "dd0e8d25.544ad",
+ "id": "fa685102.6e48e",
"type": "set",
"name": "set tmp.vidx and ctx.vnf-data",
"xml": "<set>\n<parameter name='tmp.vidx' value='`$vidx`' />\n<parameter name='ctx.vnf-data.' value='`$service-data.vnfs.vnf[$vidx].`' />\n",
"comments": "",
- "x": 1709.6036834716797,
- "y": 97.92807197570801,
- "z": "c21457e5.a6cbc8",
+ "x": 1667.9445724487305,
+ "y": 94.92416572570801,
+ "z": "51909408.51161c",
"wires": []
},
{
- "id": "1fe66a57.7e4926",
+ "id": "1c8ecc84.ad1ff3",
"type": "call",
"name": "call sdwan-get-device-param",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-device-param' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1686.6904220581055,
- "y": 207.03517818450928,
- "z": "c21457e5.a6cbc8",
+ "x": 1645.0313110351562,
+ "y": 204.03127193450928,
+ "z": "51909408.51161c",
"wires": [
[]
]
},
{
- "id": "46c583fa.d0b40c",
+ "id": "96cec913.036c98",
"type": "switchNode",
"name": "switch tmp.vidx ",
"xml": "<switch test=\"`$tmp.vidx`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 675.690299987793,
- "y": 248.03515625,
- "z": "c21457e5.a6cbc8",
+ "x": 634.0311889648438,
+ "y": 245.03125,
+ "z": "51909408.51161c",
"wires": [
[
- "47e07fa8.46bc3"
+ "dd74e5cf.ddfed8"
]
]
},
{
- "id": "47e07fa8.46bc3",
+ "id": "dd74e5cf.ddfed8",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 823.1189422607422,
- "y": 247.60656642913818,
- "z": "c21457e5.a6cbc8",
+ "x": 781.459831237793,
+ "y": 244.60266017913818,
+ "z": "51909408.51161c",
"wires": [
[
- "b8303d6e.293f7"
+ "f70bcb29.83b348"
]
]
},
{
- "id": "b8303d6e.293f7",
+ "id": "f70bcb29.83b348",
"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=\"vnf-topology-operation-input.vnf-request-input.vnf-id not found in service-data\" />\n",
"comments": "",
- "x": 972.5476684570312,
- "y": 248.74948406219482,
- "z": "c21457e5.a6cbc8",
+ "x": 930.888557434082,
+ "y": 245.74557781219482,
+ "z": "51909408.51161c",
"wires": []
},
{
- "id": "139f4e2.66d6eb2",
+ "id": "f1cfd3b2.a98b6",
"type": "execute",
"name": "execute Properties",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n",
"comments": "",
"outputs": 1,
- "x": 670.690299987793,
- "y": 344.03515625,
- "z": "c21457e5.a6cbc8",
+ "x": 629.0311889648438,
+ "y": 341.03125,
+ "z": "51909408.51161c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bd5ee22a.cd67b",
+ "type": "call",
+ "name": "call sdwan-get-tenant-auth",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-tenant-auth' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 654.2938385009766,
+ "y": 604.2938222885132,
+ "z": "51909408.51161c",
"wires": [
[]
]