diff options
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sotn-attachment-topology-operation-deactivate.json')
-rw-r--r-- | platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sotn-attachment-topology-operation-deactivate.json | 1643 |
1 files changed, 790 insertions, 853 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sotn-attachment-topology-operation-deactivate.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sotn-attachment-topology-operation-deactivate.json index 51d135e6..17d40546 100644 --- a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sotn-attachment-topology-operation-deactivate.json +++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sotn-attachment-topology-operation-deactivate.json @@ -1,20 +1,20 @@ [ { - "id": "902cbf05.82ac2", + "id": "b54f27ef.5db9a8", "type": "dgstart", "name": "DGSTART", "outputs": 1, - "x": 109.00390625, - "y": 52.999999046325684, - "z": "d3dd528c.9edcf", + "x": 76.00390625, + "y": 37.00390625, + "z": "4ec136ff.390af8", "wires": [ [ - "51c9fb4f.5229b4" + "73825793.639008" ] ] }, { - "id": "51c9fb4f.5229b4", + "id": "73825793.639008", "type": "service-logic", "name": "GENERIC-RESOURCE-API ${project.version}", "module": "GENERIC-RESOURCE-API", @@ -22,1926 +22,1863 @@ "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": 321.00391006469727, - "y": 125.00001621246338, - "z": "d3dd528c.9edcf", + "x": 288.00391006469727, + "y": 109.0039234161377, + "z": "4ec136ff.390af8", "wires": [ [ - "ccbd5d22.8595f" + "91a3b40f.a091b8" ] ] }, { - "id": "ccbd5d22.8595f", + "id": "91a3b40f.a091b8", "type": "method", "name": "sotn-attachment-topology-operation-deactivate", "xml": "<method rpc='sotn-attachment-topology-operation-deactivate' mode='sync'>\n", "comments": "", "outputs": 1, - "x": 309.0040283203125, - "y": 212.99999904632568, - "z": "d3dd528c.9edcf", + "x": 276.0040283203125, + "y": 197.00390625, + "z": "4ec136ff.390af8", "wires": [ [ - "1f233e48.d0a312" + "8b49cdb4.0b003" ] ] }, { - "id": "1f233e48.d0a312", + "id": "8b49cdb4.0b003", "type": "block", "name": "block : atomic", "xml": "<block atomic=\"true\">\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 325.0040283203125, - "y": 768.0002436637878, - "z": "d3dd528c.9edcf", + "x": 292.0040283203125, + "y": 752.0041508674622, + "z": "4ec136ff.390af8", "wires": [ [ - "c4ceb71c.15c748", - "9533eb28.c2dc18", - "cf024f6b.1779", - "379451f5.6f5f6e", - "b6fea8ef.c49268", - "509e7b0a.918fb4", - "afaa2fc8.ec942", - "9831615b.70a3c", - "78575bc9.95a094", - "6c9c6e62.89b72", - "761075c6.da2f4c", - "bc240e74.2145b", - "ad638e.fad5cc7", - "d8c85975.6bf758", - "a691ab09.aead58", - "72567cb3.f1fbd4", - "ce4db8c8.182408", - "ea67aab8.ef7588", - "53b9be67.07128" + "c083b508.69c318", + "520006f2.b2e4d8", + "70bf29a.577bcd8", + "648ef4ed.e1062c", + "8e15ef85.af876", + "7cd467cc.f359b8", + "4ca01b12.aeeae4", + "6963b7ed.1ac188", + "2a2a1345.d7f2ec", + "5c89f183.d2653", + "f1e26abf.1dc9f8", + "25f9e140.e4210e", + "1507ea99.aa8315", + "3a95a888.e92908", + "dd09565b.b81778", + "60ba1f59.42707", + "bf1b5f9f.275aa", + "ff509458.45f008", + "980e2d4b.7e472", + "372ff043.61187" ] ] }, { - "id": "c4ceb71c.15c748", + "id": "c083b508.69c318", "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", + "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": 721.9974670410156, - "y": 166.9934859275818, - "z": "d3dd528c.9edcf", - "wires": [ - - ] + "x": 688.9974670410156, + "y": 150.9973931312561, + "z": "4ec136ff.390af8", + "wires": [] }, { - "id": "2ba99ef0.0a9972", + "id": "8cf7665f.0ad548", "type": "comment", "name": "set tmp ar-id to fetch resource from MDSAL", "info": "", "comments": "", - "x": 750.9577789306641, - "y": 131.02528190612793, - "z": "d3dd528c.9edcf", - "wires": [ - - ] + "x": 717.9577789306641, + "y": 115.02918910980225, + "z": "4ec136ff.390af8", + "wires": [] }, { - "id": "9533eb28.c2dc18", + "id": "520006f2.b2e4d8", "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": 675.9974060058594, - "y": 259.9934911727905, - "z": "d3dd528c.9edcf", - "wires": [ - - ] + "x": 642.9974060058594, + "y": 243.99739837646484, + "z": "4ec136ff.390af8", + "wires": [] }, { - "id": "9831615b.70a3c", + "id": "8e15ef85.af876", "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": 682.2592964172363, - "y": 347.6602201461792, - "z": "d3dd528c.9edcf", + "x": 649.2592964172363, + "y": 331.6641273498535, + "z": "4ec136ff.390af8", "wires": [ - [ - - ] + [] ] }, { - "id": "cf024f6b.1779", + "id": "70bf29a.577bcd8", "type": "execute", - "name": "generate allotted-resource url", + "name": "generate allotted-resource tmp.ar-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": 714.2593231201172, - "y": 435.66020154953003, - "z": "d3dd528c.9edcf", - "wires": [ - [ - - ] - ] - }, - { - "id": "379451f5.6f5f6e", - "type": "get-resource", - "name": "get-resource connection-attachment-allotted-resource", - "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.mdsal.ConfigResource' resource='GENERIC-RESOURCE-API' key='connection-attachment-allotted-resources/connection-attachment-allotted-resource/$connection-attachment-topology-operation-input.allotted-resource-information.allotted-resource-id/' pfx='mdsal-ar' >\n", - "comments": "", - "outputs": 1, - "x": 784.9974212646484, - "y": 525.7712602615356, - "z": "d3dd528c.9edcf", + "x": 699.2593994140625, + "y": 418.66412830352783, + "z": "4ec136ff.390af8", "wires": [ - [ - "15794b13.fbac75", - "e02b6e93.81b44" - ] + [] ] }, { - "id": "2fa8e20c.3e4dde", + "id": "f4f0e304.bbd67", "type": "comment", "name": "GET connection-attachment-allotted-resource from mdsal", "info": "", "comments": "", - "x": 791.8122177124023, - "y": 497.5385789871216, - "z": "d3dd528c.9edcf", - "wires": [ - - ] + "x": 742.8123931884766, + "y": 489.54267501831055, + "z": "4ec136ff.390af8", + "wires": [] }, { - "id": "e89ba5d2.ca7f98", + "id": "3183ed7f.7cdf82", "type": "comment", "name": "Used for setting output to API Handler", "info": "", "comments": "", - "x": 729.9974365234375, - "y": 226.9935007095337, - "z": "d3dd528c.9edcf", - "wires": [ - - ] + "x": 696.9974365234375, + "y": 210.997407913208, + "z": "4ec136ff.390af8", + "wires": [] }, { - "id": "f751e97a.0a8c78", + "id": "61fa78e8.e88928", "type": "comment", "name": "Obtain different URL, template location etc", "info": "For saving resource information to MDSAL & for AAI", "comments": "", - "x": 747.9974021911621, - "y": 312.882381439209, - "z": "d3dd528c.9edcf", - "wires": [ - - ] + "x": 714.9974021911621, + "y": 296.8862886428833, + "z": "4ec136ff.390af8", + "wires": [] }, { - "id": "48dad372.ba3dcc", + "id": "e460b896.d8ce98", "type": "comment", "name": "Used to Get AR by id to MDSAL, same as self-link", "info": "", "comments": "", - "x": 773.9974212646484, - "y": 399.8823404312134, - "z": "d3dd528c.9edcf", - "wires": [ - - ] + "x": 740.9974212646484, + "y": 383.8862476348877, + "z": "4ec136ff.390af8", + "wires": [] }, { - "id": "15794b13.fbac75", + "id": "f65756e0.dd7818", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1084.6706237792969, - "y": 510.99999141693115, - "z": "d3dd528c.9edcf", + "x": 1183.6707344055176, + "y": 537.0039348602295, + "z": "4ec136ff.390af8", "wires": [ [ - "952af6d.1617708" + "4dc0f774.40c9e8" ] ] }, { - "id": "952af6d.1617708", + "id": "4dc0f774.40c9e8", "type": "block", "name": "block: atomic", "xml": "<block atomic=\"true\">\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1253.6706275939941, - "y": 509.49989223480225, - "z": "d3dd528c.9edcf", + "x": 1352.6707382202148, + "y": 535.5038356781006, + "z": "4ec136ff.390af8", "wires": [ [ - "f480b1f9.28302" + "a07cda93.450c08" ] ] }, { - "id": "f480b1f9.28302", + "id": "a07cda93.450c08", "type": "switchNode", "name": "switch cr length", "xml": "<switch test='`$mdsal-ar.connection-attachment-allotted-resource_length`'>\n", "comments": "", "outputs": 1, - "x": 1464.5278701782227, - "y": 509.11902141571045, - "z": "d3dd528c.9edcf", + "x": 1525.5280075073242, + "y": 473.12299823760986, + "z": "4ec136ff.390af8", "wires": [ [ - "f8514da1.cfdee", - "7e23dfd3.3f458" + "22ec9ce0.2f5dd4", + "f2f6c092.18725" ] ] }, { - "id": "f8514da1.cfdee", + "id": "22ec9ce0.2f5dd4", "type": "other", "name": "outcome 1", "xml": "<outcome value='1'>\n", "comments": "", "outputs": 1, - "x": 1653.8611755371094, - "y": 509.1189794540405, - "z": "d3dd528c.9edcf", + "x": 1762.8612518310547, + "y": 451.1229486465454, + "z": "4ec136ff.390af8", "wires": [ [ - "738ae2e5.a84e3c" + "9d16e841.df5298" ] ] }, { - "id": "738ae2e5.a84e3c", + "id": "9d16e841.df5298", "type": "block", "name": "block: atomic", "xml": "<block atomic='true'>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1838.3850650787354, - "y": 506.02381324768066, - "z": "d3dd528c.9edcf", + "x": 1947.3851413726807, + "y": 448.02778244018555, + "z": "4ec136ff.390af8", "wires": [ [ - "ee3a63b7.1587f", - "30f03cbb.095034", - "869cba11.4e5318" + "3e7b6049.99c1f", + "76484c5f.5d8d34", + "659367d9.de17c8" ] ] }, { - "id": "190c7cc8.68d4f3", + "id": "15003538.c9037b", "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": 1797.5228652954102, - "y": 587.0660448074341, - "z": "d3dd528c.9edcf", - "wires": [ - - ] + "x": 1871.5229835510254, + "y": 573.0700235366821, + "z": "4ec136ff.390af8", + "wires": [] }, { - "id": "e02b6e93.81b44", + "id": "1584b53e.263d2b", "type": "other", "name": "other", "xml": "<outcome value='Other'>\n", "comments": "", "outputs": 1, - "x": 1076.5224266052246, - "y": 546.0660762786865, - "z": "d3dd528c.9edcf", + "x": 1175.5225372314453, + "y": 572.0700197219849, + "z": "4ec136ff.390af8", "wires": [ [ - "be0cca0e.643168" + "cfb38062.240c9" ] ] }, { - "id": "be0cca0e.643168", + "id": "cfb38062.240c9", "type": "block", "name": "block: atomic", "xml": "<block atomic=\"true\">\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1256.5223770141602, - "y": 546.732626914978, - "z": "d3dd528c.9edcf", + "x": 1355.5224876403809, + "y": 572.7365703582764, + "z": "4ec136ff.390af8", "wires": [ [ - "190c7cc8.68d4f3" + "15003538.c9037b" ] ] }, { - "id": "7e23dfd3.3f458", + "id": "f2f6c092.18725", "type": "other", "name": "other", "xml": "<outcome value='Other'>\n", "comments": "", "outputs": 1, - "x": 1642.1891288757324, - "y": 546.3993396759033, - "z": "d3dd528c.9edcf", + "x": 1751.1892051696777, + "y": 488.4033088684082, + "z": "4ec136ff.390af8", "wires": [ [ - "190c7cc8.68d4f3" + "15003538.c9037b" ] ] }, { - "id": "ee3a63b7.1587f", + "id": "3e7b6049.99c1f", "type": "set", "name": "set connection-attachment-ar from get", "xml": "<set>\n<parameter name='connection-attachment-ar.' value='$mdsal-ar.connection-attachment-allotted-resource[0].' />\n", "comments": "", - "x": 2207.4484100341797, - "y": 473.0000296831131, - "z": "d3dd528c.9edcf", - "wires": [ - - ] + "x": 2193.448699951172, + "y": 408.0040121078491, + "z": "4ec136ff.390af8", + "wires": [] }, { - "id": "869cba11.4e5318", + "id": "659367d9.de17c8", "type": "set", "name": "set oper-status", "xml": "<set>\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-action' value='`$connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.request-information.request-action`' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-rpc-action' value='`$connection-attachment-ar.allotted-resource-status.rpc-action`' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-svc-request-id' value='`$connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.sdnc-request-header.svc-request-id`' />\n\n", "comments": "", - "x": 2140.4485778808594, - "y": 548.4285554885864, - "z": "d3dd528c.9edcf", - "wires": [ - - ] + "x": 2126.4486961364746, + "y": 498.43256664276123, + "z": "4ec136ff.390af8", + "wires": [] }, { - "id": "30f03cbb.095034", + "id": "76484c5f.5d8d34", "type": "switchNode", "name": "switch order-status", "xml": "<switch test='`$connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.order-status`'>\n", "comments": "", "outputs": 1, - "x": 2150.448356628418, - "y": 513.9999895095825, - "z": "d3dd528c.9edcf", + "x": 2137.448532104492, + "y": 452.0040159225464, + "z": "4ec136ff.390af8", "wires": [ [ - "7bf97396.e41b0c", - "a79d0f34.3ad1d" + "731472d3.90aa5c", + "76bb9af5.092564" ] ] }, { - "id": "7bf97396.e41b0c", + "id": "731472d3.90aa5c", "type": "outcome", "name": "outcome Active", "xml": "<outcome value='Active'>\n", "comments": "", "outputs": 1, - "x": 2386.048439025879, - "y": 508.0000205039978, - "z": "d3dd528c.9edcf", + "x": 2344.048480987549, + "y": 442.0040159225464, + "z": "4ec136ff.390af8", "wires": [ [ - "2b17c4af.c9c67c" + "e2186fc5.ee965" ] ] }, { - "id": "a79d0f34.3ad1d", + "id": "76bb9af5.092564", "type": "outcome", "name": "outcome Other", "xml": "<outcome value='Other'>\n", "comments": "", "outputs": 1, - "x": 2379.7628784179688, - "y": 547.4286284446716, - "z": "d3dd528c.9edcf", + "x": 2343.7630004882812, + "y": 484.4326066970825, + "z": "4ec136ff.390af8", "wires": [ [ - "2df968ff.a59058" + "c14114c.2df93e8" ] ] }, { - "id": "2b17c4af.c9c67c", + "id": "e2186fc5.ee965", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 2600.518955230713, - "y": 509.3756546974182, - "z": "d3dd528c.9edcf", + "x": 2496.5190353393555, + "y": 440.3796663284302, + "z": "4ec136ff.390af8", "wires": [ - [ - - ] + [] ] }, { - "id": "2df968ff.a59058", + "id": "c14114c.2df93e8", "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\" \n value=\"`'Existing connection-attachment-allotted-resource with order status of ' + $connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.order-status + '.'`\" />\n", "comments": "", - "x": 2619.6706581115723, - "y": 550.0000185966492, - "z": "d3dd528c.9edcf", - "wires": [ - - ] + "x": 2516.6708908081055, + "y": 481.004017829895, + "z": "4ec136ff.390af8", + "wires": [] }, { - "id": "4926a336.1549ec", + "id": "71b7df96.cf2fe", "type": "call", - "name": "call GENERIC-RESOURCE-API:sotn-get-request-input-param", - "xml": "<call module='GENERIC-RESOURCE-API' rpc='connection-attachment-get-request-input-param' mode='sync' >\n", + "name": "call GENERIC-RESOURCE-API:sotn-get-saved-ar-param", + "xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-get-saved-ar-param' mode='sync' >\n", "comments": "", "outputs": 1, - "x": 972.3069458007812, - "y": 615.4935545921326, - "z": "d3dd528c.9edcf", + "x": 904.3070220947266, + "y": 633.4974970817566, + "z": "4ec136ff.390af8", "wires": [ - [ - - ] + [] ] }, { - "id": "78575bc9.95a094", + "id": "7cd467cc.f359b8", "type": "block", "name": "block: atomic", "xml": "<block atomic=\"true\">\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 654.3130226135254, - "y": 615.4998412132263, - "z": "d3dd528c.9edcf", - "wires": [ - [ - "4926a336.1549ec" - ] - ] - }, - { - "id": "b6fea8ef.c49268", - "type": "get-resource", - "name": "get-resource parent-service-data", - "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.mdsal.ConfigResource' resource='GENERIC-RESOURCE-API' key='services/service/$tmp.ar.parent-service-instance-id/service-data' pfx='mdsal-psd' >\n", - "comments": "", - "outputs": 1, - "x": 719.0043334960938, - "y": 757.5316157341003, - "z": "d3dd528c.9edcf", + "x": 601.3131866455078, + "y": 634.5038452148438, + "z": "4ec136ff.390af8", "wires": [ [ - "7bd13bf5.d657f4", - "21599ec.9703d62" + "71b7df96.cf2fe" ] ] }, { - "id": "bc002904.292928", + "id": "e0dac461.755818", "type": "comment", "name": "GET parent-service-data from mdsal to check existence of other End point", "info": "", "comments": "", - "x": 839.0042724609375, - "y": 686.5315546989441, - "z": "d3dd528c.9edcf", - "wires": [ - - ] + "x": 783.0043487548828, + "y": 695.5356044769287, + "z": "4ec136ff.390af8", + "wires": [] }, { - "id": "73d4e1e5.100ea", + "id": "6358d403.359d6c", "type": "for", - "name": "for pidx..mdsal-psd.provided-allotted-resources.provided-allotted-resource[]", - "xml": "<for index='pidx' start='0' end='`$mdsal-psd.provided-allotted-resources.provided-allotted-resource_length`' >\n", - "comments": "", - "outputs": 1, - "x": 1728.1887531280518, - "y": 925.0041079521179, - "z": "d3dd528c.9edcf", - "wires": [ - [ - "c9283f4f.e54c7" - ] - ] - }, - { - "id": "509e7b0a.918fb4", - "type": "switchNode", - "name": "switch mdsal-psd.provided-allotted-resources_length", - "xml": "<switch test='`$mdsal-psd.provided-allotted-resources.provided-allotted-resource_length`'>\n", + "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": 785.1881103515625, - "y": 901.7180781364441, - "z": "d3dd528c.9edcf", + "x": 1673.1889038085938, + "y": 899.0079889297485, + "z": "4ec136ff.390af8", "wires": [ [ - "b115b5.efc49a48", - "77bec0eb.5d668", - "722d0ca5.9a3d54" + "48ab36b2.10b5c8" ] ] }, { - "id": "b115b5.efc49a48", + "id": "e3f9ceb3.fcc12", "type": "other", "name": "other", "xml": "<outcome value='Other'>\n", "comments": "", "outputs": 1, - "x": 1117.3309860229492, - "y": 1125.575547479093, - "z": "d3dd528c.9edcf", + "x": 1079.3308753967285, + "y": 1031.5794496536255, + "z": "4ec136ff.390af8", "wires": [ [ - "9692bf9c.5ffa" + "6bf2a454.b0478c" ] ] }, { - "id": "94ad2e31.d7a3e", + "id": "879c81fc.e34a9", "type": "block", "name": "block : atomic", "xml": "<block atomic=\"true\">", "atomic": "true", "outputs": 1, - "x": 1311.4583415985107, - "y": 919.7015204429626, - "z": "d3dd528c.9edcf", + "x": 1270.4582767486572, + "y": 896.7054774537683, + "z": "4ec136ff.390af8", "wires": [ [ - "73d4e1e5.100ea" + "6358d403.359d6c" ] ] }, { - "id": "c9283f4f.e54c7", + "id": "48ab36b2.10b5c8", "type": "switchNode", "name": "switch allotted-resource-id", - "xml": "<switch test=\"`$mdsal-psd.provided-allotted-resources.provided-allotted-resource[$cidx].allotted-resource-id == $tmp.ar.allotted-resource-id`\">\n\n", + "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": 2163.3001537323, - "y": 925.0040049552917, - "z": "d3dd528c.9edcf", + "x": 2108.300304412842, + "y": 899.0078859329224, + "z": "4ec136ff.390af8", "wires": [ [ - "ce361aba.4d4be8", - "1207b5bd.65bd4a" + "ca0f68e.fe64c98", + "9210d9d0.b73bc8" ] ] }, { - "id": "ce361aba.4d4be8", + "id": "ca0f68e.fe64c98", "type": "outcomeTrue", "name": "true", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 2372.1103801727295, - "y": 897.4684948921204, - "z": "d3dd528c.9edcf", + "x": 2317.110652923584, + "y": 879.4723424911499, + "z": "4ec136ff.390af8", "wires": [ [ - "9ff06a7f.769658" + "bd0a6759.014208" ] ] }, { - "id": "3b258e58.c08552", + "id": "5b20e51b.570d9c", "type": "block", "name": "block : atomic", "xml": "<block atomic=\"true\">", "atomic": "true", "outputs": 1, - "x": 2551.8710765838623, - "y": 961.3256735801697, - "z": "d3dd528c.9edcf", + "x": 2465.871406555176, + "y": 915.3295240402222, + "z": "4ec136ff.390af8", "wires": [ [ - "2345638f.0ed1bc", - "fd1f9423.d014e8" + "6fdc71ce.76ec1" ] ] }, { - "id": "2345638f.0ed1bc", + "id": "6fdc71ce.76ec1", "type": "set", "name": "set tmp.pidx and ptx.consumed-ar", - "xml": "<set>\n<parameter name='tmp.pidx' value='`$pidx`' />\n<parameter name='tmp.provided-ar.' value='`$mdsal-psd.provided-allotted-resources.provided-allotted-resource[$pidx].`' />\n<parameter name='tmp.found-in-ar' value='true' />\n<parameter name='tmp.ep-available' value='true' />", - "comments": "", - "x": 2808.728582382202, - "y": 935.8971877098083, - "z": "d3dd528c.9edcf", - "wires": [ - - ] - }, - { - "id": "fd1f9423.d014e8", - "type": "break", - "name": "break", - "xml": "<break>\n", + "xml": "<set>\n<parameter name='tmp.pidx' value='`$pidx`' />\n<parameter name='tmp.provided-ar.' value='`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource[$pidx].`' />\n<parameter name='tmp.found-in-ar' value='true' />\n<parameter name='tmp.ep-available' value='true' />", "comments": "", - "x": 2719.5893001556396, - "y": 982.6532034873962, - "z": "d3dd528c.9edcf", - "wires": [ - - ] + "x": 2700.728843688965, + "y": 913.9010553359985, + "z": "4ec136ff.390af8", + "wires": [] }, { - "id": "ededcdc6.ddc17", + "id": "645720a8.c9b45", "type": "comment", "name": "Check existence of other AR in parent service data", "info": "Check if other allotted resource is available.", "comments": "", - "x": 774.966552734375, - "y": 835.8928828239441, - "z": "d3dd528c.9edcf", - "wires": [ - - ] + "x": 706.9667510986328, + "y": 865.8968267440796, + "z": "4ec136ff.390af8", + "wires": [] }, { - "id": "77bec0eb.5d668", + "id": "a518915c.e4ec5", "type": "other", "name": "outcome 1", "xml": "<outcome value='1'>\n", "comments": "", "outputs": 1, - "x": 1128.9833793640137, - "y": 1049.6772646903992, - "z": "d3dd528c.9edcf", + "x": 1089.9832229614258, + "y": 966.681170463562, + "z": "4ec136ff.390af8", "wires": [ [ - "5c010902.1e64d8" + "613ca19d.9a54f" ] ] }, { - "id": "9692bf9c.5ffa", + "id": "6bf2a454.b0478c", "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": 1289.9833297729492, - "y": 1124.6772892698646, - "z": "d3dd528c.9edcf", - "wires": [ - - ] + "x": 1251.9832191467285, + "y": 1030.681191444397, + "z": "4ec136ff.390af8", + "wires": [] }, { - "id": "722d0ca5.9a3d54", + "id": "525b4334.32e11c", "type": "other", "name": "outcome 2", "xml": "<outcome value='2'>\n", "comments": "", "outputs": 1, - "x": 1136.983362197876, - "y": 920.6772208213806, - "z": "d3dd528c.9edcf", + "x": 1095.9832973480225, + "y": 897.6811778321862, + "z": "4ec136ff.390af8", "wires": [ [ - "94ad2e31.d7a3e" + "879c81fc.e34a9" ] ] }, { - "id": "9ff06a7f.769658", + "id": "bd0a6759.014208", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 2530.0945949554443, - "y": 896.6772379875183, - "z": "d3dd528c.9edcf", + "x": 2446.094711303711, + "y": 874.6810827255249, + "z": "4ec136ff.390af8", "wires": [ - [ - - ] + [] ] }, { - "id": "1207b5bd.65bd4a", + "id": "9210d9d0.b73bc8", "type": "outcomeTrue", "name": "false", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 2371.0945949554443, - "y": 959.6772379875183, - "z": "d3dd528c.9edcf", + "x": 2317.0947036743164, + "y": 913.6810865402222, + "z": "4ec136ff.390af8", "wires": [ [ - "3b258e58.c08552" + "5b20e51b.570d9c" ] ] }, { - "id": "57dd9846.719728", + "id": "1306b994.c05466", "type": "switchNode", "name": "switch mdsal-psd.networks_length", - "xml": "<switch test='`$mdsal-psd.networks.network_length`'>\n", + "xml": "<switch test='`$mdsal-psd.service-data.networks.network_length`'>\n", "comments": "", "outputs": 1, - "x": 1565.3168487548828, - "y": 1049.8997659683228, - "z": "d3dd528c.9edcf", + "x": 1502.3169021606445, + "y": 969.9036674499512, + "z": "4ec136ff.390af8", "wires": [ [ - "42dfaf86.525d6", - "d874512e.3c2f3" + "bcbc6710.4989d8", + "4a1544ae.b670bc" ] ] }, { - "id": "d874512e.3c2f3", + "id": "4a1544ae.b670bc", "type": "other", "name": "outcome 1", "xml": "<outcome value='1'>\n", "comments": "", "outputs": 1, - "x": 1837.3168716430664, - "y": 1023.7886009216309, - "z": "d3dd528c.9edcf", + "x": 1732.3169250488281, + "y": 945.7924995422363, + "z": "4ec136ff.390af8", "wires": [ [ - "ccbd0c47.f16a" + "dd72a26.9ccfe6" ] ] }, { - "id": "42dfaf86.525d6", + "id": "bcbc6710.4989d8", "type": "other", "name": "other", "xml": "<outcome value='Other'>\n", "comments": "", "outputs": 1, - "x": 1831.316993713379, - "y": 1083.7886009216309, - "z": "d3dd528c.9edcf", + "x": 1726.3170471191406, + "y": 1005.7924995422363, + "z": "4ec136ff.390af8", "wires": [ [ - "156eaea.2042551" + "a79d34a4.7a5eb8" ] ] }, { - "id": "156eaea.2042551", + "id": "a79d34a4.7a5eb8", "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: Incorrect state found more then 1 network\" />\n \n", "comments": "", - "x": 1987.969337463379, - "y": 1084.8904075622559, - "z": "d3dd528c.9edcf", - "wires": [ - - ] + "x": 1898.9694328308105, + "y": 1005.8943061828613, + "z": "4ec136ff.390af8", + "wires": [] }, { - "id": "e24945d6.e64ac8", + "id": "4762bac5.0337d4", "type": "set", "name": "set tmp.network.", - "xml": "<set>\n<parameter name='tmp.network.' value='`$mdsal-psd.networks.network[0].`' />\n", + "xml": "<set>\n<parameter name='tmp.network.' value='`$mdsal-psd.service-data.networks.network[0].`' />\n", "comments": "", - "x": 2272.76171875, - "y": 1024.7887563705444, - "z": "d3dd528c.9edcf", - "wires": [ - - ] + "x": 2100.761848449707, + "y": 935.7926588058472, + "z": "4ec136ff.390af8", + "wires": [] }, { - "id": "5c010902.1e64d8", + "id": "613ca19d.9a54f", "type": "block", "name": "block : atomic", "xml": "<block atomic=\"true\">", "atomic": "true", "outputs": 1, - "x": 1301.427734375, - "y": 1050.7885127067566, - "z": "d3dd528c.9edcf", + "x": 1262.427577972412, + "y": 967.7924184799194, + "z": "4ec136ff.390af8", "wires": [ [ - "57dd9846.719728" + "1306b994.c05466" ] ] }, { - "id": "ccbd0c47.f16a", + "id": "dd72a26.9ccfe6", "type": "block", "name": "block : atomic", "xml": "<block atomic=\"true\">", "atomic": "true", "outputs": 1, - "x": 2029.094581604004, - "y": 1026.7884788513184, - "z": "d3dd528c.9edcf", + "x": 1900.094596862793, + "y": 964.7923336029053, + "z": "4ec136ff.390af8", "wires": [ [ - "e24945d6.e64ac8", - "36e6716c.6f770e" + "4762bac5.0337d4", + "da4b8e5c.bc1b9" ] ] }, { - "id": "36e6716c.6f770e", + "id": "da4b8e5c.bc1b9", "type": "for", "name": "for nidx..tmp.network.network-data.network-request-input.network...[]", "xml": "<for index='nidx' start='0' end='`$tmp.network.network-data.network-request-input.network-input-parameters.param_length`' >", "comments": "", "outputs": 1, - "x": 2449.0948486328125, - "y": 1086.7884664535522, - "z": "d3dd528c.9edcf", + "x": 2276.09521484375, + "y": 1007.7923412322998, + "z": "4ec136ff.390af8", "wires": [ [ - "e46aaefd.f607b" + "ff7a40b2.21a91" ] ] }, { - "id": "e46aaefd.f607b", + "id": "ff7a40b2.21a91", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 2814.6502323150635, - "y": 1086.7885255813599, - "z": "d3dd528c.9edcf", + "x": 2599.6508750915527, + "y": 1008.7924184799194, + "z": "4ec136ff.390af8", "wires": [ [ - "4ebafc38.9bc584", - "d3b38771.361348" + "ffa1f84e.980b68", + "b00db02b.eb8b6" ] ] }, { - "id": "4ebafc38.9bc584", + "id": "ffa1f84e.980b68", "type": "switchNode", "name": "switch access-node-id", "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'access-node-id'`\">", "comments": "", "outputs": 1, - "x": 3019.1604862213135, - "y": 1089.7989015579224, - "z": "d3dd528c.9edcf", + "x": 2778.1609802246094, + "y": 992.8028364181519, + "z": "4ec136ff.390af8", "wires": [ [ - "3f5b228d.225fde" + "3081e79b.edd628" ] ] }, { - "id": "3f5b228d.225fde", + "id": "3081e79b.edd628", "type": "outcomeTrue", "name": "true", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 3206.1604862213135, - "y": 1090.7989015579224, - "z": "d3dd528c.9edcf", + "x": 2965.1609802246094, + "y": 993.8028364181519, + "z": "4ec136ff.390af8", "wires": [ [ - "5885ed34.2fa454" + "d1012448.dbd488" ] ] }, { - "id": "5885ed34.2fa454", + "id": "d1012448.dbd488", "type": "set", "name": "set tmp.found-in-network tmp.ep-available", "xml": "<set>\n<parameter name='tmp.found-in-network' value='true' />\n<parameter name='tmp.ep-available' value='true' />", "comments": "", - "x": 3457.160493850708, - "y": 1090.3988437652588, - "z": "d3dd528c.9edcf", - "wires": [ - - ] + "x": 3216.160987854004, + "y": 993.4027786254883, + "z": "4ec136ff.390af8", + "wires": [] }, { - "id": "d3b38771.361348", + "id": "b00db02b.eb8b6", "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": 3002.150384902954, - "y": 1134.7885007858276, - "z": "d3dd528c.9edcf", - "wires": [ - - ] + "x": 2761.15087890625, + "y": 1037.7924356460571, + "z": "4ec136ff.390af8", + "wires": [] }, { - "id": "afaa2fc8.ec942", + "id": "648ef4ed.e1062c", "type": "switchNode", "name": "switch tmp.ep-available", "xml": "<switch test='`$tmp.ep-available`'>\n", "comments": "", "outputs": 1, - "x": 711.3167114257812, - "y": 1313.2327876091003, - "z": "d3dd528c.9edcf", + "x": 638.3167724609375, + "y": 1170.2366914749146, + "z": "4ec136ff.390af8", "wires": [ [ - "465effa9.6427f", - "c45531af.37393" + "59ee447d.77e34c", + "88dd47.020332b8" ] ] }, { - "id": "c45531af.37393", + "id": "88dd47.020332b8", "type": "outcomeTrue", "name": "true", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 929.9834308624268, - "y": 1362.5661444664001, - "z": "d3dd528c.9edcf", + "x": 820.9836082458496, + "y": 1194.5700998306274, + "z": "4ec136ff.390af8", "wires": [ [ - "a447132c.ff129" + "f03a557c.a1bc78" ] ] }, { - "id": "465effa9.6427f", + "id": "59ee447d.77e34c", "type": "outcomeTrue", "name": "false", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 934.8722324371338, - "y": 1271.5662055015564, - "z": "d3dd528c.9edcf", + "x": 823.8723793029785, + "y": 1133.570198059082, + "z": "4ec136ff.390af8", "wires": [ [ - "98f645f2.256338" + "5a5c3a3.170aec4" ] ] }, { - "id": "98f645f2.256338", + "id": "5a5c3a3.170aec4", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1081.8722286224365, - "y": 1273.4550185203552, - "z": "d3dd528c.9edcf", + "x": 960.8724555969238, + "y": 1132.4590120315552, + "z": "4ec136ff.390af8", "wires": [ - [ - - ] + [] ] }, { - "id": "a447132c.ff129", + "id": "f03a557c.a1bc78", "type": "block", "name": "block : atomic", "xml": "<block atomic=\"true\">", "atomic": "true", "outputs": 1, - "x": 1100.094518661499, - "y": 1360.5661025047302, - "z": "d3dd528c.9edcf", + "x": 991.0946960449219, + "y": 1192.5700578689575, + "z": "4ec136ff.390af8", "wires": [ [ - "b6034c83.e1568" + "7df4dec5.12529" ] ] }, { - "id": "5c394256.a4b72c", + "id": "530d26e7.1066c8", "type": "comment", "name": "GET connection-attachment-ar to store AR data from mdsal", "info": "", "comments": "", - "x": 2270.4766960144043, - "y": 437.50391244888306, - "z": "d3dd528c.9edcf", - "wires": [ - - ] + "x": 2176.476852416992, + "y": 372.5078754425049, + "z": "4ec136ff.390af8", + "wires": [] }, { - "id": "f3cf0d72.a94cd", + "id": "96d6938d.7bded", "type": "comment", "name": "Set source end point", "info": "", "comments": "", - "x": 675.9765739440918, - "y": 583.2539219856262, - "z": "d3dd528c.9edcf", - "wires": [ - - ] + "x": 614.9767456054688, + "y": 602.2579708099365, + "z": "4ec136ff.390af8", + "wires": [] }, { - "id": "6c9c6e62.89b72", + "id": "4ca01b12.aeeae4", "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": 729.97265625, - "y": 721.9999995231628, - "z": "d3dd528c.9edcf", - "wires": [ - - ] + "x": 667.9728240966797, + "y": 727.0041151046753, + "z": "4ec136ff.390af8", + "wires": [] }, { - "id": "7bd13bf5.d657f4", + "id": "13901d91.bcbec2", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 965.97265625, - "y": 749.9999995231628, - "z": "d3dd528c.9edcf", + "x": 1045.9728202819824, + "y": 776.004114151001, + "z": "4ec136ff.390af8", "wires": [ [ - "9696eaab.88d618" + "1def54f0.081ddb" ] ] }, { - "id": "21599ec.9703d62", + "id": "eada0637.1dd9c8", "type": "other", "name": "other", "xml": "<outcome value='Other'>\n", "comments": "", "outputs": 1, - "x": 957.8244590759277, - "y": 785.0660843849182, - "z": "d3dd528c.9edcf", + "x": 1037.8246231079102, + "y": 811.0701990127563, + "z": "4ec136ff.390af8", "wires": [ [ - "26a3704.033389" + "7eae3ac9.be18e4" ] ] }, { - "id": "26a3704.033389", + "id": "7eae3ac9.be18e4", "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": 1132.97314453125, - "y": 781.3334345817566, - "z": "d3dd528c.9edcf", - "wires": [ - - ] + "x": 1212.9733085632324, + "y": 807.3375492095947, + "z": "4ec136ff.390af8", + "wires": [] }, { - "id": "9696eaab.88d618", + "id": "1def54f0.081ddb", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1116.97265625, - "y": 747.9999995231628, - "z": "d3dd528c.9edcf", + "x": 1196.9728202819824, + "y": 774.004114151001, + "z": "4ec136ff.390af8", "wires": [ - [ - - ] + [] ] }, { - "id": "761075c6.da2f4c", + "id": "6963b7ed.1ac188", "type": "set", "name": "set tmp.found-in-ar tmp.found-in-network tmp.ep-available to false", "xml": "<set>\n<parameter name='tmp.found-in-ar' value='false' />\n<parameter name='tmp.found-in-network' value='false' />\n<parameter name='tmp.ep-available' value='false' />", "comments": "", - "x": 821.97265625, - "y": 866.9999995231628, - "z": "d3dd528c.9edcf", - "wires": [ - - ] + "x": 754.9728164672852, + "y": 901.0040884017944, + "z": "4ec136ff.390af8", + "wires": [] }, { - "id": "419a1f7.f1beae", + "id": "e7dc10be.4a762", "type": "comment", "name": "If other EP exists delete from domain controller", "info": "", "comments": "", - "x": 761.97265625, - "y": 1237.9999995231628, - "z": "d3dd528c.9edcf", - "wires": [ - - ] + "x": 688.9727172851562, + "y": 1095.003903388977, + "z": "4ec136ff.390af8", + "wires": [] }, { - "id": "19fee4f1.0172ab", + "id": "3c03726e.58d62e", "type": "set", "name": "set controller data", "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.user' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.password' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n", "comments": "", - "x": 2025.9730224609375, - "y": 1735.0002546310425, - "z": "d3dd528c.9edcf", - "wires": [ - - ] + "x": 2693.97354888916, + "y": 1392.0043325424194, + "z": "4ec136ff.390af8", + "wires": [] }, { - "id": "d425caaa.8a6858", + "id": "b649f241.fe659", "type": "get-resource", "name": "get-resource esr-thirdparty-sdnc", "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.thirdparty-sdnc-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n", "comments": "", "outputs": 1, - "x": 1589.4729614257812, - "y": 1794.0002546310425, - "z": "d3dd528c.9edcf", + "x": 2257.473487854004, + "y": 1451.0043325424194, + "z": "4ec136ff.390af8", "wires": [ [ - "4f05b74c.969be8", - "c7b3919.c8ebe7", - "40abfefc.3d745" + "4eb1e7d1.a91458", + "8b33a960.d74f98", + "58a39417.8a89cc" ] ] }, { - "id": "4f05b74c.969be8", + "id": "4eb1e7d1.a91458", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1828.4729614257812, - "y": 1747.0002546310425, - "z": "d3dd528c.9edcf", + "x": 2496.473487854004, + "y": 1404.0043325424194, + "z": "4ec136ff.390af8", "wires": [ [ - "19fee4f1.0172ab" + "3c03726e.58d62e" ] ] }, { - "id": "c7b3919.c8ebe7", + "id": "8b33a960.d74f98", "type": "not-found", "name": "not-found", "xml": "<outcome value='not-found'>\n", "comments": "", "outputs": 1, - "x": 1831.9639282226562, - "y": 1794.5742902755737, - "z": "d3dd528c.9edcf", + "x": 2499.964454650879, + "y": 1451.5783681869507, + "z": "4ec136ff.390af8", "wires": [ [ - "7e0e9058.e96b3" + "d1891615.f0fe68" ] ] }, { - "id": "40abfefc.3d745", + "id": "58a39417.8a89cc", "type": "other", "name": "other", "xml": "<outcome value='Other'>\n", "comments": "", "outputs": 1, - "x": 1827.2969360351562, - "y": 1835.907603263855, - "z": "d3dd528c.9edcf", + "x": 2495.297462463379, + "y": 1492.911681175232, + "z": "4ec136ff.390af8", "wires": [ [ - "6ad29b98.83f084" + "9094de14.94959" ] ] }, { - "id": "7e0e9058.e96b3", + "id": "d1891615.f0fe68", "type": "returnFailure", "name": "return failure", "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n", "comments": "", - "x": 2008.5353393554688, - "y": 1782.860026359558, - "z": "d3dd528c.9edcf", - "wires": [ - - ] + "x": 2676.5358657836914, + "y": 1439.864104270935, + "z": "4ec136ff.390af8", + "wires": [] }, { - "id": "6ad29b98.83f084", + "id": "9094de14.94959", "type": "returnFailure", "name": "return failure", "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n", "comments": "", - "x": 2015.069492340088, - "y": 1831.3467960357666, - "z": "d3dd528c.9edcf", - "wires": [ - - ] + "x": 2683.0700187683105, + "y": 1488.3508739471436, + "z": "4ec136ff.390af8", + "wires": [] }, { - "id": "77debd2c.f40a64", + "id": "de59b3c5.550e5", "type": "get-resource", "name": "get-resource pnf", - "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.node-id AND \n\t\t depth = '0'\"\n pfx='tmp.aai.pnf' local-only='false' >\n\n", + "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"network-resource.network-id = $mdsal-psd.service-data.networks.network[0].network-id \n\t\tAND pnf.pnf-name = $tmp.node-id \n\t\tAND depth = '0'\"\n pfx='tmp.aai.pnf' local-only='false' >\n\n\n\n", "comments": "", "outputs": 1, - "x": 1539.9730834960938, - "y": 1667.00031375885, - "z": "d3dd528c.9edcf", + "x": 2199.9736404418945, + "y": 1336.004324913025, + "z": "4ec136ff.390af8", "wires": [ [ - "b2f42acb.73d9c8", - "659e715a.79934", - "79d0fb49.773bc4" + "e39bc756.013308", + "2a9857ce.2f6878", + "1952da4b.fcde26" ] ] }, { - "id": "b2f42acb.73d9c8", + "id": "e39bc756.013308", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1822.9729309082031, - "y": 1608.0002002716064, - "z": "d3dd528c.9edcf", + "x": 2387.9736557006836, + "y": 1282.0043172836304, + "z": "4ec136ff.390af8", "wires": [ [ - "ac4575c7.b5d618" + "21d4c191.6f41ee" ] ] }, { - "id": "659e715a.79934", + "id": "2a9857ce.2f6878", "type": "not-found", "name": "not-found", "xml": "<outcome value='not-found'>\n", "comments": "", "outputs": 1, - "x": 1826.4638977050781, - "y": 1655.5742359161377, - "z": "d3dd528c.9edcf", + "x": 2393.464702606201, + "y": 1324.5782136917114, + "z": "4ec136ff.390af8", "wires": [ [ - "4fe04183.c5614" + "7c6a4960.24dda8" ] ] }, { - "id": "79d0fb49.773bc4", + "id": "1952da4b.fcde26", "type": "other", "name": "other", "xml": "<outcome value='Other'>\n", "comments": "", "outputs": 1, - "x": 1821.7969055175781, - "y": 1696.907548904419, - "z": "d3dd528c.9edcf", + "x": 2379.797710418701, + "y": 1362.9115495681763, + "z": "4ec136ff.390af8", "wires": [ [ - "5d2c56ed.47c2c8" + "6c19b1e1.1bbdd" ] ] }, { - "id": "4fe04183.c5614", + "id": "7c6a4960.24dda8", "type": "returnFailure", "name": "return failure", "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n", "comments": "", - "x": 2003.0353088378906, - "y": 1643.859972000122, - "z": "d3dd528c.9edcf", - "wires": [ - - ] + "x": 2547.036003112793, + "y": 1314.8640203475952, + "z": "4ec136ff.390af8", + "wires": [] }, { - "id": "5d2c56ed.47c2c8", + "id": "6c19b1e1.1bbdd", "type": "returnFailure", "name": "return failure", "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n", "comments": "", - "x": 2009.5694618225098, - "y": 1692.3467416763306, - "z": "d3dd528c.9edcf", - "wires": [ - - ] + "x": 2543.570182800293, + "y": 1354.3508396148682, + "z": "4ec136ff.390af8", + "wires": [] }, { - "id": "ac4575c7.b5d618", + "id": "21d4c191.6f41ee", "type": "set", "name": "set tmp.thirdparty-sdnc-id", "xml": "<set>\n<parameter name='tmp.thirdparty-sdnc-id' value=\"`$tmp.aai.pnf.relationship-list.relationship[0].relationship-data[0].relationship-value`\" />\n", "comments": "", - "x": 2026.9729309082031, - "y": 1595.0002002716064, - "z": "d3dd528c.9edcf", - "wires": [ - - ] + "x": 2587.9736709594727, + "y": 1277.0043172836304, + "z": "4ec136ff.390af8", + "wires": [] }, { - "id": "a421d0fb.ce81c", + "id": "4f8efcb5.a9cf14", "type": "comment", "name": "get domain controller information", "info": "", "comments": "", - "x": 1583.4769897460938, - "y": 1636.0042810440063, - "z": "d3dd528c.9edcf", - "wires": [ - - ] + "x": 2243.4775466918945, + "y": 1305.0082921981812, + "z": "4ec136ff.390af8", + "wires": [] }, { - "id": "f8c8821d.d50c3", + "id": "35e0c434.3e437c", "type": "execute", "name": "execute RestApiCallNode Delete ethernet Service", "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + 'restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.vpn-name`\" />\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=\"delete\"/>\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.openecomp.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />", "comments": "", "outputs": 1, - "x": 1637.9730224609375, - "y": 1899.0002546310425, - "z": "d3dd528c.9edcf", + "x": 2305.97354888916, + "y": 1556.0043325424194, + "z": "4ec136ff.390af8", "wires": [ [ - "925b677f.9fd908", - "cff10bd6.5c54c8" + "c3b6b741.e17f38", + "dfd52870.a619b8" ] ] }, { - "id": "925b677f.9fd908", + "id": "c3b6b741.e17f38", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1924.9729614257812, - "y": 1922.0002546310425, - "z": "d3dd528c.9edcf", + "x": 2592.973487854004, + "y": 1579.0043325424194, + "z": "4ec136ff.390af8", "wires": [ [ - "fe5326f7.64a0a8" + "1373f104.3035cf" ] ] }, { - "id": "fe5326f7.64a0a8", + "id": "1373f104.3035cf", "type": "block", "name": "block : atomic", "xml": "<block atomic=\"true\">", "atomic": "true", "comments": "", "outputs": 1, - "x": 2094.972900390625, - "y": 1925.0002546310425, - "z": "d3dd528c.9edcf", + "x": 2762.9734268188477, + "y": 1582.0043325424194, + "z": "4ec136ff.390af8", "wires": [ - [ - - ] + [] ] }, { - "id": "3a5a8a5c.8b0aa6", + "id": "98709530.f9e578", "type": "returnFailure", "name": "return failure", "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing Create vpn rest api\" />\n", "comments": "", - "x": 2094.9730224609375, - "y": 1881.0002546310425, - "z": "d3dd528c.9edcf", - "wires": [ - - ] + "x": 2762.97354888916, + "y": 1538.0043325424194, + "z": "4ec136ff.390af8", + "wires": [] }, { - "id": "cff10bd6.5c54c8", + "id": "dfd52870.a619b8", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1927.972900390625, - "y": 1881.0002546310425, - "z": "d3dd528c.9edcf", + "x": 2595.9734268188477, + "y": 1538.0043325424194, + "z": "4ec136ff.390af8", "wires": [ [ - "3a5a8a5c.8b0aa6" + "98709530.f9e578" ] ] }, { - "id": "b7b5526f.d9371", + "id": "a09d44d6.036498", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 985.734619140625, - "y": 1896.9525974988937, - "z": "d3dd528c.9edcf", + "x": 917.7346534729004, + "y": 1694.9566963911057, + "z": "4ec136ff.390af8", "wires": [ [ - "2cde2bd.f2613d4" + "8338cff1.c1a26" ] ] }, { - "id": "2cde2bd.f2613d4", + "id": "8338cff1.c1a26", "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": 1152.2584991455078, - "y": 1908.5716685056686, - "z": "d3dd528c.9edcf", - "wires": [ - - ] + "x": 1084.2585334777832, + "y": 1706.5757673978806, + "z": "4ec136ff.390af8", + "wires": [] }, { - "id": "8465056c.00dde8", + "id": "9111ff4f.4282f", "type": "failure", "name": "not-found", "xml": "<outcome value='not-found'>\n", "comments": "", "outputs": 1, - "x": 992.829906463623, - "y": 1929.7145651578903, - "z": "d3dd528c.9edcf", + "x": 924.8299407958984, + "y": 1727.7186640501022, + "z": "4ec136ff.390af8", "wires": [ [ - "2cde2bd.f2613d4" + "8338cff1.c1a26" ] ] }, { - "id": "dd28433d.d632", + "id": "e911009.f267e", "type": "comment", "name": "Save Resource to AAI", "info": "", "comments": "", - "x": 704.7823333740234, - "y": 1879.3019857406616, - "z": "d3dd528c.9edcf", - "wires": [ - - ] - }, - { - "id": "4d323c0f.df7854", - "type": "comment", - "name": "TODO: Rework after confirmation from AAI", - "info": "", - "comments": "", - "x": 1005.141242980957, - "y": 1856.8730244636536, - "z": "d3dd528c.9edcf", - "wires": [ - - ] + "x": 636.7823677062988, + "y": 1677.3060846328735, + "z": "4ec136ff.390af8", + "wires": [] }, { - "id": "ce4db8c8.182408", + "id": "3a95a888.e92908", "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": 719.5500297546387, - "y": 1800.8274669647217, - "z": "d3dd528c.9edcf", - "wires": [ - - ] + "x": 651.5500640869141, + "y": 1598.8315658569336, + "z": "4ec136ff.390af8", + "wires": [] }, { - "id": "ea67aab8.ef7588", + "id": "dd09565b.b81778", "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": 687.9631118774414, - "y": 1961.4432191848755, - "z": "d3dd528c.9edcf", - "wires": [ - - ] + "x": 619.9631462097168, + "y": 1759.4473180770874, + "z": "4ec136ff.390af8", + "wires": [] }, { - "id": "72567cb3.f1fbd4", + "id": "1507ea99.aa8315", "type": "execute", "name": "execute RestApiCallNode - PUT AR by id", "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.sotn-attachment.templatefile`\" />\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='PUT' />\n <parameter name=\"responsePrefix\" value=\"mdsal-ar\" />\n\n", "comments": "", "outputs": 1, - "x": 769.2821311950684, - "y": 1708.468240737915, - "z": "d3dd528c.9edcf", + "x": 701.2821655273438, + "y": 1506.472339630127, + "z": "4ec136ff.390af8", "wires": [ [ - "4724b378.ec2a2c", - "4dfcb271.a6386c", - "4e56cabb.034884" + "36bc9007.e2fa4", + "65e8ae51.bc0a7", + "822d49a0.d686d8" ] ] }, { - "id": "4724b378.ec2a2c", + "id": "36bc9007.e2fa4", "type": "not-found", "name": "not-found", "xml": "<outcome value='not-found'>\n", "comments": "", "outputs": 1, - "x": 1037.9235076904297, - "y": 1759.799652479589, - "z": "d3dd528c.9edcf", + "x": 969.9235420227051, + "y": 1557.803751371801, + "z": "4ec136ff.390af8", "wires": [ [ - "2831c4f6.7c5dbc" + "4b0971a1.d1673" ] ] }, { - "id": "4dfcb271.a6386c", + "id": "65e8ae51.bc0a7", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1028.9235572814941, - "y": 1728.2996782287955, - "z": "d3dd528c.9edcf", + "x": 960.9235916137695, + "y": 1526.3037771210074, + "z": "4ec136ff.390af8", "wires": [ [ - "2831c4f6.7c5dbc" + "4b0971a1.d1673" ] ] }, { - "id": "4e56cabb.034884", + "id": "822d49a0.d686d8", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1032.6735954284668, - "y": 1698.6567831039429, - "z": "d3dd528c.9edcf", + "x": 964.6736297607422, + "y": 1496.6608819961548, + "z": "4ec136ff.390af8", "wires": [ [ - "a711cf9d.6d6a" + "d0da3bc8.9e8958" ] ] }, { - "id": "2831c4f6.7c5dbc", + "id": "4b0971a1.d1673", "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": 1198.6735954284668, - "y": 1729.0497020706534, - "z": "d3dd528c.9edcf", - "wires": [ - - ] + "x": 1130.6736297607422, + "y": 1527.0538009628654, + "z": "4ec136ff.390af8", + "wires": [] }, { - "id": "a711cf9d.6d6a", + "id": "d0da3bc8.9e8958", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1174.3295631408691, - "y": 1694.848952293396, - "z": "d3dd528c.9edcf", + "x": 1106.3295974731445, + "y": 1492.853051185608, + "z": "4ec136ff.390af8", "wires": [ - [ - - ] + [] ] }, { - "id": "bc240e74.2145b", + "id": "2a2a1345.d7f2ec", "type": "set", "name": "set ar-data", "xml": "<set>\n<parameter name='connection-attachment-ar.allotted-resource-status.action' value=\"`$connection-attachment-topology-operation-input.request-information.request-action` \" />\n<parameter name='connection-attachment-ar.allotted-resource-status.rpc-name' value=\"connection-attachment-topology-operation\" />\n<parameter name='connection-attachment-ar.allotted-resource-status.rpc-action' value=\"`$connection-attachment-topology-operation-input.sdnc-request-header.svc-action` \" />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.request-information.' value=\"`$connection-attachment-topology-operation-input.request-information.` \" />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.sdnc-request-header.' value=\"`$connection-attachment-topology-operation-input.sdnc-request-header.` \" />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.service-information.' value=\"`$connection-attachment-topology-operation-input.service-information.` \" />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.' value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.` \" />", "comments": "", - "x": 674.4957275390625, - "y": 1559.8492209911346, - "z": "d3dd528c.9edcf", - "wires": [ - - ] + "x": 601.4957847595215, + "y": 1356.8532626628876, + "z": "4ec136ff.390af8", + "wires": [] }, { - "id": "d8c85975.6bf758", + "id": "f1e26abf.1dc9f8", "type": "execute", "name": "execute getTime", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setTime' >\n <parameter name=\"outputPath\" value=\"tmp.current-time\" />\n\n", "comments": "", "outputs": 1, - "x": 691.7815704345703, - "y": 1632.4688186645508, - "z": "d3dd528c.9edcf", + "x": 618.7816276550293, + "y": 1429.4728603363037, + "z": "4ec136ff.390af8", "wires": [ - [ - - ] + [] ] }, { - "id": "a691ab09.aead58", + "id": "25f9e140.e4210e", "type": "set", "name": "set allotted-resource-oper-status", "xml": "<set>\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.order-status' value='PendingDelete' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-action' value='`$connection-attachment-topology-operation-input.request-information.request-action`' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-rpc-action' value='`$connection-attachment-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-svc-request-id' value='`$connection-attachment-topology-operation-input.sdnc-request-header.svc-request-id`' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.create-timestamp' value='`$tmp.current-time`' />\n", "comments": "", - "x": 741.7686500549316, - "y": 1669.4198989868164, - "z": "d3dd528c.9edcf", - "wires": [ - - ] + "x": 673.768684387207, + "y": 1467.4239978790283, + "z": "4ec136ff.390af8", + "wires": [] }, { - "id": "ad638e.fad5cc7", + "id": "5c89f183.d2653", "type": "set", "name": "set model-data", "xml": "<set>\n<parameter name='connection-attachment-ar.allotted-resource-data.connection-attachment-topology.onap-model-information.' value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.onap-model-information.` \" />", "comments": "", - "x": 688.3372688293457, - "y": 1599.023871421814, - "z": "d3dd528c.9edcf", - "wires": [ - - ] + "x": 615.3373260498047, + "y": 1396.027913093567, + "z": "4ec136ff.390af8", + "wires": [] }, { - "id": "1b962b1.7c9dad5", + "id": "b42e02fb.93ce4", "type": "comment", "name": "Prepare data for allotted-resource addition to MDSAL", "info": "This will add to allotted-resource which is present inside service.", "comments": "", - "x": 801.6707305908203, - "y": 1520.0238234996796, - "z": "d3dd528c.9edcf", - "wires": [ - - ] + "x": 728.6707878112793, + "y": 1317.0278651714325, + "z": "4ec136ff.390af8", + "wires": [] }, { - "id": "aad41a92.c6b998", + "id": "3f84c752.6766f8", "type": "comment", "name": "Add to allotted-resources in mdsal", "info": "", "comments": "", - "x": 743.2505569458008, - "y": 1487.4371252059937, - "z": "d3dd528c.9edcf", - "wires": [ - - ] + "x": 670.2506141662598, + "y": 1284.4411668777466, + "z": "4ec136ff.390af8", + "wires": [] }, { - "id": "53b9be67.07128", + "id": "60ba1f59.42707", "type": "update", "name": "update AAI allotted-resource", "xml": "<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"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 pfx='pfx' local-only='false' force='false'>\n\t<parameter name=\"description\" value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.allotted-resource-type`\" />\n\t<parameter name=\"selflink\" value=\"`$tmp.ar.self-link`\" />\n\t<parameter name=\"model-invariant-id\" value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.onap-model-information.model-invariant-uuid`\" />\n\t<parameter name=\"model-version-id\" value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.onap-model-information.model-uuid`\" />\n\t<parameter name=\"operational-status\" value=\"PendingDelete\" />\n", "comments": "", "outputs": 1, - "x": 731.2266120910645, - "y": 1916.7541284561157, - "z": "d3dd528c.9edcf", + "x": 663.2266464233398, + "y": 1714.7582273483276, + "z": "4ec136ff.390af8", "wires": [ [ - "b7b5526f.d9371", - "8465056c.00dde8" + "a09d44d6.036498", + "9111ff4f.4282f" ] ] }, { - "id": "b6034c83.e1568", + "id": "7df4dec5.12529", "type": "get-resource", "name": "get-resource connectivity", "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"connectivity\" \n\t\tkey=\"connectivity.connectivity-id = $mdsal-psd.networks.network[0].network-id AND \n\t\t depth = '1'\"\n pfx='tmp.connectivity' local-only='false' >\n", "comments": "", "outputs": 1, - "x": 1315.0043029785156, - "y": 1361.5044565200806, - "z": "d3dd528c.9edcf", + "x": 1197.0044708251953, + "y": 1192.5083332061768, + "z": "4ec136ff.390af8", "wires": [ [ - "e5fcddf9.8d24f" + "c873d73.0af9728", + "1fd3fb2b.7cf7a5" ] ] }, { - "id": "2227c12c.941eae", + "id": "482867b5.2cc388", "type": "block", "name": "block : atomic", "xml": "<block atomic=\"true\">", "atomic": "true", "outputs": 1, - "x": 1316.121467590332, - "y": 1539.344430923462, - "z": "d3dd528c.9edcf", + "x": 1970.1217803955078, + "y": 1389.3484659194946, + "z": "4ec136ff.390af8", "wires": [ [ - "77debd2c.f40a64", - "d425caaa.8a6858", - "f8c8821d.d50c3", - "6584aa7e.7c6da4", - "1fbc8c35.8ef854" + "6613cefb.76171", + "6eb3502d.b2e8f", + "de59b3c5.550e5", + "b649f241.fe659", + "35e0c434.3e437c" ] ] }, { - "id": "a7e5f7ca.25d0c8", + "id": "a4dcab46.732d98", "type": "outcome", "name": "vpn-binding", "xml": "<outcome value='vpn-binding'>\n", "comments": "", "outputs": 1, - "x": 1923.2897968292236, - "y": 1367.8257465362549, - "z": "d3dd528c.9edcf", + "x": 1796.290298461914, + "y": 1391.8299894332886, + "z": "4ec136ff.390af8", "wires": [ [ - "2227c12c.941eae" + "482867b5.2cc388" ] ] }, { - "id": "e5fcddf9.8d24f", + "id": "2e8bc3df.71844c", "type": "for", "name": "for each relationship", "xml": "<for silentFailure='true' index='vidx' start='0' end='`$tmp.connectivity.relationship-list.relationship_length`' >\n", "comments": "", "outputs": 1, - "x": 1537.0041198730469, - "y": 1368.0041971206665, - "z": "d3dd528c.9edcf", + "x": 1418.0042419433594, + "y": 1390.0082159042358, + "z": "4ec136ff.390af8", "wires": [ [ - "889a6909.fd0648" + "8af67803.bf6a88" ] ] }, { - "id": "889a6909.fd0648", + "id": "8af67803.bf6a88", "type": "switchNode", "name": "switch related-to", "xml": "<switch test='`$tmp.connectivity.relationship-list.relationship[$vidx].related-to`'>\n", "comments": "", "outputs": 1, - "x": 1744.0041809082031, - "y": 1367.004243850708, - "z": "d3dd528c.9edcf", + "x": 1630.0042533874512, + "y": 1391.0082159042358, + "z": "4ec136ff.390af8", "wires": [ [ - "a7e5f7ca.25d0c8" + "a4dcab46.732d98" ] ] }, { - "id": "6584aa7e.7c6da4", + "id": "6eb3502d.b2e8f", "type": "set", "name": "set tmp.vpn-name", "xml": "<set>\n<parameter name='tmp.vpn-name' value=\"`$tmp.connectivity.relationship-list.relationship[$vidx].relationship-data[0].relationship-value` \" />\n", "comments": "", - "x": 1540.0040893554688, - "y": 1419.004427909851, - "z": "d3dd528c.9edcf", - "wires": [ - - ] + "x": 2203.0044479370117, + "y": 1103.008532524109, + "z": "4ec136ff.390af8", + "wires": [] }, { - "id": "1fbc8c35.8ef854", + "id": "6613cefb.76171", "type": "execute", "name": "split vpnName to find nodeId", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.vpn-name`'/>\n<parameter name=\"regex\" value=\"-\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"route1\"/>\n", "comments": "", "outputs": 1, - "x": 1544.00390625, - "y": 1524.00390625, - "z": "d3dd528c.9edcf", + "x": 2239.0044021606445, + "y": 1204.0078992843628, + "z": "4ec136ff.390af8", "wires": [ [ - "bd900e2d.e6685", - "7097b625.7335c8" + "41fe5a08.6540e4", + "12fef836.878578" ] ] }, { - "id": "7097b625.7335c8", + "id": "12fef836.878578", "type": "failure", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1761.00390625, - "y": 1450.00390625, - "z": "d3dd528c.9edcf", + "x": 2440.004592895508, + "y": 1181.0078916549683, + "z": "4ec136ff.390af8", "wires": [ [ - "719277cb.1f0738" + "c4ef2190.9fbc6" ] ] }, { - "id": "719277cb.1f0738", + "id": "c4ef2190.9fbc6", "type": "set", "name": "set tmp.node-id", "xml": "<set>\n<parameter name='tmp.node-id' value='`$route1[0]`' />\n", "comments": "", - "x": 1968.00390625, - "y": 1444.00390625, - "z": "d3dd528c.9edcf", - "wires": [ - - ] + "x": 2593.004753112793, + "y": 1179.0078926086426, + "z": "4ec136ff.390af8", + "wires": [] }, { - "id": "188e2bb3.ba9264", + "id": "fa885e6a.929bd", "type": "returnFailure", "name": "return failure", "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n", "comments": "", - "x": 1943.00390625, - "y": 1514.00390625, - "z": "d3dd528c.9edcf", - "wires": [ - - ] + "x": 2577.004919052124, + "y": 1228.0078945159912, + "z": "4ec136ff.390af8", + "wires": [] }, { - "id": "bd900e2d.e6685", + "id": "41fe5a08.6540e4", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1762.00390625, - "y": 1516.00390625, - "z": "d3dd528c.9edcf", + "x": 2437.00457572937, + "y": 1229.0078964233398, + "z": "4ec136ff.390af8", + "wires": [ + [ + "fa885e6a.929bd" + ] + ] + }, + { + "id": "c873d73.0af9728", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 1378.0040702819824, + "y": 1227.0039777755737, + "z": "4ec136ff.390af8", + "wires": [ + [ + "72cdc300.185abc" + ] + ] + }, + { + "id": "1fd3fb2b.7cf7a5", + "type": "other", + "name": "other", + "xml": "<outcome value='Other'>\n", + "comments": "", + "outputs": 1, + "x": 1380.855800628662, + "y": 1154.0702228546143, + "z": "4ec136ff.390af8", + "wires": [ + [ + "132951fb.62166e" + ] + ] + }, + { + "id": "132951fb.62166e", + "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: Connectivity resource not found\" />\n \n", + "comments": "", + "x": 1523.0045700073242, + "y": 1154.3376331329346, + "z": "4ec136ff.390af8", + "wires": [] + }, + { + "id": "72cdc300.185abc", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1380.0040817260742, + "y": 1305.0041437149048, + "z": "4ec136ff.390af8", + "wires": [ + [ + "2e8bc3df.71844c" + ] + ] + }, + { + "id": "bf1b5f9f.275aa", + "type": "execute", + "name": "execute RestApiCallNode - get-resource connection-attachment-allotted-resource", + "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='GET' />\n <parameter name=\"responsePrefix\" value=\"mdsal-ar\" />\n\n", + "comments": "", + "outputs": 1, + "x": 816.3378601074219, + "y": 553.5038557052612, + "z": "4ec136ff.390af8", + "wires": [ + [ + "f65756e0.dd7818", + "1584b53e.263d2b" + ] + ] + }, + { + "id": "ff509458.45f008", + "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`\"/>\n", + "comments": "", + "outputs": 1, + "x": 670.0041046142578, + "y": 762.0041170120239, + "z": "4ec136ff.390af8", + "wires": [ + [] + ] + }, + { + "id": "980e2d4b.7e472", + "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": 737.0040664672852, + "y": 797.0042009353638, + "z": "4ec136ff.390af8", + "wires": [ + [ + "13901d91.bcbec2", + "eada0637.1dd9c8" + ] + ] + }, + { + "id": "372ff043.61187", + "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": 753.1881866455078, + "y": 971.7220287322998, + "z": "4ec136ff.390af8", "wires": [ [ - "188e2bb3.ba9264" + "e3f9ceb3.fcc12", + "a518915c.e4ec5", + "525b4334.32e11c" ] ] } -] +]
\ No newline at end of file |