diff options
Diffstat (limited to 'platform-logic/generic-resource-api')
4 files changed, 4238 insertions, 2764 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-delete-VPNBs.json b/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-delete-VPNBs.json index de9383d3..ecbe0925 100644 --- a/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-delete-VPNBs.json +++ b/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-delete-VPNBs.json @@ -1,936 +1,936 @@ [
{
- "id": "a88af18.67fae9",
+ "id": "3822698e.fe6a9e",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 2806.316619873047,
- "y": 668.88330078125,
- "z": "347519d8.005516",
+ "x": 2722.4332885742188,
+ "y": 1488,
+ "z": "ec6164d7.ff9708",
"wires": [
[
- "d17bb726.fa65e8"
+ "61592847.4c1088"
]
]
},
{
- "id": "d17bb726.fa65e8",
+ "id": "61592847.4c1088",
"type": "outcome",
"name": "esr-thirdparty-sdnc",
"xml": "<outcome value='esr-thirdparty-sdnc'>\n",
"comments": "",
"outputs": 1,
- "x": 2943.316619873047,
- "y": 756.88330078125,
- "z": "347519d8.005516",
+ "x": 2859.4332885742188,
+ "y": 1576,
+ "z": "ec6164d7.ff9708",
"wires": [
[
- "141e9731.53d429"
+ "a18c2b6d.4397b"
]
]
},
{
- "id": "5a075e5f.de06b8",
+ "id": "62ff1995.5919b8",
"type": "execute",
"name": "get 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 = $tmp.domain.esr-thirdparty-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >",
"comments": "",
"outputs": 1,
- "x": 3328.316619873047,
- "y": 769.88330078125,
- "z": "347519d8.005516",
+ "x": 3244.4332885742188,
+ "y": 1589,
+ "z": "ec6164d7.ff9708",
"wires": [
[
- "bfab05fb.6c1fd",
- "66b97fa3.09fba8",
- "a61f3fb8.28c2b"
+ "93829917.caf878",
+ "4d145f4b.31c318",
+ "47a377cc.3a6e08"
]
]
},
{
- "id": "141e9731.53d429",
+ "id": "a18c2b6d.4397b",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3122.316619873047,
- "y": 756.88330078125,
- "z": "347519d8.005516",
+ "x": 3038.4332885742188,
+ "y": 1576,
+ "z": "ec6164d7.ff9708",
"wires": [
[
- "6ba56bd3.970cc4",
- "5a075e5f.de06b8",
- "f743ac29.02b56"
+ "f904d45e.838058",
+ "62ff1995.5919b8",
+ "1ddc0d65.0a518b"
]
]
},
{
- "id": "6ba56bd3.970cc4",
+ "id": "f904d45e.838058",
"type": "set",
"name": "set esr-thirdparty-sdnc domain id",
"xml": "<set>\n<parameter name='tmp.domain.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",
"comments": "",
- "x": 3358.316619873047,
- "y": 717.88330078125,
- "z": "347519d8.005516",
+ "x": 3274.4332885742188,
+ "y": 1537,
+ "z": "ec6164d7.ff9708",
"wires": []
},
{
- "id": "bfab05fb.6c1fd",
+ "id": "93829917.caf878",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3538.316619873047,
- "y": 760.88330078125,
- "z": "347519d8.005516",
+ "x": 3454.4332885742188,
+ "y": 1580,
+ "z": "ec6164d7.ff9708",
"wires": [
[
- "9395b4f9.f11e08"
+ "77ca3f11.791e38"
]
]
},
{
- "id": "66b97fa3.09fba8",
+ "id": "4d145f4b.31c318",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3530.316619873047,
- "y": 815.88330078125,
- "z": "347519d8.005516",
+ "x": 3446.4332885742188,
+ "y": 1635,
+ "z": "ec6164d7.ff9708",
"wires": [
[
- "6a113c41.2b7f84"
+ "40a5f22a.13a82c"
]
]
},
{
- "id": "a61f3fb8.28c2b",
+ "id": "47a377cc.3a6e08",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 3535.316619873047,
- "y": 872.88330078125,
- "z": "347519d8.005516",
+ "x": 3451.4332885742188,
+ "y": 1692,
+ "z": "ec6164d7.ff9708",
"wires": [
[
- "ae24d388.debf2"
+ "a269a8ad.5fc788"
]
]
},
{
- "id": "ae24d388.debf2",
+ "id": "a269a8ad.5fc788",
"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 pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",
"comments": "",
- "x": 3687.316619873047,
- "y": 873.88330078125,
- "z": "347519d8.005516",
+ "x": 3603.4332885742188,
+ "y": 1693,
+ "z": "ec6164d7.ff9708",
"wires": []
},
{
- "id": "6a113c41.2b7f84",
+ "id": "40a5f22a.13a82c",
"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 pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",
"comments": "",
- "x": 3698.316619873047,
- "y": 818.88330078125,
- "z": "347519d8.005516",
+ "x": 3614.4332885742188,
+ "y": 1638,
+ "z": "ec6164d7.ff9708",
"wires": []
},
{
- "id": "9395b4f9.f11e08",
+ "id": "77ca3f11.791e38",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3682.698944091797,
- "y": 758.5389709472656,
- "z": "347519d8.005516",
+ "x": 3598.8156127929688,
+ "y": 1577.6556701660156,
+ "z": "ec6164d7.ff9708",
"wires": [
[
- "e30efe2.36b498"
+ "1f7af3e2.81853c"
]
]
},
{
- "id": "e30efe2.36b498",
+ "id": "1f7af3e2.81853c",
"type": "set",
"name": "set controller domain data",
"xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\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=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.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",
"comments": "",
- "x": 3897.316619873047,
- "y": 754.88330078125,
- "z": "347519d8.005516",
+ "x": 3813.4332885742188,
+ "y": 1574,
+ "z": "ec6164d7.ff9708",
"wires": []
},
{
- "id": "f743ac29.02b56",
+ "id": "1ddc0d65.0a518b",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 3278.316619873047,
- "y": 833.88330078125,
- "z": "347519d8.005516",
+ "x": 3194.4332885742188,
+ "y": 1653,
+ "z": "ec6164d7.ff9708",
"wires": []
},
{
- "id": "98d7bf6.4dfe7c",
+ "id": "e639cfa.29b4c3",
"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 delete OTN tunnel rest api\" />\n",
"comments": "",
- "x": 2698.816619873047,
- "y": 955.88330078125,
- "z": "347519d8.005516",
+ "x": 2614.9332885742188,
+ "y": 1775,
+ "z": "ec6164d7.ff9708",
"wires": []
},
{
- "id": "61820fcc.882e",
+ "id": "1f0101e1.8e6866",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2694.316619873047,
- "y": 1020.88330078125,
- "z": "347519d8.005516",
+ "x": 2610.4332885742188,
+ "y": 1840,
+ "z": "ec6164d7.ff9708",
"wires": [
[]
]
},
{
- "id": "5b3a4445.ce6224",
+ "id": "944f61d3.f96e18",
"type": "for",
"name": "for each relationship",
"xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 2604.3164978027344,
- "y": 741.88330078125,
- "z": "347519d8.005516",
+ "x": 2520.4331665039062,
+ "y": 1561,
+ "z": "ec6164d7.ff9708",
"wires": [
[
- "a88af18.67fae9"
+ "3822698e.fe6a9e"
]
]
},
{
- "id": "132ce225.b79cae",
+ "id": "63959115.b850c",
"type": "set",
"name": "set pnf-name",
"xml": "<set>\n<parameter name='tmp.domain.pnf-name' value=\"`'networkId-providerId-' +\n $tmp.aai.vpn-binding.access-provider-id + '-clientId-' +\n $tmp.aai.vpn-binding.access-client-id + '-topologyId-' +\n $tmp.aai.vpn-binding.access-topology-id + '-nodeId-' +\n $tmp.aai.vpn-binding.src-access-node-id`\" />\n",
"comments": "",
- "x": 2052.316375732422,
- "y": 721.88330078125,
- "z": "347519d8.005516",
+ "x": 1968.4330444335938,
+ "y": 1541,
+ "z": "ec6164d7.ff9708",
"wires": []
},
{
- "id": "5cdb5a7a.54733c",
+ "id": "a62a741e.9cd9d",
"type": "get-resource",
"name": "get-resource src pnf",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.domain.pnf-name\"\n pfx='tmp.aai.source-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",
"comments": "",
"outputs": 1,
- "x": 2080.3164978027344,
- "y": 791.88330078125,
- "z": "347519d8.005516",
+ "x": 1996.4331665039062,
+ "y": 1611,
+ "z": "ec6164d7.ff9708",
"wires": [
[
- "6c0f168f.8aad68",
- "cd12f0b4.568798",
- "80b1b093.b4332"
+ "ca780146.c1231",
+ "2112ad82.c29caa",
+ "937e0d43.e6cd18"
]
]
},
{
- "id": "6c0f168f.8aad68",
+ "id": "ca780146.c1231",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2275.816619873047,
- "y": 743.88330078125,
- "z": "347519d8.005516",
+ "x": 2191.9332885742188,
+ "y": 1563,
+ "z": "ec6164d7.ff9708",
"wires": [
[
- "99130a65.69efe8"
+ "7599f2ce.c74a1c"
]
]
},
{
- "id": "cd12f0b4.568798",
+ "id": "2112ad82.c29caa",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 2267.816619873047,
- "y": 798.88330078125,
- "z": "347519d8.005516",
+ "x": 2183.9332885742188,
+ "y": 1618,
+ "z": "ec6164d7.ff9708",
"wires": [
[
- "80ce6dda.3e5e5"
+ "5027d99d.8613"
]
]
},
{
- "id": "99130a65.69efe8",
+ "id": "7599f2ce.c74a1c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2420.198944091797,
- "y": 743.5389709472656,
- "z": "347519d8.005516",
+ "x": 2336.3156127929688,
+ "y": 1562.6556701660156,
+ "z": "ec6164d7.ff9708",
"wires": [
[
- "5b3a4445.ce6224"
+ "944f61d3.f96e18"
]
]
},
{
- "id": "80b1b093.b4332",
+ "id": "937e0d43.e6cd18",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 2272.816619873047,
- "y": 855.88330078125,
- "z": "347519d8.005516",
+ "x": 2188.9332885742188,
+ "y": 1675,
+ "z": "ec6164d7.ff9708",
"wires": [
[
- "b4d035fe.9cf0b"
+ "76756fa2.c3dc2"
]
]
},
{
- "id": "b4d035fe.9cf0b",
+ "id": "76756fa2.c3dc2",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-co |