aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/optical-service/src/main/json/optical-service_optical-service-delete.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/optical-service/src/main/json/optical-service_optical-service-delete.json')
-rw-r--r--platform-logic/optical-service/src/main/json/optical-service_optical-service-delete.json1069
1 files changed, 564 insertions, 505 deletions
diff --git a/platform-logic/optical-service/src/main/json/optical-service_optical-service-delete.json b/platform-logic/optical-service/src/main/json/optical-service_optical-service-delete.json
index fbb368bf..8c2cfb86 100644
--- a/platform-logic/optical-service/src/main/json/optical-service_optical-service-delete.json
+++ b/platform-logic/optical-service/src/main/json/optical-service_optical-service-delete.json
@@ -1,20 +1,20 @@
[
{
- "id": "b65cdeae.8f7b08",
+ "id": "c17df4ee.ad8458",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 129,
- "y": 129.88333129882812,
- "z": "e2f7091c.1492b8",
+ "x": 112.5,
+ "y": 195,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "644f31e7.7234b8"
+ "2f8ae227.f9075e"
]
]
},
{
- "id": "644f31e7.7234b8",
+ "id": "2f8ae227.f9075e",
"type": "service-logic",
"name": "optical-service ${project.version}",
"module": "optical-service",
@@ -22,1454 +22,1513 @@
"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='optical-service' version='${project.version}'>",
"outputs": 1,
- "x": 237.5,
- "y": 207.88333129882812,
- "z": "e2f7091c.1492b8",
+ "x": 221,
+ "y": 273,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "168fe70c.0f8c41"
+ "34dadbb5.269934"
]
]
},
{
- "id": "168fe70c.0f8c41",
+ "id": "34dadbb5.269934",
"type": "method",
"name": "method",
"xml": "<method rpc='optical-service-delete' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 106,
- "y": 298.8833312988281,
- "z": "e2f7091c.1492b8",
+ "x": 89.5,
+ "y": 364,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "cfd0169c.a3cee"
+ "e6b811fb.e9938"
]
]
},
{
- "id": "cfd0169c.a3cee",
+ "id": "e6b811fb.e9938",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 292,
- "y": 294.8833312988281,
- "z": "e2f7091c.1492b8",
+ "x": 275.5,
+ "y": 360,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "30cb33e3.b12a94",
- "2e82bc92.4b93a4",
- "5e98d3f6.94968c",
- "cf17dc19.012ac",
- "d4ebf687.1cccd8",
- "cbe18d30.3b4198",
- "840d7865.dda6b"
+ "60962f66.88821",
+ "616349b4.624558",
+ "4ec77896.6688b8",
+ "f1e1cc05.18be2",
+ "e639fab2.57e918",
+ "2b88b50f.6d1f2a"
]
]
},
{
- "id": "30cb33e3.b12a94",
+ "id": "60962f66.88821",
"type": "execute",
"name": "execute",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n<parameter name='fileName' value='/opt/onap/sdnc/data/properties/optical-service-dg.properties' />\n<parameter name='contextPrefix' value='prop' />\n",
"comments": "",
"outputs": 1,
- "x": 574.9999694824219,
- "y": 20,
- "z": "e2f7091c.1492b8",
+ "x": 545.9999771118164,
+ "y": 32.61667013168335,
+ "z": "fd6341d7.d80b3",
"wires": [
[]
]
},
{
- "id": "2e82bc92.4b93a4",
+ "id": "616349b4.624558",
"type": "get-resource",
"name": "get resources from DB -controller_id",
"xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\nkey='SELECT *\nfrom REQUEST_DETAILS\nWHERE request_id = $optical-service-delete-input.request-id'\npfx='detail-db'>",
"comments": "",
"outputs": 1,
- "x": 640.9999389648438,
- "y": 71.8833236694336,
- "z": "e2f7091c.1492b8",
+ "x": 659.4999542236328,
+ "y": 126.9999942779541,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "78b1b9eb.f0f1a8"
+ "b9be5065.25db9"
]
]
},
{
- "id": "78b1b9eb.f0f1a8",
+ "id": "b9be5065.25db9",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 881,
- "y": 68.8833236694336,
- "z": "e2f7091c.1492b8",
+ "x": 887.0000114440918,
+ "y": 118.9999942779541,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "b1511a3a.314df"
+ "1b12f198.60face"
]
]
},
{
- "id": "b1511a3a.314df",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='domain-req' value='`$detail-db.domain-requests`' />\n\n\n\n\n\n\n\n\n\n\n",
- "comments": "",
- "x": 1046,
- "y": 67.8833236694336,
- "z": "e2f7091c.1492b8",
- "wires": []
- },
- {
- "id": "5e98d3f6.94968c",
+ "id": "4ec77896.6688b8",
"type": "set",
"name": "set domain-services",
"xml": "<set>\n<parameter name='notification-url' value=\"http://167.254.204.152:31817/asyncNotification\" />\n<parameter name='domain-service1' value='`$param-prefix1[0]`' />\n<parameter name='domain-service2' value='`$param-prefix1[1]`' />",
"comments": "",
- "x": 589.9999389648438,
- "y": 165.88333129882812,
- "z": "e2f7091c.1492b8",
+ "x": 668.4999465942383,
+ "y": 236.00000381469727,
+ "z": "fd6341d7.d80b3",
"wires": []
},
{
- "id": "cf17dc19.012ac",
+ "id": "f1e1cc05.18be2",
"type": "execute",
"name": "split domain-requests for access services",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$domain-req`'/>\n<parameter name=\"regex\" value=\",\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix1\"/>\n",
"comments": "",
"outputs": 1,
- "x": 651.1166381835938,
- "y": 115.99999237060547,
- "z": "e2f7091c.1492b8",
+ "x": 704.6166534423828,
+ "y": 188.61665606498718,
+ "z": "fd6341d7.d80b3",
"wires": [
[]
]
},
{
- "id": "d4ebf687.1cccd8",
+ "id": "e639fab2.57e918",
"type": "for",
"name": "for",
"xml": "<for index='ppx' start='0' end='`$param-prefix1_length`' >\n \n \n \n\n\n",
"comments": "",
"outputs": 1,
- "x": 544,
- "y": 289,
- "z": "e2f7091c.1492b8",
+ "x": 527.5,
+ "y": 354.1166687011719,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "91896047.66eb7"
+ "623884ec.5f3a8c"
]
]
},
{
- "id": "91896047.66eb7",
+ "id": "623884ec.5f3a8c",
"type": "switchNode",
"name": "switch",
"xml": "<switch test='`$param-prefix1_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 698,
- "y": 287,
- "z": "e2f7091c.1492b8",
+ "x": 681.5,
+ "y": 352.1166687011719,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "2c37340b.4002cc",
- "7784419a.212fa"
+ "d5d414a3.d47da8",
+ "b4f97507.a007b8"
]
]
},
{
- "id": "2c37340b.4002cc",
+ "id": "d5d414a3.d47da8",
"type": "outcome",
"name": "1",
"xml": "<outcome value='1'>\n",
"comments": "",
"outputs": 1,
- "x": 881,
- "y": 281,
- "z": "e2f7091c.1492b8",
+ "x": 864.5,
+ "y": 346.1166687011719,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "be5c1afb.f2037"
+ "e287faaa.f3da48"
]
]
},
{
- "id": "be5c1afb.f2037",
+ "id": "e287faaa.f3da48",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1050,
- "y": 281,
- "z": "e2f7091c.1492b8",
+ "x": 1033.5,
+ "y": 346.1166687011719,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "7f6fcc65.18cb7c",
- "3a1a70c6.408b8",
- "795303c1.2dac44",
- "3ab986c7.09e812"
+ "ee746443.f75118",
+ "7b7f945a.86e22c",
+ "97c1a1ae.42a57",
+ "f357d481.8e4f58"
]
]
},
{
- "id": "7784419a.212fa",
+ "id": "b4f97507.a007b8",
"type": "outcome",
"name": "2",
"xml": "<outcome value='2'>\n",
"comments": "",
"outputs": 1,
- "x": 631,
- "y": 718,
- "z": "e2f7091c.1492b8",
+ "x": 614.5,
+ "y": 783.1166687011719,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "e41aac03.bbaa5"
+ "f4eb142b.f563f8"
]
]
},
{
- "id": "3a1a70c6.408b8",
+ "id": "7b7f945a.86e22c",
"type": "execute",
"name": "split node-id a-end retrieved from DB",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$controller-id1`'/>\n<parameter name=\"regex\" value=\"_\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1322,
- "y": 286,
- "z": "e2f7091c.1492b8",
+ "x": 1305.5,
+ "y": 351.1166687011719,
+ "z": "fd6341d7.d80b3",
"wires": [
[]
]
},
{
- "id": "7f6fcc65.18cb7c",
+ "id": "ee746443.f75118",
"type": "get-resource",
"name": "get resources from DB -controller_id",
"xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\nkey='SELECT controller_id\nfrom REQUEST_DETAILS\nWHERE request_id = $domain-service1'\npfx='detail-db1'>",
"comments": "",
"outputs": 1,
- "x": 1326.11669921875,
- "y": 246.11666870117188,
- "z": "e2f7091c.1492b8",
+ "x": 1309.61669921875,
+ "y": 311.23333740234375,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "e2726a7c.0cf32"
+ "657a4de1.7e7434"
]
]
},
{
- "id": "e2726a7c.0cf32",
+ "id": "657a4de1.7e7434",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1571.11669921875,
- "y": 245.11666870117188,
- "z": "e2f7091c.1492b8",
+ "x": 1554.61669921875,
+ "y": 310.23333740234375,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "70e7b1a6.2a20f"
+ "2456ff5f.8ccfc"
]
]
},
{
- "id": "70e7b1a6.2a20f",
+ "id": "2456ff5f.8ccfc",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='controller-id1' value='`$detail-db1.controller-id`' />\n\n\n\n\n\n\n\n\n\n\n",
"comments": "",
- "x": 1719.11669921875,
- "y": 247.11666870117188,
- "z": "e2f7091c.1492b8",
+ "x": 1702.61669921875,
+ "y": 312.23333740234375,
+ "z": "fd6341d7.d80b3",
"wires": []
},
{
- "id": "795303c1.2dac44",
+ "id": "97c1a1ae.42a57",
"type": "set",
"name": "set domain-services",
- "xml": "<set>\n<parameter name='domain-type' value='`$param-prefix[0]`' />\n<parameter name='controller-ip' value='`$param-prefix[1]`' />\n<parameter name='optical-service-delete-input.request-id' value=\"`$domain-service1`\" />\n<parameter name='optical-service-delete-input.payload.service-name' value=\"`$optical-service-delete-input.payload.param[0].value + '_MDONS-OTN'`\"/>",
+ "xml": "<set>\n<parameter name='domain-type' value='`$param-prefix[0]`' />\n<parameter name='controller-ip' value='`$param-prefix[1]`' />\n<parameter name='optical-service-delete-input.request-id' value=\"`$domain-service1`\" />\n<parameter name='optical-service-delete-input.payload.service-name' value=\"`$optical-service-delete-input.payload.param[0].value + '_MDONS-OTN_'`\"/>",
"comments": "",
- "x": 1274.11669921875,
- "y": 358.1166687011719,
- "z": "e2f7091c.1492b8",
+ "x": 1257.61669921875,
+ "y": 423.23333740234375,
+ "z": "fd6341d7.d80b3",
"wires": []
},
{
- "id": "3ab986c7.09e812",
+ "id": "f357d481.8e4f58",
"type": "switchNode",
"name": "switch domain-type",
"xml": "<switch test='`$domain-type`'>\n",
"comments": "",
"outputs": 1,
- "x": 1263,
- "y": 493,
- "z": "e2f7091c.1492b8",
+ "x": 1246.5,
+ "y": 558.1166687011719,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "e04cd56f.45dfc8",
- "2fc7713.599bf0e"
+ "fccd0b30.b9cbc8",
+ "bef3609.dfed5a"
]
]
},
{
- "id": "e04cd56f.45dfc8",
+ "id": "fccd0b30.b9cbc8",
"type": "outcome",
"name": "MSA",
"xml": "<outcome value='MSA'>\n",
"comments": "",
"outputs": 1,
- "x": 1466,
- "y": 404,
- "z": "e2f7091c.1492b8",
+ "x": 1449.5,
+ "y": 469.1166687011719,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "5962de98.7a93e8"
+ "a299e8ab.d4c218"
]
]
},
{
- "id": "2fc7713.599bf0e",
+ "id": "bef3609.dfed5a",
"type": "outcome",
"name": "TAPI",
"xml": "<outcome value='TAPI'>\n",
"comments": "",
"outputs": 1,
- "x": 1469,
- "y": 584,
- "z": "e2f7091c.1492b8",
+ "x": 1452.5,
+ "y": 649.1166687011719,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "c51e88be.9e544"
+ "6037d29.154702c"
]
]
},
{
- "id": "5962de98.7a93e8",
+ "id": "a299e8ab.d4c218",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1606,
- "y": 401,
- "z": "e2f7091c.1492b8",
+ "x": 1589.5,
+ "y": 466.1166687011719,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "314acdb7.afb7da"
+ "11bafb72.872785"
]
]
},
{
- "id": "314acdb7.afb7da",
+ "id": "11bafb72.872785",
"type": "call",
"name": "call MSA DELETE DG",
"xml": "<call module='optical-service' rpc='service-delete-msa' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1794,
- "y": 402,
- "z": "e2f7091c.1492b8",
+ "x": 1777.5,
+ "y": 467.1166687011719,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "af9224a8.a9533",
- "3e7bdf94.045928"
+ "67a6d9a9.a380e8",
+ "b6015380.84934"
]
]
},
{
- "id": "af9224a8.a9533",
+ "id": "67a6d9a9.a380e8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1979,
- "y": 358,
- "z": "e2f7091c.1492b8",
+ "x": 1962.5,
+ "y": 423.1166687011719,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "bbe67c9b.ae8e2"
+ "bea424de.48e7e8"
]
]
},
{
- "id": "3e7bdf94.045928",
+ "id": "b6015380.84934",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1981,
- "y": 450,
- "z": "e2f7091c.1492b8",
+ "x": 1964.5,
+ "y": 515.1166687011719,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "449903c8.0a6724"
+ "68e25a.54defda8"
]
]
},
{
- "id": "bbe67c9b.ae8e2",
+ "id": "bea424de.48e7e8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2150,
- "y": 349,
- "z": "e2f7091c.1492b8",
+ "x": 2133.5,
+ "y": 414.1166687011719,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "3a0958a9.5973c8"
+ "92667335.f399b"
]
]
},
{
- "id": "3a0958a9.5973c8",
+ "id": "92667335.f399b",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='service1-status' value='`$final-response-code`' />\n",
"comments": "",
- "x": 2293,
- "y": 324,
- "z": "e2f7091c.1492b8",
+ "x": 2276.5,
+ "y": 389.1166687011719,
+ "z": "fd6341d7.d80b3",
"wires": []
},
{
- "id": "449903c8.0a6724",
+ "id": "68e25a.54defda8",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='Failed to call MSA DG' />\n<parameter name='ack-final-indicator' value=\"Y\" />",
"comments": "",
- "x": 2150,
- "y": 480,
- "z": "e2f7091c.1492b8",
+ "x": 2133.5,
+ "y": 545.1166687011719,
+ "z": "fd6341d7.d80b3",
"wires": []
},
{
- "id": "c51e88be.9e544",
+ "id": "6037d29.154702c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1625,
- "y": 586,
- "z": "e2f7091c.1492b8",
+ "x": 1608.5,
+ "y": 651.1166687011719,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "a271ced2.6952d8"
+ "c1da415.e052fc"
]
]
},
{
- "id": "a271ced2.6952d8",
+ "id": "c1da415.e052fc",
"type": "call",
"name": "call TAPI DELETE DG",
"xml": "<call module='optical-service' rpc='service-delete-tapi' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1813,
- "y": 587,
- "z": "e2f7091c.1492b8",
+ "x": 1796.5,
+ "y": 652.1166687011719,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "3ea9b0c9.5ce928",
- "3153866d.fe9922"
+ "c9ff3987.f9cc28",
+ "32a118e.8eb39e8"
]
]
},
{
- "id": "3ea9b0c9.5ce928",
+ "id": "c9ff3987.f9cc28",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1998,
- "y": 543,
- "z": "e2f7091c.1492b8",
+ "x": 1981.5,
+ "y": 608.1166687011719,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "4e515097.338e48"
+ "d0a6dc35.167bc"
]
]
},
{
- "id": "3153866d.fe9922",
+ "id": "32a118e.8eb39e8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2000,
- "y": 635,
- "z": "e2f7091c.1492b8",
+ "x": 1983.5,
+ "y": 700.1166687011719,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "e7c2b606.d88798"
+ "f15af963.5b5418"
]
]
},
{
- "id": "4e515097.338e48",
+ "id": "d0a6dc35.167bc",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2169,
- "y": 534,
- "z": "e2f7091c.1492b8",
+ "x": 2152.5,
+ "y": 599.1166687011719,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "128c0365.4d99ed",
- "99a0a090.74b4e8"
+ "905a5288.1d934",
+ "757c5587.8c047c"
]
]
},
{
- "id": "128c0365.4d99ed",
+ "id": "905a5288.1d934",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='service1-status' value='`$final-response-code`' />\n",
"comments": "",
- "x": 2312,
- "y": 509,
- "z": "e2f7091c.1492b8",
+ "x": 2295.5,
+ "y": 574.1166687011719,
+ "z": "fd6341d7.d80b3",
"wires": []
},
{
- "id": "e7c2b606.d88798",
+ "id": "f15af963.5b5418",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='Failed to call MSA DG' />\n<parameter name='ack-final-indicator' value=\"Y\" />",
"comments": "",
- "x": 2169,
- "y": 665,
- "z": "e2f7091c.1492b8",
+ "x": 2152.5,
+ "y": 730.1166687011719,
+ "z": "fd6341d7.d80b3",
"wires": []
},
{
- "id": "71b9114.072a4f",
+ "id": "e770f30c.f95fb",
"type": "call",
"name": "call TAPI DELETE DG",
"xml": "<call module='optical-service' rpc='service-delete-tapi' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1315,
- "y": 891,
- "z": "e2f7091c.1492b8",
+ "x": 1298.5,
+ "y": 956.1166687011719,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "1978613e.4073f7",
- "2736e495.752c04"
+ "279a4131.3c50fe",
+ "12daba39.e98ea6"
]
]
},
{
- "id": "63600e7b.0d9eb8",
+ "id": "66eb021.82f40fc",
"type": "set",
"name": "set",
- "xml": "<set>\n<parameter name='optical-service-delete-input.request-id' value=\"`$domain-service1`\" />\n<parameter name='optical-service-delete-input.payload.service-name' value=\"`$optical-service-delete-input.payload.param[0].value + '_MDONS-OTN-TAPI-1'`\"/>\n<parameter name='domain-type' value='`$domain1[0]`' />\n<parameter name='controller-ip' value='`$domain1[1]`' />\n",
+ "xml": "<set>\n<parameter name='optical-service-delete-input.request-id' value=\"`$domain-service1`\" />\n<parameter name='optical-service-delete-input.payload.service-name' value=\"`$optical-service-delete-input.payload.param[0].value + '_MDONS-OTN_'`\"/>\n<parameter name='domain-type' value='`$domain1[0]`' />\n<parameter name='controller-ip' value='`$domain1[1]`' />\n",
"comments": "",
- "x": 1296.11669921875,
- "y": 815.1167602539062,
- "z": "e2f7091c.1492b8",
+ "x": 1279.61669921875,
+ "y": 880.2334289550781,
+ "z": "fd6341d7.d80b3",
"wires": []
},
{
- "id": "e41aac03.bbaa5",
+ "id": "f4eb142b.f563f8",
"type": "switchNode",
"name": "switch",
"xml": "<switch test='`$ppx`'>\n",
"comments": "",
"outputs": 1,
- "x": 771.1167602539062,
- "y": 723.11669921875,
- "z": "e2f7091c.1492b8",
+ "x": 754.6167602539062,
+ "y": 788.2333679199219,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "bc61c8e0.999178",
- "d5fffe4f.796c18"
+ "e9f6b436.fcdbc8",
+ "5bc45c8e.581fe4"
]
]
},
{
- "id": "bc61c8e0.999178",
+ "id": "e9f6b436.fcdbc8",
"type": "outcome",
"name": "0",
"xml": "<outcome value='0'>\n",
"comments": "",
"outputs": 1,
- "x": 951.1167602539062,
- "y": 723.11669921875,
- "z": "e2f7091c.1492b8",
+ "x": 934.6167602539062,
+ "y": 788.2333679199219,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "b7c6609b.2477c8"
+ "969523a9.6bb09"
]
]
},
{
- "id": "d5fffe4f.796c18",
+ "id": "5bc45c8e.581fe4",
"type": "outcome",
"name": "1",
"xml": "<outcome value='1'>\n",
"comments": "",
"outputs": 1,
- "x": 899.1167602539062,
- "y": 1097.11669921875,
- "z": "e2f7091c.1492b8",
+ "x": 882.6167602539062,
+ "y": 1162.2333679199219,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "a2b3475f.c55ff"
+ "293ec8e4.019748"
]
]
},
{
- "id": "ab6f8311.54637",
+ "id": "8c2a8c7c.a451",
"type": "set",
"name": "set",
- "xml": "<set>\n<parameter name='optical-service-delete-input.request-id' value=\"`$domain-service2`\" />\n<parameter name='optical-service-delete-input.payload.service-name' value=\"`$optical-service-delete-input.payload.param[0].value + '_MDONS-OTN-TAPI-2'`\"/>\n<parameter name='domain-type' value='`$domain2[0]`' />\n<parameter name='controller-ip' value='`$domain2[1]`' />\n\n\n",
+ "xml": "<set>\n<parameter name='optical-service-delete-input.request-id' value=\"`$domain-service2`\" />\n<parameter name='optical-service-delete-input.payload.service-name' value=\"`$optical-service-delete-input.payload.param[0].value + '_MDONS-OTN_'`\"/>\n<parameter name='domain-type' value='`$domain2[0]`' />\n<parameter name='controller-ip' value='`$domain2[1]`' />\n\n\n",
"comments": "",
- "x": 1294.11669921875,
- "y": 1170.11669921875,
- "z": "e2f7091c.1492b8",
+ "x": 1277.61669921875,
+ "y": 1235.2333679199219,
+ "z": "fd6341d7.d80b3",
"wires": []
},
{
- "id": "fc3b2634.80fb1",
+ "id": "ce3eac33.d1ef7",
"type": "call",
"name": "call TAPI DELETE DG",
"xml": "<call module='optical-service' rpc='service-delete-tapi' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1301.11669921875,
- "y": 1243.11669921875,
- "z": "e2f7091c.1492b8",
+ "x": 1284.61669921875,
+ "y": 1308.2333679199219,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "d0a61851.774d7",
- "67e5500f.2b88c8"
+ "c8833e1f.21b83",
+ "d3120001.a70e1"
]
]
},
{
- "id": "b7c6609b.2477c8",
+ "id": "969523a9.6bb09",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1091.11669921875,
- "y": 724.11669921875,
- "z": "e2f7091c.1492b8",
+ "x": 1074.61669921875,
+ "y": 789.2333679199219,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "63600e7b.0d9eb8",
- "71b9114.072a4f",
- "fb442d76.8c0b1",
- "e8836a64.f81ae"
+ "66eb021.82f40fc",
+ "e770f30c.f95fb",
+ "54b2f238.cd48bc",
+ "71435f69.1d588"
]
]
},
{
- "id": "a2b3475f.c55ff",
+ "id": "293ec8e4.019748",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1025.1167602539062,
- "y": 1106.11669921875,
- "z": "e2f7091c.1492b8",
+ "x": 1008.6167602539062,
+ "y": 1171.2333679199219,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "ab6f8311.54637",
- "fc3b2634.80fb1",
- "4d169812.58b88",
- "8f4e881d.558318"
+ "8c2a8c7c.a451",
+ "ce3eac33.d1ef7",
+ "a41e1354.f17a4",
+ "402c6221.29fbfc"
]
]
},
{
- "id": "1978613e.4073f7",
+ "id": "279a4131.3c50fe",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1576,
- "y": 844,
- "z": "e2f7091c.1492b8",
+ "x": 1559.5,
+ "y": 909.1166687011719,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "b4b3ae50.b80768"
+ "41399ce9.b1c0e4"
]
]
},
{
- "id": "2736e495.752c04",
+ "id": "12daba39.e98ea6",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1560,
- "y": 973,
- "z": "e2f7091c.1492b8",
+ "x": 1543.5,
+ "y": 1038.1166687011719,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "ecbd8135.fa342"
+ "1b2c47f4.41a498"
]
]
},
{
- "id": "b4b3ae50.b80768",
+ "id": "41399ce9.b1c0e4",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1732,
- "y": 851,
- "z": "e2f7091c.1492b8",
+ "x": 1715.5,
+ "y": 916.1166687011719,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "e387ae63.768b78",
- "6a4932f.f7508cc"
+ "c73df929.f6ae38",
+ "91dcae30.1f35"
]
]
},
{
- "id": "e387ae63.768b78",
+ "id": "c73df929.f6ae38",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='service1-status' value='`$final-response-code`' />\n",
"comments": "",
- "x": 1898.9998779296875,
- "y": 764,
- "z": "e2f7091c.1492b8",
+ "x": 1882.4998779296875,
+ "y": 829.1166687011719,
+ "z": "fd6341d7.d80b3",
"wires": []
},
{
- "id": "6a4932f.f7508cc",
+ "id": "91dcae30.1f35",
"type": "switchNode",
"name": "switch",
"xml": "<switch test='`$service1-status == 200`'>\n",
"comments": "",
"outputs": 1,
- "x": 1887.9998779296875,
- "y": 881,
- "z": "e2f7091c.1492b8",
+ "x": 1871.4998779296875,
+ "y": 946.1166687011719,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "f2ab530d.5d599",
- "7ea5454b.c5d99c"
+ "a76b03e3.6d946",
+ "35234e07.f4ce22"
]
]
},
{
- "id": "f2ab530d.5d599",
+ "id": "a76b03e3.6d946",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2029.9998779296875,
- "y": 811,
- "z": "e2f7091c.1492b8",
+ "x": 2013.4998779296875,
+ "y": 876.1166687011719,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "896e220.db3996"
+ "3e585958.e262c6"
]
]
},
{
- "id": "7ea5454b.c5d99c",
+ "id": "35234e07.f4ce22",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2031,
- "y": 929,
- "z": "e2f7091c.1492b8",
+ "x": 2014.5,
+ "y": 994.1166687011719,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "251983ac.1c994c"
+ "dcda07af.655078"
]
]
},
{
- "id": "896e220.db3996",
+ "id": "3e585958.e262c6",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='service1' value='success' />\n",
"comments": "",
- "x": 2185,
- "y": 817,
- "z": "e2f7091c.1492b8",
+ "x": 2168.5,
+ "y": 882.1166687011719,
+ "z": "fd6341d7.d80b3",
"wires": []
},
{
- "id": "251983ac.1c994c",
+ "id": "dcda07af.655078",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='service1' value='failure' />\n",
"comments": "",
- "x": 2198,
- "y": 927,
- "z": "e2f7091c.1492b8",
+ "x": 2181.5,
+ "y": 992.1166687011719,
+ "z": "fd6341d7.d80b3",
"wires": []
},
{
- "id": "ecbd8135.fa342",
+ "id": "1b2c47f4.41a498",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='Main Delete Dg not available' />\n<parameter name='ack-final-indicator' value=\"Y\" />",
"comments": "",
- "x": 1732,
- "y": 974,
- "z": "e2f7091c.1492b8",
+ "x": 1715.5,
+ "y": 1039.1166687011719,
+ "z": "fd6341d7.d80b3",
"wires": []
},
{
- "id": "d0a61851.774d7",
+ "id": "c8833e1f.21b83",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1543,
- "y": 1167,
- "z": "e2f7091c.1492b8",
+ "x": 1526.5,
+ "y": 1232.1166687011719,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "7ee5420a.dabadc"
+ "48e846a7.aa0238"
]
]
},
{
- "id": "67e5500f.2b88c8",
+ "id": "d3120001.a70e1",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1550,
- "y": 1306,
- "z": "e2f7091c.1492b8",
+ "x": 1533.5,
+ "y": 1371.1166687011719,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "dec65b83.66c9b"
+ "6f442ba4.a9bd94"
]
]
},
{
- "id": "7ee5420a.dabadc",
+ "id": "48e846a7.aa0238",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1698,
- "y": 1175,
- "z": "e2f7091c.1492b8",
+ "x": 1681.5,
+ "y": 1240.1166687011719,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "11571d88.b80ba2",
- "8e369286.a24f1"
+ "e50cb4fe.0872a8",
+ "d3d1dcfc.971ef"
]
]
},
{
- "id": "11571d88.b80ba2",
+ "id": "e50cb4fe.0872a8",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='service2-status' value='`$final-response-code`' />\n",
"comments": "",
- "x": 1894,
- "y": 1090,
- "z": "e2f7091c.1492b8",
+ "x": 1877.5,
+ "y": 1155.1166687011719,
+ "z": "fd6341d7.d80b3",
"wires": []
},
{
- "id": "8e369286.a24f1",
+ "id": "d3d1dcfc.971ef",
"type": "switchNode",
"name": "switch",
"xml": "<switch test='`$service2-status == 200`'>\n",
"comments": "",
"outputs": 1,
- "x": 1875,
- "y": 1215,
- "z": "e2f7091c.1492b8",
+ "x": 1858.5,
+ "y": 1280.1166687011719,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "bc9b1c9e.2d7528",
- "6e8a106a.b8a098"
+ "c12b59f0.2b2a08",
+ "1e2be21a.84b09e"
]
]
},
{
- "id": "bc9b1c9e.2d7528",
+ "id": "c12b59f0.2b2a08",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2037,
- "y": 1140,
- "z": "e2f7091c.1492b8",
+ "x": 2020.5,
+ "y": 1205.1166687011719,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "88261b09.8da33"
+ "8a03b0aa.7cc6"
]
]
},
{
- "id": "6e8a106a.b8a098",
+ "id": "1e2be21a.84b09e",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2043,
- "y": 1262,
- "z": "e2f7091c.1492b8",
+ "x": 2026.5,
+ "y": 1327.1166687011719,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "e617e321.5b485"
+ "374b4547.8f703a"
]
]
},
{
- "id": "88261b09.8da33",
+ "id": "8a03b0aa.7cc6",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='service2' value='success' />\n",
"comments": "",
- "x": 2192,
- "y": 1143,
- "z": "e2f7091c.1492b8",
+ "x": 2175.5,
+ "y": 1208.1166687011719,
+ "z": "fd6341d7.d80b3",
"wires": []
},
{
- "id": "e617e321.5b485",
+ "id": "374b4547.8f703a",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='service2' value='failure' />\n",
"comments": "",
- "x": 2205,
- "y": 1265,
- "z": "e2f7091c.1492b8",
+ "x": 2188.5,
+ "y": 1330.1166687011719,
+ "z": "fd6341d7.d80b3",
"wires": []
},
{
- "id": "dec65b83.66c9b",
+ "id": "6f442ba4.a9bd94",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='Main Delete Dg not available' />\n<parameter name='ack-final-indicator' value=\"Y\" />",
"comments": "",
- "x": 1751,
- "y": 1306,
- "z": "e2f7091c.1492b8",
+ "x": 1734.5,
+ "y": 1371.1166687011719,
+ "z": "fd6341d7.d80b3",
"wires": []
},
{
- "id": "cbe18d30.3b4198",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='access-id' value=\"`$optical-service-delete-input.request-id`\" />\n\n",
- "comments": "",
- "x": 548.8999938964844,
- "y": 211.85000610351562,
- "z": "e2f7091c.1492b8",
- "wires": []
- },
- {
- "id": "99a0a090.74b4e8",
+ "id": "757c5587.8c047c",
"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/service-delete-tapi.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`$service1-status`\"/>\n\n\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2306.85009765625,
- "y": 583.8499755859375,
- "z": "e2f7091c.1492b8",
+ "x": 2290.35009765625,
+ "y": 648.9666442871094,
+ "z": "fd6341d7.d80b3",
"wires": [
[]
]
},
{
- "id": "840d7865.dda6b",
+ "id": "2b88b50f.6d1f2a",
"type": "switchNode",
"name": "switch",
"xml": "<switch test='`$ppx`'>\n",
"comments": "",
"outputs": 1,
- "x": 362.20001220703125,
- "y": 1446.64990234375,
- "z": "e2f7091c.1492b8",
+ "x": 345.70001220703125,
+ "y": 1511.7665710449219,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "35bc7c0e.531f0c",
- "647592de.7dc3ec"
+ "67345bfe.f921b4",
+ "e5284e9a.754bb"
]
]
},
{
- "id": "35bc7c0e.531f0c",
+ "id": "67345bfe.f921b4",
"type": "outcome",
"name": "0",
"xml": "<outcome value='0'>\n",
"comments": "",
"outputs": 1,
- "x": 598.4000549316406,
- "y": 1349.3999633789062,
- "z": "e2f7091c.1492b8",
+ "x": 581.9000549316406,
+ "y": 1414.5166320800781,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "362cac69.39ad1c"
+ "ae809859.8b1778"
]
]
},
{
- "id": "647592de.7dc3ec",
+ "id": "e5284e9a.754bb",
"type": "outcome",
"name": "1",
"xml": "<outcome value='1'>\n",
"comments": "",
"outputs": 1,
- "x": 589.4000549316406,
- "y": 1522.39990234375,
- "z": "e2f7091c.1492b8",
+ "x": 572.9000549316406,
+ "y": 1587.5165710449219,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "96d3d87a.161f98"
+ "7df23ffd.b4b17"
]
]
},
{
- "id": "362cac69.39ad1c",
+ "id": "ae809859.8b1778",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 740.4000244140625,
- "y": 1353.3999633789062,
- "z": "e2f7091c.1492b8",
+ "x": 723.9000244140625,
+ "y": 1418.5166320800781,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "827658b9.c24fd"
+ "c1901914.b04438"
]
]
},
{
- "id": "827658b9.c24fd",
+ "id": "c1901914.b04438",
"type": "switchNode",
"name": "switch",
"xml": "<switch test='`$service1-status`'>\n",
"comments": "",
"outputs": 1,
- "x": 882.75,
- "y": 1358.5999145507812,
- "z": "e2f7091c.1492b8",
+ "x": 866.25,
+ "y": 1423.7165832519531,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "30018cf9.344a24",
- "7de52130.2c5fc"
+ "d5045cc6.1de7a",
+ "2beb7d55.e9c492"
]
]
},
{
- "id": "f7b9ef6.7932f9",
+ "id": "3b5e2ea9.61d282",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1217.75,
- "y": 1300.7999877929688,
- "z": "e2f7091c.1492b8",
+ "x": 1201.25,
+ "y": 1365.9166564941406,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "2fd5efbb.db2cd8",
- "a5309500.d76bc"
+ "e398c832.c96cf8",
+ "5465b919.f201f8"
]
]
},
{
- "id": "2fd5efbb.db2cd8",
+ "id": "e398c832.c96cf8",
"type": "delete",
"name": "delete",
"xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource'\n resource=\"SQL\"\n key=\"DELETE FROM REQUEST_DETAILS WHERE request_id = $access-id\"> ",
"comments": "",
"outputs": 1,
- "x": 1381.75,
- "y": 1297.8001098632812,
- "z": "e2f7091c.1492b8",
+ "x": 1365.25,
+ "y": 1362.9167785644531,
+ "z": "fd6341d7.d80b3",
"wires": [
[]
]
},
{
- "id": "a5309500.d76bc",
+ "id": "5465b919.f201f8",
"type": "returnSuccess",
"name": "return success",
"xml": "<return status='success'>\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"Service Deleted Successfully\" />\n<parameter name='ack-final-indicator' value='Y' />",
"comments": "",
- "x": 1423.75,
- "y": 1481.8001098632812,
- "z": "e2f7091c.1492b8",
+ "x": 1407.25,
+ "y": 1546.9167785644531,
+ "z": "fd6341d7.d80b3",
"wires": []
},
{
- "id": "30018cf9.344a24",
+ "id": "d5045cc6.1de7a",
"type": "outcome",
"name": "200",
"xml": "<outcome value='200'>\n",
"comments": "",
"outputs": 1,
- "x": 1056.199951171875,
- "y": 1308.2499389648438,
- "z": "e2f7091c.1492b8",
+ "x": 1039.699951171875,
+ "y": 1373.3666076660156,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "f7b9ef6.7932f9"
+ "3b5e2ea9.61d282"
]
]
},
{
- "id": "7de52130.2c5fc",
+ "id": "2beb7d55.e9c492",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1033.199951171875,
- "y": 1460.2499389648438,
- "z": "e2f7091c.1492b8",
+ "x": 1016.699951171875,
+ "y": 1525.3666076660156,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "6461eb1d.8fedb4"
+ "887f6ab3.6fe378"
]
]
},
{
- "id": "d7f1c2ce.8da74",
+ "id": "efea6422.1a8b28",
"type": "switchNode",
"name": "switch",
"xml": "<switch test='`$service1-status == $service2-status == 200`'>\n",
"comments": "",
"outputs": 1,
- "x": 857.75,
- "y": 1529.599853515625,
- "z": "e2f7091c.1492b8",
+ "x": 841.25,
+ "y": 1594.7165222167969,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "d0c11e44.eff1b8",
- "ebfe8068.c9971"
+ "cad7c61d.e2a2d8",
+ "4a80a00e.4cc7a"
]
]
},
{
- "id": "d0c11e44.eff1b8",
+ "id": "cad7c61d.e2a2d8",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1015.75,
- "y": 1538.599853515625,
- "z": "e2f7091c.1492b8",
+ "x": 999.25,
+ "y": 1603.7165222167969,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "505e7a53.be6c6c"
+ "bb726b3c.e444e8"
]
]
},
{
- "id": "505e7a53.be6c6c",
+ "id": "bb726b3c.e444e8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1155.75,
- "y": 1545.599853515625,
- "z": "e2f7091c.1492b8",
+ "x": 1139.25,
+ "y": 1610.7165222167969,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "2406e71c.d43e8",
- "37282d8f.acde4a"
+ "f739490d.428058",
+ "b63b3bcb.e95608",
+ "fe0c4836.3d8508",
+ "58672708.482528",
+ "64dca83a.79a788",
+ "d26a3044.53ce7"
]
]
},
{
- "id": "2406e71c.d43e8",
+ "id": "f739490d.428058",
"type": "delete",
"name": "delete",
"xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource'\n resource=\"SQL\"\n key=\"DELETE FROM REQUEST_DETAILS WHERE request_id = $access-id\"> ",
"comments": "",
"outputs": 1,
- "x": 1319.75,
- "y": 1545.599853515625,
- "z": "e2f7091c.1492b8",
+ "x": 1303.25,
+ "y": 1610.7165222167969,
+ "z": "fd6341d7.d80b3",
"wires": [
[]
]
},
{
- "id": "ebfe8068.c9971",
+ "id": "4a80a00e.4cc7a",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1003.75,
- "y": 1670.599853515625,
- "z": "e2f7091c.1492b8",
+ "x": 949.7500152587891,
+ "y": 1965.7165794372559,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "383c08d1.28a08"
+ "fa9da88e.4da0d8"
]
]
},
{
- "id": "383c08d1.28a08",
+ "id": "fa9da88e.4da0d8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1147.75,
- "y": 1683.599853515625,
- "z": "e2f7091c.1492b8",
+ "x": 1098.750015258789,
+ "y": 1963.7165794372559,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "495cad00.8d5f24"
+ "a9697233.3edb9"
]
]
},
{
- "id": "495cad00.8d5f24",
+ "id": "a9697233.3edb9",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='Access service request entry cannot be deleted' />\n<parameter name='ack-final-indicator' value=\"Y\" />",
"comments": "",
- "x": 1322.75,
- "y": 1676.599853515625,
- "z": "e2f7091c.1492b8",
+ "x": 1276.2500228881836,
+ "y": 1964.2165832519531,
+ "z": "fd6341d7.d80b3",
"wires": []
},
{
- "id": "37282d8f.acde4a",
+ "id": "b63b3bcb.e95608",
"type": "returnSuccess",
"name": "return success",
"xml": "<return status='success'>\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"Service Deleted Successfully\" />\n<parameter name='ack-final-indicator' value='Y' />",
"comments": "",
- "x": 1337.75,
- "y": 1626.599853515625,
- "z": "e2f7091c.1492b8",
+ "x": 1271.2500228881836,
+ "y": 1889.2165803909302,
+ "z": "fd6341d7.d80b3",
"wires": []
},
{
- "id": "70ec6ec4.5ccf08",
+ "id": "35501454.cf543c",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='Access service request entry cannot be deleted' />\n<parameter name='ack-final-indicator' value=\"Y\" />",
"comments": "",
- "x": 1211.5,
- "y": 1472.3998413085938,
- "z": "e2f7091c.1492b8",
+ "x": 1195,
+ "y": 1537.5165100097656,
+ "z": "fd6341d7.d80b3",
"wires": []
},
{
- "id": "96d3d87a.161f98",
+ "id": "7df23ffd.b4b17",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 736.4000244140625,
- "y": 1523.39990234375,
- "z": "e2f7091c.1492b8",
+ "x": 719.9000244140625,
+ "y": 1588.5165710449219,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "d7f1c2ce.8da74"
+ "efea6422.1a8b28"
]
]
},
{
- "id": "fb442d76.8c0b1",
+ "id": "54b2f238.cd48bc",
"type": "get-resource",
"name": "get resources from DB -controller_id",
"xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\nkey='SELECT controller_id\nfrom REQUEST_DETAILS\nWHERE request_id = $domain-service1'\npfx='detail-db11'>",
"comments": "",
"outputs": 1,
- "x": 1377.6666259765625,
- "y": 680.6666259765625,
- "z": "e2f7091c.1492b8",
+ "x": 1361.1666259765625,
+ "y": 745.7832946777344,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "84c6499.61865b8"
+ "ba13f726.ec48a8"
]
]
},
{
- "id": "84c6499.61865b8",
+ "id": "ba13f726.ec48a8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1623.6666259765625,
- "y": 684.6666259765625,
- "z": "e2f7091c.1492b8",
+ "x": 1607.1666259765625,
+ "y": 749.7832946777344,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "4427d502.6c96cc"
+ "7f178723.eed2f8"
]
]
},
{
- "id": "4427d502.6c96cc",
+ "id": "7f178723.eed2f8",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='controller-id11' value='`$detail-db11.controller-id`' />\n\n\n\n\n\n\n\n\n\n\n",
"comments": "",
- "x": 1791.6666259765625,
- "y": 686.6666259765625,
- "z": "e2f7091c.1492b8",
+ "x": 1775.1666259765625,
+ "y": 751.7832946777344,
+ "z": "fd6341d7.d80b3",
"wires": []
},
{
- "id": "e8836a64.f81ae",
+ "id": "71435f69.1d588",
"type": "execute",
"name": "split node-id a-end retrieved from DB",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$controller-id11`'/>\n<parameter name=\"regex\" value=\"_\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"domain1\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1398.6666259765625,
- "y": 756.6666259765625,
- "z": "e2f7091c.1492b8",
+ "x": 1382.1666259765625,
+ "y": 821.7832946777344,
+ "z": "fd6341d7.d80b3",
"wires": [
[]
]
},
{
- "id": "4d169812.58b88",
+ "id": "a41e1354.f17a4",
"type": "get-resource",
"name": "get resources from DB -controller_id",
"xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\nkey='SELECT controller_id\nfrom REQUEST_DETAILS\nWHERE request_id = $domain-service2'\npfx='detail-db22'>",
"comments": "",
"outputs": 1,
- "x": 1324.6666259765625,
- "y": 1056.666748046875,
- "z": "e2f7091c.1492b8",
+ "x": 1308.1666259765625,
+ "y": 1121.7834167480469,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "e0ea4817.5936a"
+ "20c8cbec.0b11d4"
]
]
},
{
- "id": "e0ea4817.5936a",
+ "id": "20c8cbec.0b11d4",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1569.6666259765625,
- "y": 1060.666748046875,
- "z": "e2f7091c.1492b8",
+ "x": 1553.1666259765625,
+ "y": 1125.7834167480469,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "9748df16.f21cf8"
+ "70d195e8.9d4ccc"
]
]
},
{
- "id": "9748df16.f21cf8",
+ "id": "70d195e8.9d4ccc",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='controller-id22' value='`$detail-db22.controller-id`' />\n\n\n\n\n\n\n\n\n\n\n",
"comments": "",
- "x": 1718.6666259765625,
- "y": 1064.666748046875,
- "z": "e2f7091c.1492b8",
+ "x": 1702.1666259765625,
+ "y": 1129.7834167480469,
+ "z": "fd6341d7.d80b3",
"wires": []
},
{
- "id": "8f4e881d.558318",
+ "id": "402c6221.29fbfc",
"type": "execute",
"name": "split node-id a-end retrieved from DB",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$controller-id22`'/>\n<parameter name=\"regex\" value=\"_\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"domain2\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1327.6666259765625,
- "y": 1118.666748046875,
- "z": "e2f7091c.1492b8",
+ "x": 1311.1666259765625,
+ "y": 1183.7834167480469,
+ "z": "fd6341d7.d80b3",
"wires": [
[]
]
},
{
- "id": "9e23ba6e.b8b718",
+ "id": "912f5144.144e7",
"type": "update",
"name": "update",
"xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' \nforce='true'\nresource='logical-link'\nkey = 'pnf.pnf-name = $a-end-pnf-name\n AND p-interface.interface-name = $optical-service-create-input.payload.service-aend.port-id'\n local-only='false'>\n<parameter name='available-capacity' value='`$available-bandwidth-aend`' />\n\n\n\n<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='logical-link'\nkey='logical-link.link-name = $tmp.link-id' >\n <parameter name='link-name' value='`$tmp.link-id`' />\n <parameter name='link-type' value='`$link.link-type`' />\n <parameter name='in-maint' value='true' />\n <parameter name='speed-value' value='100' />\n <parameter name='speed-units' value='Gbps' />\n <parameter name='operational-status' value='`$link.administrative-state`' />\n <parameter name='available-capacity' value='100' />\n\n\n\n\n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n\n\n",
"comments": "",
"outputs": 1,
- "x": 1418.6666717529297,
- "y": 1385.6666717529297,
- "z": "e2f7091c.1492b8",
+ "x": 1402.1666717529297,
+ "y": 1450.7833404541016,
+ "z": "fd6341d7.d80b3",
"wires": [
[]
]
},
{
- "id": "6461eb1d.8fedb4",
+ "id": "887f6ab3.6fe378",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1130.3333740234375,
- "y": 1413.3331909179688,
- "z": "e2f7091c.1492b8",
+ "x": 1113.8333740234375,
+ "y": 1478.4498596191406,
+ "z": "fd6341d7.d80b3",
"wires": [
[
- "70ec6ec4.5ccf08"
+ "35501454.cf543c"
]
]
+ },
+ {
+ "id": "fe0c4836.3d8508",
+ "type": "get-resource",
+ "name": "Get service from AAI",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\nresource=\"service-instance\"\n key='customer.global-customer-id = $output.global-customer-id AND\n service-subscription.service-type = $output.service-type AND\n service-instance.service-instance-id = $delete-acc-svc-id' \npfx='acc-serv-dl' local-only='false'>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1350.0000190734863,
+ "y": 1747.5000267028809,
+ "z": "fd6341d7.d80b3",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b127a64f.fc83e8",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1074.9999999999995,
+ "y": 1872.4999999999993,
+ "z": "fd6341d7.d80b3",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d26a3044.53ce7",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='link-name' value='`$acc-serv-dl.relationship-list.relationship[0].relationship-data[0].relationship-value`' />\n",
+ "comments": "",
+ "x": 1297.5000190734863,
+ "y": 1805.0000267028809,
+ "z": "fd6341d7.d80b3",
+ "wires": []
+ },
+ {
+ "id": "58672708.482528",
+ "type": "update",
+ "name": "update logical-link-status AAI",
+ "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' \nforce='true'\nresource='logical-link'\n key='logical-link.link-name = $link-name '\n local-only='false'>\n<parameter name='operational-status' value='available' />\n\n\n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1337.5,
+ "y": 1852.5,
+ "z": "fd6341d7.d80b3",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1b12f198.60face",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='domain-req' value='`$detail-db.domain-requests`' />\n<parameter name='delete-acc-svc-id' value='`$detail-db.service-instance-id`' />\n\n\n\n\n\n\n\n\n\n\n\n",
+ "comments": "",
+ "x": 1050.000015258789,
+ "y": 132.50000190734863,
+ "z": "fd6341d7.d80b3",
+ "wires": []
+ },
+ {
+ "id": "64dca83a.79a788",
+ "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/optical-service-create.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`'domain rquest_' + $domain-requests`\"/>\n<parameter name=\"field2\" value=\"`'Access rquest_' + $as-request-id`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1525.0000228881836,
+ "y": 1630.0000247955322,
+ "z": "fd6341d7.d80b3",
+ "wires": [
+ []
+ ]
}
] \ No newline at end of file