diff options
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sdwan-attachment-topology-operation-activate.json')
-rw-r--r-- | platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sdwan-attachment-topology-operation-activate.json | 1536 |
1 files changed, 768 insertions, 768 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sdwan-attachment-topology-operation-activate.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sdwan-attachment-topology-operation-activate.json index bee8da8b..3a508656 100644 --- a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sdwan-attachment-topology-operation-activate.json +++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sdwan-attachment-topology-operation-activate.json @@ -1,20 +1,20 @@ [ { - "id": "4eb3c760.0f4e78", + "id": "93b0ef5b.3e408", "type": "dgstart", "name": "DGSTART", "outputs": 1, - "x": 91, - "y": 47, - "z": "5b3e3707.3aa6c8", + "x": 139, + "y": 54, + "z": "92c42fbf.4d20f", "wires": [ [ - "6dada1.f2c9326" + "a7b13cb2.c08d5" ] ] }, { - "id": "6dada1.f2c9326", + "id": "a7b13cb2.c08d5", "type": "service-logic", "name": "GENERIC-RESOURCE-API ${project.version}", "module": "GENERIC-RESOURCE-API", @@ -22,2246 +22,2246 @@ "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": 282.0000057220459, - "y": 117.00001811981201, - "z": "5b3e3707.3aa6c8", + "x": 330.0000057220459, + "y": 124.00001811981201, + "z": "92c42fbf.4d20f", "wires": [ [ - "280e7b0d.e2eef4" + "5d2c2651.f9a3d8" ] ] }, { - "id": "280e7b0d.e2eef4", + "id": "5d2c2651.f9a3d8", "type": "method", "name": "sdwan-attachment-topology-operation-activate", "xml": "<method rpc='sdwan-attachment-topology-operation-activate' mode='sync'>\n", "comments": "", "outputs": 1, - "x": 270.00012397766113, - "y": 205.00000095367432, - "z": "5b3e3707.3aa6c8", + "x": 318.00012397766113, + "y": 212.00000095367432, + "z": "92c42fbf.4d20f", "wires": [ [ - "3b8ff9db.6736b6" + "c8d63fe2.b2b23" ] ] }, { - "id": "3b8ff9db.6736b6", + "id": "c8d63fe2.b2b23", "type": "block", "name": "block : atomic", "xml": "<block atomic=\"true\">\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 172.00013732910156, - "y": 891.0002890825272, - "z": "5b3e3707.3aa6c8", - "wires": [ - [ - "91ee02fa.b186a", - "ba42cb5a.846d08", - "b40f6fde.18743", - "8171db6d.f63858", - "e6936fb4.46122", - "a02dc728.884b28", - "210482d7.10d8ee", - "b09356ce.de3e78", - "b70e72ac.ac27d", - "720d11d0.f67bc", - "671de4e7.c5daec", - "22826455.9296ec", - "f959c075.1e7e6", - "69260ab2.333c94", - "1ebdd52f.25cc2b", - "5f71dd6c.97cd84", - "69e18ab9.627484", - "bcfeb911.f55008", - "19a39c5d.bf96f4", - "c4f38bc0.54d238", - "6a97289d.80a568", - "f3ac87c7.5588f8", - "c88d609e.257e3", - "86fafd91.f4f2f", - "df3f5d3a.29e2c", - "55f46b97.799ce4" - ] - ] - }, - { - "id": "91ee02fa.b186a", + "x": 220.00013732910156, + "y": 898.0002890825272, + "z": "92c42fbf.4d20f", + "wires": [ + [ + "d462bbd.082f148", + "ce900383.4855d", + "bc468479.f5a808", + "cc58fb4f.38c9d8", + "5687be1a.59a66", + "a1d43226.8d32d", + "a6ce139d.8cd82", + "fcbe570.434f0a8", + "e2fb4f17.bce7a", + "3aed3696.4cf77a", + "e78f2c1f.7461f", + "f801a0de.16907", + "d4bcebf0.e04a68", + "a351ad64.5b62", + "169bc249.b8cede", + "86489e85.9e429", + "6a1b7e4b.2ba26", + "7ad41615.6876c8", + "fb5be39e.fa586", + "2406d281.b1df1e", + "4e50db83.d2f224", + "862cb704.9f9128", + "4e5f3349.352d6c", + "28b00a13.902c76", + "9a0f8d9a.4d443", + "f9894d64.11723" + ] + ] + }, + { + "id": "d462bbd.082f148", "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": 682.9935626983643, - "y": 158.99348783493042, - "z": "5b3e3707.3aa6c8", + "x": 730.9935626983643, + "y": 165.99348783493042, + "z": "92c42fbf.4d20f", "wires": [] }, { - "id": "fc6cccab.f6373", + "id": "1a77342a.e82ccc", "type": "comment", "name": "set tmp ar-id to fetch resource from MDSAL", "info": "", "comments": "", - "x": 711.9538745880127, - "y": 123.02528381347656, - "z": "5b3e3707.3aa6c8", + "x": 759.9538745880127, + "y": 130.02528381347656, + "z": "92c42fbf.4d20f", "wires": [] }, { - "id": "ba42cb5a.846d08", + "id": "ce900383.4855d", "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": 636.993501663208, - "y": 251.99349308013916, - "z": "5b3e3707.3aa6c8", + "x": 684.993501663208, + "y": 258.99349308013916, + "z": "92c42fbf.4d20f", "wires": [] }, { - "id": "8171db6d.f63858", + "id": "cc58fb4f.38c9d8", "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": 643.255392074585, - "y": 339.66022205352783, - "z": "5b3e3707.3aa6c8", + "x": 691.255392074585, + "y": 346.66022205352783, + "z": "92c42fbf.4d20f", "wires": [ [] ] }, { - "id": "b40f6fde.18743", + "id": "bc468479.f5a808", "type": "execute", "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": 690.255449295044, - "y": 427.6602258682251, - "z": "5b3e3707.3aa6c8", + "x": 738.255449295044, + "y": 434.6602258682251, + "z": "92c42fbf.4d20f", "wires": [ [] ] }, { - "id": "8f7c2f3a.39068", + "id": "cd648838.9eb298", "type": "comment", "name": "GET connection-attachment-allotted-resource from mdsal", "info": "", "comments": "", - "x": 744.8084106445312, - "y": 496.53865146636963, - "z": "5b3e3707.3aa6c8", + "x": 792.8084106445312, + "y": 503.53865146636963, + "z": "92c42fbf.4d20f", "wires": [] }, { - "id": "6a9edb15.0372c4", + "id": "9dbfb79f.f4be18", "type": "comment", "name": "Used for setting output to API Handler", "info": "", "comments": "", - "x": 690.9935321807861, - "y": 218.99350261688232, - "z": "5b3e3707.3aa6c8", + "x": 738.9935321807861, + "y": 225.99350261688232, + "z": "92c42fbf.4d20f", "wires": [] }, { - "id": "5d0ffaf8.eea164", + "id": "247d684d.e973f8", "type": "comment", "name": "Obtain different URL, template location etc", "info": "For saving resource information to MDSAL & for AAI", "comments": "", - "x": 708.9934978485107, - "y": 304.8823833465576, - "z": "5b3e3707.3aa6c8", + "x": 756.9934978485107, + "y": 311.8823833465576, + "z": "92c42fbf.4d20f", "wires": [] }, { - "id": "4c6a252e.949a4c", + "id": "6426cfba.672b8", "type": "comment", "name": "Used to Get AR by id to MDSAL, same as self-link", "info": "", "comments": "", - "x": 734.9935169219971, - "y": 391.882342338562, - "z": "5b3e3707.3aa6c8", + "x": 782.9935169219971, + "y": 398.882342338562, + "z": "92c42fbf.4d20f", "wires": [] }, { - "id": "1df58ece.22a6f1", + "id": "406068c.1da4a98", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1198.6668224334717, - "y": 509.99997901916504, - "z": "5b3e3707.3aa6c8", + "x": 1246.6668224334717, + "y": 516.999979019165, + "z": "92c42fbf.4d20f", "wires": [ [ - "beb58fcf.0e694" + "519eae9c.9b2f6" ] ] }, { - "id": "beb58fcf.0e694", + "id": "519eae9c.9b2f6", "type": "block", "name": "block: atomic", "xml": "<block atomic=\"true\">\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1342.6669006347656, - "y": 467.4998970031738, - "z": "5b3e3707.3aa6c8", + "x": 1390.6669006347656, + "y": 474.4998970031738, + "z": "92c42fbf.4d20f", "wires": [ [ - "b372be99.b158c" + "d1dd16e9.faf918" ] ] }, { - "id": "b372be99.b158c", + "id": "d1dd16e9.faf918", "type": "switchNode", "name": "switch cr length", "xml": "<switch test='`$mdsal-ar.connection-attachment-allotted-resource_length`'>\n", "comments": "", "outputs": 1, - "x": 1511.5243244171143, - "y": 465.11906814575195, - "z": "5b3e3707.3aa6c8", + "x": 1559.5243244171143, + "y": 472.11906814575195, + "z": "92c42fbf.4d20f", "wires": [ [ - "553cf33f.abe66c", - "efe7a59a.897c58" + "6a124f25.b362a", + "caf37a34.d778a8" ] ] }, { - "id": "553cf33f.abe66c", + "id": "6a124f25.b362a", "type": "other", "name": "outcome 1", "xml": "<outcome value='1'>\n", "comments": "", "outputs": 1, - "x": 1666.8574600219727, - "y": 437.1189832687378, - "z": "5b3e3707.3aa6c8", + "x": 1714.8574600219727, + "y": 444.1189832687378, + "z": "92c42fbf.4d20f", "wires": [ [ - "bb79446e.fd2a98" + "d1a8c266.f1b55" ] ] }, { - "id": "bb79446e.fd2a98", + "id": "d1a8c266.f1b55", "type": "block", "name": "block: atomic", "xml": "<block atomic='true'>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1825.3812637329102, - "y": 435.02383041381836, - "z": "5b3e3707.3aa6c8", + "x": 1873.3812637329102, + "y": 442.02383041381836, + "z": "92c42fbf.4d20f", "wires": [ [ - "c3367ce.c8b6f8", - "6e235bab.f44c74", - "fca0cf3f.e6c1c" + "bb518772.b81358", + "645ade11.426a1", + "44255d43.96da34" ] ] }, { - "id": "cad70d2f.866d6", + "id": "2aedf56b.f1b1ba", "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: Connection attachment resource not exist\" />\n \n", "comments": "", - "x": 1765.5191955566406, - "y": 542.0660648345947, - "z": "5b3e3707.3aa6c8", + "x": 1813.5191955566406, + "y": 549.0660648345947, + "z": "92c42fbf.4d20f", "wires": [] }, { - "id": "60f581d.8121d8", + "id": "e00fd6fc.ea7778", "type": "other", "name": "other", "xml": "<outcome value='Other'>\n", "comments": "", "outputs": 1, - "x": 1190.5186252593994, - "y": 545.0660638809204, - "z": "5b3e3707.3aa6c8", + "x": 1238.5186252593994, + "y": 552.0660638809204, + "z": "92c42fbf.4d20f", "wires": [ [ - "4541101a.4fcaa" + "d0418e39.56684" ] ] }, { - "id": "4541101a.4fcaa", + "id": "d0418e39.56684", "type": "block", "name": "block: atomic", "xml": "<block atomic=\"true\">\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1370.518575668335, - "y": 545.7326145172119, - "z": "5b3e3707.3aa6c8", + "x": 1418.518575668335, + "y": 552.7326145172119, + "z": "92c42fbf.4d20f", "wires": [ [ - "cad70d2f.866d6" + "2aedf56b.f1b1ba" ] ] }, { - "id": "efe7a59a.897c58", + "id": "caf37a34.d778a8", "type": "other", "name": "other", "xml": "<outcome value='Other'>\n", "comments": "", "outputs": 1, - "x": 1658.1854629516602, - "y": 496.39935779571533, - "z": "5b3e3707.3aa6c8", + "x": 1706.1854629516602, + "y": 503.39935779571533, + "z": "92c42fbf.4d20f", "wires": [ [ - "cad70d2f.866d6" + "2aedf56b.f1b1ba" ] ] }, { - "id": "c3367ce.c8b6f8", + "id": "bb518772.b81358", "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": 2072.4447174072266, - "y": 408.00008249282837, - "z": "5b3e3707.3aa6c8", + "x": 2120.4447174072266, + "y": 415.00008249282837, + "z": "92c42fbf.4d20f", "wires": [] }, { - "id": "6e235bab.f44c74", + "id": "645ade11.426a1", "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": 2021.4449863433838, - "y": 510.4286185503006, - "z": "5b3e3707.3aa6c8", + "x": 2069.444986343384, + "y": 517.4286185503006, + "z": "92c42fbf.4d20f", "wires": [] }, { - "id": "fca0cf3f.e6c1c", + "id": "44255d43.96da34", "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": 2023.444803237915, - "y": 450.0000435113907, - "z": "5b3e3707.3aa6c8", + "x": 2071.444803237915, + "y": 457.0000435113907, + "z": "92c42fbf.4d20f", "wires": [ [ - "3fdfd73c.bfa0f8", - "a02243dc.27d9" + "48830e3c.30889", + "2b84fa59.5b57c6" ] ] }, { - "id": "a02243dc.27d9", + "id": "2b84fa59.5b57c6", "type": "outcome", "name": "outcome Created", "xml": "<outcome value='Created'>\n", "comments": "", "outputs": 1, - "x": 2251.0451526641846, - "y": 441.00010073184967, - "z": "5b3e3707.3aa6c8", + "x": 2299.0451526641846, + "y": 448.00010073184967, + "z": "92c42fbf.4d20f", "wires": [ [ - "efd48355.63c2" + "45156448.968e9c" ] ] }, { - "id": "3fdfd73c.bfa0f8", + "id": "48830e3c.30889", "type": "outcome", "name": "outcome Other", "xml": "<outcome value='Other'>\n", "comments": "", "outputs": 1, - "x": 2245.759048461914, - "y": 480.42865800857544, - "z": "5b3e3707.3aa6c8", + "x": 2293.759048461914, + "y": 487.42865800857544, + "z": "92c42fbf.4d20f", "wires": [ [ - "e7841384.7d2f" + "a911339e.75cc3" ] ] }, { - "id": "efd48355.63c2", + "id": "45156448.968e9c", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 2410.515281677246, - "y": 441.37570571899414, - "z": "5b3e3707.3aa6c8", + "x": 2458.515281677246, + "y": 448.37570571899414, + "z": "92c42fbf.4d20f", "wires": [ [] ] }, { - "id": "e7841384.7d2f", + "id": "a911339e.75cc3", "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": 2421.666862487793, - "y": 479.000057220459, - "z": "5b3e3707.3aa6c8", + "x": 2469.666862487793, + "y": 486.000057220459, + "z": "92c42fbf.4d20f", "wires": [] }, { - "id": "28e25554.5dcffa", + "id": "233d3f47.5a62d", "type": "call", "name": "call GENERIC-RESOURCE-API:sdwan-get-saved-ar-param", "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-saved-ar-param' mode='sync' >\n", "comments": "", "outputs": 1, - "x": 915.3030433654785, - "y": 616.4936294555664, - "z": "5b3e3707.3aa6c8", + "x": 963.3030433654785, + "y": 623.4936294555664, + "z": "92c42fbf.4d20f", "wires": [ [] ] }, { - "id": "e6936fb4.46122", + "id": "5687be1a.59a66", "type": "block", "name": "block: atomic", "xml": "<block atomic=\"true\">\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 609.3091430664062, - "y": 617.5, - "z": "5b3e3707.3aa6c8", + "x": 657.3091430664062, + "y": 624.5, + "z": "92c42fbf.4d20f", "wires": [ [ - "28e25554.5dcffa" + "233d3f47.5a62d" ] ] }, { - "id": "912e86c8.6df528", + "id": "9b9946c9.3f3d68", "type": "comment", "name": "GET parent-service-data from mdsal to check existence of other End point", "info": "", "comments": "", - "x": 787.00048828125, - "y": 688.53173828125, - "z": "5b3e3707.3aa6c8", + "x": 835.00048828125, + "y": 695.53173828125, + "z": "92c42fbf.4d20f", "wires": [] }, { - "id": "bb953da4.20a6", + "id": "2f29782e.56da68", "type": "comment", "name": "GET connection-attachment-ar to store AR data from mdsal", "info": "", "comments": "", - "x": 2134.4727783203125, - "y": 368.5039367675781, - "z": "5b3e3707.3aa6c8", + "x": 2182.4727783203125, + "y": 375.5039367675781, + "z": "92c42fbf.4d20f", "wires": [] }, { - "id": "a02dc728.884b28", + "id": "a1d43226.8d32d", "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": 672.9688110351562, - "y": 718.0001220703125, - "z": "5b3e3707.3aa6c8", + "x": 720.9688110351562, + "y": 725.0001220703125, + "z": "92c42fbf.4d20f", "wires": [] }, { - "id": "237a4084.caa97", + "id": "9e759fa5.c7253", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1032.968978881836, - "y": 775.0000915527344, - "z": "5b3e3707.3aa6c8", + "x": 1080.968978881836, + "y": 782.0000915527344, + "z": "92c42fbf.4d20f", "wires": [ [ - "cb935d16.398af" + "b7458f6f.6b103" ] ] }, { - "id": "b92e648c.4237d8", + "id": "5edd87c2.935d58", "type": "other", "name": "other", "xml": "<outcome value='Other'>\n", "comments": "", "outputs": 1, - "x": 1024.8207817077637, - "y": 810.0661764144897, - "z": "5b3e3707.3aa6c8", + "x": 1072.8207817077637, + "y": 817.0661764144897, + "z": "92c42fbf.4d20f", "wires": [ [ - "3472a1b6.dd0c3e" + "45257af8.9c6094" ] ] }, { - "id": "3472a1b6.dd0c3e", + "id": "45257af8.9c6094", "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: Parent service data not available\" />\n \n", "comments": "", - "x": 1170.9695625305176, - "y": 809.3335876464844, - "z": "5b3e3707.3aa6c8", + "x": 1218.9695625305176, + "y": 816.3335876464844, + "z": "92c42fbf.4d20f", "wires": [] }, { - "id": "cb935d16.398af", + "id": "b7458f6f.6b103", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1163.9690742492676, - "y": 775.0001525878906, - "z": "5b3e3707.3aa6c8", + "x": 1211.9690742492676, + "y": 782.0001525878906, + "z": "92c42fbf.4d20f", "wires": [ [] ] }, { - "id": "a9379012.e6c67", + "id": "41e65fa0.2c10b", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 846.7313137054443, - "y": 2135.9540371894836, - "z": "5b3e3707.3aa6c8", + "x": 894.7313137054443, + "y": 2142.9540371894836, + "z": "92c42fbf.4d20f", "wires": [ [ - "be6d4648.608728" + "b6c4d495.4bdad8" ] ] }, { - "id": "be6d4648.608728", + "id": "b6c4d495.4bdad8", "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": 1013.2551345825195, - "y": 2162.5730443000793, - "z": "5b3e3707.3aa6c8", + "x": 1061.2551345825195, + "y": 2169.5730443000793, + "z": "92c42fbf.4d20f", "wires": [] }, { - "id": "c2820f2f.b28f6", + "id": "691b6216.46804c", "type": "failure", "name": "not-found", "xml": "<outcome value='not-found'>\n", "comments": "", "outputs": 1, - "x": 848.8265419006348, - "y": 2183.715879917145, - "z": "5b3e3707.3aa6c8", + "x": 896.8265419006348, + "y": 2190.715879917145, + "z": "92c42fbf.4d20f", "wires": [ [ - "be6d4648.608728" + "b6c4d495.4bdad8" ] ] }, { - "id": "4982ee04.1cd2f", + "id": "39d44506.fc1dea", "type": "comment", "name": "Save Resource to AAI", "info": "", "comments": "", - "x": 620.7789573669434, - "y": 2124.3032002449036, - "z": "5b3e3707.3aa6c8", + "x": 668.7789573669434, + "y": 2131.3032002449036, + "z": "92c42fbf.4d20f", "wires": [] }, { - "id": "1ebdd52f.25cc2b", + "id": "169bc249.b8cede", "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": 635.5466537475586, - "y": 2045.8286814689636, - "z": "5b3e3707.3aa6c8", + "x": 683.5466537475586, + "y": 2052.8286814689636, + "z": "92c42fbf.4d20f", "wires": [] }, { - "id": "5f71dd6c.97cd84", + "id": "86489e85.9e429", "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": 595.9598255157471, - "y": 2231.4444699287415, - "z": "5b3e3707.3aa6c8", + "x": 643.9598255157471, + "y": 2238.4444699287415, + "z": "92c42fbf.4d20f", "wires": [] }, { - "id": "69260ab2.333c94", + "id": "a351ad64.5b62", "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.sdwan-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": 688.278736114502, - "y": 1970.4695343971252, - "z": "5b3e3707.3aa6c8", + "x": 736.278736114502, + "y": 1977.4695343971252, + "z": "92c42fbf.4d20f", "wires": [ [ - "61914fb2.5848f", - "913cab50.d379e8", - "247de1a.a91111e" + "7f052e3d.cfc45", + "9a139c80.89827", + "c0ebd24f.2c1be" ] ] }, { - "id": "61914fb2.5848f", + "id": "7f052e3d.cfc45", "type": "not-found", "name": "not-found", "xml": "<outcome value='not-found'>\n", "comments": "", "outputs": 1, - "x": 942.9201583862305, - "y": 2014.8009285926819, - "z": "5b3e3707.3aa6c8", + "x": 990.9201583862305, + "y": 2021.8009285926819, + "z": "92c42fbf.4d20f", "wires": [ [ - "63853616.80d768" + "d5b448a4.f99588" ] ] }, { - "id": "913cab50.d379e8", + "id": "9a139c80.89827", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 944.9201812744141, - "y": 1973.3008927330375, - "z": "5b3e3707.3aa6c8", + "x": 992.9201812744141, + "y": 1980.3008927330375, + "z": "92c42fbf.4d20f", "wires": [ [ - "63853616.80d768" + "d5b448a4.f99588" ] ] }, { - "id": "247de1a.a91111e", + "id": "c0ebd24f.2c1be", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 948.6702651977539, - "y": 1924.6580452919006, - "z": "5b3e3707.3aa6c8", + "x": 996.6702651977539, + "y": 1931.6580452919006, + "z": "92c42fbf.4d20f", "wires": [ [ - "e8b97cec.a52d7" + "da728790.b76f18" ] ] }, { - "id": "63853616.80d768", + "id": "d5b448a4.f99588", "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": 1103.6702842712402, - "y": 1993.05095911026, - "z": "5b3e3707.3aa6c8", + "x": 1151.6702842712402, + "y": 2000.05095911026, + "z": "92c42fbf.4d20f", "wires": [] }, { - "id": "e8b97cec.a52d7", + "id": "da728790.b76f18", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1076.3262100219727, - "y": 1926.8502135276794, - "z": "5b3e3707.3aa6c8", + "x": 1124.3262100219727, + "y": 1933.8502135276794, + "z": "92c42fbf.4d20f", "wires": [ [] ] }, { - "id": "720d11d0.f67bc", + "id": "3aed3696.4cf77a", "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", "comments": "", - "x": 590.4923515319824, - "y": 1804.8504354953766, - "z": "5b3e3707.3aa6c8", + "x": 638.4923515319824, + "y": 1811.8504354953766, + "z": "92c42fbf.4d20f", "wires": [] }, { - "id": "22826455.9296ec", + "id": "f801a0de.16907", "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": 607.7781944274902, - "y": 1877.4700331687927, - "z": "5b3e3707.3aa6c8", + "x": 655.7781944274902, + "y": 1884.4700331687927, + "z": "92c42fbf.4d20f", "wires": [ [] ] }, { - "id": "f959c075.1e7e6", + "id": "d4bcebf0.e04a68", "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='Active' />\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": 657.7652740478516, - "y": 1914.4211134910583, - "z": "5b3e3707.3aa6c8", + "x": 705.7652740478516, + "y": 1921.4211134910583, + "z": "92c42fbf.4d20f", "wires": [] }, { - "id": "671de4e7.c5daec", + "id": "e78f2c1f.7461f", "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": 604.3338928222656, - "y": 1844.025085926056, - "z": "5b3e3707.3aa6c8", + "x": 652.3338928222656, + "y": 1851.025085926056, + "z": "92c42fbf.4d20f", "wires": [] }, { - "id": "33b4dd9d.575162", + "id": "82a1071f.9cdd18", "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": 715.6673889160156, - "y": 1766.0250434875488, - "z": "5b3e3707.3aa6c8", + "x": 763.6673889160156, + "y": 1773.0250434875488, + "z": "92c42fbf.4d20f", "wires": [] }, { - "id": "ad8abb41.f27f98", + "id": "74588870.73e178", "type": "comment", "name": "Add to allotted-resources in mdsal", "info": "", "comments": "", - "x": 659.2471809387207, - "y": 1732.4383397102356, - "z": "5b3e3707.3aa6c8", + "x": 707.2471809387207, + "y": 1739.4383397102356, + "z": "92c42fbf.4d20f", "wires": [] }, { - "id": "c88d609e.257e3", + "id": "4e5f3349.352d6c", "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=\"Active\" />\n", + "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.service-information.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=\"Active\" />\n", "comments": "", "outputs": 1, - "x": 647.2232360839844, - "y": 2161.7553429603577, - "z": "5b3e3707.3aa6c8", + "x": 695.2232360839844, + "y": 2168.7553429603577, + "z": "92c42fbf.4d20f", "wires": [ [ - "a9379012.e6c67", - "c2820f2f.b28f6" + "41e65fa0.2c10b", + "691b6216.46804c" ] ] }, { - "id": "210482d7.10d8ee", + "id": "a6ce139d.8cd82", "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": 819.0039672851562, - "y": 528.00390625, - "z": "5b3e3707.3aa6c8", + "x": 867.0039672851562, + "y": 535.00390625, + "z": "92c42fbf.4d20f", "wires": [ [ - "1df58ece.22a6f1", - "60f581d.8121d8" + "406068c.1da4a98", + "e00fd6fc.ea7778" ] ] }, { - "id": "b09356ce.de3e78", + "id": "fcbe570.434f0a8", "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": 742.0040893554688, - "y": 791.0040893554688, - "z": "5b3e3707.3aa6c8", + "x": 790.0040893554688, + "y": 798.0040893554688, + "z": "92c42fbf.4d20f", "wires": [ [ - "237a4084.caa97", - "b92e648c.4237d8" + "9e759fa5.c7253", + "5edd87c2.935d58" ] ] }, { - "id": "b70e72ac.ac27d", + "id": "e2fb4f17.bce7a", "type": "execute", "name": "get parent-service-data url", "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": 642.0039978027344, - "y": 754.0039224624634, - "z": "5b3e3707.3aa6c8", + "x": 690.0039978027344, + "y": 761.0039224624634, + "z": "92c42fbf.4d20f", "wires": [ [] ] }, { - "id": "32321857.9b87a8", + "id": "1f1e2af2.8cbfa5", "type": "set", "name": "set prop.ar.provided-allotted-resource-id", "xml": "<set>\n<parameter name='prop.ar.provided-allotted-resource-id' value='`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource[$pidx].allotted-resource-id`' />\n\n", "comments": "", - "x": 1499.9964752197266, - "y": 843.1218557357788, - "z": "5b3e3707.3aa6c8", + "x": 1547.9964752197266, + "y": 850.1218557357788, + "z": "92c42fbf.4d20f", "wires": [] }, { - "id": "b156e259.c2b83", + "id": "fc107783.f66638", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 2005.9970703125, - "y": 937.4551391601562, - "z": "5b3e3707.3aa6c8", + "x": 2053.9970703125, + "y": 944.4551391601562, + "z": "92c42fbf.4d20f", "wires": [ [ - "7bcfda30.e9f8d4" + "23bfc366.b2fa3c" ] ] }, { - "id": "9ffe3ec9.11aa8", + "id": "d6f3b7ed.897558", "type": "other", "name": "other", "xml": "<outcome value='Other'>\n", "comments": "", "outputs": 1, - "x": 2009.848445892334, - "y": 899.52121925354, - "z": "5b3e3707.3aa6c8", + "x": 2057.848445892334, + "y": 906.52121925354, + "z": "92c42fbf.4d20f", "wires": [ [ - "66958c0e.e9ae64" + "62911322.6e35fc" ] ] }, { - "id": "edc31606.488c38", + "id": "69edf94d.eac048", "type": "for", "name": "for arvidx.. mdsal-sd.service-data.vnfs.vnf_length[]", "xml": "<for index='arvidx' start='0' end='`$mdsal-sd.service-data.vnfs.vnf_length`' >\n", "comments": "", "outputs": 1, - "x": 1901.9976425170898, - "y": 1665.1222692728043, - "z": "5b3e3707.3aa6c8", + "x": 1949.9976425170898, + "y": 1672.1222692728043, + "z": "92c42fbf.4d20f", "wires": [ [ - "4a985c04.ef4f84" + "764ffe4a.681ad" ] ] }, { - "id": "4a985c04.ef4f84", + "id": "764ffe4a.681ad", "type": "block", "name": "block atmoic", "xml": "<block atomic=\"true\">\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1661.6641387939453, - "y": 1737.1224619150162, - "z": "5b3e3707.3aa6c8", + "x": 1709.6641387939453, + "y": 1744.1224619150162, + "z": "92c42fbf.4d20f", "wires": [ [ - "f49161ce.7951e" + "b8e7c061.bd378" ] ] }, { - "id": "f49161ce.7951e", + "id": "b8e7c061.bd378", "type": "switchNode", "name": "switch ActivateSiteInstance", "xml": "<switch test=\"`$mdsal-sd.service-data.vnfs.vnf[$arvidx].vnf-data.request-information.request-action == 'ActivateSiteInstance'`\">\n\n \n \n\n", "comments": "", "outputs": 1, - "x": 1874.5293731689453, - "y": 1738.3203302621841, - "z": "5b3e3707.3aa6c8", + "x": 1922.5293731689453, + "y": 1745.3203302621841, + "z": "92c42fbf.4d20f", "wires": [ [ - "ba99c3de.16d52" + "af3c96cc.a1d208" ] ] }, { - "id": "ba99c3de.16d52", + "id": "af3c96cc.a1d208", "type": "outcomeTrue", "name": "true", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 2079.52872467041, - "y": 1741.3203264474869, - "z": "5b3e3707.3aa6c8", + "x": 2127.52872467041, + "y": 1748.3203264474869, + "z": "92c42fbf.4d20f", "wires": [ [ - "81072e73.36a9b" + "a89b6820.3b89d8" ] ] }, { - "id": "fe54ca75.073228", + "id": "8d253099.60ab9", "type": "set", "name": "set tmp.sitevidx ", "xml": "<set>\n<parameter name='tmp.sitevidx' value='`$arvidx`' />\n\n", "comments": "", - "x": 2423.528896331787, - "y": 1721.3206740617752, - "z": "5b3e3707.3aa6c8", + "x": 2471.528896331787, + "y": 1728.3206740617752, + "z": "92c42fbf.4d20f", "wires": [] }, { - "id": "fca98070.131e", + "id": "6d8cc41a.be1cfc", "type": "set", "name": "set prop.ar-parent-service-instance-id", "xml": "<set>\n<parameter name='prop.ar-parent-service-instance-id' value='`$mdsal-providedAr.connection-attachment-allotted-resource[0].allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.parent-service-instance-id`' /> \n", "comments": "", - "x": 1650.9970703125, - "y": 1084.1221185922623, - "z": "5b3e3707.3aa6c8", + "x": 1698.9970703125, + "y": 1091.1221185922623, + "z": "92c42fbf.4d20f", "wires": [] }, { - "id": "3615b198.912bde", + "id": "f4b5259e.86dd38", "type": "for", "name": "for loop aridx - Get role from allotted resource", "xml": "<for index=\"aridx\" start=\"0\" end=\"`$mdsal-providedAr.connection-attachment-allotted-resource[0].allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.param_length`\">\n \n \n", "comments": "", "outputs": 1, - "x": 1677.9965839385986, - "y": 1041.6217069625854, - "z": "5b3e3707.3aa6c8", + "x": 1725.9965839385986, + "y": 1048.6217069625854, + "z": "92c42fbf.4d20f", "wires": [ [ - "ff4ce46e.aa5008" + "4483e9ee.7ffd68" ] ] }, { - "id": "17a801cc.ffa25e", + "id": "c5da2f8.eb203d", "type": "switchNode", "name": "switch Role", "xml": "<switch test=\"`$mdsal-providedAr.connection-attachment-allotted-resource[0].allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.param[$aridx].name == 'role'`\">\n", "comments": "", "outputs": 1, - "x": 2108.9968280792236, - "y": 1007.621829032898, - "z": "5b3e3707.3aa6c8", + "x": 2156.9968280792236, + "y": 1014.621829032898, + "z": "92c42fbf.4d20f", "wires": [ [ - "4be35b76.6b2a54" + "4dcb3b71.c91564" ] ] }, { - "id": "4be35b76.6b2a54", + "id": "4dcb3b71.c91564", "type": "outcomeTrue", "name": "true", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 2248.9970722198486, - "y": 1005.6219511032104, - "z": "5b3e3707.3aa6c8", + "x": 2296.9970722198486, + "y": 1012.6219511032104, + "z": "92c42fbf.4d20f", "wires": [ [ - "7e234298.9ccc3c" + "abbbe638.28eb78" ] ] }, { - "id": "7e234298.9ccc3c", + "id": "abbbe638.28eb78", "type": "set", "name": "set prop.role", "xml": "<set>\n<parameter name='prop.role' value='`$mdsal-providedAr.connection-attachment-allotted-resource[0].allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.param[$aridx].value`' />\n", "comments": "", - "x": 2392.9978046417236, - "y": 1005.2218046188354, - "z": "5b3e3707.3aa6c8", + "x": 2440.9978046417236, + "y": 1012.2218046188354, + "z": "92c42fbf.4d20f", "wires": [] }, { - "id": "c26e60ea.9b07b", + "id": "96905d4d.266e3", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1956.9968872070312, - "y": 1184.1219259500504, - "z": "5b3e3707.3aa6c8", + "x": 2004.9968872070312, + "y": 1191.1219259500504, + "z": "92c42fbf.4d20f", "wires": [ [ - "dcf01c19.ab4ec" + "20f71ccb.8bb9b4" ] ] }, { - "id": "21194342.fd75ac", + "id": "6d849909.165408", "type": "other", "name": "other", "xml": "<outcome value='Other'>\n", "comments": "", "outputs": 1, - "x": 1954.8492164611816, - "y": 1145.18805372715, - "z": "5b3e3707.3aa6c8", + "x": 2002.8492164611816, + "y": 1152.18805372715, + "z": "92c42fbf.4d20f", "wires": [ [ - "26a61e2a.3b4ee2" + "f2dcd85c.bce9e8" ] ] }, { - "id": "66958c0e.e9ae64", + "id": "62911322.6e35fc", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 2135.996570587158, - "y": 896.6216526031494, - "z": "5b3e3707.3aa6c8", + "x": 2183.996570587158, + "y": 903.6216526031494, + "z": "92c42fbf.4d20f", "wires": [ [] ] }, { - "id": "7bcfda30.e9f8d4", + "id": "23bfc366.b2fa3c", "type": "block", "name": "block atomic", "xml": "<block atomic=\"true\">\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1301.496524810791, - "y": 1076.6217823028564, - "z": "5b3e3707.3aa6c8", + "x": 1349.496524810791, + "y": 1083.6217823028564, + "z": "92c42fbf.4d20f", "wires": [ [ - "3615b198.912bde", - "fca98070.131e", - "d8ea80f8.53dca", - "f11b05ac.5891b8" + "f4b5259e.86dd38", + "6d8cc41a.be1cfc", + "eed01b55.d04f18", + "48c9897c.fcd5b8" ] ] }, { - "id": "26a61e2a.3b4ee2", + "id": "f2dcd85c.bce9e8", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 2084.4974098205566, - "y": 1138.6220136880875, - "z": "5b3e3707.3aa6c8", + "x": 2132.4974098205566, + "y": 1145.6220136880875, + "z": "92c42fbf.4d20f", "wires": [ [] ] }, { - "id": "dcf01c19.ab4ec", + "id": "20f71ccb.8bb9b4", "type": "block", "name": "block atomic", "xml": "<block atomic=\"true\">\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1683.4971466064453, - "y": 1263.6221548318863, - "z": "5b3e3707.3aa6c8", + "x": 1731.4971466064453, + "y": 1270.6221548318863, + "z": "92c42fbf.4d20f", "wires": [ [ - "6973f8af.870f38" + "873845fc.6f6098" ] ] }, { - "id": "452db2df.70966c", + "id": "615b5e26.43cbe", "type": "for", "name": "for loop siteidx - Get site ID from servicedata", "xml": "<for index=\"siteidx\" start=\"0\" end=\"`$mdsal-sd.service-data.vnfs.vnf[$tmp.sitevidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length`\">\n \n \n", "comments": "", "outputs": 1, - "x": 2502.4985961914062, - "y": 1771.6224666833878, - "z": "5b3e3707.3aa6c8", + "x": 2550.4985961914062, + "y": 1778.6224666833878, + "z": "92c42fbf.4d20f", "wires": [ [ - "5784939.f29e76c" + "b6197b80.43b5b8" ] ] }, { - "id": "200a6173.10b10e", + "id": "dbd732d1.3a3c8", "type": "switchNode", "name": "switch siteId", "xml": "<switch test=\"`$mdsal-sd.service-data.vnfs.vnf[$tmp.sitevidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$siteidx].name == 'siteId'`\">\n\n", "comments": "", "outputs": 1, - "x": 1973.501958847046, - "y": 1885.6239286661148, - "z": "5b3e3707.3aa6c8", + "x": 2021.501958847046, + "y": 1892.6239286661148, + "z": "92c42fbf.4d20f", "wires": [ [ - "91222197.1f508" + "a928d05f.807d7" ] ] }, { - "id": "91222197.1f508", + "id": "a928d05f.807d7", "type": "outcomeTrue", "name": "true", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 2128.5023288726807, - "y": 1887.6242953538895, - "z": "5b3e3707.3aa6c8", + "x": 2176.5023288726807, + "y": 1894.6242953538895, + "z": "92c42fbf.4d20f", "wires": [ [ - "ea7d1279.422d1" + "7763b485.9a224c" ] ] }, { - "id": "62f62c1c.d1f314", + "id": "ae878fc7.06ea3", "type": "set", "name": "Add sites to list and update length", "xml": "<set>\n<parameter name='prop.siteIds[$prop.siteIds_length]' value='`$prop.attach.siteId`' />\n<parameter name='prop.siteIds_length' value='`$prop.siteIds_length + 1`' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", - "x": 2106.0009231567383, - "y": 2020.1228910684586, - "z": "5b3e3707.3aa6c8", + "x": 2154.0009231567383, + "y": 2027.1228910684586, + "z": "92c42fbf.4d20f", "wires": [] }, { - "id": "f3ac87c7.5588f8", + "id": "862cb704.9f9128", "type": "execute", "name": "execute RestApiCallNode create vpn topology", "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdwan-vpn-topology.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/overlay-network/' + $prop.vpn1Id + '/topology'`\" />\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=\"put\"/>\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />", "comments": "", "outputs": 1, - "x": 698.9997272491455, - "y": 1553.6235390901566, - "z": "5b3e3707.3aa6c8", + "x": 746.9997272491455, + "y": 1560.6235390901566, + "z": "92c42fbf.4d20f", "wires": [ [ - "b3354b35.0339d8", - "83e6dff5.c0823" + "9ca71cfd.a9b42", + "e39ed217.1ee0b" ] ] }, { - "id": "83e6dff5.c0823", + "id": "e39ed217.1ee0b", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 942.9996814727783, - "y": 1574.6233559846878, - "z": "5b3e3707.3aa6c8", + "x": 990.9996814727783, + "y": 1581.6233559846878, + "z": "92c42fbf.4d20f", "wires": [ [ - "5884381c.754b78" + "bda5dec3.598f2" ] ] }, { - "id": "5884381c.754b78", + "id": "bda5dec3.598f2", "type": "block", "name": "block : atomic", "xml": "<block atomic=\"true\">", "atomic": "true", "comments": "", "outputs": 1, - "x": 1112.999620437622, - "y": 1577.6233559846878, - "z": "5b3e3707.3aa6c8", + "x": 1160.999620437622, + "y": 1584.6233559846878, + "z": "92c42fbf.4d20f", "wires": [ [] ] }, { - "id": "3a834e9e.d6b4c2", + "id": "d878c3fa.89f44", "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 topology failed\" />\n", "comments": "", - "x": 1112.9997425079346, - "y": 1533.6233559846878, - "z": "5b3e3707.3aa6c8", + "x": 1160.9997425079346, + "y": 1540.6233559846878, + "z": "92c42fbf.4d20f", "wires": [] }, { - "id": "b3354b35.0339d8", + "id": "9ca71cfd.a9b42", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 945.9996204376221, - "y": 1533.6233559846878, - "z": "5b3e3707.3aa6c8", + "x": 993.9996204376221, + "y": 1540.6233559846878, + "z": "92c42fbf.4d20f", "wires": [ [ - "3a834e9e.d6b4c2" + "d878c3fa.89f44" ] ] }, { - "id": "97a06baa.a4df68", + "id": "1627716.a22478f", "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": 1061.5652923583984, - "y": 928.2990293502808, - "z": "5b3e3707.3aa6c8", + "x": 1109.5652923583984, + "y": 935.2990293502808, + "z": "92c42fbf.4d20f", "wires": [] }, { - "id": "c4f38bc0.54d238", + "id": "2406d281.b1df1e", "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 = SDWANController AND \n\t\t depth = '1'\"\n pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n", "comments": "", "outputs": 1, - "x": 658.0650634765625, - "y": 954.2993497848511, - "z": "5b3e3707.3aa6c8", + "x": 706.0650634765625, + "y": 961.2993497848511, + "z": "92c42fbf.4d20f", "wires": [ [ - "b1ed8af2.ff9cc8", - "64af3109.c43ba", - "b545c5fe.0aa818" + "cc3f42f.1aaf5c", + "2581bcc6.214074", + "bc3b824e.981ad" ] ] }, { - "id": "b1ed8af2.ff9cc8", + "id": "cc3f42f.1aaf5c", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 896.0651664733887, - "y": 928.2989978790283, - "z": "5b3e3707.3aa6c8", + "x": 944.0651664733887, + "y": 935.2989978790283, + "z": "92c42fbf.4d20f", "wires": [ [ - "97a06baa.a4df68" + "1627716.a22478f" ] ] }, { - "id": "64af3109.c43ba", + "id": "2581bcc6.214074", "type": "not-found", "name": "not-found", "xml": "<outcome value='not-found'>\n", "comments": "", "outputs": 1, - "x": 892.5559043884277, - "y": 964.8731408119202, - "z": "5b3e3707.3aa6c8", + "x": 940.5559043884277, + "y": 971.8731408119202, + "z": "92c42fbf.4d20f", "wires": [ [ - "84eeaaa5.5de4f8" + "5dde6a53.1070f4" ] ] }, { - "id": "b545c5fe.0aa818", + "id": "bc3b824e.981ad", "type": "other", "name": "other", "xml": "<outcome value='Other'>\n", "comments": "", "outputs": 1, - "x": 886.8889579772949, - "y": 1001.2064542770386, - "z": "5b3e3707.3aa6c8", + "x": 934.8889579772949, + "y": 1008.2064542770386, + "z": "92c42fbf.4d20f", "wires": [ [ - "4396ff0e.50b9e" + "e1a59b7f.54e028" ] ] }, { - "id": "84eeaaa5.5de4f8", + "id": "5dde6a53.1070f4", "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": 1049.1273345947266, - "y": 964.1588926315308, - "z": "5b3e3707.3aa6c8", + "x": 1097.1273345947266, + "y": 971.1588926315308, + "z": "92c42fbf.4d20f", "wires": [] }, { - "id": "4396ff0e.50b9e", + "id": "e1a59b7f.54e028", "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": 1048.6615295410156, - "y": 996.6456785202026, - "z": "5b3e3707.3aa6c8", + "x": 1096.6615295410156, + "y": 1003.6456785202026, + "z": "92c42fbf.4d20f", "wires": [] }, { - "id": "6973f8af.870f38", + "id": "873845fc.6f6098", "type": "for", "name": "for pnidx.. mdsal-psd.service-data.networks.network_length[]", "xml": "<for index='pnidx' start='0' end='`$mdsal-parentsd.service-data.networks.network_length`' >\n", "comments": "", "outputs": 1, - "x": 1991.4972763061523, - "y": 1263.122277855873, - "z": "5b3e3707.3aa6c8", + "x": 2039.4972763061523, + "y": 1270.122277855873, + "z": "92c42fbf.4d20f", "wires": [ [ - "86298d2a.4e81d" + "d2c7de71.be999" ] ] }, { - "id": "9e5424eb.2e5b98", + "id": "442e3eb2.30a6", "type": "switchNode", "name": "switch ActivateSDWANConnectivityInstance", "xml": "<switch test=\"`$mdsal-parentsd.service-data.networks.network[$pnidx].network-data.request-information.request-action == ActivateSDWANConnectivityInstance`\">\n \n \n\n", "comments": "", "outputs": 1, - "x": 1838.165672302246, - "y": 1352.1222940683365, - "z": "5b3e3707.3aa6c8", + "x": 1886.165672302246, + "y": 1359.1222940683365, + "z": "92c42fbf.4d20f", "wires": [ [ - "7568a55.272e35c" + "202c0d34.0eeba2" ] ] }, { - "id": "7568a55.272e35c", + "id": "202c0d34.0eeba2", "type": "outcomeTrue", "name": "true", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 2094.1651248931885, - "y": 1350.1222330331802, - "z": "5b3e3707.3aa6c8", + "x": 2142.1651248931885, + "y": 1357.1222330331802, + "z": "92c42fbf.4d20f", "wires": [ [ - "e1df3461.3efed8" + "d6c2bdb0.f6742" ] ] }, { - "id": "34f69c4e.e0acb4", + "id": "ecaeb85c.a23ad8", "type": "for", "name": "for loop paramidx - Get topology from servicedata", "xml": "<for index=\"paramidx\" start=\"0\" end=\"`$mdsal-parentsd.service-data.networks.network[$pnidx].network-data.network-request-input.network-input-parameters.param_length`\">\n \n \n", "comments": "", "outputs": 1, - "x": 1881.1637878417969, - "y": 1443.1214720010757, - "z": "5b3e3707.3aa6c8", + "x": 1929.1637878417969, + "y": 1450.1214720010757, + "z": "92c42fbf.4d20f", "wires": [ [ - "1b29b6f3.84c7e9" + "55fb20e6.ae2b8" ] ] }, { - "id": "9dd144dd.7929d8", + "id": "275c933d.3e84dc", "type": "switchNode", "name": "switch topology", "xml": "<switch test=\"`$mdsal-psd.service-data.networks.network[$pnidx].network-data.network-request-input.network-input-parameters.param[$paramidx].name == 'topology'`\">\n", "comments": "", "outputs": 1, - "x": 2335.1641483306885, - "y": 1430.121761918068, - "z": "5b3e3707.3aa6c8", + "x": 2383.1641483306885, + "y": 1437.121761918068, + "z": "92c42fbf.4d20f", "wires": [ [ - "e3be96aa.c2c8a8" + "3594c1ef.8c09de" ] ] }, { - "id": "e3be96aa.c2c8a8", + "id": "3594c1ef.8c09de", "type": "outcomeTrue", "name": "true", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 2484.1639041900635, - "y": 1425.1218839883804, - "z": "5b3e3707.3aa6c8", + "x": 2532.1639041900635, + "y": 1432.1218839883804, + "z": "92c42fbf.4d20f", "wires": [ [ - "23ce8dd3.49fc12" + "d0fec186.f6378" ] ] }, { - "id": "23ce8dd3.49fc12", + "id": "d0fec186.f6378", "type": "set", "name": "set topology", "xml": "<set>\n<parameter name='prop.topology' value='`$mdsal-psd.service-data.networks.network[$pnidx].network-data.network-request-input.network-input-parameters.param[$paramidx].value`' />\n", "comments": "", - "x": 2624.1640911102295, - "y": 1422.721799492836, - "z": "5b3e3707.3aa6c8", + "x": 2672.1640911102295, + "y": 1429.721799492836, + "z": "92c42fbf.4d20f", "wires": [] }, { - "id": "ecf33c6a.0e252", + "id": "d8436e7b.788fa", "type": "switchNode", "name": "switch vpnId", "xml": "<switch test=\"`$mdsal-psd.service-data.networks.network[$pnidx].network-data.network-request-input.network-input-parameters.param[$paramidx].name == 'vpn-id'`\">\n", "comments": "", "outputs": 1, - "x": 2322.8300952911377, - "y": 1468.454986691475, - "z": "5b3e3707.3aa6c8", + "x": 2370.8300952911377, + "y": 1475.454986691475, + "z": "92c42fbf.4d20f", "wires": [ [ - "3bf645ac.c4019a" + "ef5a8550.4c3fc8" ] ] }, { - "id": "3bf645ac.c4019a", + "id": "ef5a8550.4c3fc8", "type": "outcomeTrue", "name": "true", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 2462.8300380706787, - "y": 1468.454803109169, - "z": "5b3e3707.3aa6c8", + "x": 2510.8300380706787, + "y": 1475.454803109169, + "z": "92c42fbf.4d20f", "wires": [ [ - "f947fdb0.d1a3c" + "ff006bb3.c58668" ] ] }, { - "id": "f947fdb0.d1a3c", + "id": "ff006bb3.c58668", "type": "set", "name": "set prop.vpn1Id", "xml": "<set>\n<parameter name='prop.vpn1Id' value='`$mdsal-parentsd.service-data.networks.network[$pnidx].network-data.network-request-input.network-input-parameters.param[$paramidx].value`' />\n", "comments": "", - "x": 2610.830041885376, - "y": 1468.054870724678, - "z": "5b3e3707.3aa6c8", + "x": 2658.830041885376, + "y": 1475.054870724678, + "z": "92c42fbf.4d20f", "wires": [] }, { - "id": "6a97289d.80a568", + "id": "4e50db83.d2f224", "type": "execute", "name": "execute RestApiCallNode create vpn ", "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdwan-vpn.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/overlay-network/vpn'`\" />\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=\"put\"/>\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />", "comments": "", "outputs": 1, - "x": 667.9981231689453, - "y": 1462.1229600906372, - "z": "5b3e3707.3aa6c8", + "x": 715.9981231689453, + "y": 1469.1229600906372, + "z": "92c42fbf.4d20f", "wires": [ [ - "5ffc81bd.b86cd", - "2fd24486.c6bc7c" + "22758979.541926", + "97cd05b9.e37ec8" ] ] }, { - "id": "2fd24486.c6bc7c", + "id": "97cd05b9.e37ec8", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 887.998025894165, - "y": 1458.1229249238968, - "z": "5b3e3707.3aa6c8", + "x": 935.998025894165, + "y": 1465.1229249238968, + "z": "92c42fbf.4d20f", "wires": [ [ - "10a20cb7.762a63" + "a647eec3.a66d4" ] ] }, { - "id": "10a20cb7.762a63", + "id": "a647eec3.a66d4", "type": "block", "name": "block : atomic", "xml": "<block atomic=\"true\">", "atomic": "true", "comments": "", "outputs": 1, - "x": 1057.9979648590088, - "y": 1461.1229249238968, - "z": "5b3e3707.3aa6c8", + "x": 1105.9979648590088, + "y": 1468.1229249238968, + "z": "92c42fbf.4d20f", "wires": [ [] ] }, { - "id": "bb44545a.967818", + "id": "8979ecea.209cb", "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 failed\" />\n", "comments": "", - "x": 1057.9980869293213, - "y": 1417.1229249238968, - "z": "5b3e3707.3aa6c8", + "x": 1105.9980869293213, + "y": 1424.1229249238968, + "z": "92c42fbf.4d20f", "wires": [] }, { - "id": "5ffc81bd.b86cd", + "id": "22758979.541926", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 890.9979648590088, - "y": 1417.1229249238968, - "z": "5b3e3707.3aa6c8", + "x": 938.9979648590088, + "y": 1424.1229249238968, + "z": "92c42fbf.4d20f", "wires": [ [ - "bb44545a.967818" + "8979ecea.209cb" ] ] }, { - "id": "c6900049.d4f2a", + "id": "165fa503.fcc5db", "type": "set", "name": "set prop.name", "xml": "<set>\n<parameter name='prop.name' value='`$mdsal-providedAr.connection-attachment-allotted-resource[0].allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.param[$aridx].value`' />\n", "comments": "", - "x": 2467.9968280792236, - "y": 1057.1214628219604, - "z": "5b3e3707.3aa6c8", + "x": 2515.9968280792236, + "y": 1064.1214628219604, + "z": "92c42fbf.4d20f", "wires": [] }, { - "id": "6d71d4d6.b3bfec", + "id": "5a9c41c6.077e", "type": "switchNode", "name": "switch sdwanVpnName", "xml": "<switch test=\"`$mdsal-providedAr.connection-attachment-allotted-resource[0].allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.param[$aridx].name == 'sdwanVpnName'`\">\n", "comments": "", "outputs": 1, - "x": 2147.4965839385986, - "y": 1062.1214628219604, - "z": "5b3e3707.3aa6c8", + "x": 2195.4965839385986, + "y": 1069.1214628219604, + "z": "92c42fbf.4d20f", "wires": [ [ - "95235e68.5208b" + "a0b6a8bd.407c18" ] ] }, { - "id": "95235e68.5208b", + "id": "a0b6a8bd.407c18", "type": "outcomeTrue", "name": "true", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 2324.4968280792236, - "y": 1059.1214628219604, - "z": "5b3e3707.3aa6c8", + "x": 2372.4968280792236, + "y": 1066.1214628219604, + "z": "92c42fbf.4d20f", "wires": [ [ - "c6900049.d4f2a" + "165fa503.fcc5db" ] ] }, { - "id": "5dc928bc.725628", + "id": "e752b141.db3aa", "type": "block", "name": "block atomic", "xml": "<block atomic=\"true\">\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1237.0269775390625, - "y": 880.3190307617188, - "z": "5b3e3707.3aa6c8", + "x": 1285.0269775390625, + "y": 887.3190307617188, + "z": "92c42fbf.4d20f", "wires": [ [ - "32321857.9b87a8", - "8e15f4fa.e90f28", - "9fc5f700.68a778" + "1f1e2af2.8cbfa5", + "7752d7f6.af8778", + "ccfd4281.11f42" ] ] }, { - "id": "69e18ab9.627484", + "id": "6a1b7e4b.2ba26", "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": 830.18115234375, - "y": 889.0944213867188, - "z": "5b3e3707.3aa6c8", + "x": 878.18115234375, + "y": 896.0944213867188, + "z": "92c42fbf.4d20f", "wires": [ [ - "5dc928bc.725628" + "e752b141.db3aa" ] ] }, { - "id": "8e15f4fa.e90f28", + "id": "7752d7f6.af8778", "type": "execute", "name": "generate tmp.ar-url-connection 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-connection\"/>\n <parameter name=\"target\" value=\"{allotted-resource-id}\"/>\n <parameter name=\"replacement\" value=\"`$prop.ar.provided-allotted-resource-id`\"/>\n", "comments": "", "outputs": 1, - "x": 1485.9962997436523, - "y": 878.6668090820312, - "z": "5b3e3707.3aa6c8", + "x": 1533.9962997436523, + "y": 885.6668090820312, + "z": "92c42fbf.4d20f", "wires": [ [] ] }, { - "id": "9fc5f700.68a778", + "id": "ccfd4281.11f42", "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-connection`' />\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-providedAr\" />\n\n", "comments": "", "outputs": 1, - "x": 1634.99609375, - "y": 917.3333740234375, - "z": "5b3e3707.3aa6c8", + "x": 1682.99609375, + "y": 924.3333740234375, + "z": "92c42fbf.4d20f", "wires": [ [ - "9ffe3ec9.11aa8", - "b156e259.c2b83" + "d6f3b7ed.897558", + "fc107783.f66638" ] ] }, { - "id": "d8ea80f8.53dca", + "id": "eed01b55.d04f18", "type": "execute", "name": "generate prop.ar-parent-service-instance-id", "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-connection\"/>\n <parameter name=\"target\" value=\"{service-instance-id}\"/>\n <parameter name=\"replacement\" value=\"`$prop.ar-parent-service-instance-id`\"/>\n\n", "comments": "", "outputs": 1, - "x": 1665.3295593261719, - "y": 1126.0003362894058, - "z": "5b3e3707.3aa6c8", + "x": 1713.3295593261719, + "y": 1133.0003362894058, + "z": "92c42fbf.4d20f", "wires": [ [] ] }, { - "id": "f11b05ac.5891b8", + "id": "48c9897c.fcd5b8", "type": "execute", "name": "execute RestApiCallNode - get 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-connection`' />\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-parentsd\" />\n\n", "comments": "", "outputs": 1, - "x": 1684.3295288085938, - "y": 1160.0004221200943, - "z": "5b3e3707.3aa6c8", + "x": 1732.3295288085938, + "y": 1167.0004221200943, + "z": "92c42fbf.4d20f", "wires": [ [ - "21194342.fd75ac", - "c26e60ea.9b07b" + "6d849909.165408", + "96905d4d.266e3" ] ] }, { - "id": "ff4ce46e.aa5008", + "id": "4483e9ee.7ffd68", "type": "block", "name": "block atomic", "xml": "<block atomic=\"true\">\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1944.0272235870361, - "y": 1036.5311307907104, - "z": "5b3e3707.3aa6c8", + "x": 1992.0272235870361, + "y": 1043.5311307907104, + "z": "92c42fbf.4d20f", "wires": [ [ - "17a801cc.ffa25e", - "6d71d4d6.b3bfec" + "c5da2f8.eb203d", + "5a9c41c6.077e" ] ] }, { - "id": "e1df3461.3efed8", + "id": "d6c2bdb0.f6742", "type": "block", "name": "block atomic", "xml": "<block atomic=\"true\">\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1470.0277786254883, - "y": 1483.5313215255737, - "z": "5b3e3707.3aa6c8", + "x": 1518.0277786254883, + "y": 1490.5313215255737, + "z": "92c42fbf.4d20f", "wires": [ [ - "34f69c4e.e0acb4", - "f53c2301.9407e", - "c3f7512e.84f81", - "334c603e.da8c8" + "ecaeb85c.a23ad8", + "c5c238a2.297c08", + "ce3038ec.f99258", + "7a9df6e2.06b738" ] ] }, { - "id": "86298d2a.4e81d", + "id": "d2c7de71.be999", "type": "block", "name": "block atomic", "xml": "<block atomic=\"true\">\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1580.6634063720703, - "y": 1350.667093873024, - "z": "5b3e3707.3aa6c8", + "x": 1628.6634063720703, + "y": 1357.667093873024, + "z": "92c42fbf.4d20f", "wires": [ [ - "9e5424eb.2e5b98" + "442e3eb2.30a6" ] ] }, { - "id": "5784939.f29e76c", + "id": "b6197b80.43b5b8", "type": "block", "name": "block atmoic", "xml": "<block atomic=\"true\">\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1805.9984703063965, - "y": 1887.667660355568, - "z": "5b3e3707.3aa6c8", + "x": 1853.9984703063965, + "y": 1894.667660355568, + "z": "92c42fbf.4d20f", "wires": [ [ - "200a6173.10b10e" + "dbd732d1.3a3c8" ] ] }, { - "id": "1b29b6f3.84c7e9", + "id": "55fb20e6.ae2b8", "type": "block", "name": "block atomic", "xml": "<block atomic=\"true\">\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 2167.027723312378, - "y": 1443.5314317941666, - "z": "5b3e3707.3aa6c8", + "x": 2215.027723312378, + "y": 1450.5314317941666, + "z": "92c42fbf.4d20f", "wires": [ [ - "9dd144dd.7929d8", - "ecf33c6a.0e252" + "275c933d.3e84dc", + "d8436e7b.788fa" ] ] }, { - "id": "5c15538f.0d810c", + "id": "f593f6af.001438", "type": "set", "name": "set prop.attach.siteId", "xml": "<set>\n<parameter name='prop.attach.siteId' value='`$mdsal-sd.service-data.vnfs.vnf[$tmp.sitevidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$siteidx].value`' />\n\n", "comments": "", - "x": 2058.665012359619, - "y": 1961.3338705301285, - "z": "5b3e3707.3aa6c8", + "x": 2106.665012359619, + "y": 1968.3338705301285, + "z": "92c42fbf.4d20f", "wires": [] }, { - "id": "81072e73.36a9b", + "id": "a89b6820.3b89d8", "type": "block", "name": "block atomic", "xml": "<block atomic=\"true\">\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 2238.255527496338, - "y": 1742.00441801548, - "z": "5b3e3707.3aa6c8", + "x": 2286.255527496338, + "y": 1749.00441801548, + "z": "92c42fbf.4d20f", "wires": [ [ - "fe54ca75.073228", - "452db2df.70966c" + "8d253099.60ab9", + "615b5e26.43cbe" ] ] }, { - "id": "ea7d1279.422d1", + "id": "7763b485.9a224c", "type": "block", "name": "block atomic", "xml": "<block atomic=\"true\">\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1861.755947113037, - "y": 1987.754342675209, - "z": "5b3e3707.3aa6c8", + "x": 1909.755947113037, + "y": 1994.754342675209, + "z": "92c42fbf.4d20f", "wires": [ [ - "5c15538f.0d810c", - "62f62c1c.d1f314", - "9f8585c2.03c528" + "f593f6af.001438", + "ae878fc7.06ea3", + "b4fdd461.f71598" ] ] }, { - "id": "19a39c5d.bf96f4", + "id": "fb5be39e.fa586", "type": "call", "name": "call sdwan-wanport-vnf-topology-operation-underlay", "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-wanport-vnf-topology-operation-underlay' mode='sync' >\n", "comments": "", "outputs": 1, - "x": 717.7540149688721, - "y": 1670.254198551178, - "z": "5b3e3707.3aa6c8", + "x": 765.7540149688721, + "y": 1677.254198551178, + "z": "92c42fbf.4d20f", "wires": [ [] ] }, { - "id": "497d8e2c.0cabf", + "id": "676ca60b.f8dc58", "type": "comment", "name": "underlay", "info": "1. Get consumed AR from service data\n2. for all the AR id's get the respective AR from MDSAL\n3. From MDSAL AR get parent service instance ID\n4. Get service data based in parent service instance ID to get parent service. i.e, SDWAN Infra service\n5. Get SDWAN connectivity from looping network and check for topology\n6. from parent service data get siteAttachInstance vnf and check the role\n7. from parent service data get wanportINstance vnf and check the transportNetworkName\n8. Get provided AR from the parent service data\n9. for each of the provided ARid get the AR from MDSAL\n10.in the AR check for hub\n\n", "comments": "", - "x": 625.722993850708, - "y": 1635.2231373786926, - "z": "5b3e3707.3aa6c8", + "x": 673.722993850708, + "y": 1642.2231373786926, + "z": "92c42fbf.4d20f", "wires": [] }, { - "id": "bcfeb911.f55008", + "id": "7ad41615.6876c8", "type": "set", "name": "set prop.siteAttachement_length=0", "xml": "<set>\n<parameter name='prop.siteAttachements_length' value='0' />\n<parameter name='prop.siteIds_length' value='0' />\n\n\n\n", "comments": "", - "x": 666.9999694824219, - "y": 854.5311733484268, - "z": "5b3e3707.3aa6c8", + "x": 714.9999694824219, + "y": 861.5311733484268, + "z": "92c42fbf.4d20f", "wires": [] }, { - "id": "f53c2301.9407e", + "id": "c5c238a2.297c08", "type": "set", "name": "set prop.ar-service-instance-id", "xml": "<set>\n<parameter name='prop.ar-service-instance-id' value='`$mdsal-providedAr.connection-attachment-allotted-resource[0].allotted-resource-data.connection-attachment-topology.allotted-resource-identifiers.consuming-service-instance-id`' />\n", "comments": "", - "x": 1830.0003967285156, - "y": 1481.531231880188, - "z": "5b3e3707.3aa6c8", + "x": 1878.0003967285156, + "y": 1488.531231880188, + "z": "92c42fbf.4d20f", "wires": [] }, { - "id": "c3f7512e.84f81", + "id": "ce3038ec.f99258", "type": "execute", "name": "generate prop.ar-service-instance-id", "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-connection\"/>\n <parameter name=\"target\" value=\"{service-instance-id}\"/>\n <parameter name=\"replacement\" value=\"`$prop.ar-service-instance-id`\"/>\n\n", "comments": "", "outputs": 1, - "x": 1840.3326683044434, - "y": 1522.4093770980835, - "z": "5b3e3707.3aa6c8", + "x": 1888.3326683044434, + "y": 1529.4093770980835, + "z": "92c42fbf.4d20f", "wires": [ [] ] }, { - "id": "334c603e.da8c8", + "id": "7a9df6e2.06b738", "type": "execute", "name": "execute RestApiCallNode - get 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-connection`' />\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-sd\" />\n\n", "comments": "", "outputs": 1, - "x": 1869.3327331542969, - "y": 1563.4093770980835, - "z": "5b3e3707.3aa6c8", + "x": 1917.3327331542969, + "y": 1570.4093770980835, + "z": "92c42fbf.4d20f", "wires": [ [ - "c3928a9a.4b87b8", - "3258f9bd.5d9236" + "c31f95da.b397b8", + "e9b63d90.66cfc" ] ] }, { - "id": "c3928a9a.4b87b8", + "id": "c31f95da.b397b8", "type": "other", "name": "other", "xml": "<outcome value='Other'>\n", "comments": "", "outputs": 1, - "x": 2125.8524169921875, - "y": 1572.5972105264664, - "z": "5b3e3707.3aa6c8", + "x": 2173.8524169921875, + "y": 1579.5972105264664, + "z": "92c42fbf.4d20f", "wires": [ [ - "8e2c2a42.ebc3b8" + "7eac2788.499098" ] ] }, { - "id": "3258f9bd.5d9236", + "id": "e9b63d90.66cfc", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 2128.000087738037, - "y": 1611.5310827493668, - "z": "5b3e3707.3aa6c8", + "x": 2176.000087738037, + "y": 1618.5310827493668, + "z": "92c42fbf.4d20f", "wires": [ [ - "db1a6308.98167" + "a04199d9.f1d158" ] ] }, { - "id": "8e2c2a42.ebc3b8", + "id": "7eac2788.499098", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 2255.5006103515625, - "y": 1566.0311704874039, - "z": "5b3e3707.3aa6c8", + "x": 2303.5006103515625, + "y": 1573.0311704874039, + "z": "92c42fbf.4d20f", "wires": [ [] ] }, { - "id": "db1a6308.98167", + "id": "a04199d9.f1d158", "type": "block", "name": "block atomic", "xml": "<block atomic=\"true\">\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1603.9998779296875, - "y": 1662.5311304330826, - "z": "5b3e3707.3aa6c8", + "x": 1651.9998779296875, + "y": 1669.5311304330826, + "z": "92c42fbf.4d20f", "wires": [ [ - "edc31606.488c38" + "69edf94d.eac048" ] ] }, { - "id": "1a500d64.c038a3", + "id": "816baab6.7483d8", "type": "comment", "name": "TODO send Email", "info": "", "comments": "", - "x": 967.0000171661377, - "y": 1715.031527042389, - "z": "5b3e3707.3aa6c8", + "x": 1015.0000171661377, + "y": 1722.031527042389, + "z": "92c42fbf.4d20f", "wires": [] }, { - "id": "9f8585c2.03c528", + "id": "b4fdd461.f71598", "type": "set", "name": "Add site attachement to list and update length", "xml": "<set>\n<parameter name='prop.siteAttachements[$prop.siteAttachements_length].siteId' value='`$prop.attach.siteId`' />\n<parameter name='prop.siteAttachements[$prop.siteAttachements_length].roles[0]' value='`$prop.role`' />\n<parameter name='prop.siteAttachements[$prop.siteAttachements_length].roles_length' value='1' />\n<parameter name='prop.siteAttachements_length' value='`$prop.siteAttachements_length + 1`' />\n\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", - "x": 2141.250045776367, - "y": 2074.753987789154, - "z": "5b3e3707.3aa6c8", + "x": 2189.250045776367, + "y": 2081.753987789154, + "z": "92c42fbf.4d20f", "wires": [] }, { - "id": "86fafd91.f4f2f", + "id": "28b00a13.902c76", "type": "execute", "name": "execute RestApiCallNode Get token", "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/actokentemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/v2/tokens'`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"token-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>", "comments": "", "outputs": 1, - "x": 655.0038986206055, - "y": 1072.0041399002075, - "z": "5b3e3707.3aa6c8", + "x": 703.0038986206055, + "y": 1079.0041399002075, + "z": "92c42fbf.4d20f", "wires": [ [ - "6e49d8b7.8b66c8", - "d4d84dda.9a08b" + "100f91ad.a8ab3e", + "b78fb1a0.9e74" ] ] }, { - "id": "6e49d8b7.8b66c8", + "id": "100f91ad.a8ab3e", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 907.0040245056152, - "y": 1053.003957748413, - "z": "5b3e3707.3aa6c8", + "x": 955.0040245056152, + "y": 1060.003957748413, + "z": "92c42fbf.4d20f", "wires": [ [ - "2d072571.88985a" + "6b800958.b222d8" ] ] }, { - "id": "d4d84dda.9a08b", + "id": "b78fb1a0.9e74", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 899.2540588378906, - "y": 1088.6470804214478, - "z": "5b3e3707.3aa6c8", + "x": 947.2540588378906, + "y": 1095.6470804214478, + "z": "92c42fbf.4d20f", "wires": [ [ - "e6862503.c2ac28" + "eaf6ab13.cd7508" ] ] }, { - "id": "e6862503.c2ac28", + "id": "eaf6ab13.cd7508", "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 get token rest api\" />\n", "comments": "", - "x": 1047.004051208496, - "y": 1086.3972024917603, - "z": "5b3e3707.3aa6c8", + "x": 1095.004051208496, + "y": 1093.3972024917603, + "z": "92c42fbf.4d20f", "wires": [] }, { - "id": "2d072571.88985a", + "id": "6b800958.b222d8", "type": "set", "name": "set token-id", "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n", "comments": "", - "x": 1056.0040245056152, - "y": 1052.003927230835, - "z": "5b3e3707.3aa6c8", + "x": 1104.0040245056152, + "y": 1059.003927230835, + "z": "92c42fbf.4d20f", "wires": [] }, { - "id": "df3f5d3a.29e2c", + "id": "9a0f8d9a.4d443", "type": "get-resource", "name": "get-resource service-subscription", "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"service-subscription\" \n key= 'service-subscription.service-type = $connection-attachment-topology-operation-input.service-information.subscription-service-type \n AND customer.global-customer-id = $connection-attachment-topology-operation-input.service-information.global-customer-id'\n force=\"true\" pfx=\"tmp.AnAI-data-tenant\"> ", "comments": "", "outputs": 1, - "x": 645.8993682861328, - "y": 1184.5660381317139, - "z": "5b3e3707.3aa6c8", + "x": 693.8993682861328, + "y": 1191.5660381317139, + "z": "92c42fbf.4d20f", "wires": [ [ - "a39bcd10.58925", - "2937722a.892cce" + "47c8d5a9.ba16bc", + "14ed09d9.573ea6" ] ] }, { - "id": "601b10b0.92d6e", + "id": "20fab7f5.802688", "type": "switchNode", "name": "switch temp-ub-sub-account-id", "xml": "<switch test='`$tmp.AnAI-data-tenant.temp-ub-sub-account-id`'>\n", "comments": "", "outputs": 1, - "x": 1057.8994598388672, - "y": 1149.3161191940308, - "z": "5b3e3707.3aa6c8", + "x": 1105.8994598388672, + "y": 1156.3161191940308, + "z": "92c42fbf.4d20f", "wires": [ [ - "9400efe1.833e2", - "af14c507.1fb9e8" + "f88ee31d.81b4", + "2987815d.d473be" ] ] }, { - "id": "9400efe1.833e2", + "id": "f88ee31d.81b4", "type": "outcome", "name": "NULL", "xml": "<outcome value=''>", "comments": "", "outputs": 1, - "x": 1250.6139106750488, - "y": 1123.3161602020264, - "z": "5b3e3707.3aa6c8", + "x": 1298.6139106750488, + "y": 1130.3161602020264, + "z": "92c42fbf.4d20f", "wires": [ [ - "97ca3fa8.80b92" + "679b7c09.467594" ] ] }, { - "id": "af14c507.1fb9e8", + "id": "2987815d.d473be", "type": "other", "name": "Other", "xml": "<outcome value='Other'>", "comments": "", "outputs": 1, - "x": 1203.8994903564453, - "y": 1217.3162384033203, - "z": "5b3e3707.3aa6c8", + "x": 1251.8994903564453, + "y": 1224.3162384033203, + "z": "92c42fbf.4d20f", "wires": [ [ - "98cbe213.a0ab5" + "fba55779.a815d8" ] ] }, { - "id": "a39bcd10.58925", + "id": "47c8d5a9.ba16bc", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 856.3992309570312, - "y": 1157.3120965957642, - "z": "5b3e3707.3aa6c8", + "x": 904.3992309570312, + "y": 1164.3120965957642, + "z": "92c42fbf.4d20f", "wires": [ [ - "601b10b0.92d6e" + "20fab7f5.802688" ] ] }, { - "id": "2937722a.892cce", + "id": "14ed09d9.573ea6", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 850.0778198242188, - "y": 1209.5264081954956, - "z": "5b3e3707.3aa6c8", + "x": 898.0778198242188, + "y": 1216.5264081954956, + "z": "92c42fbf.4d20f", "wires": [ [ - "b04b740c.a6ef58" + "51559d2e.77fa84" ] ] }, { - "id": "b04b740c.a6ef58", + "id": "51559d2e.77fa84", "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 get token rest api\" />\n", "comments": "", - "x": 1002.8278198242188, - "y": 1209.2764692306519, - "z": "5b3e3707.3aa6c8", + "x": 1050.8278198242188, + "y": 1216.2764692306519, + "z": "92c42fbf.4d20f", "wires": [] }, { - "id": "98cbe213.a0ab5", + "id": "fba55779.a815d8", "type": "set", "name": "set prop.tenant-id", "xml": "<set>\n<parameter name='prop.tenant-id' value='`$tmp.AnAI-data-tenant.temp-ub-sub-account-id`' />\n", "comments": "", - "x": 1372.7566719055176, - "y": 1215.423252105713, - "z": "5b3e3707.3aa6c8", + "x": 1420.7566719055176, + "y": 1222.423252105713, + "z": "92c42fbf.4d20f", "wires": [] }, { - "id": "55f46b97.799ce4", + "id": "f9894d64.11723", "type": "execute", "name": "execute RestApiCallNode Create tenant auth", - "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/baseservice/tenants/authorization/' + $prop.tenant-id`\" />\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=\"put\"/>\n<parameter name=\"responsePrefix\" value=\"tenant-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/baseservice/tenants/authorization/' + $prop.tenant-id`\" />\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=\"put\"/>\n<parameter name=\"responsePrefix\" value=\"tenant-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": 683.3994293212891, - "y": 1251.4588842391968, - "z": "5b3e3707.3aa6c8", + "x": 731.3994293212891, + "y": 1258.4588842391968, + "z": "92c42fbf.4d20f", "wires": [ [] ] }, { - "id": "97ca3fa8.80b92", + "id": "679b7c09.467594", "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 get token rest api\" />\n", "comments": "", - "x": 1363.042236328125, - "y": 1168.1375246047974, - "z": "5b3e3707.3aa6c8", + "x": 1411.042236328125, + "y": 1175.1375246047974, + "z": "92c42fbf.4d20f", "wires": [] } ] |