[\r
{\r
- "id": "1ffbc02a.2de6d",\r
+ "id": "1f49a1e2.d37fce",\r
+ "type": "save",\r
+ "name": "get connectivity from aai",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"connectivity\"\n\t key=\"connectivity.connectivity-id = $tmp.aai.service-instance.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.connectivity\" >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1823.566650390625,\r
+ "y": 439.99998474121094,\r
+ "z": "d636c085.d73a1",\r
+ "wires": [\r
+ [\r
+ "1fcd10a0.78eacf",\r
+ "af997914.ad5bb",\r
+ "df414e18.a198"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "bf5bb76d.137da8",\r
"type": "dgstart",\r
"name": "DGSTART",\r
"outputs": 1,\r
- "x": 133,\r
- "y": 76,\r
- "z": "e2fe7a53.da009",\r
+ "x": 113.566650390625,\r
+ "y": 191.99998474121094,\r
+ "z": "d636c085.d73a1",\r
"wires": [\r
[\r
- "74e0b2b2.75108c"\r
+ "b3126319.e564d"\r
]\r
]\r
},\r
{\r
- "id": "74e0b2b2.75108c",\r
+ "id": "b3126319.e564d",\r
"type": "service-logic",\r
"name": "GENERIC-RESOURCE-API ${project.version}",\r
"module": "GENERIC-RESOURCE-API",\r
"comments": "",\r
"xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",\r
"outputs": 1,\r
- "x": 264.2856903076172,\r
- "y": 125.23810863494873,\r
- "z": "e2fe7a53.da009",\r
+ "x": 244.8523406982422,\r
+ "y": 241.23809337615967,\r
+ "z": "d636c085.d73a1",\r
"wires": [\r
[\r
- "f846ccbd.4406d8"\r
+ "21b7d070.b838c"\r
]\r
]\r
},\r
{\r
- "id": "f846ccbd.4406d8",\r
+ "id": "21b7d070.b838c",\r
"type": "method",\r
- "name": "method tsli-vnf-topology-operation-trans-slice-delete",\r
- "xml": "<method rpc='tsli-vnf-topology-operation-trans-slice-delete' mode='sync'>\n",\r
+ "name": "method p2p-vnf-topology-operation-p2p-delete",\r
+ "xml": "<method rpc='p2p-vnf-topology-operation-p2p-delete' mode='sync'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 267.4286193847656,\r
- "y": 210.00003242492676,\r
- "z": "e2fe7a53.da009",\r
+ "x": 247.99526977539062,\r
+ "y": 326.0000171661377,\r
+ "z": "d636c085.d73a1",\r
"wires": [\r
[\r
- "dc51143b.674018"\r
+ "25a34ff7.c51178"\r
]\r
]\r
},\r
{\r
- "id": "dc51143b.674018",\r
+ "id": "25a34ff7.c51178",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 417.238037109375,\r
- "y": 339.6666564941406,\r
- "z": "e2fe7a53.da009",\r
+ "x": 397.8046875,\r
+ "y": 455.66664123535156,\r
+ "z": "d636c085.d73a1",\r
"wires": [\r
[\r
- "45b2aaee.4a9d2c",\r
- "3e78a125.3512fe",\r
- "45ccee1d.26f07"\r
+ "bc193176.895b3",\r
+ "9155a503.b6cfd",\r
+ "73cdc1fc.bb1028"\r
]\r
]\r
},\r
{\r
- "id": "45b2aaee.4a9d2c",\r
+ "id": "bc193176.895b3",\r
"type": "returnSuccess",\r
"name": "return success",\r
"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",\r
"comments": "",\r
- "x": 713.5716552734375,\r
- "y": 616.59716796875,\r
- "z": "e2fe7a53.da009",\r
- "wires": []\r
- },\r
- {\r
- "id": "9ea4d60.c51a0a8",\r
- "type": "comment",\r
- "name": "new for TransportSlicing",\r
- "info": "",\r
- "comments": "",\r
- "x": 745,\r
- "y": 291,\r
- "z": "e2fe7a53.da009",\r
+ "x": 694.1383056640625,\r
+ "y": 732.5971527099609,\r
+ "z": "d636c085.d73a1",\r
"wires": []\r
},\r
{\r
- "id": "3e78a125.3512fe",\r
+ "id": "9155a503.b6cfd",\r
"type": "save",\r
"name": "get service-instance from aai",\r
"xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"service-instance\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.service-instance-id-->\n<!-- AND customer.global-customer-id = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.subscription-service-type'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.service-instance\">-->\n \n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"service-instance\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.service-instance\">\n\n\n<!--vnf-topology-operation-input.service-information.service-instance-id-->",\r
"comments": "",\r
"outputs": 1,\r
- "x": 765,\r
- "y": 387,\r
- "z": "e2fe7a53.da009",\r
+ "x": 745.566650390625,\r
+ "y": 502.99998474121094,\r
+ "z": "d636c085.d73a1",\r
"wires": [\r
[\r
- "86ee6067.0c17a8",\r
- "bf4bb2c3.815168",\r
- "ac6196ae.1ef19"\r
+ "943d66a1.464c58",\r
+ "67ba5020.7d7dc8",\r
+ "6580f4fc.25d5b4"\r
]\r
]\r
},\r
{\r
- "id": "86ee6067.0c17a8",\r
+ "id": "943d66a1.464c58",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 984,\r
- "y": 325,\r
- "z": "e2fe7a53.da009",\r
+ "x": 964.566650390625,\r
+ "y": 440.99998474121094,\r
+ "z": "d636c085.d73a1",\r
"wires": [\r
[\r
- "eb95b4de.4ca18"\r
+ "7c9fba64.f3390c"\r
]\r
]\r
},\r
{\r
- "id": "bf4bb2c3.815168",\r
+ "id": "67ba5020.7d7dc8",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 993.490966796875,\r
- "y": 367.57403564453125,\r
- "z": "e2fe7a53.da009",\r
+ "x": 974.0576171875,\r
+ "y": 483.5740203857422,\r
+ "z": "d636c085.d73a1",\r
"wires": [\r
[\r
- "4da0ff5c.9fdf8"\r
+ "cebe0efe.964978"\r
]\r
]\r
},\r
{\r
- "id": "ac6196ae.1ef19",\r
+ "id": "6580f4fc.25d5b4",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 982,\r
- "y": 414,\r
- "z": "e2fe7a53.da009",\r
+ "x": 962.566650390625,\r
+ "y": 529.9999847412109,\r
+ "z": "d636c085.d73a1",\r
"wires": [\r
[\r
- "49170b5b.8b327c"\r
+ "cd9120ae.e9db68"\r
]\r
]\r
},\r
{\r
- "id": "4da0ff5c.9fdf8",\r
+ "id": "cebe0efe.964978",\r
"type": "returnFailure",\r
"name": "return failure",\r
"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.l3vpn.pe1_id`\" />\n\n",\r
"comments": "",\r
- "x": 1147.0623779296875,\r
- "y": 370.8597717285156,\r
- "z": "e2fe7a53.da009",\r
+ "x": 1127.6290283203125,\r
+ "y": 486.85975646972656,\r
+ "z": "d636c085.d73a1",\r
"wires": []\r
},\r
{\r
- "id": "49170b5b.8b327c",\r
+ "id": "cd9120ae.e9db68",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
"comments": "",\r
- "x": 1151,\r
- "y": 415,\r
- "z": "e2fe7a53.da009",\r
+ "x": 1131.566650390625,\r
+ "y": 530.9999847412109,\r
+ "z": "d636c085.d73a1",\r
"wires": []\r
},\r
{\r
- "id": "eb95b4de.4ca18",\r
+ "id": "7c9fba64.f3390c",\r
"type": "for",\r
"name": "for each relationship",\r
"xml": "<for index='rel-index' start='0' end='`$tmp.aai.service-instance.relationship-list.relationship_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1181,\r
- "y": 321,\r
- "z": "e2fe7a53.da009",\r
+ "x": 1161.566650390625,\r
+ "y": 436.99998474121094,\r
+ "z": "d636c085.d73a1",\r
"wires": [\r
[\r
- "4f2c512c.91fb8"\r
+ "57fd8c7c.534adc"\r
]\r
]\r
},\r
{\r
- "id": "4f2c512c.91fb8",\r
+ "id": "57fd8c7c.534adc",\r
"type": "switchNode",\r
"name": "switch related-to",\r
"xml": "<switch test='`$tmp.aai.service-instance.relationship-list.relationship[$rel-index].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1404.33349609375,\r
- "y": 320.99993896484375,\r
- "z": "e2fe7a53.da009",\r
+ "x": 1384.900146484375,\r
+ "y": 436.9999237060547,\r
+ "z": "d636c085.d73a1",\r
"wires": [\r
[\r
- "fa463b5.38a29c8"\r
+ "a44a2c9.e47245"\r
]\r
]\r
},\r
{\r
- "id": "fa463b5.38a29c8",\r
+ "id": "a44a2c9.e47245",\r
"type": "outcome",\r
"name": "connectivity",\r
"xml": "<outcome value='connectivity'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1605.0001335144043,\r
- "y": 322.00002098083496,\r
- "z": "e2fe7a53.da009",\r
+ "x": 1585.5667839050293,\r
+ "y": 438.0000057220459,\r
+ "z": "d636c085.d73a1",\r
"wires": [\r
[\r
- "e51d2b5.f353758"\r
+ "1f49a1e2.d37fce"\r
]\r
]\r
},\r
{\r
- "id": "45ccee1d.26f07",\r
+ "id": "73cdc1fc.bb1028",\r
"type": "execute",\r
"name": "execute properties",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />",\r
"comments": "",\r
"outputs": 1,\r
- "x": 731,\r
- "y": 335,\r
- "z": "e2fe7a53.da009",\r
+ "x": 711.566650390625,\r
+ "y": 450.99998474121094,\r
+ "z": "d636c085.d73a1",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "e51d2b5.f353758",\r
- "type": "save",\r
- "name": "get connectivity from aai",\r
- "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"connectivity\"\n\t key=\"connectivity.connectivity-id = $tmp.aai.service-instance.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.connectivity\" >\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1843,\r
- "y": 324,\r
- "z": "e2fe7a53.da009",\r
- "wires": [\r
- [\r
- "bd96538d.fc9d98",\r
- "d296a5a5.03f2d8",\r
- "59d0b561.049ff4"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "bd96538d.fc9d98",\r
+ "id": "1fcd10a0.78eacf",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2051,\r
- "y": 288,\r
- "z": "e2fe7a53.da009",\r
+ "x": 2031.566650390625,\r
+ "y": 403.99998474121094,\r
+ "z": "d636c085.d73a1",\r
"wires": [\r
[\r
- "a935f75b.7b8ae8"\r
+ "f10666fd.9fb61"\r
]\r
]\r
},\r
{\r
- "id": "d296a5a5.03f2d8",\r
+ "id": "af997914.ad5bb",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2051.490966796875,\r
- "y": 333.57403564453125,\r
- "z": "e2fe7a53.da009",\r
+ "x": 2032.0576171875,\r
+ "y": 449.5740203857422,\r
+ "z": "d636c085.d73a1",\r
"wires": [\r
[\r
- "b4d9ea13.dc5c6"\r
+ "621b676d.f2f748"\r
]\r
]\r
},\r
{\r
- "id": "59d0b561.049ff4",\r
+ "id": "df414e18.a198",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2049,\r
- "y": 377,\r
- "z": "e2fe7a53.da009",\r
+ "x": 2029.566650390625,\r
+ "y": 492.99998474121094,\r
+ "z": "d636c085.d73a1",\r
"wires": [\r
[\r
- "cc59ead5.ab58f"\r
+ "2ffd86d2.d8ed3a"\r
]\r
]\r
},\r
{\r
- "id": "b4d9ea13.dc5c6",\r
+ "id": "621b676d.f2f748",\r
"type": "returnFailure",\r
"name": "return failure",\r
"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.l3vpn.pe1_id`\" />\n\n",\r
"comments": "",\r
- "x": 2214.0623779296875,\r
- "y": 333.8597717285156,\r
- "z": "e2fe7a53.da009",\r
+ "x": 2194.6290283203125,\r
+ "y": 449.85975646972656,\r
+ "z": "d636c085.d73a1",\r
"wires": []\r
},\r
{\r
- "id": "cc59ead5.ab58f",\r
+ "id": "2ffd86d2.d8ed3a",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
"comments": "",\r
- "x": 2218,\r
- "y": 378,\r
- "z": "e2fe7a53.da009",\r
+ "x": 2198.566650390625,\r
+ "y": 493.99998474121094,\r
+ "z": "d636c085.d73a1",\r
"wires": []\r
},\r
{\r
- "id": "2055e9c.9575d16",\r
+ "id": "943d4b65.0e3ed8",\r
"type": "save",\r
"name": "get vpn-binding from aai",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-binding\"\n\t key=\"vpn-binding.vpn-id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-binding\" >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2524,\r
- "y": 377,\r
- "z": "e2fe7a53.da009",\r
+ "x": 2504.566650390625,\r
+ "y": 492.99998474121094,\r
+ "z": "d636c085.d73a1",\r
"wires": [\r
[\r
- "1719bc42.5de0cc",\r
- "b2907373.b3b1a",\r
- "fb17b477.f9109"\r
+ "e86769c3.1f7ba8",\r
+ "52744dfb.375364",\r
+ "9acb7ba.125dc08"\r
]\r
]\r
},\r
{\r
- "id": "c87f5113.e0af38",\r
+ "id": "daba1f0.a622ce",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 2908,\r
- "y": 377,\r
- "z": "e2fe7a53.da009",\r
+ "x": 2888.566650390625,\r
+ "y": 492.99998474121094,\r
+ "z": "d636c085.d73a1",\r
"wires": [\r
[\r
- "1985ee34.d96bba",\r
- "52698c53.01b1dc",\r
- "6e17a44c.f8e15c",\r
- "9562cdef.811fc8",\r
- "51f18b3b.809efc",\r
- "9405a159.40925",\r
- "e776447c.da84c8"\r
+ "5e452d03.7532ac",\r
+ "d53b6e96.aa8aa",\r
+ "518fe175.a505a8",\r
+ "df0df658.a887a",\r
+ "1a0c1f4d.51b981",\r
+ "67de0813.c55918"\r
]\r
]\r
},\r
{\r
- "id": "1719bc42.5de0cc",\r
+ "id": "e86769c3.1f7ba8",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2735,\r
- "y": 379,\r
- "z": "e2fe7a53.da009",\r
+ "x": 2715.566650390625,\r
+ "y": 494.99998474121094,\r
+ "z": "d636c085.d73a1",\r
"wires": [\r
[\r
- "c87f5113.e0af38"\r
+ "daba1f0.a622ce"\r
]\r
]\r
},\r
{\r
- "id": "b2907373.b3b1a",\r
+ "id": "52744dfb.375364",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2735.490966796875,\r
- "y": 424.57403564453125,\r
- "z": "e2fe7a53.da009",\r
+ "x": 2716.0576171875,\r
+ "y": 540.5740203857422,\r
+ "z": "d636c085.d73a1",\r
"wires": [\r
[\r
- "34c1a665.03471a"\r
+ "cdeba8e7.bdb358"\r
]\r
]\r
},\r
{\r
- "id": "fb17b477.f9109",\r
+ "id": "9acb7ba.125dc08",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2733,\r
- "y": 468,\r
- "z": "e2fe7a53.da009",\r
+ "x": 2713.566650390625,\r
+ "y": 583.9999847412109,\r
+ "z": "d636c085.d73a1",\r
"wires": [\r
[\r
- "8d4bf215.03d04"\r
+ "ba8b118c.cfdf4"\r
]\r
]\r
},\r
{\r
- "id": "8d4bf215.03d04",\r
+ "id": "ba8b118c.cfdf4",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
"comments": "",\r
- "x": 2900,\r
- "y": 467,\r
- "z": "e2fe7a53.da009",\r
+ "x": 2880.566650390625,\r
+ "y": 582.9999847412109,\r
+ "z": "d636c085.d73a1",\r
"wires": []\r
},\r
{\r
- "id": "34c1a665.03471a",\r
+ "id": "cdeba8e7.bdb358",\r
"type": "returnFailure",\r
"name": "return failure",\r
"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.l3vpn.pe1_id`\" />\n\n",\r
"comments": "",\r
- "x": 2898.0623779296875,\r
- "y": 424.8597717285156,\r
- "z": "e2fe7a53.da009",\r
+ "x": 2878.6290283203125,\r
+ "y": 540.8597564697266,\r
+ "z": "d636c085.d73a1",\r
"wires": []\r
},\r
{\r
- "id": "a935f75b.7b8ae8",\r
+ "id": "f10666fd.9fb61",\r
"type": "for",\r
"name": "for each relationship",\r
"xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.connectivity.relationship-list.relationship_length`' >\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2252,\r
- "y": 283,\r
- "z": "e2fe7a53.da009",\r
+ "x": 2232.566650390625,\r
+ "y": 398.99998474121094,\r
+ "z": "d636c085.d73a1",\r
"wires": [\r
[\r
- "67091bed.864304"\r
+ "ad67608d.23d4e"\r
]\r
]\r
},\r
{\r
- "id": "67091bed.864304",\r
+ "id": "ad67608d.23d4e",\r
"type": "switchNode",\r
"name": "switch related-to",\r
"xml": "<switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2457,\r
- "y": 283,\r
- "z": "e2fe7a53.da009",\r
+ "x": 2437.566650390625,\r
+ "y": 398.99998474121094,\r
+ "z": "d636c085.d73a1",\r
"wires": [\r
[\r
- "4e4ac25c.008624"\r
+ "3a1dfd90.21e892"\r
]\r
]\r
},\r
{\r
- "id": "4e4ac25c.008624",\r
+ "id": "3a1dfd90.21e892",\r
"type": "outcome",\r
"name": "vpn-binding",\r
"xml": "<outcome value='vpn-binding'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2623,\r
- "y": 283,\r
- "z": "e2fe7a53.da009",\r
+ "x": 2603.566650390625,\r
+ "y": 398.99998474121094,\r
+ "z": "d636c085.d73a1",\r
"wires": [\r
[\r
- "7c62e56b.ccfd7c"\r
+ "d3885a9d.410b8"\r
]\r
]\r
},\r
{\r
- "id": "7c62e56b.ccfd7c",\r
+ "id": "d3885a9d.410b8",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 2786,\r
- "y": 283,\r
- "z": "e2fe7a53.da009",\r
+ "x": 2766.566650390625,\r
+ "y": 398.99998474121094,\r
+ "z": "d636c085.d73a1",\r
"wires": [\r
[\r
- "2055e9c.9575d16"\r
+ "943d4b65.0e3ed8"\r
]\r
]\r
},\r
{\r
- "id": "1985ee34.d96bba",\r
+ "id": "5e452d03.7532ac",\r
"type": "set",\r
"name": "set pnf-name",\r
"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",\r
"comments": "",\r
- "x": 3123,\r
- "y": 87,\r
- "z": "e2fe7a53.da009",\r
+ "x": 3103.566650390625,\r
+ "y": 202.99998474121094,\r
+ "z": "d636c085.d73a1",\r
"wires": []\r
},\r
{\r
- "id": "52698c53.01b1dc",\r
+ "id": "d53b6e96.aa8aa",\r
"type": "get-resource",\r
"name": "get-resource src pnf",\r
"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",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3149,\r
- "y": 204,\r
- "z": "e2fe7a53.da009",\r
+ "x": 3129.566650390625,\r
+ "y": 319.99998474121094,\r
+ "z": "d636c085.d73a1",\r
"wires": [\r
[\r
- "df3dfd24.e7243",\r
- "21f9901e.5c5cb",\r
- "23d5d99c.1069c6"\r
+ "f7dcf778.7bdca8",\r
+ "b91a9a3e.7f6078",\r
+ "2aa7aeb.8d97cd2"\r
]\r
]\r
},\r
{\r
- "id": "df3dfd24.e7243",\r
+ "id": "f7dcf778.7bdca8",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3344.5001220703125,\r
- "y": 156,\r
- "z": "e2fe7a53.da009",\r
+ "x": 3325.0667724609375,\r
+ "y": 271.99998474121094,\r
+ "z": "d636c085.d73a1",\r
"wires": [\r
[\r
- "b45e1015.15138"\r
+ "859282ad.13c2f8"\r
]\r
]\r
},\r
{\r
- "id": "21f9901e.5c5cb",\r
+ "id": "b91a9a3e.7f6078",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3336.5001220703125,\r
- "y": 211,\r
- "z": "e2fe7a53.da009",\r
+ "x": 3317.0667724609375,\r
+ "y": 326.99998474121094,\r
+ "z": "d636c085.d73a1",\r
"wires": [\r
[\r
- "77f6a688.81ce38"\r
+ "6f10df6c.e42f08"\r
]\r
]\r
},\r
{\r
- "id": "b45e1015.15138",\r
+ "id": "859282ad.13c2f8",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3488.8824462890625,\r
- "y": 155.65567016601562,\r
- "z": "e2fe7a53.da009",\r
+ "x": 3469.4490966796875,\r
+ "y": 271.65565490722656,\r
+ "z": "d636c085.d73a1",\r
"wires": [\r
[\r
- "a3edca1c.ba087"\r
+ "a786a7ab.e92098"\r
]\r
]\r
},\r
{\r
- "id": "a3edca1c.ba087",\r
+ "id": "a786a7ab.e92098",\r
"type": "for",\r
"name": "for each relationship",\r
"xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3673,\r
- "y": 154,\r
- "z": "e2fe7a53.da009",\r
+ "x": 3653.566650390625,\r
+ "y": 269.99998474121094,\r
+ "z": "d636c085.d73a1",\r
"wires": [\r
[\r
- "db4aebfd.10c0f"\r
+ "7f3accce.b227c4"\r
]\r
]\r
},\r
{\r
- "id": "db4aebfd.10c0f",\r
+ "id": "7f3accce.b227c4",\r
"type": "switchNode",\r
"name": "switch related-to",\r
"xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3868,\r
- "y": 154,\r
- "z": "e2fe7a53.da009",\r
+ "x": 3848.566650390625,\r
+ "y": 269.99998474121094,\r
+ "z": "d636c085.d73a1",\r
"wires": [\r
[\r
- "47e44765.fd9158"\r
+ "19e0629f.42ef95"\r
]\r
]\r
},\r
{\r
- "id": "23d5d99c.1069c6",\r
+ "id": "2aa7aeb.8d97cd2",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3341.5001220703125,\r
- "y": 268,\r
- "z": "e2fe7a53.da009",\r
+ "x": 3322.0667724609375,\r
+ "y": 383.99998474121094,\r
+ "z": "d636c085.d73a1",\r
"wires": [\r
[\r
- "4952922a.0e6edc"\r
+ "1ba67878.91583"\r
]\r
]\r
},\r
{\r
- "id": "4952922a.0e6edc",\r
+ "id": "1ba67878.91583",\r
"type": "returnFailure",\r
"name": "return failure",\r
"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",\r
"comments": "",\r
- "x": 3493.5001220703125,\r
- "y": 269,\r
- "z": "e2fe7a53.da009",\r
+ "x": 3474.0667724609375,\r
+ "y": 384.99998474121094,\r
+ "z": "d636c085.d73a1",\r
"wires": []\r
},\r
{\r
- "id": "77f6a688.81ce38",\r
+ "id": "6f10df6c.e42f08",\r
"type": "returnFailure",\r
"name": "return failure",\r
"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",\r
"comments": "",\r
- "x": 3504.5001220703125,\r
- "y": 212,\r
- "z": "e2fe7a53.da009",\r
+ "x": 3485.0667724609375,\r
+ "y": 327.99998474121094,\r
+ "z": "d636c085.d73a1",\r
"wires": []\r
},\r
{\r
- "id": "fa4dfe6b.cee79",\r
+ "id": "15438b5f.4f2f6d",\r
"type": "execute",\r
"name": "get esr-thirdparty-sdnc",\r
"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' >",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4456,\r
- "y": 171,\r
- "z": "e2fe7a53.da009",\r
+ "x": 4436.566650390625,\r
+ "y": 286.99998474121094,\r
+ "z": "d636c085.d73a1",\r
"wires": [\r
[\r
- "cbb209f7.a6664",\r
- "74e5e9b0.d9729",\r
- "a328bb91.cda89"\r
+ "297b9c32.2d4884",\r
+ "7eedc05d.0fcd8",\r
+ "3b0dcd14.e168c2"\r
]\r
]\r
},\r
{\r
- "id": "3f03e2fb.b5f81e",\r
+ "id": "e30d1b98.1b734",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4250,\r
- "y": 158,\r
- "z": "e2fe7a53.da009",\r
+ "x": 4230.566650390625,\r
+ "y": 273.99998474121094,\r
+ "z": "d636c085.d73a1",\r
"wires": [\r
[\r
- "8d9a188f.1a7a4",\r
- "fa4dfe6b.cee79",\r
- "920b64ba.47efa"\r
+ "58f742d9.00369c",\r
+ "15438b5f.4f2f6d",\r
+ "fad5fc58.bb076"\r
]\r
]\r
},\r
{\r
- "id": "8d9a188f.1a7a4",\r
+ "id": "58f742d9.00369c",\r
"type": "set",\r
"name": "set esr-thirdparty-sdnc domain id",\r
"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",\r
"comments": "",\r
- "x": 4486,\r
- "y": 119,\r
- "z": "e2fe7a53.da009",\r
+ "x": 4466.566650390625,\r
+ "y": 234.99998474121094,\r
+ "z": "d636c085.d73a1",\r
"wires": []\r
},\r
{\r
- "id": "cbb209f7.a6664",\r
+ "id": "297b9c32.2d4884",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4666,\r
- "y": 162,\r
- "z": "e2fe7a53.da009",\r
+ "x": 4646.566650390625,\r
+ "y": 277.99998474121094,\r
+ "z": "d636c085.d73a1",\r
"wires": [\r
[\r
- "d166346a.002478"\r
+ "c10ae523.198538"\r
]\r
]\r
},\r
{\r
- "id": "74e5e9b0.d9729",\r
+ "id": "7eedc05d.0fcd8",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4658,\r
- "y": 217,\r
- "z": "e2fe7a53.da009",\r
+ "x": 4638.566650390625,\r
+ "y": 332.99998474121094,\r
+ "z": "d636c085.d73a1",\r
"wires": [\r
[\r
- "73697be7.45641c"\r
+ "dce2b694.d3656"\r
]\r
]\r
},\r
{\r
- "id": "a328bb91.cda89",\r
+ "id": "3b0dcd14.e168c2",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4663,\r
- "y": 274,\r
- "z": "e2fe7a53.da009",\r
+ "x": 4643.566650390625,\r
+ "y": 389.99998474121094,\r
+ "z": "d636c085.d73a1",\r
"wires": [\r
[\r
- "482cf24f.1774ec"\r
+ "8ca6611c.54635"\r
]\r
]\r
},\r
{\r
- "id": "482cf24f.1774ec",\r
+ "id": "8ca6611c.54635",\r
"type": "returnFailure",\r
"name": "return failure",\r
"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",\r
"comments": "",\r
- "x": 4815,\r
- "y": 275,\r
- "z": "e2fe7a53.da009",\r
+ "x": 4795.566650390625,\r
+ "y": 390.99998474121094,\r
+ "z": "d636c085.d73a1",\r
"wires": []\r
},\r
{\r
- "id": "73697be7.45641c",\r
+ "id": "dce2b694.d3656",\r
"type": "returnFailure",\r
"name": "return failure",\r
"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",\r
"comments": "",\r
- "x": 4826,\r
- "y": 220,\r
- "z": "e2fe7a53.da009",\r
+ "x": 4806.566650390625,\r
+ "y": 335.99998474121094,\r
+ "z": "d636c085.d73a1",\r
"wires": []\r
},\r
{\r
- "id": "d166346a.002478",\r
+ "id": "c10ae523.198538",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4810.38232421875,\r
- "y": 159.65567016601562,\r
- "z": "e2fe7a53.da009",\r
+ "x": 4790.948974609375,\r
+ "y": 275.65565490722656,\r
+ "z": "d636c085.d73a1",\r
"wires": [\r
[\r
- "2f421760.45d288"\r
+ "e4f0bb63.5bbd98"\r
]\r
]\r
},\r
{\r
- "id": "47e44765.fd9158",\r
+ "id": "19e0629f.42ef95",\r
"type": "outcome",\r
"name": "esr-thirdparty-sdnc",\r
"xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4071,\r
- "y": 158,\r
- "z": "e2fe7a53.da009",\r
+ "x": 4051.566650390625,\r
+ "y": 273.99998474121094,\r
+ "z": "d636c085.d73a1",\r
"wires": [\r
[\r
- "3f03e2fb.b5f81e"\r
+ "e30d1b98.1b734"\r
]\r
]\r
},\r
{\r
- "id": "2f421760.45d288",\r
+ "id": "e4f0bb63.5bbd98",\r
"type": "set",\r
"name": "set controller domain data",\r
"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",\r
"comments": "",\r
- "x": 5025,\r
- "y": 156,\r
- "z": "e2fe7a53.da009",\r
+ "x": 5005.566650390625,\r
+ "y": 271.99998474121094,\r
+ "z": "d636c085.d73a1",\r
"wires": []\r
},\r
{\r
- "id": "920b64ba.47efa",\r
+ "id": "fad5fc58.bb076",\r
"type": "break",\r
"name": "break",\r
"xml": "<break>\n",\r
"comments": "",\r
- "x": 4406,\r
- "y": 235,\r
- "z": "e2fe7a53.da009",\r
- "wires": []\r
- },\r
- {\r
- "id": "9405a159.40925",\r
- "type": "execute",\r
- "name": "execute RestApiCallNode Delete transport slice without token",\r
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.transport-slice-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/operations/ietf-optical-slice:deallocate-optical-slice'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\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<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 3273,\r
- "y": 502,\r
- "z": "e2fe7a53.da009",\r
- "wires": [\r
- [\r
- "ecacf915.574818",\r
- "e290fc99.96c1d8"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "ecacf915.574818",\r
- "type": "failure",\r
- "name": "failure",\r
- "xml": "<outcome value='failure'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 3616.5,\r
- "y": 497,\r
- "z": "e2fe7a53.da009",\r
- "wires": [\r
- [\r
- "6c0fb618.3be698"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "e290fc99.96c1d8",\r
- "type": "success",\r
- "name": "success",\r
- "xml": "<outcome value='success'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 3620.5,\r
- "y": 537,\r
- "z": "e2fe7a53.da009",\r
- "wires": [\r
- [\r
- "735428f1.2ceb3"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "735428f1.2ceb3",\r
- "type": "block",\r
- "name": "block : atomic",\r
- "xml": "<block atomic=\"true\">",\r
- "atomic": "true",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 3778,\r
- "y": 537,\r
- "z": "e2fe7a53.da009",\r
- "wires": [\r
- []\r
- ]\r
- },\r
- {\r
- "id": "6c0fb618.3be698",\r
- "type": "returnFailure",\r
- "name": "return failure",\r
- "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 deallocate transport slice rest api\" />\n",\r
- "comments": "",\r
- "x": 3774.5,\r
- "y": 497,\r
- "z": "e2fe7a53.da009",\r
+ "x": 4386.566650390625,\r
+ "y": 350.99998474121094,\r
+ "z": "d636c085.d73a1",\r
"wires": []\r
},\r
{\r
- "id": "6e17a44c.f8e15c",\r
+ "id": "67de0813.c55918",\r
"type": "set",\r
"name": "set attachment_param for TN NSSSI deleteion in PNC",\r
"xml": "<set>\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n",\r
"comments": "",\r
- "x": 3249,\r
- "y": 377,\r
- "z": "e2fe7a53.da009",\r
+ "x": 3229.566650390625,\r
+ "y": 492.99998474121094,\r
+ "z": "d636c085.d73a1",\r
"wires": []\r
},\r
{\r
- "id": "9562cdef.811fc8",\r
+ "id": "518fe175.a505a8",\r
"type": "save",\r
"name": "delete connectivity resource in AAI",\r
"xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $tmp.aai.connectivity.connectivity-id'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3179,\r
- "y": 812,\r
- "z": "e2fe7a53.da009",\r
+ "x": 3169.5667724609375,\r
+ "y": 1148.9999237060547,\r
+ "z": "d636c085.d73a1",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "51f18b3b.809efc",\r
+ "id": "df0df658.a887a",\r
"type": "save",\r
"name": "delete vpn-binding resource in AAI",\r
"xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.aai.vpn-binding.vpn-id' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3175,\r
- "y": 856,\r
- "z": "e2fe7a53.da009",\r
+ "x": 3165.5667724609375,\r
+ "y": 1192.9999237060547,\r
+ "z": "d636c085.d73a1",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "9ec21c40.e14a88",\r
- "type": "execute",\r
- "name": "execute RestApiCallNode domain UNI deColoring",\r
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-coloring-uni-port.templatefile`\" />-->\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-network:networks/network=networkId-providerId-' + $tmp.aai.connectivity.access-provider-id + '-clientId-' + $tmp.aai.connectivity.access-client-id + '-topologyId-' + $tmp.aai.connectivity.access-topology-id + '/node=' + $tmp.aai.connectivity.access-node-id + '/ietf-network-topology:termination-point=' + $tmp.aai.connectivity.access-ltp-id + '/ietf-te-topology:te/ietf-optical-slice:slice-id-list=' + $slice-instance-id `\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\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<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />\n",\r
+ "id": "1a0c1f4d.51b981",\r
+ "type": "switchNode",\r
+ "name": "switch connectivity has ethernet service",\r
+ "xml": "<switch test='`$tmp.aai.connectivity.etht-svc-name`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3759,\r
- "y": 676,\r
- "z": "e2fe7a53.da009",\r
+ "x": 3188.566650390625,\r
+ "y": 808.9999847412109,\r
+ "z": "d636c085.d73a1",\r
"wires": [\r
[\r
- "f05a4dc0.054df",\r
- "f0f39295.b7b9a8"\r
+ "e3688e85.c3b",\r
+ "622706a9.cb2ed8"\r
]\r
]\r
},\r
{\r
- "id": "f0f39295.b7b9a8",\r
- "type": "failure",\r
- "name": "failure",\r
- "xml": "<outcome value='failure'>\n",\r
+ "id": "622706a9.cb2ed8",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4025,\r
- "y": 656,\r
- "z": "e2fe7a53.da009",\r
+ "x": 3426.566650390625,\r
+ "y": 791.9999847412109,\r
+ "z": "d636c085.d73a1",\r
"wires": [\r
[\r
- "b586e36a.93b3e8"\r
+ "ab255dec.d38548"\r
]\r
]\r
},\r
{\r
- "id": "f05a4dc0.054df",\r
- "type": "success",\r
- "name": "success",\r
- "xml": "<outcome value='success'>\n",\r
+ "id": "e3688e85.c3b",\r
+ "type": "outcome",\r
+ "name": "Null",\r
+ "xml": "<outcome value=''>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4026.000213623047,\r
- "y": 706.9999094009399,\r
- "z": "e2fe7a53.da009",\r
+ "x": 3438.566650390625,\r
+ "y": 858.9999847412109,\r
+ "z": "d636c085.d73a1",\r
"wires": [\r
- [\r
- "67ce9419.db502c"\r
- ]\r
+ []\r
]\r
},\r
{\r
- "id": "b586e36a.93b3e8",\r
- "type": "returnFailure",\r
- "name": "return failure",\r
- "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 decoloring UNI rest api\" />\n",\r
+ "id": "ab255dec.d38548",\r
+ "type": "execute",\r
+ "name": "execute RestApiCallNode Delete ethernet Service without token",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.aai.connectivity.etht-svc-name`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\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",\r
"comments": "",\r
- "x": 4165.000247955322,\r
- "y": 656.0000009536743,\r
- "z": "e2fe7a53.da009",\r
- "wires": []\r
+ "outputs": 1,\r
+ "x": 3801.900146484375,\r
+ "y": 781.6000213623047,\r
+ "z": "d636c085.d73a1",\r
+ "wires": [\r
+ [\r
+ "63e51e3.aa5156",\r
+ "5038fd41.e83c2c"\r
+ ]\r
+ ]\r
},\r
{\r
- "id": "67ce9419.db502c",\r
- "type": "block",\r
- "name": "block",\r
- "xml": "<block>\n",\r
- "atomic": "false",\r
+ "id": "63e51e3.aa5156",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4171.02725982666,\r
- "y": 704.7453947067261,\r
- "z": "e2fe7a53.da009",\r
+ "x": 4145.666748046875,\r
+ "y": 756.6000213623047,\r
+ "z": "d636c085.d73a1",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "e776447c.da84c8",\r
- "type": "switchNode",\r
- "name": "switch connectivity has ethernet service",\r
- "xml": "<switch test='`$tmp.aai.connectivity.etht-svc-name`'>\n",\r
+ "id": "5038fd41.e83c2c",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3208,\r
- "y": 693,\r
- "z": "e2fe7a53.da009",\r
+ "x": 4146.666961669922,\r
+ "y": 807.5999307632446,\r
+ "z": "d636c085.d73a1",\r
"wires": [\r
[\r
- "a367a533.706f78",\r
- "4d988de7.d09044"\r
+ "3bc9737b.ab47c4"\r
]\r
]\r
},\r
{\r
- "id": "4d988de7.d09044",\r
- "type": "other",\r
- "name": "other",\r
- "xml": "<outcome value='Other'>\n",\r
+ "id": "3bc9737b.ab47c4",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3446,\r
- "y": 676,\r
- "z": "e2fe7a53.da009",\r
+ "x": 4291.694007873535,\r
+ "y": 805.3454160690308,\r
+ "z": "d636c085.d73a1",\r
"wires": [\r
[\r
- "9ec21c40.e14a88"\r
+ "cda2227f.a4536"\r
]\r
]\r
},\r
{\r
- "id": "a367a533.706f78",\r
- "type": "outcome",\r
- "name": "Null",\r
- "xml": "<outcome value=''>\n",\r
+ "id": "cda2227f.a4536",\r
+ "type": "execute",\r
+ "name": "execute Terminate Periodic Pull Connection",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfdiscovery.PeriodicDiscoveryNode' method='deleteSubscription' >\n<parameter name=\"subscriberId\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url`\" />\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.cll-terminate-notification.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/operations/ietf-subscribed-notifications:delete-subscription'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"dirPath\" value=\"/opt/sdnc/restconfapi/yang/notification\" />\n<parameter name=\"format\" value=\"json\" />\n<parameter name=\"httpMethod\" value=\"post\" />\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<!--<parameter name='customHttpHeaders' value=\"X-ACCESS-TOKEN=x-ik2ps4ikvzupbx0486ft1ebzs7rt85futh9ho6eofy3wjsap7wqktemlqm4bbsmnar3vrtbyrzukbv5itd6m1cftldpjarnyle3sdcqq9hftc4lebz464b5ffxmlbvg9\" />-->\n<parameter name=\"module\" value=\"GENERIC-RESOURCE-API\" />\n<parameter name=\"rpc\" value=\"p2p-vnf-topology-operation-p2p-callbackdg-notification\" />\n<parameter name=\"version\" value=\"`$project.version`\" />\n<parameter name=\"mode\" value=\"sync\" />\n<parameter name=\"responsePrefix\" value=\"restapi-result\"/>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3458,\r
- "y": 743,\r
- "z": "e2fe7a53.da009",\r
+ "x": 4563.933837890625,\r
+ "y": 812.566650390625,\r
+ "z": "d636c085.d73a1",\r
"wires": [\r
[]\r
]\r