diff options
author | 2017-06-23 13:29:11 +0000 | |
---|---|---|
committer | 2017-06-23 13:29:11 +0000 | |
commit | 445531150b2fabd2e13fe9797038611c9117d8cb (patch) | |
tree | d935f55c70f17f49c128464170c1be82c8bfec48 /platform-logic/vnfapi/src/main/json/VNF-API_generate-l3network-network-id.json | |
parent | 31288edecedd324b872ff764dfb6da0ebbc3e69b (diff) | |
parent | 96ce6079fa678b9e3a465ecf3a89ebd397e4721e (diff) |
Merge "[SDNGC-5859] copy local change to onap"
Former-commit-id: 5f6ab6cbef76e507941e2ae2b886ec2a29dfb5ab
Diffstat (limited to 'platform-logic/vnfapi/src/main/json/VNF-API_generate-l3network-network-id.json')
-rw-r--r-- | platform-logic/vnfapi/src/main/json/VNF-API_generate-l3network-network-id.json | 411 |
1 files changed, 407 insertions, 4 deletions
diff --git a/platform-logic/vnfapi/src/main/json/VNF-API_generate-l3network-network-id.json b/platform-logic/vnfapi/src/main/json/VNF-API_generate-l3network-network-id.json index 6a881f68..04554cf1 100644 --- a/platform-logic/vnfapi/src/main/json/VNF-API_generate-l3network-network-id.json +++ b/platform-logic/vnfapi/src/main/json/VNF-API_generate-l3network-network-id.json @@ -1,4 +1,407 @@ - - - -[{"id":"dd70f366.d125c","type":"execute","name":"execute: generateUUID","xml":"<execute plugin=\"com.att.sdnctl.sli.SliPluginUtils.SliPluginUtils\" method=\"generateUUID\" >\n\t<parameter name=\"ctx-destination\" value=\"tmp.return.generate-l3network-network-id.uuid\" />","comments":"","outputs":1,"x":508.75,"y":337.5,"z":"d1ec70b0.44ebb","wires":[["f9cd5358.f88ee"]]},{"id":"f9cd5358.f88ee","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":704.5000076293945,"y":337.5,"z":"d1ec70b0.44ebb","wires":[["8a954bff.6fab18"]]},{"id":"8a954bff.6fab18","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\t<!-- Used to work around execute node bug -->\n\t<parameter name=\"execute_failure\" value=\"false\" />\n\n\t<!-- return parameters -->\n\t<parameter name=\"error-message.generate-l3network-network-id\" value=\"An error occured while generating a UUID for L3-NETWORK.\" />","comments":"","x":869.5000076293945,"y":337.74999713897705,"z":"d1ec70b0.44ebb","wires":[]},{"id":"e113a5e5.a5dc38","type":"get-resource","name":"Query AnAI - l3-network","xml":"<get-resource plugin=\"com.att.sdnctl.sli.aai.AAIService\"\n resource=\"l3-network\"\n key=\"l3-network.network-id = $tmp.return.generate-l3network-network-id.uuid\"\n local-only=\"false\"\n pfx=\"tmp.local-variables.generate-l3network-network-id.L3NETWORK\" >","comments":"","outputs":1,"x":634.0000076293945,"y":428.74999713897705,"z":"d1ec70b0.44ebb","wires":[["8852c700.cf1728","49979ca4.27c0b4","414c6b14.1afed4","5312fbfe.635864"]]},{"id":"5c1d01b6.e9f5e","type":"for","name":"for n: true","xml":"<for atomic=\"true\" index=\"n\" start=\"0\" end=\"1\" >","comments":"","outputs":1,"x":458.00000762939453,"y":428.74999713897705,"z":"d1ec70b0.44ebb","wires":[["e113a5e5.a5dc38"]]},{"id":"8852c700.cf1728","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":838.5000076293945,"y":428.74999713897705,"z":"d1ec70b0.44ebb","wires":[["8e45d485.7ae718"]]},{"id":"49979ca4.27c0b4","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":834.5000076293945,"y":508.74999713897705,"z":"d1ec70b0.44ebb","wires":[["9c34c546.317498"]]},{"id":"414c6b14.1afed4","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":843.5000076293945,"y":468.74999713897705,"z":"d1ec70b0.44ebb","wires":[["6b739598.b52fcc"]]},{"id":"9c34c546.317498","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t<!-- return parameters -->\n\t<parameter name=\"error-message.generate-l3network-network-id\" value=\"`'An error occured while checking if a generated l3network-network-id was unique. network-id = ' + $tmp.local-variables.generate-l3network-network-id.uuid`\" />","comments":"","x":1001.0000152587891,"y":533.750002861023,"z":"d1ec70b0.44ebb","wires":[]},{"id":"8e45d485.7ae718","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":996.5000076293945,"y":428.74999713897705,"z":"d1ec70b0.44ebb","wires":[["2b4a6d59.a9d4b2","401c414.4d08ac"]]},{"id":"2b4a6d59.a9d4b2","type":"set","name":"set: ...local...is-unique = 0","xml":"<set>\n\t<parameter name=\"tmp.local-variables.generate-l3network-network-id.is-unique\" value=\"0\" />","comments":"","outputs":1,"x":1214.0000610351562,"y":428.75000286102295,"z":"d1ec70b0.44ebb","wires":[[]]},{"id":"401c414.4d08ac","type":"execute","name":"execute: generateUUID","xml":"<execute plugin=\"com.att.sdnctl.sli.SliPluginUtils.SliPluginUtils\" method=\"generateUUID\" >\n\t<parameter name=\"ctx-destination\" value=\"tmp.return.generate-l3network-network-id.uuid\" />","comments":"","outputs":1,"x":1207.5000076293945,"y":468.74999713897705,"z":"d1ec70b0.44ebb","wires":[["2afa9dc4.53e492"]]},{"id":"2afa9dc4.53e492","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1394.5000076293945,"y":468.74999713897705,"z":"d1ec70b0.44ebb","wires":[["34a04552.d8838a"]]},{"id":"34a04552.d8838a","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t<!-- return parameters -->\n\t<parameter name=\"error-message.generate-l3network-network-id\" value=\"An error occured while generating a UUID for L3-NETWORK.\" />","comments":"","x":1548.5000076293945,"y":468.74999713897705,"z":"d1ec70b0.44ebb","wires":[]},{"id":"6b739598.b52fcc","type":"block","name":"block","xml":"<block>","atomic":"false","comments":"","outputs":1,"x":974.5000076293945,"y":468.74999713897705,"z":"d1ec70b0.44ebb","wires":[[]]},{"id":"437c334.fa9bacc","type":"dgstart","name":"DGSTART","outputs":1,"x":215.00000381469727,"y":24.999996185302734,"z":"d1ec70b0.44ebb","wires":[["d0d787ad.11a628"]]},{"id":"d0d787ad.11a628","type":"service-logic","name":"VNF-API 1.0.0","module":"VNF-API","version":"${project.version}","comments":"","xml":"<service-logic xmlns='http://www.att.com/sdnctl/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.att.com/sdnctl/svclogic ./svclogic.xsd' module='VNF-API' version='${project.version}'>","outputs":1,"x":239,"y":71.24999618530273,"z":"d1ec70b0.44ebb","wires":[["b3eba119.c492f"]]},{"id":"b3eba119.c492f","type":"method","name":"method generate-l3network-network-id","xml":"<method rpc=\"generate-l3network-network-id\" mode=\"sync\">","comments":"","outputs":1,"x":324.75,"y":123.74999618530273,"z":"d1ec70b0.44ebb","wires":[["f616b569.f578f8"]]},{"id":"bd83e429.00ab68","type":"comment","name":"VNF-API: GENERATE-L3NETWORK-NETWORK-ID","info":"","comments":"","x":766.5000152587891,"y":31.2499942779541,"z":"d1ec70b0.44ebb","wires":[]},{"id":"f616b569.f578f8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":276.50000762939453,"y":248.74999713897705,"z":"d1ec70b0.44ebb","wires":[["dd70f366.d125c","5c1d01b6.e9f5e","b4996f5b.9e931","60de1533.5bb86c"]]},{"id":"2ec4eee9.2ac6b2","type":"comment","name":"LOOP UNTIL GENERATED NETWORK-ID ISN'T FOUND IN A&AI","info":"","comments":"","x":677.75,"y":385.0000009536743,"z":"d1ec70b0.44ebb","wires":[]},{"id":"5ce6ee54.fd9d2","type":"comment","name":"GENERATE A NETWORK-ID","info":"","comments":"","x":541.5,"y":294.9999990463257,"z":"d1ec70b0.44ebb","wires":[]},{"id":"b4996f5b.9e931","type":"set","name":"unset: local-variables & return","xml":"<set>\n\t<parameter name=\"tmp.local-variables.generate-l3network-network-id.\" value=\"\" />\n\t<parameter name=\"tmp.return.generate-l3network-network-id.\" value=\"\" />","comments":"","outputs":1,"x":527.5000076293945,"y":248.74999713897705,"z":"d1ec70b0.44ebb","wires":[[]]},{"id":"a706e0b1.9117a","type":"comment","name":"CLEANUP LOCAL VARIABLES TO BE USED","info":"","comments":"","x":611.75,"y":204.99999809265137,"z":"d1ec70b0.44ebb","wires":[]},{"id":"a0f4690f.efa0d8","type":"comment","name":"GLOBAL VARIABLES USED","info":"// RETURN VALUES\nerror-message.generate-generic-vnf-id\ntmp.return.generate-generic-vnf-id.uuid\n\n// LOCAL VARIABLES (erased at beginning & end of DG)\ntmp.local-variables.generate-generic-vnf-id.*\ntmp.local-variables.generate-generic-vnf-id.GENERIC_VNF.*","comments":"","x":753.0000305175781,"y":71.2499942779541,"z":"d1ec70b0.44ebb","wires":[]},{"id":"60de1533.5bb86c","type":"set","name":"unset: local-variables & return","xml":"<set>\n\t<parameter name=\"tmp.local-variables.generate-l3network-network-id.\" value=\"\" />","comments":"","outputs":1,"x":527.5000076293945,"y":528.749997138977,"z":"d1ec70b0.44ebb","wires":[[]]},{"id":"39e8f5d1.20ee3a","type":"comment","name":"CLEANUP LOCAL VARIABLES","info":"","comments":"","x":569,"y":486.25000190734863,"z":"d1ec70b0.44ebb","wires":[]},{"id":"5312fbfe.635864","type":"other","name":"Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":834.5000076293945,"y":548.749997138977,"z":"d1ec70b0.44ebb","wires":[["9c34c546.317498"]]}] +[ + { + "id": "dd70f366.d125c", + "type": "execute", + "name": "execute: generateUUID", + "xml": "<execute plugin=\"org.openecomp.sdnc.sli.SliPluginUtils.SliPluginUtils\" method=\"generateUUID\" >\n\t<parameter name=\"ctx-destination\" value=\"tmp.return.generate-l3network-network-id.uuid\" />", + "comments": "", + "outputs": 1, + "x": 508.75, + "y": 337.5, + "z": "d1ec70b0.44ebb", + "wires": [ + [ + "f9cd5358.f88ee" + ] + ] + }, + { + "id": "f9cd5358.f88ee", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 704.5000076293945, + "y": 337.5, + "z": "d1ec70b0.44ebb", + "wires": [ + [ + "8a954bff.6fab18" + ] + ] + }, + { + "id": "8a954bff.6fab18", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n\t<!-- Used to work around execute node bug -->\n\t<parameter name=\"execute_failure\" value=\"false\" />\n\n\t<!-- return parameters -->\n\t<parameter name=\"error-message.generate-l3network-network-id\" value=\"An error occured while generating a UUID for L3-NETWORK.\" />", + "comments": "", + "x": 869.5000076293945, + "y": 337.74999713897705, + "z": "d1ec70b0.44ebb", + "wires": [] + }, + { + "id": "e113a5e5.a5dc38", + "type": "get-resource", + "name": "Query AnAI - l3-network", + "xml": "<get-resource plugin=\"org.openecomp.sdnc.sli.aai.AAIService\"\n resource=\"l3-network\"\n key=\"l3-network.network-id = $tmp.return.generate-l3network-network-id.uuid\"\n local-only=\"false\"\n pfx=\"tmp.local-variables.generate-l3network-network-id.L3NETWORK\" >", + "comments": "", + "outputs": 1, + "x": 634.0000076293945, + "y": 428.74999713897705, + "z": "d1ec70b0.44ebb", + "wires": [ + [ + "8852c700.cf1728", + "49979ca4.27c0b4", + "414c6b14.1afed4", + "5312fbfe.635864" + ] + ] + }, + { + "id": "5c1d01b6.e9f5e", + "type": "for", + "name": "for n: true", + "xml": "<for atomic=\"true\" index=\"n\" start=\"0\" end=\"1\" >", + "comments": "", + "outputs": 1, + "x": 458.00000762939453, + "y": 428.74999713897705, + "z": "d1ec70b0.44ebb", + "wires": [ + [ + "e113a5e5.a5dc38" + ] + ] + }, + { + "id": "8852c700.cf1728", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 838.5000076293945, + "y": 428.74999713897705, + "z": "d1ec70b0.44ebb", + "wires": [ + [ + "8e45d485.7ae718" + ] + ] + }, + { + "id": "49979ca4.27c0b4", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 834.5000076293945, + "y": 508.74999713897705, + "z": "d1ec70b0.44ebb", + "wires": [ + [ + "9c34c546.317498" + ] + ] + }, + { + "id": "414c6b14.1afed4", + "type": "not-found", + "name": "not-found", + "xml": "<outcome value='not-found'>\n", + "comments": "", + "outputs": 1, + "x": 843.5000076293945, + "y": 468.74999713897705, + "z": "d1ec70b0.44ebb", + "wires": [ + [ + "6b739598.b52fcc" + ] + ] + }, + { + "id": "9c34c546.317498", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status=\"failure\">\n\t<!-- return parameters -->\n\t<parameter name=\"error-message.generate-l3network-network-id\" value=\"`'An error occured while checking if a generated l3network-network-id was unique. network-id = ' + $tmp.local-variables.generate-l3network-network-id.uuid`\" />", + "comments": "", + "x": 1001.0000152587891, + "y": 533.750002861023, + "z": "d1ec70b0.44ebb", + "wires": [] + }, + { + "id": "8e45d485.7ae718", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 996.5000076293945, + "y": 428.74999713897705, + "z": "d1ec70b0.44ebb", + "wires": [ + [ + "2b4a6d59.a9d4b2", + "401c414.4d08ac" + ] + ] + }, + { + "id": "2b4a6d59.a9d4b2", + "type": "set", + "name": "set: ...local...is-unique = 0", + "xml": "<set>\n\t<parameter name=\"tmp.local-variables.generate-l3network-network-id.is-unique\" value=\"0\" />", + "comments": "", + "outputs": 1, + "x": 1214.0000610351562, + "y": 428.75000286102295, + "z": "d1ec70b0.44ebb", + "wires": [ + [] + ] + }, + { + "id": "401c414.4d08ac", + "type": "execute", + "name": "execute: generateUUID", + "xml": "<execute plugin=\"org.openecomp.sdnc.sli.SliPluginUtils.SliPluginUtils\" method=\"generateUUID\" >\n\t<parameter name=\"ctx-destination\" value=\"tmp.return.generate-l3network-network-id.uuid\" />", + "comments": "", + "outputs": 1, + "x": 1207.5000076293945, + "y": 468.74999713897705, + "z": "d1ec70b0.44ebb", + "wires": [ + [ + "2afa9dc4.53e492" + ] + ] + }, + { + "id": "2afa9dc4.53e492", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 1394.5000076293945, + "y": 468.74999713897705, + "z": "d1ec70b0.44ebb", + "wires": [ + [ + "34a04552.d8838a" + ] + ] + }, + { + "id": "34a04552.d8838a", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status=\"failure\">\n\t<!-- return parameters -->\n\t<parameter name=\"error-message.generate-l3network-network-id\" value=\"An error occured while generating a UUID for L3-NETWORK.\" />", + "comments": "", + "x": 1548.5000076293945, + "y": 468.74999713897705, + "z": "d1ec70b0.44ebb", + "wires": [] + }, + { + "id": "6b739598.b52fcc", + "type": "block", + "name": "block", + "xml": "<block>", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 974.5000076293945, + "y": 468.74999713897705, + "z": "d1ec70b0.44ebb", + "wires": [ + [] + ] + }, + { + "id": "437c334.fa9bacc", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 215.00000381469727, + "y": 24.999996185302734, + "z": "d1ec70b0.44ebb", + "wires": [ + [ + "d0d787ad.11a628" + ] + ] + }, + { + "id": "d0d787ad.11a628", + "type": "service-logic", + "name": "VNF-API ${project.version}", + "module": "VNF-API", + "version": "${project.version}", + "comments": "", + "xml": "<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='VNF-API' version='${project.version}'>", + "outputs": 1, + "x": 239, + "y": 71.24999618530273, + "z": "d1ec70b0.44ebb", + "wires": [ + [ + "b3eba119.c492f" + ] + ] + }, + { + "id": "b3eba119.c492f", + "type": "method", + "name": "method generate-l3network-network-id", + "xml": "<method rpc=\"generate-l3network-network-id\" mode=\"sync\">", + "comments": "", + "outputs": 1, + "x": 324.75, + "y": 123.74999618530273, + "z": "d1ec70b0.44ebb", + "wires": [ + [ + "f616b569.f578f8" + ] + ] + }, + { + "id": "bd83e429.00ab68", + "type": "comment", + "name": "VNF-API: GENERATE-L3NETWORK-NETWORK-ID", + "info": "", + "comments": "", + "x": 766.5000152587891, + "y": 31.2499942779541, + "z": "d1ec70b0.44ebb", + "wires": [] + }, + { + "id": "f616b569.f578f8", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic=\"true\">", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 276.50000762939453, + "y": 248.74999713897705, + "z": "d1ec70b0.44ebb", + "wires": [ + [ + "dd70f366.d125c", + "5c1d01b6.e9f5e", + "b4996f5b.9e931", + "60de1533.5bb86c" + ] + ] + }, + { + "id": "2ec4eee9.2ac6b2", + "type": "comment", + "name": "LOOP UNTIL GENERATED NETWORK-ID ISN'T FOUND IN A&AI", + "info": "", + "comments": "", + "x": 677.75, + "y": 385.0000009536743, + "z": "d1ec70b0.44ebb", + "wires": [] + }, + { + "id": "5ce6ee54.fd9d2", + "type": "comment", + "name": "GENERATE A NETWORK-ID", + "info": "", + "comments": "", + "x": 541.5, + "y": 294.9999990463257, + "z": "d1ec70b0.44ebb", + "wires": [] + }, + { + "id": "b4996f5b.9e931", + "type": "set", + "name": "unset: local-variables & return", + "xml": "<set>\n\t<parameter name=\"tmp.local-variables.generate-l3network-network-id.\" value=\"\" />\n\t<parameter name=\"tmp.return.generate-l3network-network-id.\" value=\"\" />", + "comments": "", + "outputs": 1, + "x": 527.5000076293945, + "y": 248.74999713897705, + "z": "d1ec70b0.44ebb", + "wires": [ + [] + ] + }, + { + "id": "a706e0b1.9117a", + "type": "comment", + "name": "CLEANUP LOCAL VARIABLES TO BE USED", + "info": "", + "comments": "", + "x": 611.75, + "y": 204.99999809265137, + "z": "d1ec70b0.44ebb", + "wires": [] + }, + { + "id": "a0f4690f.efa0d8", + "type": "comment", + "name": "GLOBAL VARIABLES USED", + "info": "// RETURN VALUES\nerror-message.generate-generic-vnf-id\ntmp.return.generate-generic-vnf-id.uuid\n\n// LOCAL VARIABLES (erased at beginning & end of DG)\ntmp.local-variables.generate-generic-vnf-id.*\ntmp.local-variables.generate-generic-vnf-id.GENERIC_VNF.*", + "comments": "", + "x": 753.0000305175781, + "y": 71.2499942779541, + "z": "d1ec70b0.44ebb", + "wires": [] + }, + { + "id": "60de1533.5bb86c", + "type": "set", + "name": "unset: local-variables & return", + "xml": "<set>\n\t<parameter name=\"tmp.local-variables.generate-l3network-network-id.\" value=\"\" />", + "comments": "", + "outputs": 1, + "x": 527.5000076293945, + "y": 528.749997138977, + "z": "d1ec70b0.44ebb", + "wires": [ + [] + ] + }, + { + "id": "39e8f5d1.20ee3a", + "type": "comment", + "name": "CLEANUP LOCAL VARIABLES", + "info": "", + "comments": "", + "x": 569, + "y": 486.25000190734863, + "z": "d1ec70b0.44ebb", + "wires": [] + }, + { + "id": "5312fbfe.635864", + "type": "other", + "name": "Other", + "xml": "<outcome value=\"Other\">", + "comments": "", + "outputs": 1, + "x": 834.5000076293945, + "y": 548.749997138977, + "z": "d1ec70b0.44ebb", + "wires": [ + [ + "9c34c546.317498" + ] + ] + } +] |