diff options
author | 2018-07-19 18:58:37 +0530 | |
---|---|---|
committer | 2018-07-19 18:58:37 +0530 | |
commit | 0c86b92ccd3c103e72d08388c4c8afcecbbb25e8 (patch) | |
tree | 9b51d7da8ebb2724403cf4124ba4384e41f828f5 /platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-sotn-network-input-parameters.json | |
parent | 0941e45b7a5b986f74704fe964d051bd0c733c5c (diff) |
Adding SOTN Connectivity Resource DG.
Added create/activate/deactivate & delete DGs for SOTN connectivity
resource.
Change-Id: I2760418b16ed411737cf38313fb1b9e051c8985a
Issue-ID: SDNC-356
Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
Former-commit-id: 60b9c632414c96166064e9a8850017fc968b6749
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-sotn-network-input-parameters.json')
-rw-r--r-- | platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-sotn-network-input-parameters.json | 1227 |
1 files changed, 1227 insertions, 0 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-sotn-network-input-parameters.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-sotn-network-input-parameters.json new file mode 100644 index 00000000..7ba8a8fa --- /dev/null +++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-sotn-network-input-parameters.json @@ -0,0 +1,1227 @@ +[ + { + "id": "f341527b.50b3", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 100.03125, + "y": 50.3333295583725, + "z": "612a8bcd.555ff4", + "wires": [ + [ + "73a43f3f.5366a" + ] + ] + }, + { + "id": "73a43f3f.5366a", + "type": "service-logic", + "name": "GENERIC-RESOURCE-API 1.2.1-SNAPSHOT", + "module": "GENERIC-RESOURCE-API", + "version": "1.2.1-SNAPSHOT", + "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='1.2.1-SNAPSHOT'>", + "outputs": 1, + "x": 345.3169631958008, + "y": 49.57140862941742, + "z": "612a8bcd.555ff4", + "wires": [ + [ + "51c30458.248f6c" + ] + ] + }, + { + "id": "51c30458.248f6c", + "type": "method", + "name": "validate-sotn-network-input-parameters", + "xml": "<method rpc='validate-sotn-network-input-parameters' mode='sync'>\n", + "comments": "", + "outputs": 1, + "x": 302.94793701171875, + "y": 124.5863469839096, + "z": "612a8bcd.555ff4", + "wires": [ + [ + "2614ca2e.5555e6" + ] + ] + }, + { + "id": "2614ca2e.5555e6", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic=\"true\">", + "atomic": "true", + "outputs": 1, + "x": 586.9479446411133, + "y": 112.58637177944183, + "z": "612a8bcd.555ff4", + "wires": [ + [ + "7d98662d.87c938", + "db93dd27.961fc" + ] + ] + }, + { + "id": "7d98662d.87c938", + "type": "switchNode", + "name": "switch svc-action", + "xml": "<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n", + "comments": "", + "outputs": 1, + "x": 867.9479446411133, + "y": 107.58635747432709, + "z": "612a8bcd.555ff4", + "wires": [ + [ + "ed1074da.968838" + ] + ] + }, + { + "id": "ed1074da.968838", + "type": "outcome", + "name": "NULL", + "xml": "<outcome value=''>", + "comments": "", + "outputs": 1, + "x": 1058.6622467041016, + "y": 108.5863584280014, + "z": "612a8bcd.555ff4", + "wires": [ + [ + "1f50e65c.41f41a" + ] + ] + }, + { + "id": "1f50e65c.41f41a", + "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=\"sdnc-request-header.svc-request-id is a required input\" />\n", + "comments": "", + "x": 1233.0907974243164, + "y": 107.58635079860687, + "z": "612a8bcd.555ff4", + "wires": [ + + ] + }, + { + "id": "db93dd27.961fc", + "type": "switchNode", + "name": "switch svc-action", + "xml": "<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n", + "comments": "", + "outputs": 1, + "x": 168.94789123535156, + "y": 383.58637177944183, + "z": "612a8bcd.555ff4", + "wires": [ + [ + "b3bdbe0b.cad91", + "26d5914b.21d37e", + "3f8d5428.3f490c", + "2e6ac3e2.42bc2c", + "8ba722c1.4dbdb" + ] + ] + }, + { + "id": "b3bdbe0b.cad91", + "type": "outcome", + "name": "create", + "xml": "<outcome value='create'>\n", + "comments": "", + "outputs": 1, + "x": 377.53126525878906, + "y": 212.99999940395355, + "z": "612a8bcd.555ff4", + "wires": [ + [ + "898ae9b8.952238" + ] + ] + }, + { + "id": "898ae9b8.952238", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic=\"true\">", + "atomic": "true", + "outputs": 1, + "x": 538.5312652587891, + "y": 212.99999940395355, + "z": "612a8bcd.555ff4", + "wires": [ + [ + "29c233ae.14280c" + ] + ] + }, + { + "id": "26d5914b.21d37e", + "type": "outcome", + "name": "deactivate", + "xml": "<outcome value='deactivate'>\n", + "comments": "", + "outputs": 1, + "x": 350.52325439453125, + "y": 821.7618678808212, + "z": "612a8bcd.555ff4", + "wires": [ + [ + "5f3074f8.76c69c" + ] + ] + }, + { + "id": "3f8d5428.3f490c", + "type": "outcome", + "name": "delete", + "xml": "<outcome value='delete'>\n", + "comments": "", + "outputs": 1, + "x": 354.2376365661621, + "y": 992.4764255285263, + "z": "612a8bcd.555ff4", + "wires": [ + [ + "b3fb014d.8c7af" + ] + ] + }, + { + "id": "2e6ac3e2.42bc2c", + "type": "other", + "name": "other", + "xml": "<outcome value='Other'>\n", + "comments": "", + "outputs": 1, + "x": 353.99952697753906, + "y": 1165.9047111272812, + "z": "612a8bcd.555ff4", + "wires": [ + [ + "bc54858d.9ca818" + ] + ] + }, + { + "id": "bc54858d.9ca818", + "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=\"`$network-topology-operation-input.sdnc-request-header.svc-action + ' is not a valid svc-action'`\" />\n", + "comments": "", + "x": 537.5710601806641, + "y": 1166.5238517522812, + "z": "612a8bcd.555ff4", + "wires": [ + + ] + }, + { + "id": "29c233ae.14280c", + "type": "switchNode", + "name": "switch request-action", + "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n", + "comments": "", + "outputs": 1, + "x": 762.0312652587891, + "y": 212.99999940395355, + "z": "612a8bcd.555ff4", + "wires": [ + [ + "45f9882d.888fa8", + "c9fe1e81.e4448" + ] + ] + }, + { + "id": "45f9882d.888fa8", + "type": "other", + "name": "Other", + "xml": "<outcome value='Other'>", + "comments": "", + "outputs": 1, + "x": 937.5312652587891, + "y": 232.99999940395355, + "z": "612a8bcd.555ff4", + "wires": [ + [ + "a900b306.d7c45" + ] + ] + }, + { + "id": "a900b306.d7c45", + "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=\"request-information.request-action is required to be SOTN CreateVPNNetworkInstance for svc-action=create\" />\n", + "comments": "", + "x": 1075.031265258789, + "y": 232.99999940395355, + "z": "612a8bcd.555ff4", + "wires": [ + + ] + }, + { + "id": "6b8a3092.36d36", + "type": "other", + "name": "DeleteSOTNConnectivityIntance", + "xml": "<outcome value='DeleteSOTNConnectivityIntance'>", + "comments": "", + "outputs": 1, + "x": 776.0946769714355, + "y": 993.0316957235336, + "z": "612a8bcd.555ff4", + "wires": [ + [ + "77908b22.05afb4" + ] + ] + }, + { + "id": "8144887f.4926d8", + "type": "other", + "name": "Other", + "xml": "<outcome value='Other'>", + "comments": "", + "outputs": 1, + "x": 711.6502227783203, + "y": 1065.2539647817612, + "z": "612a8bcd.555ff4", + "wires": [ + [ + "8b6a3319.1c2db" + ] + ] + }, + { + "id": "8b6a3319.1c2db", + "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=\"request-information.request-action is required to be SOTN DeleteVPNNetworkInstance for svc-action=delete\" />\n", + "comments": "", + "x": 871.983642578125, + "y": 1067.365102171898, + "z": "612a8bcd.555ff4", + "wires": [ + + ] + }, + { + "id": "77908b22.05afb4", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic=\"true\">", + "atomic": "true", + "outputs": 1, + "x": 1019.9835510253906, + "y": 995.2539476156235, + "z": "612a8bcd.555ff4", + "wires": [ + [ + "174db933.229107", + "c5c30480.3e58d8", + "57a9e8ca.5b6ba8", + "5d3a1919.83ff78" + ] + ] + }, + { + "id": "8ba722c1.4dbdb", + "type": "outcome", + "name": "activate", + "xml": "<outcome value='activate'>\n", + "comments": "", + "outputs": 1, + "x": 371.4598197937012, + "y": 476.04764211177826, + "z": "612a8bcd.555ff4", + "wires": [ + [ + "c50ae05a.b3f78" + ] + ] + }, + { + "id": "c50ae05a.b3f78", + "type": "switchNode", + "name": "switch request-action", + "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n", + "comments": "", + "outputs": 1, + "x": 554.3169860839844, + "y": 473.19049203395844, + "z": "612a8bcd.555ff4", + "wires": [ + [ + "3a3dfff9.f5159", + "e69e7919.c1d848" + ] + ] + }, + { + "id": "3a3dfff9.f5159", + "type": "other", + "name": "ActivateSOTNConnectivityIntance", + "xml": "<outcome value='ActivateSOTNConnectivityIntance'>", + "comments": "", + "outputs": 1, + "x": 807.5312652587891, + "y": 452.99999940395355, + "z": "612a8bcd.555ff4", + "wires": [ + [ + "c446e4e6.e8ac48" + ] + ] + }, + { + "id": "e69e7919.c1d848", + "type": "other", + "name": "Other", + "xml": "<outcome value='Other'>", + "comments": "", + "outputs": 1, + "x": 737.5312652587891, + "y": 492.99999940395355, + "z": "612a8bcd.555ff4", + "wires": [ + [ + "f911f3da.ef74b" + ] + ] + }, + { + "id": "f911f3da.ef74b", + "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=\"request-information.request-action is required to be SOTN ActivateVPNNetworkInstance for svc-action=activate\" />\n", + "comments": "", + "x": 895.0312652587891, + "y": 492.99999940395355, + "z": "612a8bcd.555ff4", + "wires": [ + + ] + }, + { + "id": "c446e4e6.e8ac48", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic=\"true\">", + "atomic": "true", + "outputs": 1, + "x": 1038.531265258789, + "y": 452.99999940395355, + "z": "612a8bcd.555ff4", + "wires": [ + [ + "57a9e8ca.5b6ba8", + "174db933.229107", + "c5c30480.3e58d8", + "ca8482b0.138b7" + ] + ] + }, + { + "id": "d4ecf814.c6a798", + "type": "other", + "name": "DeactivateSOTNConnectivityIntance", + "xml": "<outcome value='DeactivateSOTNConnectivityIntance'>", + "comments": "", + "outputs": 1, + "x": 793.9518814086914, + "y": 823.4762614965439, + "z": "612a8bcd.555ff4", + "wires": [ + [ + "3dd1f9de.bc71e6" + ] + ] + }, + { + "id": "5b749a1a.8a0654", + "type": "other", + "name": "Other", + "xml": "<outcome value='Other'>", + "comments": "", + "outputs": 1, + "x": 708.9518737792969, + "y": 892.4762691259384, + "z": "612a8bcd.555ff4", + "wires": [ + [ + "47507d7d.fc2bb4" + ] + ] + }, + { + "id": "47507d7d.fc2bb4", + "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=\"request-information.request-action is required to be SOTN DeactivateVPNNetworkInstance for svc-action=deactivate\" />\n", + "comments": "", + "x": 889.9518890380859, + "y": 893.4762691259384, + "z": "612a8bcd.555ff4", + "wires": [ + + ] + }, + { + "id": "5f3074f8.76c69c", + "type": "switchNode", + "name": "switch request-action", + "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n", + "comments": "", + "outputs": 1, + "x": 530.8089370727539, + "y": 823.9520953893661, + "z": "612a8bcd.555ff4", + "wires": [ + [ + "d4ecf814.c6a798", + "5b749a1a.8a0654" + ] + ] + }, + { + "id": "b3fb014d.8c7af", + "type": "switchNode", + "name": "switch request-action", + "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n", + "comments": "", + "outputs": 1, + "x": 534.5867385864258, + "y": 992.2856494188309, + "z": "612a8bcd.555ff4", + "wires": [ + [ + "6b8a3092.36d36", + "8144887f.4926d8" + ] + ] + }, + { + "id": "3dd1f9de.bc71e6", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic=\"true\">", + "atomic": "true", + "outputs": 1, + "x": 1053.9200286865234, + "y": 826.2856563329697, + "z": "612a8bcd.555ff4", + "wires": [ + [ + "174db933.229107", + "c5c30480.3e58d8", + "57a9e8ca.5b6ba8", + "dee8bd53.56b7b" + ] + ] + }, + { + "id": "c9fe1e81.e4448", + "type": "other", + "name": "CreateSOTNConnectivityIntance", + "xml": "<outcome value='CreateSOTNConnectivityIntance'>", + "comments": "", + "outputs": 1, + "x": 1003.5312652587891, + "y": 192.99999940395355, + "z": "612a8bcd.555ff4", + "wires": [ + [ + "f41339c3.f110b8" + ] + ] + }, + { + "id": "f41339c3.f110b8", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic=\"true\">", + "atomic": "true", + "outputs": 1, + "x": 1218.531265258789, + "y": 192.99999940395355, + "z": "612a8bcd.555ff4", + "wires": [ + [ + "78324d1c.b05904" + ] + ] + }, + { + "id": "78324d1c.b05904", + "type": "for", + "name": "for loop i - Network input parameters", + "xml": "<for index=\"i\" start=\"0\" end=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`\">\n", + "comments": "", + "outputs": 1, + "x": 1469.031265258789, + "y": 192.99999940395355, + "z": "612a8bcd.555ff4", + "wires": [ + [ + "6af6c64a.163a28" + ] + ] + }, + { + "id": "6af6c64a.163a28", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1697.531265258789, + "y": 192.99999940395355, + "z": "612a8bcd.555ff4", + "wires": [ + [ + "9cb7bf55.5070b", + "46cd63b4.17fedc", + "8ab4804d.8981" + ] + ] + }, + { + "id": "9cb7bf55.5070b", + "type": "set", + "name": "clear tmp-data", + "xml": "<set>\n<parameter name='tmp.name' value='' />\n<parameter name='tmp.value' value='' />\n", + "comments": "", + "x": 1880.531265258789, + "y": 152.99999940395355, + "z": "612a8bcd.555ff4", + "wires": [ + + ] + }, + { + "id": "46cd63b4.17fedc", + "type": "set", + "name": "set tmp-data", + "xml": "<set>\n<parameter name='tmp.name' value=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$i].name`\"/>\n<parameter name='tmp.value' value=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$i].value`\"/>\n", + "comments": "", + "x": 1875.031265258789, + "y": 192.99999940395355, + "z": "612a8bcd.555ff4", + "wires": [ + + ] + }, + { + "id": "8ab4804d.8981", + "type": "switchNode", + "name": "switch name", + "xml": "<switch test=\"`$tmp.name`\">\n", + "comments": "", + "outputs": 1, + "x": 1875.031265258789, + "y": 232.99999940395355, + "z": "612a8bcd.555ff4", + "wires": [ + [ + "9592d9e2.7991f8", + "97143bfc.87f758", + "d423ac2f.9c51f" + ] + ] + }, + { + "id": "7c1a345e.318e8c", + "type": "switchNode", + "name": "switch value", + "xml": "<switch test=\"`$tmp.value`\">\n", + "comments": "", + "outputs": 1, + "x": 2335.0314331054688, + "y": 185.00002002716064, + "z": "612a8bcd.555ff4", + "wires": [ + [ + "71892760.797d58" + ] + ] + }, + { + "id": "d423ac2f.9c51f", + "type": "outcome", + "name": "NULL", + "xml": "<outcome value=''>", + "comments": "", + "outputs": 1, + "x": 2094.5316009521484, + "y": 251.00000762939453, + "z": "612a8bcd.555ff4", + "wires": [ + [ + "f8a3cfb8.ff88b" + ] + ] + }, + { + "id": "f8a3cfb8.ff88b", + "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=\"`'network-topology-operation-input.network-request-input.network-input-parameters.param[' + $i + ']' + '.name is a required input'`\" />\n", + "comments": "", + "x": 2269.5316047668457, + "y": 250.00000762939453, + "z": "612a8bcd.555ff4", + "wires": [ + + ] + }, + { + "id": "9592d9e2.7991f8", + "type": "other", + "name": "name", + "xml": "<outcome value='name'>", + "comments": "", + "outputs": 1, + "x": 2094.5316009521484, + "y": 135.00000190734863, + "z": "612a8bcd.555ff4", + "wires": [ + [ + "7c1a345e.318e8c" + ] + ] + }, + { + "id": "97143bfc.87f758", + "type": "other", + "name": "description", + "xml": "<outcome value='description'>", + "comments": "", + "outputs": 1, + "x": 2106.5313568115234, + "y": 188.66666412353516, + "z": "612a8bcd.555ff4", + "wires": [ + [ + "7c1a345e.318e8c" + ] + ] + }, + { + "id": "71892760.797d58", + "type": "outcome", + "name": "NULL", + "xml": "<outcome value=''>", + "comments": "", + "outputs": 1, + "x": 2478.5314331054688, + "y": 185.00002002716064, + "z": "612a8bcd.555ff4", + "wires": [ + [ + "51159df7.8f7f34" + ] + ] + }, + { + "id": "51159df7.8f7f34", + "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=\"`'network-request-input.network-input-parameters.param '+ $tmp.name +' is a required input'`\" />\n", + "comments": "", + "x": 2636.5314331054688, + "y": 185.00002002716064, + "z": "612a8bcd.555ff4", + "wires": [ + + ] + }, + { + "id": "57a9e8ca.5b6ba8", + "type": "switchNode", + "name": "switch service-data.networks.network_length", + "xml": "<switch test='`$service-data.networks.network_length`'>\n", + "comments": "", + "outputs": 1, + "x": 1343.4201278686523, + "y": 496.3333123922348, + "z": "612a8bcd.555ff4", + "wires": [ + [ + "c975a187.53f03", + "c343c1d6.32b89" + ] + ] + }, + { + "id": "c975a187.53f03", + "type": "other", + "name": "outcome Null", + "xml": "<outcome value=''>\n", + "comments": "", + "outputs": 1, + "x": 1597.031265258789, + "y": 472.99999940395355, + "z": "612a8bcd.555ff4", + "wires": [ + [ + "7bf63be7.236304" + ] + ] + }, + { + "id": "7bf63be7.236304", + "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=\"network-topology-operation-input.network-request-input.network-id not found in service-data\" />\n", + "comments": "", + "x": 1775.031265258789, + "y": 472.99999940395355, + "z": "612a8bcd.555ff4", + "wires": [ + + ] + }, + { + "id": "c343c1d6.32b89", + "type": "other", + "name": "other", + "xml": "<outcome value='Other'>\n", + "comments": "", + "outputs": 1, + "x": 1577.531265258789, + "y": 512.9999994039536, + "z": "612a8bcd.555ff4", + "wires": [ + [ + "8b3c7b72.8416d8" + ] + ] + }, + { + "id": "8b3c7b72.8416d8", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic=\"true\">", + "atomic": "true", + "outputs": 1, + "x": 1738.531265258789, + "y": 512.9999994039536, + "z": "612a8bcd.555ff4", + "wires": [ + [ + "ea8be443.435208", + "f4cb0140.f19dc" + ] + ] + }, + { + "id": "ea8be443.435208", + "type": "for", + "name": "for nidx..service-data.networks.network[]", + "xml": "<for index='nidx' start='0' end='`$service-data.networks.network_length`' >\n", + "comments": "", + "outputs": 1, + "x": 2001.031265258789, + "y": 492.99999940395355, + "z": "612a8bcd.555ff4", + "wires": [ + [ + "1c69986e.121d38" + ] + ] + }, + { + "id": "1c69986e.121d38", + "type": "switchNode", + "name": "switch networkid found", + "xml": "<switch test=\"`$service-data.networks.network[$nidx].network-id == $network-topology-operation-input.network-information.network-id`\">\n\n", + "comments": "", + "outputs": 1, + "x": 2287.031265258789, + "y": 492.99999940395355, + "z": "612a8bcd.555ff4", + "wires": [ + [ + "835d02de.19c93" + ] + ] + }, + { + "id": "835d02de.19c93", + "type": "outcomeTrue", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 2457.531265258789, + "y": 492.99999940395355, + "z": "612a8bcd.555ff4", + "wires": [ + [ + "a4620b88.fbb918" + ] + ] + }, + { + "id": "a4620b88.fbb918", + "type": "set", + "name": "set tmp.nidx and ctx.network-data", + "xml": "<set>\n<parameter name='tmp.nidx' value='`$nidx`' />\n<parameter name='ctx.network-data.' value='`$service-data.networks.network[$nidx].network-data.`' />\n", + "comments": "", + "x": 2680.531265258789, + "y": 492.99999940395355, + "z": "612a8bcd.555ff4", + "wires": [ + + ] + }, + { + "id": "2c706feb.2be3b", + "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=\"network-topology-operation-input.network-request-input.network-id not found in service-data\" />\n", + "comments": "", + "x": 2215.031265258789, + "y": 532.9999994039536, + "z": "612a8bcd.555ff4", + "wires": [ + + ] + }, + { + "id": "c1c7826b.646b7", + "type": "outcome", + "name": "NULL", + "xml": "<outcome value=''>\n", + "comments": "", + "outputs": 1, + "x": 2077.531265258789, + "y": 532.9999994039536, + "z": "612a8bcd.555ff4", + "wires": [ + [ + "2c706feb.2be3b" + ] + ] + }, + { + "id": "f4cb0140.f19dc", + "type": "switchNode", + "name": "switch tmp.nidx ", + "xml": "<switch test=\"`$tmp.nidx`\">\n\n", + "comments": "", + "outputs": 1, + "x": 1923.531265258789, + "y": 532.9999994039536, + "z": "612a8bcd.555ff4", + "wires": [ + [ + "c1c7826b.646b7" + ] + ] + }, + { + "id": "ca8482b0.138b7", + "type": "switchNode", + "name": "switch network-level-oper-status", + "xml": "<switch test='`$service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`'>\n", + "comments": "", + "outputs": 1, + "x": 1302.6979522705078, + "y": 571.8888772726059, + "z": "612a8bcd.555ff4", + "wires": [ + [ + "ac1c944.a70cf68", + "64f9182f.832d98" + ] + ] + }, + { + "id": "ac1c944.a70cf68", + "type": "outcome", + "name": "outcome Created", + "xml": "<outcome value='Created'>\n", + "comments": "", + "outputs": 1, + "x": 1599.5313682556152, + "y": 571.8888753652573, + "z": "612a8bcd.555ff4", + "wires": [ + [ + "dd869d4d.7e624" + ] + ] + }, + { + "id": "64f9182f.832d98", + "type": "other", + "name": "other", + "xml": "<outcome value='Other'>\n", + "comments": "", + "outputs": 1, + "x": 1567.5313682556152, + "y": 611.8888753652573, + "z": "612a8bcd.555ff4", + "wires": [ + [ + "52f7cab.128ad34" + ] + ] + }, + { + "id": "52f7cab.128ad34", + "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=\"`'Network is not in appropriate state for activate. Current state is ' + $service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`\" />", + "comments": "", + "x": 1725.0313682556152, + "y": 611.8888753652573, + "z": "612a8bcd.555ff4", + "wires": [ + + ] + }, + { + "id": "c5c30480.3e58d8", + "type": "switchNode", + "name": "switch network-id", + "xml": "<switch test=\"`$network-topology-operation-input.network-information.network-id`\">\n", + "comments": "", + "outputs": 1, + "x": 1249.531265258789, + "y": 432.99999940395355, + "z": "612a8bcd.555ff4", + "wires": [ + [ + "edcc0678.bb4db8" + ] + ] + }, + { + "id": "edcc0678.bb4db8", + "type": "outcome", + "name": "NULL", + "xml": "<outcome value=''>", + "comments": "", + "outputs": 1, + "x": 1477.531265258789, + "y": 432.99999940395355, + "z": "612a8bcd.555ff4", + "wires": [ + [ + "df1eaa9a.c904b8" + ] + ] + }, + { + "id": "df1eaa9a.c904b8", + "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=\"network-request-input.network-input-parameters.name is a required input\" />\n", + "comments": "", + "x": 1615.031265258789, + "y": 432.99999940395355, + "z": "612a8bcd.555ff4", + "wires": [ + + ] + }, + { + "id": "174db933.229107", + "type": "execute", + "name": "execute requiredParameters", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='requiredParameters' >\n<parameter name=\"network-topology-operation-input.network-information.network-id\" value=\"$network-topology-operation-input.network-information.network-id\"/>\n\n", + "comments": "", + "outputs": 1, + "x": 1284.031265258789, + "y": 392.99999940395355, + "z": "612a8bcd.555ff4", + "wires": [ + [ + + ] + ] + }, + { + "id": "dee8bd53.56b7b", + "type": "switchNode", + "name": "switch network-level-oper-status", + "xml": "<switch test='`$service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`'>\n", + "comments": "", + "outputs": 1, + "x": 1330.864517211914, + "y": 821.8888543844223, + "z": "612a8bcd.555ff4", + "wires": [ + [ + "5a840e5a.dfcfb", + "1e04803d.2175e" + ] + ] + }, + { + "id": "5a840e5a.dfcfb", + "type": "outcome", + "name": "outcome Active", + "xml": "<outcome value='Active'>\n", + "comments": "", + "outputs": 1, + "x": 1604.1978912353516, + "y": 796.3333123922348, + "z": "612a8bcd.555ff4", + "wires": [ + [ + "1bb2b0bd.7522ff" + ] + ] + }, + { + "id": "1e04803d.2175e", + "type": "other", + "name": "other", + "xml": "<outcome value='Other'>\n", + "comments": "", + "outputs": 1, + "x": 1574.1978912353516, + "y": 836.3333123922348, + "z": "612a8bcd.555ff4", + "wires": [ + [ + "f180da96.e20aa8" + ] + ] + }, + { + "id": "f180da96.e20aa8", + "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=\"`'Network is not in appropriate state for deactivate. Current state is ' + $service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`\" />", + "comments": "", + "x": 1740.1978912353516, + "y": 838.3333123922348, + "z": "612a8bcd.555ff4", + "wires": [ + + ] + }, + { + "id": "5d3a1919.83ff78", + "type": "switchNode", + "name": "switch network-level-oper-status", + "xml": "<switch test='`$service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`'>\n", + "comments": "", + "outputs": 1, + "x": 1319.753433227539, + "y": 992.9999383687973, + "z": "612a8bcd.555ff4", + "wires": [ + [ + "c0abb2c6.46f4e", + "d275091d.1d6858" + ] + ] + }, + { + "id": "c0abb2c6.46f4e", + "type": "outcome", + "name": "outcome PendingDelete", + "xml": "<outcome value='PendingDelete'>\n", + "comments": "", + "outputs": 1, + "x": 1619.7534942626953, + "y": 960.7777341604233, + "z": "612a8bcd.555ff4", + "wires": [ + [ + "77485a8b.427a64" + ] + ] + }, + { + "id": "d275091d.1d6858", + "type": "other", + "name": "other", + "xml": "<outcome value='Other'>\n", + "comments": "", + "outputs": 1, + "x": 1563.0868072509766, + "y": 1007.4443963766098, + "z": "612a8bcd.555ff4", + "wires": [ + [ + "1df75e1e.6ce5d2" + ] + ] + }, + { + "id": "1df75e1e.6ce5d2", + "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=\"`'Network is not in appropriate state for delete. Current state is ' + $service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`\" />", + "comments": "", + "x": 1729.0868072509766, + "y": 1009.4443963766098, + "z": "612a8bcd.555ff4", + "wires": [ + + ] + }, + { + "id": "dd869d4d.7e624", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic=\"true\">", + "atomic": "true", + "outputs": 1, + "x": 1787.5312461853027, + "y": 572.9999593496323, + "z": "612a8bcd.555ff4", + "wires": [ + [ + + ] + ] + }, + { + "id": "1bb2b0bd.7522ff", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic=\"true\">", + "atomic": "true", + "outputs": 1, + "x": 1804.197769165039, + "y": 794.4814447164536, + "z": "612a8bcd.555ff4", + "wires": [ + [ + + ] + ] + }, + { + "id": "77485a8b.427a64", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic=\"true\">", + "atomic": "true", + "outputs": 1, + "x": 1835.3089752197266, + "y": 961.148070693016, + "z": "612a8bcd.555ff4", + "wires": [ + [ + + ] + ] + } +] |