diff options
author | 2018-08-15 01:47:48 +0530 | |
---|---|---|
committer | 2018-08-15 12:58:10 +0000 | |
commit | 807e81260d9d2b905489e88b4d42f763e1961e47 (patch) | |
tree | ec9f40aee1a64c5895a3c8f00f278c8b2116f495 /platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sdwan-get-site-param.json | |
parent | 3f685b55bb87cf53c78ba5c8d0bbe032387d1282 (diff) |
SDWAN Site DGs update
SDWAN site DG issue fix and update based on controlpoints modifications
Change-Id: I7daae9adf610f2fd72150a2316cfd5f8d9ede6de
Issue-ID: SDNC-357
Signed-off-by: Prakash.E <prakash.e@huawei.com>
Former-commit-id: b7fdeb59f9c50c690d6f388cb9967c0f1da4c5ef
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sdwan-get-site-param.json')
-rw-r--r-- | platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sdwan-get-site-param.json | 733 |
1 files changed, 733 insertions, 0 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sdwan-get-site-param.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sdwan-get-site-param.json new file mode 100644 index 00000000..26456855 --- /dev/null +++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sdwan-get-site-param.json @@ -0,0 +1,733 @@ +[ + { + "id": "c9ac4983.326288", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 259.03125, + "y": 199.03125, + "z": "33fa79d5.e5dbd6", + "wires": [ + [ + "a919b1fb.cf167" + ] + ] + }, + { + "id": "a919b1fb.cf167", + "type": "service-logic", + "name": "GENERIC-RESOURCE-API ${project.version}", + "module": "GENERIC-RESOURCE-API", + "version": "${project.version}", + "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": 471.03125381469727, + "y": 271.0312671661377, + "z": "33fa79d5.e5dbd6", + "wires": [ + [ + "20189583.354efa" + ] + ] + }, + { + "id": "20189583.354efa", + "type": "method", + "name": "sdwan-get-site-param", + "xml": "<method rpc='sdwan-get-site-param' mode='sync'>\n", + "comments": "", + "outputs": 1, + "x": 459.0313720703125, + "y": 359.03125, + "z": "33fa79d5.e5dbd6", + "wires": [ + [ + "c2456569.00bd88" + ] + ] + }, + { + "id": "c2456569.00bd88", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic=\"true\">\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 466.03126525878906, + "y": 445.0313081741333, + "z": "33fa79d5.e5dbd6", + "wires": [ + [ + "4e2d26a4.4c1808" + ] + ] + }, + { + "id": "4e2d26a4.4c1808", + "type": "for", + "name": "for each sdwan-get-request-input-param", + "xml": "<for index='idx' start='0' end='`$vnf-request-input.vnf-input-parameters.param_length`' >\n\n", + "comments": "", + "outputs": 1, + "x": 502.6980285644531, + "y": 527.697904586792, + "z": "33fa79d5.e5dbd6", + "wires": [ + [ + "e3603253.51629" + ] + ] + }, + { + "id": "e3603253.51629", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 789.5315780639648, + "y": 445.03135204315186, + "z": "33fa79d5.e5dbd6", + "wires": [ + [ + "4fbcc568.ce097c", + "9e4fbe84.7d2fb", + "ed14265a.99d948", + "773d0e91.45e91", + "a690711f.67d26", + "f96e2736.deb9e8", + "5bc913df.9a308c", + "8619f18f.0dd93", + "1ee73b7b.ea9285", + "5cd558f4.7f3258", + "dbf73ee2.461c2", + "bbcb741c.0eb968", + "cd952f17.46c77" + ] + ] + }, + { + "id": "4fbcc568.ce097c", + "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": 993.0323181152344, + "y": 814.032012462616, + "z": "33fa79d5.e5dbd6", + "wires": [] + }, + { + "id": "9e4fbe84.7d2fb", + "type": "switchNode", + "name": "switch name", + "xml": "<switch test=\"`$vnf-request-input.vnf-input-parameters.param[$idx].name == 'name'`\">\n", + "comments": "", + "outputs": 1, + "x": 1009.0312881469727, + "y": 241.031325340271, + "z": "33fa79d5.e5dbd6", + "wires": [ + [ + "3261cfb2.83caf" + ] + ] + }, + { + "id": "3261cfb2.83caf", + "type": "outcomeTrue", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 1151.0312881469727, + "y": 242.031325340271, + "z": "33fa79d5.e5dbd6", + "wires": [ + [ + "e4e6bc65.0ec81" + ] + ] + }, + { + "id": "e4e6bc65.0ec81", + "type": "set", + "name": "set name", + "xml": "<set>\n<parameter name='prop.device.name' value='`$vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n", + "comments": "", + "x": 1285.0312881469727, + "y": 242.63133144378662, + "z": "33fa79d5.e5dbd6", + "wires": [] + }, + { + "id": "ed14265a.99d948", + "type": "switchNode", + "name": "switch name", + "xml": "<switch test=\"`$vnf-request-input.vnf-input-parameters.param[$idx].name == 'name'`\">\n", + "comments": "", + "outputs": 1, + "x": 1005.0313949584961, + "y": 332.0312833786011, + "z": "33fa79d5.e5dbd6", + "wires": [ + [ + "81ce8f79.a82a1" + ] + ] + }, + { + "id": "81ce8f79.a82a1", + "type": "outcomeTrue", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 1183.0314083099365, + "y": 335.0312833786011, + "z": "33fa79d5.e5dbd6", + "wires": [ + [ + "6599a894.64adf8" + ] + ] + }, + { + "id": "6599a894.64adf8", + "type": "set", + "name": "set name", + "xml": "<set>\n<parameter name='prop.site.name' value='`$vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n", + "comments": "", + "x": 1330.0314178466797, + "y": 334.6312789916992, + "z": "33fa79d5.e5dbd6", + "wires": [] + }, + { + "id": "5cd558f4.7f3258", + "type": "switchNode", + "name": "switch type", + "xml": "<switch test=\"`$vnf-request-input.vnf-input-parameters.param[$idx].name == 'type'`\">\n", + "comments": "", + "outputs": 1, + "x": 983.9270668029785, + "y": 630.0047330856323, + "z": "33fa79d5.e5dbd6", + "wires": [ + [ + "48783360.87fe7c" + ] + ] + }, + { + "id": "48783360.87fe7c", + "type": "outcomeTrue", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 1162.9269104003906, + "y": 631.0046529769897, + "z": "33fa79d5.e5dbd6", + "wires": [ + [ + "b59fb35a.098b9" + ] + ] + }, + { + "id": "b59fb35a.098b9", + "type": "set", + "name": "set type", + "xml": "<set>\n<parameter name='prop.site.type' value='`$vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n<parameter name='prop.site.sdwan' value='true' />", + "comments": "", + "x": 1312.9269218444824, + "y": 632.6046676635742, + "z": "33fa79d5.e5dbd6", + "wires": [] + }, + { + "id": "dbf73ee2.461c2", + "type": "switchNode", + "name": "switch role", + "xml": "<switch test=\"`$vnf-request-input.vnf-input-parameters.param[$idx].name == 'role'`\">\n", + "comments": "", + "outputs": 1, + "x": 984.9267425537109, + "y": 674.0047731399536, + "z": "33fa79d5.e5dbd6", + "wires": [ + [ + "8ceba6c3.5c88c8" + ] + ] + }, + { + "id": "8ceba6c3.5c88c8", + "type": "outcomeTrue", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 1154.9267501831055, + "y": 684.0047359466553, + "z": "33fa79d5.e5dbd6", + "wires": [ + [ + "832f2789.d30da8" + ] + ] + }, + { + "id": "773d0e91.45e91", + "type": "switchNode", + "name": "switch location-name", + "xml": "<switch test=\"`$vnf-request-input.vnf-input-parameters.param[$idx].name == 'location-name'`\">\n", + "comments": "", + "outputs": 1, + "x": 1027.9265823364258, + "y": 374.0045919418335, + "z": "33fa79d5.e5dbd6", + "wires": [ + [ + "85468ea4.c68d2" + ] + ] + }, + { + "id": "85468ea4.c68d2", + "type": "outcomeTrue", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 1191.9267539978027, + "y": 374.0045928955078, + "z": "33fa79d5.e5dbd6", + "wires": [ + [ + "bc94b24c.9dce8" + ] + ] + }, + { + "id": "bc94b24c.9dce8", + "type": "set", + "name": "set location-name", + "xml": "<set>\n<parameter name='prop.site.location-name' value='`$vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n", + "comments": "", + "x": 1353.9267654418945, + "y": 373.6046495437622, + "z": "33fa79d5.e5dbd6", + "wires": [] + }, + { + "id": "a690711f.67d26", + "type": "switchNode", + "name": "switch address", + "xml": "<switch test=\"`$vnf-request-input.vnf-input-parameters.param[$idx].name == 'address'`\">\n", + "comments": "", + "outputs": 1, + "x": 1010.9265823364258, + "y": 410.00459575653076, + "z": "33fa79d5.e5dbd6", + "wires": [ + [ + "5c1e569f.3488e8" + ] + ] + }, + { + "id": "5c1e569f.3488e8", + "type": "outcomeTrue", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 1180.9264297485352, + "y": 418.00459480285645, + "z": "33fa79d5.e5dbd6", + "wires": [ + [ + "b976d806.368f48" + ] + ] + }, + { + "id": "b976d806.368f48", + "type": "set", + "name": "set location-address", + "xml": "<set>\n<parameter name='prop.site.location-address' value='`$vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n", + "comments": "", + "x": 1368.9266052246094, + "y": 413.60457038879395, + "z": "33fa79d5.e5dbd6", + "wires": [] + }, + { + "id": "f96e2736.deb9e8", + "type": "switchNode", + "name": "switch postcode", + "xml": "<switch test=\"`$vnf-request-input.vnf-input-parameters.param[$idx].name == 'postcode'`\">\n", + "comments": "", + "outputs": 1, + "x": 1011.9265823364258, + "y": 452.0045566558838, + "z": "33fa79d5.e5dbd6", + "wires": [ + [ + "e2c2334c.42179" + ] + ] + }, + { + "id": "e2c2334c.42179", + "type": "outcomeTrue", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 1176.9267539978027, + "y": 451.0045566558838, + "z": "33fa79d5.e5dbd6", + "wires": [ + [ + "8da40933.edfaf8" + ] + ] + }, + { + "id": "8da40933.edfaf8", + "type": "set", + "name": "set location-postcode", + "xml": "<set>\n<parameter name='prop.site.location-postcode' value='`$vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n", + "comments": "", + "x": 1363.9266052246094, + "y": 452.6045732498169, + "z": "33fa79d5.e5dbd6", + "wires": [] + }, + { + "id": "bbcb741c.0eb968", + "type": "switchNode", + "name": "switch controlPoint", + "xml": "<switch test=\"`$vnf-request-input.vnf-input-parameters.param[$idx].name == 'controlPoint'`\">\n", + "comments": "", + "outputs": 1, + "x": 1003.8099670410156, + "y": 734.0315742492676, + "z": "33fa79d5.e5dbd6", + "wires": [ + [ + "6a2baa92.dd77f4" + ] + ] + }, + { + "id": "6a2baa92.dd77f4", + "type": "outcomeTrue", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 1165.8098907470703, + "y": 730.0315971374512, + "z": "33fa79d5.e5dbd6", + "wires": [ + [ + "fd4f1adb.5ec4b8" + ] + ] + }, + { + "id": "9ab3bfdb.b8822", + "type": "set", + "name": "set role", + "xml": "<set>\n<parameter name='prop.site.role' value='`$vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n\n", + "comments": "", + "x": 1526.8100395202637, + "y": 660.0315113067627, + "z": "33fa79d5.e5dbd6", + "wires": [] + }, + { + "id": "44d73030.0da8d", + "type": "set", + "name": "set controlPoint", + "xml": "<set>\n<parameter name='prop.site.controlPoint' value='`$vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n\n", + "comments": "", + "x": 1550.8099174499512, + "y": 750.0315952301025, + "z": "33fa79d5.e5dbd6", + "wires": [] + }, + { + "id": "a9190ca.3c93df", + "type": "execute", + "name": "execute split roles", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$prop.site.role`'/>\n<parameter name=\"regex\" value=\",\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"prop.site.roles\"/>\n", + "comments": "", + "outputs": 1, + "x": 1565.4762649536133, + "y": 707.0314292907715, + "z": "33fa79d5.e5dbd6", + "wires": [ + [] + ] + }, + { + "id": "832f2789.d30da8", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic=\"true\">", + "atomic": "true", + "outputs": 1, + "x": 1312.4764022827148, + "y": 687.0314292907715, + "z": "33fa79d5.e5dbd6", + "wires": [ + [ + "9ab3bfdb.b8822", + "a9190ca.3c93df" + ] + ] + }, + { + "id": "fd4f1adb.5ec4b8", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic=\"true\">", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1324.4762382507324, + "y": 734.0313529968262, + "z": "33fa79d5.e5dbd6", + "wires": [ + [ + "44d73030.0da8d", + "2ecea48f.cefbcc" + ] + ] + }, + { + "id": "2ecea48f.cefbcc", + "type": "execute", + "name": "execute split control points", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$prop.site.controlPoint`'/>\n<parameter name=\"regex\" value=\",\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"prop.site.controlpoints\"/>\n", + "comments": "", + "outputs": 1, + "x": 1575.4763946533203, + "y": 802.031455039978, + "z": "33fa79d5.e5dbd6", + "wires": [ + [] + ] + }, + { + "id": "5bc913df.9a308c", + "type": "switchNode", + "name": "switch latitude", + "xml": "<switch test=\"`$vnf-request-input.vnf-input-parameters.param[$idx].name == 'latitude'`\">\n", + "comments": "", + "outputs": 1, + "x": 1002.1428909301758, + "y": 496.03133392333984, + "z": "33fa79d5.e5dbd6", + "wires": [ + [ + "408fca65.ceeb84" + ] + ] + }, + { + "id": "408fca65.ceeb84", + "type": "outcomeTrue", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 1178.1427383422852, + "y": 491.03129291534424, + "z": "33fa79d5.e5dbd6", + "wires": [ + [ + "fff4ca4.988db38" + ] + ] + }, + { + "id": "fff4ca4.988db38", + "type": "set", + "name": "set location-latitude", + "xml": "<set>\n<parameter name='prop.site.location-latitude' value='`$vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n", + "comments": "", + "x": 1352.1427459716797, + "y": 489.63130950927734, + "z": "33fa79d5.e5dbd6", + "wires": [] + }, + { + "id": "8619f18f.0dd93", + "type": "switchNode", + "name": "switch longitude", + "xml": "<switch test=\"`$vnf-request-input.vnf-input-parameters.param[$idx].name == 'longitude'`\">\n", + "comments": "", + "outputs": 1, + "x": 1005.1428909301758, + "y": 536.0313768386841, + "z": "33fa79d5.e5dbd6", + "wires": [ + [ + "f2c6dced.9082e" + ] + ] + }, + { + "id": "f2c6dced.9082e", + "type": "outcomeTrue", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 1177.1428985595703, + "y": 531.031418800354, + "z": "33fa79d5.e5dbd6", + "wires": [ + [ + "dc9fd2db.e7bb7" + ] + ] + }, + { + "id": "dc9fd2db.e7bb7", + "type": "set", + "name": "set location-latitude", + "xml": "<set>\n<parameter name='prop.site.location-latitude' value='`$vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n", + "comments": "", + "x": 1359.1427536010742, + "y": 534.6312704086304, + "z": "33fa79d5.e5dbd6", + "wires": [] + }, + { + "id": "95b5a3d.f7b926", + "type": "outcomeTrue", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 1168.1428985595703, + "y": 581.031421661377, + "z": "33fa79d5.e5dbd6", + "wires": [ + [ + "9b797058.27cec" + ] + ] + }, + { + "id": "e75918af.752508", + "type": "set", + "name": "set emails", + "xml": "<set>\n<parameter name='prop.site.emails' value='`$vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n", + "comments": "", + "x": 1526.142593383789, + "y": 549.6312737464905, + "z": "33fa79d5.e5dbd6", + "wires": [] + }, + { + "id": "1ee73b7b.ea9285", + "type": "switchNode", + "name": "switch emails", + "xml": "<switch test=\"`$vnf-request-input.vnf-input-parameters.param[$idx].name == 'emails'`\">\n", + "comments": "", + "outputs": 1, + "x": 995.1429672241211, + "y": 581.031421661377, + "z": "33fa79d5.e5dbd6", + "wires": [ + [ + "95b5a3d.f7b926" + ] + ] + }, + { + "id": "931cb5f.e240e48", + "type": "execute", + "name": "execute split emails", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$prop.site.emails`'/>\n<parameter name=\"regex\" value=\",\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"prop.site.email\"/>\n", + "comments": "", + "outputs": 1, + "x": 1551.808937072754, + "y": 596.0311765670776, + "z": "33fa79d5.e5dbd6", + "wires": [ + [] + ] + }, + { + "id": "9b797058.27cec", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic=\"true\">", + "atomic": "true", + "outputs": 1, + "x": 1330.1429061889648, + "y": 582.0313391685486, + "z": "33fa79d5.e5dbd6", + "wires": [ + [ + "e75918af.752508", + "931cb5f.e240e48" + ] + ] + }, + { + "id": "cd952f17.46c77", + "type": "switchNode", + "name": "switch description", + "xml": "<switch test=\"`$vnf-request-input.vnf-input-parameters.param[$idx].name == 'description'`\">\n", + "comments": "", + "outputs": 1, + "x": 1010.03125, + "y": 286.03125, + "z": "33fa79d5.e5dbd6", + "wires": [ + [ + "e92216b6.4260b8" + ] + ] + }, + { + "id": "e92216b6.4260b8", + "type": "outcomeTrue", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 1152.03125, + "y": 287.03125, + "z": "33fa79d5.e5dbd6", + "wires": [ + [ + "adffc0ee.7e0ff" + ] + ] + }, + { + "id": "adffc0ee.7e0ff", + "type": "set", + "name": "set description", + "xml": "<set>\n<parameter name='prop.device.description' value='`$vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n", + "comments": "", + "x": 1286.03125, + "y": 287.6312561035156, + "z": "33fa79d5.e5dbd6", + "wires": [] + } +] |