diff options
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sdwan-attachment-topology-operation-delete.json')
-rw-r--r-- | platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sdwan-attachment-topology-operation-delete.json | 639 |
1 files changed, 319 insertions, 320 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sdwan-attachment-topology-operation-delete.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sdwan-attachment-topology-operation-delete.json index 6668fb4a..b8ba3cda 100644 --- a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sdwan-attachment-topology-operation-delete.json +++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sdwan-attachment-topology-operation-delete.json @@ -1,20 +1,20 @@ [ { - "id": "df4555dd.a3e848", + "id": "9ff5a59d.ba1e08", "type": "dgstart", "name": "DGSTART", "outputs": 1, - "x": 104, - "y": 41, - "z": "5775f861.275e28", + "x": 90.00390625, + "y": 49.999999046325684, + "z": "3cf3c3f6.8ecf4c", "wires": [ [ - "92ceb461.e9ae38" + "2a13d7f0.0d4348" ] ] }, { - "id": "92ceb461.e9ae38", + "id": "2a13d7f0.0d4348", "type": "service-logic", "name": "GENERIC-RESOURCE-API ${project.version}", "module": "GENERIC-RESOURCE-API", @@ -22,915 +22,914 @@ "comments": "", "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>", "outputs": 1, - "x": 316.00000381469727, - "y": 113.0000171661377, - "z": "5775f861.275e28", + "x": 302.00391006469727, + "y": 122.00001621246338, + "z": "3cf3c3f6.8ecf4c", "wires": [ [ - "d3022041.62ba5" + "a747a1bc.5a7f6" ] ] }, { - "id": "d3022041.62ba5", + "id": "a747a1bc.5a7f6", "type": "method", "name": "sdwan-attachment-topology-operation-delete", "xml": "<method rpc='sdwan-attachment-topology-operation-delete' mode='sync'>\n", "comments": "", "outputs": 1, - "x": 304.0001220703125, - "y": 201, - "z": "5775f861.275e28", + "x": 290.0040283203125, + "y": 209.99999904632568, + "z": "3cf3c3f6.8ecf4c", "wires": [ [ - "28bf3b94.47a4c4" + "c8f19e0f.8c32c" ] ] }, { - "id": "28bf3b94.47a4c4", + "id": "c8f19e0f.8c32c", "type": "block", "name": "block : atomic", "xml": "<block atomic=\"true\">\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 320.0001220703125, - "y": 756.0002446174622, - "z": "5775f861.275e28", + "x": 306.0040283203125, + "y": 765.0002436637878, + "z": "3cf3c3f6.8ecf4c", "wires": [ [ - "807be759.b5e538", - "3103f64.d6db90a", - "6956382b.b9da98", - "fe793d2b.5a34a", - "967f6552.ee9a38", - "a1a9abde.ea9de8", - "d08c66c4.7c2608", - "661b7087.2c2c2", - "9281bde8.0db15", - "a05764a0.242458", - "51c0b7ea.3f9dc8", - "3ad79f2e.53c8c", - "82dc876b.abfd98", - "55f05cd1.c7cc44", - "12de84a1.b1a80b" + "ac139f07.afe46", + "d564f17f.3cd7c", + "b24304d4.852188", + "81139b91.d72eb8", + "da5a8374.7ecac", + "72df0cf3.25ba74", + "b5ddcb9b.3d0b08", + "7e7d6803.801908", + "97410a5a.3537b8", + "d656e279.64fe3", + "be0fff75.07c73", + "38ea07fe.9ae708", + "9639b1d0.6aa4d", + "5ded2c1d.2cf294" ] ] }, { - "id": "807be759.b5e538", + "id": "ac139f07.afe46", "type": "set", "name": "set tmp.ar.allotted-resource-id,etc", "xml": "<set>\n<parameter name='tmp.ar.allotted-resource-id' value='`$connection-attachment-topology-operation-input.allotted-resource-information.allotted-resource-id`' />\n<parameter name='tmp.ar.parent-service-instance-id' value='`$connection-attachment-topology-operation-input.allotted-resource-information.parent-service-instance-id`' />\n\n\n", "comments": "", - "x": 716.9935607910156, - "y": 154.9934868812561, - "z": "5775f861.275e28", + "x": 702.9974670410156, + "y": 163.9934859275818, + "z": "3cf3c3f6.8ecf4c", "wires": [] }, { - "id": "d198c8fb.642db8", + "id": "c1a22f40.b7f8d", "type": "comment", "name": "set tmp ar-id to fetch resource from MDSAL", "info": "", "comments": "", - "x": 745.9538726806641, - "y": 119.02528285980225, - "z": "5775f861.275e28", + "x": 731.9577789306641, + "y": 128.02528190612793, + "z": "3cf3c3f6.8ecf4c", "wires": [] }, { - "id": "3103f64.d6db90a", + "id": "d564f17f.3cd7c", "type": "set", "name": "set tmp.ar.self-link", "xml": "<set>\n<parameter name='tmp.ar.self-link' value=\"`'restconf/config/GENERIC-RESOURCE-API:connection-attachment-allotted-resources/connection-attachment-allotted-resource/'\n + $tmp.ar.allotted-resource-id\n + '/allotted-resource-data/connection-attachment-topology/'` \" />\n\n", "comments": "", - "x": 670.9934997558594, - "y": 247.99349212646484, - "z": "5775f861.275e28", + "x": 656.9974060058594, + "y": 256.9934911727905, + "z": "3cf3c3f6.8ecf4c", "wires": [] }, { - "id": "967f6552.ee9a38", + "id": "da5a8374.7ecac", "type": "execute", "name": "execute Properties", "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n", "comments": "", "outputs": 1, - "x": 677.2553901672363, - "y": 335.6602210998535, - "z": "5775f861.275e28", + "x": 663.2592964172363, + "y": 344.6602201461792, + "z": "3cf3c3f6.8ecf4c", "wires": [ [] ] }, { - "id": "6956382b.b9da98", + "id": "b24304d4.852188", "type": "execute", "name": "generate allotted-resource url", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.connection-attachment-allottedresource`\"/>\n <parameter name=\"outputPath\" value=\"tmp.ar-url\"/>\n <parameter name=\"target\" value=\"{allotted-resource-id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.ar.allotted-resource-id`\"/>\n", "comments": "", "outputs": 1, - "x": 709.2554168701172, - "y": 423.66020250320435, - "z": "5775f861.275e28", + "x": 695.2593231201172, + "y": 432.66020154953003, + "z": "3cf3c3f6.8ecf4c", "wires": [ [] ] }, { - "id": "3672b3c8.5060cc", + "id": "595e5ef1.fa051", "type": "comment", "name": "Used for setting output to API Handler", "info": "", "comments": "", - "x": 724.9935302734375, - "y": 214.993501663208, - "z": "5775f861.275e28", + "x": 710.9974365234375, + "y": 223.9935007095337, + "z": "3cf3c3f6.8ecf4c", "wires": [] }, { - "id": "e2c9f631.cf0b18", + "id": "6c854173.f4bc7", "type": "comment", "name": "Obtain different URL, template location etc", "info": "For saving resource information to MDSAL & for AAI", "comments": "", - "x": 742.9934959411621, - "y": 300.8823823928833, - "z": "5775f861.275e28", + "x": 728.9974021911621, + "y": 309.882381439209, + "z": "3cf3c3f6.8ecf4c", "wires": [] }, { - "id": "c3b16670.191818", + "id": "e788822e.3722e", "type": "comment", "name": "Used to Get AR by id to MDSAL, same as self-link", "info": "", "comments": "", - "x": 768.9935150146484, - "y": 387.8823413848877, - "z": "5775f861.275e28", + "x": 754.9974212646484, + "y": 396.8823404312134, + "z": "3cf3c3f6.8ecf4c", "wires": [] }, { - "id": "bae16026.94177", + "id": "dff7fd40.e0f0c", "type": "comment", "name": "GET parent-service-data from mdsal to check existence of other End point", "info": "", "comments": "", - "x": 836.0003280639648, - "y": 842.5316228866577, - "z": "5775f861.275e28", + "x": 822.0042343139648, + "y": 851.5316219329834, + "z": "3cf3c3f6.8ecf4c", "wires": [] }, { - "id": "d310ec7e.ce8c1", + "id": "5cba16bf.c97498", "type": "for", "name": "for pidx..mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource[]", "xml": "<for index='pidx' start='0' end='`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource_length`' >\n", "comments": "", "outputs": 1, - "x": 1664.1849365234375, - "y": 1076.00425863266, - "z": "5775f861.275e28", + "x": 1650.1888427734375, + "y": 1085.0042576789856, + "z": "3cf3c3f6.8ecf4c", "wires": [ [ - "ec3e44a4.ec0718" + "72856d05.385d64" ] ] }, { - "id": "fe793d2b.5a34a", + "id": "81139b91.d72eb8", "type": "switchNode", "name": "switch mdsal-psd.service-data.provided-allotted-resources_length", "xml": "<switch test='`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource_length`'>\n", "comments": "", "outputs": 1, - "x": 815.1842956542969, - "y": 1082.718041419983, - "z": "5775f861.275e28", + "x": 801.1882019042969, + "y": 1091.7180404663086, + "z": "3cf3c3f6.8ecf4c", "wires": [ [ - "7a0bf533.2fea3c", - "7505397d.8aabc8" + "e3d57198.c43ea", + "2011daa6.6398e6" ] ] }, { - "id": "1ad39230.0014ce", + "id": "73a8d368.4b79bc", "type": "block", "name": "block : atomic", "xml": "<block atomic=\"true\">", "atomic": "true", "outputs": 1, - "x": 1265.4544582366943, - "y": 1122.7015271186829, - "z": "5775f861.275e28", + "x": 1251.4583644866943, + "y": 1131.7015261650085, + "z": "3cf3c3f6.8ecf4c", "wires": [ [ - "d310ec7e.ce8c1", - "757e6827.467698" + "5cba16bf.c97498", + "4ca0ceba.893a2" ] ] }, { - "id": "ec3e44a4.ec0718", + "id": "72856d05.385d64", "type": "switchNode", "name": "switch allotted-resource-id", "xml": "<switch test=\"`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource[$pidx].allotted-resource-id == $tmp.ar.allotted-resource-id`\">\n\n", "comments": "", "outputs": 1, - "x": 2114.296142578125, - "y": 1074.0041165351868, - "z": "5775f861.275e28", + "x": 2100.300048828125, + "y": 1083.0041155815125, + "z": "3cf3c3f6.8ecf4c", "wires": [ [ - "f9268a01.5183a8" + "f2234386.9854c" ] ] }, { - "id": "a1a9abde.ea9de8", + "id": "72df0cf3.25ba74", "type": "set", "name": "set tmp.ar.parent-service-instance-id", "xml": "<set>\n<parameter name='tmp.ar.parent-service-instance-id' value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.parent-service-instance-id` \" />\n\n", "comments": "", - "x": 726.9687118530273, - "y": 878.0000677108765, - "z": "5775f861.275e28", + "x": 712.9726181030273, + "y": 887.0000667572021, + "z": "3cf3c3f6.8ecf4c", "wires": [] }, { - "id": "23d329ac.3b7e66", + "id": "32223174.f7450e", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1106.968994140625, - "y": 956.0001826286316, - "z": "5775f861.275e28", + "x": 1092.972900390625, + "y": 965.0001816749573, + "z": "3cf3c3f6.8ecf4c", "wires": [ [ - "5bb8e723.a51448" + "c45c28d6.ff3cc8" ] ] }, { - "id": "e13f07b8.3067a8", + "id": "e0a303bb.2dc06", "type": "other", "name": "other", "xml": "<outcome value='Other'>\n", "comments": "", "outputs": 1, - "x": 1098.8207969665527, - "y": 991.066267490387, - "z": "5775f861.275e28", + "x": 1084.8247032165527, + "y": 1000.0662665367126, + "z": "3cf3c3f6.8ecf4c", "wires": [ [ - "ad43541b.ecf6c8" + "3e0bcadf.484fe6" ] ] }, { - "id": "ad43541b.ecf6c8", + "id": "3e0bcadf.484fe6", "type": "returnFailure", "name": "return failure", "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n <parameter name=\"error-message\" value=\"Error: SOTN resource not found\" />\n \n", "comments": "", - "x": 1273.969482421875, - "y": 987.3336176872253, - "z": "5775f861.275e28", + "x": 1259.973388671875, + "y": 996.333616733551, + "z": "3cf3c3f6.8ecf4c", "wires": [] }, { - "id": "5bb8e723.a51448", + "id": "c45c28d6.ff3cc8", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1257.968994140625, - "y": 954.0001826286316, - "z": "5775f861.275e28", + "x": 1243.972900390625, + "y": 963.0001816749573, + "z": "3cf3c3f6.8ecf4c", "wires": [ [] ] }, { - "id": "9e10ac1a.8f491", + "id": "ebfdd448.549cc8", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 960.7307624816895, - "y": 1271.952815413475, - "z": "5775f861.275e28", + "x": 946.7346687316895, + "y": 1280.9528144598007, + "z": "3cf3c3f6.8ecf4c", "wires": [ [ - "37086a0f.d393c6" + "65c46af.7320594" ] ] }, { - "id": "37086a0f.d393c6", + "id": "65c46af.7320594", "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=\"AAI failed\" />\n", "comments": "", - "x": 1127.2546424865723, - "y": 1283.57188642025, - "z": "5775f861.275e28", + "x": 1113.2585487365723, + "y": 1292.5718854665756, + "z": "3cf3c3f6.8ecf4c", "wires": [] }, { - "id": "824c305f.f99dc", + "id": "4d049da0.ca99b4", "type": "failure", "name": "not-found", "xml": "<outcome value='not-found'>\n", "comments": "", "outputs": 1, - "x": 967.8260498046875, - "y": 1304.7147830724716, - "z": "5775f861.275e28", + "x": 953.8299560546875, + "y": 1313.7147821187973, + "z": "3cf3c3f6.8ecf4c", "wires": [ [ - "37086a0f.d393c6" + "65c46af.7320594" ] ] }, { - "id": "bf221914.603808", + "id": "36f9e028.ff6b9", "type": "comment", "name": "TODO: Rework after confirmation from AAI", "info": "", "comments": "", - "x": 1092.1374282836914, - "y": 1222.8732151985168, - "z": "5775f861.275e28", + "x": 1078.1413345336914, + "y": 1231.8732142448425, + "z": "3cf3c3f6.8ecf4c", "wires": [] }, { - "id": "d08c66c4.7c2608", + "id": "b5ddcb9b.3d0b08", "type": "set", "name": "set output to api handler", "xml": "<set>\n<parameter name='allotted-resource-id' value='`$tmp.ar.allotted-resource-id`' />\n<parameter name='connection-attachment-object-path' value=\"`$tmp.ar.self-link`\"/>\n<parameter name='service-object-path' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $connection-attachment-topology-operation-input.service-information.service-instance-id\n + '/service-data/service-topology/'`\"/>\n \n", "comments": "", - "x": 693.5461502075195, - "y": 1235.8276824951172, - "z": "5775f861.275e28", + "x": 679.5500564575195, + "y": 1244.8276815414429, + "z": "3cf3c3f6.8ecf4c", "wires": [] }, { - "id": "661b7087.2c2c2", + "id": "7e7d6803.801908", "type": "returnSuccess", "name": "return success", "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n", "comments": "", - "x": 662.9592552185059, - "y": 1336.4434370994568, - "z": "5775f861.275e28", + "x": 648.9631729125977, + "y": 1351.443561553955, + "z": "3cf3c3f6.8ecf4c", "wires": [] }, { - "id": "9281bde8.0db15", + "id": "97410a5a.3537b8", "type": "execute", "name": "execute RestApiCallNode - PUT AR by id", "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-url`' />\n <parameter name='restapiUser' value='`$prop.controller.user`' />\n <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='Delete' />\n <parameter name=\"responsePrefix\" value=\"mdsal-ar\" />\n\n", "comments": "", "outputs": 1, - "x": 742.6666641235352, - "y": 512.3333625793457, - "z": "5775f861.275e28", + "x": 728.6705703735352, + "y": 521.3333616256714, + "z": "3cf3c3f6.8ecf4c", "wires": [ [ - "3bcdf792.ce5568", - "75f51d5f.311a14", - "aab69d22.7b384" + "1994f5fd.2a6f4a", + "da3ffcab.ea62a", + "e404bf43.f1066" ] ] }, { - "id": "3bcdf792.ce5568", + "id": "1994f5fd.2a6f4a", "type": "not-found", "name": "not-found", "xml": "<outcome value='not-found'>\n", "comments": "", "outputs": 1, - "x": 982.3081665039062, - "y": 552.6649107933044, - "z": "5775f861.275e28", + "x": 968.3120727539062, + "y": 561.6649098396301, + "z": "3cf3c3f6.8ecf4c", "wires": [ [ - "a17e8ce5.2802d" + "e45dc5dc.4ac748" ] ] }, { - "id": "75f51d5f.311a14", + "id": "da3ffcab.ea62a", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 979.3081665039062, - "y": 509.16490840911865, - "z": "5775f861.275e28", + "x": 965.3120727539062, + "y": 518.1649074554443, + "z": "3cf3c3f6.8ecf4c", "wires": [ [ - "a17e8ce5.2802d" + "e45dc5dc.4ac748" ] ] }, { - "id": "aab69d22.7b384", + "id": "e404bf43.f1066", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 986.0582466125488, - "y": 468.5220036506653, - "z": "5775f861.275e28", + "x": 972.0621528625488, + "y": 477.52200269699097, + "z": "3cf3c3f6.8ecf4c", "wires": [ [ - "e5460f9f.21ecb" + "6706c73a.4ce818" ] ] }, { - "id": "a17e8ce5.2802d", + "id": "e45dc5dc.4ac748", "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 updating md-sal for connection-attachment-allotted-resource\" />\n", "comments": "", - "x": 1138.058334350586, - "y": 530.9149088859558, - "z": "5775f861.275e28", + "x": 1124.062240600586, + "y": 539.9149079322815, + "z": "3cf3c3f6.8ecf4c", "wires": [] }, { - "id": "e5460f9f.21ecb", + "id": "6706c73a.4ce818", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1123.7141780853271, - "y": 468.7141833305359, - "z": "5775f861.275e28", + "x": 1109.7180843353271, + "y": 477.7141823768616, + "z": "3cf3c3f6.8ecf4c", "wires": [ [] ] }, { - "id": "cb30deee.bf09a", + "id": "61ea2842.341858", "type": "comment", "name": "Delete Allotted Resource", "info": "", "comments": "", - "x": 690.0000457763672, - "y": 481.0000286102295, - "z": "5775f861.275e28", + "x": 676.0039520263672, + "y": 490.0000276565552, + "z": "3cf3c3f6.8ecf4c", "wires": [] }, { - "id": "950f3191.ae2ba", + "id": "6dbcd93.5772b28", "type": "for", "name": "for cidx..service-data.consumed-allotted-resources.consumed-allotted-resource[]", "xml": "<for index='cidx' start='0' end='`$service-data.consumed-allotted-resources.consumed-allotted-resource_length`' >\n", "comments": "", "outputs": 1, - "x": 1640.00390625, - "y": 718.00390625, - "z": "5775f861.275e28", + "x": 1626.0078125, + "y": 727.0039052963257, + "z": "3cf3c3f6.8ecf4c", "wires": [ [ - "763d401a.4c2ab" + "8604274a.795a98" ] ] }, { - "id": "a05764a0.242458", + "id": "d656e279.64fe3", "type": "switchNode", "name": "switch service-data.consumed-allotted-resources_length", "xml": "<switch test='`$service-data.consumed-allotted-resources.consumed-allotted-resource_length`'>\n", "comments": "", "outputs": 1, - "x": 793.0032920837402, - "y": 678.71790766716, - "z": "5775f861.275e28", + "x": 779.0071983337402, + "y": 687.7179067134857, + "z": "3cf3c3f6.8ecf4c", "wires": [ [ - "70bab1b2.6f71f", - "ab0947c0.c09f58" + "e4f37d32.adb08", + "b232603b.f0d15" ] ] }, { - "id": "70bab1b2.6f71f", + "id": "e4f37d32.adb08", "type": "other", "name": "outcome Null", "xml": "<outcome value=''>\n", "comments": "", "outputs": 1, - "x": 1117.1461563110352, - "y": 661.5753421783447, - "z": "5775f861.275e28", + "x": 1103.1500625610352, + "y": 670.5753412246704, + "z": "3cf3c3f6.8ecf4c", "wires": [ [ - "b260d54b.5e5f58" + "157affe5.dc6c6" ] ] }, { - "id": "ab0947c0.c09f58", + "id": "b232603b.f0d15", "type": "other", "name": "other", "xml": "<outcome value='Other'>\n", "comments": "", "outputs": 1, - "x": 1103.1461791992188, - "y": 724.5753309726715, - "z": "5775f861.275e28", + "x": 1089.1500854492188, + "y": 733.5753300189972, + "z": "3cf3c3f6.8ecf4c", "wires": [ [ - "d2367329.94565" + "a3ecd1d6.43a2e" ] ] }, { - "id": "d2367329.94565", + "id": "a3ecd1d6.43a2e", "type": "block", "name": "block : atomic", "xml": "<block atomic=\"true\">", "atomic": "true", "outputs": 1, - "x": 1263.2732696533203, - "y": 722.7013075351715, - "z": "5775f861.275e28", + "x": 1249.2771759033203, + "y": 731.7013065814972, + "z": "3cf3c3f6.8ecf4c", "wires": [ [ - "950f3191.ae2ba", - "51c9f5a5.4315fc" + "6dbcd93.5772b28", + "9971417.dd05cc" ] ] }, { - "id": "51c0b7ea.3f9dc8", + "id": "be0fff75.07c73", "type": "set", "name": "set consumed allotted resources for deletion", "xml": "<set>\n<parameter name=\"service-data.consumed-allotted-resources.consumed-allotted-resource[$cidx].\" value=\"\" />\n<parameter name='service-data.consumed-allotted-resources.consumed-allotted-resource_length' value='`$service-data.consumed-allotted-resources.consumed-allotted-resource_length - 1`' />\n\n", "comments": "", - "x": 749.8606262207031, - "y": 749.28955078125, - "z": "5775f861.275e28", + "x": 735.8645324707031, + "y": 758.2895498275757, + "z": "3cf3c3f6.8ecf4c", "wires": [] }, { - "id": "763d401a.4c2ab", + "id": "8604274a.795a98", "type": "switchNode", "name": "switch allotted-resource-id", "xml": "<switch test=\"`$service-data.consumed-allotted-resources.consumed-allotted-resource[$cidx].allotted-resource-id == $tmp.ar.allotted-resource-id`\">\n\n", "comments": "", "outputs": 1, - "x": 2078.1155166625977, - "y": 714.0040283203125, - "z": "5775f861.275e28", + "x": 2064.1194229125977, + "y": 723.0040273666382, + "z": "3cf3c3f6.8ecf4c", "wires": [ [ - "8699c549.34eb68" + "3ce4b91e.bc1ea6" ] ] }, { - "id": "8699c549.34eb68", + "id": "3ce4b91e.bc1ea6", "type": "outcomeTrue", "name": "true", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 2273.925338745117, - "y": 713.4683527946472, - "z": "5775f861.275e28", + "x": 2259.929244995117, + "y": 722.4683518409729, + "z": "3cf3c3f6.8ecf4c", "wires": [ [ - "a387ae74.594b6" + "bfbb9b9d.413298" ] ] }, { - "id": "365e6c51.6f6434", + "id": "5d4138bb.2e6948", "type": "set", "name": "set tmp.cidx", "xml": "<set>\n<parameter name='tmp.cidx' value='`$cidx`' />\n", "comments": "", - "x": 2589.2618713378906, - "y": 714.2246108055115, - "z": "5775f861.275e28", + "x": 2575.2657775878906, + "y": 723.2246098518372, + "z": "3cf3c3f6.8ecf4c", "wires": [] }, { - "id": "dda8dc98.e31b", + "id": "80fa82c1.032f3", "type": "comment", "name": "Delete consumed service consumed-allotted-resources in mdsal", "info": "", "comments": "", - "x": 804.0045623779297, - "y": 611.0038724095793, - "z": "5775f861.275e28", + "x": 790.0084686279297, + "y": 620.003871455905, + "z": "3cf3c3f6.8ecf4c", "wires": [] }, { - "id": "f55bb2df.f0b", + "id": "b69750ea.d13e7", "type": "comment", "name": "This set resource will be deleted in MDSAL by provider code", "info": "", "comments": "", - "x": 794.337345123291, - "y": 715.781964302063, - "z": "5775f861.275e28", + "x": 780.341251373291, + "y": 724.7819633483887, + "z": "3cf3c3f6.8ecf4c", "wires": [] }, { - "id": "c48ea2e0.f31db", + "id": "24feb42b.2816cc", "type": "comment", "name": "Obtain the index of conusumed AR", "info": "", "comments": "", - "x": 716.7817535400391, - "y": 642.8927326202393, - "z": "5775f861.275e28", + "x": 702.7856597900391, + "y": 651.8927316665649, + "z": "3cf3c3f6.8ecf4c", "wires": [] }, { - "id": "b260d54b.5e5f58", + "id": "157affe5.dc6c6", "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=\"Resource to be deleted doesn't exist in MDSAL.\" />\n", "comments": "", - "x": 1279.00390625, - "y": 662.00390625, - "z": "5775f861.275e28", + "x": 1265.0078125, + "y": 671.0039052963257, + "z": "3cf3c3f6.8ecf4c", "wires": [] }, { - "id": "a387ae74.594b6", + "id": "bfbb9b9d.413298", "type": "block", "name": "block : atomic", "xml": "<block atomic=\"true\">", "atomic": "true", "outputs": 1, - "x": 2423.003936767578, - "y": 714.2539558410645, - "z": "5775f861.275e28", + "x": 2409.007843017578, + "y": 723.2539548873901, + "z": "3cf3c3f6.8ecf4c", "wires": [ [ - "365e6c51.6f6434" + "5d4138bb.2e6948" ] ] }, { - "id": "9d4dfb29.6b9ee8", + "id": "f597fe60.1abe5", "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=\"resource to be deleted is not available in mdsal\" />\n", "comments": "", - "x": 1733.25390625, - "y": 771.25390625, - "z": "5775f861.275e28", + "x": 1719.2578125, + "y": 780.2539052963257, + "z": "3cf3c3f6.8ecf4c", "wires": [] }, { - "id": "42d75f79.805d2", + "id": "15fa064d.455b2a", "type": "outcome", "name": "NULL", "xml": "<outcome value=''>\n", "comments": "", "outputs": 1, - "x": 1595.75390625, - "y": 771.25390625, - "z": "5775f861.275e28", + "x": 1581.7578125, + "y": 780.2539052963257, + "z": "3cf3c3f6.8ecf4c", "wires": [ [ - "9d4dfb29.6b9ee8" + "f597fe60.1abe5" ] ] }, { - "id": "51c9f5a5.4315fc", + "id": "9971417.dd05cc", "type": "switchNode", "name": "switch tmp.cidx ", "xml": "<switch test=\"`$tmp.cidx`\">\n\n", "comments": "", "outputs": 1, - "x": 1441.75390625, - "y": 771.25390625, - "z": "5775f861.275e28", + "x": 1427.7578125, + "y": 780.2539052963257, + "z": "3cf3c3f6.8ecf4c", "wires": [ [ - "42d75f79.805d2" + "15fa064d.455b2a" ] ] }, { - "id": "7f854ddc.974234", + "id": "78b32310.b31e1c", "type": "comment", "name": "Delete provided service provided-allotted-resources in mdsal", "info": "", "comments": "", - "x": 790.5039215087891, - "y": 807.00390625, - "z": "5775f861.275e28", + "x": 776.5078277587891, + "y": 816.0039052963257, + "z": "3cf3c3f6.8ecf4c", "wires": [] }, { - "id": "7505397d.8aabc8", + "id": "2011daa6.6398e6", "type": "other", "name": "other", "xml": "<outcome value='Other'>\n", "comments": "", "outputs": 1, - "x": 1118.5041770935059, - "y": 1121.7540984153748, - "z": "5775f861.275e28", + "x": 1104.5080833435059, + "y": 1130.7540974617004, + "z": "3cf3c3f6.8ecf4c", "wires": [ [ - "1ad39230.0014ce" + "73a8d368.4b79bc" ] ] }, { - "id": "7a0bf533.2fea3c", + "id": "e3d57198.c43ea", "type": "other", "name": "outcome Null", "xml": "<outcome value=''>\n", "comments": "", "outputs": 1, - "x": 1135.5040969848633, - "y": 1033.7539324760437, - "z": "5775f861.275e28", + "x": 1121.5080032348633, + "y": 1042.7539315223694, + "z": "3cf3c3f6.8ecf4c", "wires": [ [ - "7c243332.a34bdc" + "e0cbd03d.fef77" ] ] }, { - "id": "7c243332.a34bdc", + "id": "e0cbd03d.fef77", "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=\"Resource to be deleted doesn't exist in MDSAL.\" />\n", "comments": "", - "x": 1299.3616943359375, - "y": 1034.1824774742126, - "z": "5775f861.275e28", + "x": 1285.3656005859375, + "y": 1043.1824765205383, + "z": "3cf3c3f6.8ecf4c", "wires": [] }, { - "id": "eb1cae26.e29d4", + "id": "8152d4f5.017ee8", "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=\"resource to be deleted is not available in mdsal\" />\n", "comments": "", - "x": 1730.7539501190186, - "y": 1151.753936290741, - "z": "5775f861.275e28", + "x": 1716.7578563690186, + "y": 1160.7539353370667, + "z": "3cf3c3f6.8ecf4c", "wires": [] }, { - "id": "7690b02b.7872f", + "id": "9af42612.9cc9e8", "type": "outcome", "name": "NULL", "xml": "<outcome value=''>\n", "comments": "", "outputs": 1, - "x": 1593.2539501190186, - "y": 1151.753936290741, - "z": "5775f861.275e28", + "x": 1579.2578563690186, + "y": 1160.7539353370667, + "z": "3cf3c3f6.8ecf4c", "wires": [ [ - "eb1cae26.e29d4" + "8152d4f5.017ee8" ] ] }, { - "id": "757e6827.467698", + "id": "4ca0ceba.893a2", "type": "switchNode", "name": "switch tmp.pidx ", "xml": "<switch test=\"`$tmp.pidx`\">\n\n", "comments": "", "outputs": 1, - "x": 1439.2539501190186, - "y": 1151.753936290741, - "z": "5775f861.275e28", + "x": 1425.2578563690186, + "y": 1160.7539353370667, + "z": "3cf3c3f6.8ecf4c", "wires": [ [ - "7690b02b.7872f" + "9af42612.9cc9e8" ] ] }, { - "id": "f9268a01.5183a8", + "id": "f2234386.9854c", "type": "outcomeTrue", "name": "true", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 2303.504367828369, - "y": 1071.7540946006775, - "z": "5775f861.275e28", + "x": 2289.508274078369, + "y": 1080.7540936470032, + "z": "3cf3c3f6.8ecf4c", "wires": [ [ - "86a5d9a6.a11a58" + "8c3b4c6c.f6375" ] ] }, { - "id": "b544cb9e.217168", + "id": "51d5026c.5bd4fc", "type": "set", "name": "set tmp.pidx", "xml": "<set>\n<parameter name='tmp.pidx' value='`$pidx`' />\n", "comments": "", - "x": 2371.8404846191406, - "y": 1206.5101914405823, - "z": "5775f861.275e28", + "x": 2357.8443908691406, + "y": 1215.510190486908, + "z": "3cf3c3f6.8ecf4c", "wires": [] }, { - "id": "86a5d9a6.a11a58", + "id": "8c3b4c6c.f6375", "type": "block", "name": "block : atomic", "xml": "<block atomic=\"true\">", "atomic": "true", "outputs": 1, - "x": 2363.582820892334, - "y": 1142.539580821991, - "z": "5775f861.275e28", + "x": 2349.586727142334, + "y": 1151.5395798683167, + "z": "3cf3c3f6.8ecf4c", "wires": [ [ - "b544cb9e.217168" + "51d5026c.5bd4fc" ] ] }, { - "id": "3ad79f2e.53c8c", + "id": "38ea07fe.9ae708", "type": "set", "name": "set provided allotted resources for deletion", "xml": "<set>\n<parameter name=\"service-data.provided-allotted-resources.consumed-allotted-resource[$pidx].\" value=\"\" />\n<parameter name=\"service-data.provided-allotted-resources.consumed-allotted-resource_length\" value='`$service-data.provided-allotted-resources.consumed-allotted-resource_length - 1`' />\n\n", "comments": "", - "x": 749.0039978027344, - "y": 1137.0039768218994, - "z": "5775f861.275e28", + "x": 735.0079040527344, + "y": 1146.003975868225, + "z": "3cf3c3f6.8ecf4c", "wires": [] }, { - "id": "82dc876b.abfd98", + "id": "a01da430.f51578", "type": "update", "name": "update AAI allotted-resource", "xml": "<delete plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" resource='allotted-resource' \n\t\tkey=\"customer.global-customer-id = $connection-attachment-topology-operation-input.service-information.global-customer-id AND\n\t\t\tservice-subscription.service-type = $connection-attachment-topology-operation-input.service-information.subscription-service-type AND\n\t\t\tservice-instance.service-instance-id = $connection-attachment-topology-operation-input.allotted-resource-information.parent-service-instance-id AND\n\t\t\tallotted-resource.id = $tmp.ar.allotted-resource-id\">\n", "comments": "", "outputs": 1, - "x": 706.2227554321289, - "y": 1291.754346370697, - "z": "5775f861.275e28", + "x": 692.2266616821289, + "y": 1300.7543454170227, + "z": "3cf3c3f6.8ecf4c", "wires": [ [ - "9e10ac1a.8f491", - "824c305f.f99dc" + "ebfdd448.549cc8", + "4d049da0.ca99b4" ] ] }, { - "id": "12de84a1.b1a80b", + "id": "5ded2c1d.2cf294", "type": "execute", "name": "execute RestApiCallNode - get-resource parent service data", "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-url-psd`' />\n <parameter name='restapiUser' value='`$prop.controller.user`' />\n <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='GET' />\n <parameter name=\"responsePrefix\" value=\"mdsal-psd\" />\n\n", "comments": "", "outputs": 1, - "x": 796.3334197998047, - "y": 977.333366394043, - "z": "5775f861.275e28", + "x": 782.3373260498047, + "y": 986.3333654403687, + "z": "3cf3c3f6.8ecf4c", "wires": [ [ - "23d329ac.3b7e66", - "e13f07b8.3067a8" + "32223174.f7450e", + "e0a303bb.2dc06" ] ] }, { - "id": "55f05cd1.c7cc44", + "id": "9639b1d0.6aa4d", "type": "execute", "name": "get parent-service-data tmp.ar-url-psd", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"/restconf/config/GENERIC-RESOURCE-API:services/service/{service-instance-id}/service-data\"/>\n <parameter name=\"outputPath\" value=\"tmp.ar-url-psd\"/>\n <parameter name=\"target\" value=\"{service-instance-id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.ar.parent-service-instance-id`\"/>", "comments": "", "outputs": 1, - "x": 730.3333587646484, - "y": 935.3332056999207, - "z": "5775f861.275e28", + "x": 716.3372650146484, + "y": 944.3332047462463, + "z": "3cf3c3f6.8ecf4c", "wires": [ [] ] |