aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-security-zone-input.json
diff options
context:
space:
mode:
authorBrandon, Bruce (bb2697) <bb2697@att.com>2018-07-26 18:10:42 +0000
committerBrandon, Bruce (bb2697) <bb2697@att.com>2018-07-26 18:10:42 +0000
commit5a41e5c15bdbfba0e84e89e13bb06d9930988e77 (patch)
tree72fa804d3fc3f1e286e3c8e1209309e97a3ff528 /platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-security-zone-input.json
parent3b79de733187d2c1c9bccf626958a43bb06dbf2e (diff)
Generic resource API DG catch up
Generic resource API DG catch up with several new capabilities Change-Id: I6ba4a1716693a2fb0ba5314f60038277a50249a3 Issue-ID: SDNC-403 Signed-off-by: Brandon, Bruce (bb2697) <bb2697@att.com> Former-commit-id: dd97cf829ce1c0b3bbb0e98e93a2e6619d945beb
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-security-zone-input.json')
-rwxr-xr-xplatform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-security-zone-input.json1392
1 files changed, 1391 insertions, 1 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-security-zone-input.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-security-zone-input.json
index 70c98b79..ea63685e 100755
--- a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-security-zone-input.json
+++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-security-zone-input.json
@@ -1 +1,1391 @@
-[{"id":"d8f6b3bb.4c275","type":"dgstart","name":"DGSTART","outputs":1,"x":235.55557250976562,"y":315.5555419921875,"z":"893326ee.bae438","wires":[["a018c9a4.117f98"]]},{"id":"a018c9a4.117f98","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":391.8412780761719,"y":389.7936553955078,"z":"893326ee.bae438","wires":[["3f03d10e.2ffb5e"]]},{"id":"3f03d10e.2ffb5e","type":"method","name":"validate-security-zone-input","xml":"<method rpc='validate-security-zone-input' mode='sync'>\n","comments":"","outputs":1,"x":391.9841842651367,"y":453.22223949432373,"z":"893326ee.bae438","wires":[["b2b60df0.c53fb"]]},{"id":"b2b60df0.c53fb","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":405.3056182861328,"y":733.9990367889404,"z":"893326ee.bae438","wires":[["e18f70ed.64e6e","c55d0b64.80ebf8","798d06aa.649188","9a6b6b65.fb46e8","e80fb296.5b5af","36ba5c7b.d8e654"]]},{"id":"e18f70ed.64e6e","type":"switchNode","name":"switch svc-request-id","xml":"<switch test='`$security-zone-topology-operation-input.sdnc-request-header.svc-request-id`'>\n","comments":"","outputs":1,"x":740.3651428222656,"y":218.65082263946533,"z":"893326ee.bae438","wires":[["991652a9.25d26"]]},{"id":"991652a9.25d26","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":970.0794279915945,"y":216.65081936972456,"z":"893326ee.bae438","wires":[["aa2be7a3.2f0818"]]},{"id":"aa2be7a3.2f0818","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":1121.5079345703125,"y":213.31748580932617,"z":"893326ee.bae438","wires":[]},{"id":"c55d0b64.80ebf8","type":"switchNode","name":"switch svc-action","xml":"<switch test='`$security-zone-topology-operation-input.sdnc-request-header.svc-action`'>\n","comments":"","outputs":1,"x":732.9364929199219,"y":172.22222137451172,"z":"893326ee.bae438","wires":[["86d6351c.c6dd08"]]},{"id":"86d6351c.c6dd08","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":968.6508483886719,"y":173.79364490509033,"z":"893326ee.bae438","wires":[["b2821e24.be3db"]]},{"id":"b2821e24.be3db","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-action is a required input\" />\n","comments":"","x":1118.650821685791,"y":173.7936544418335,"z":"893326ee.bae438","wires":[]},{"id":"798d06aa.649188","type":"switchNode","name":"switch request-action","xml":"<switch test='`$security-zone-topology-operation-input.request-information.request-action`'>\n","comments":"","outputs":1,"x":742.9365386962891,"y":267.5079708099365,"z":"893326ee.bae438","wires":[["cbf1edf6.578e5","3a2f6108.3a98ce","d7c95278.f68aa","c59cbe0b.ae17b"]]},{"id":"cbf1edf6.578e5","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":977.9841423034668,"y":331.3651924133301,"z":"893326ee.bae438","wires":[["7c061461.ed6d7c"]]},{"id":"7c061461.ed6d7c","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 a required input\" />\n","comments":"","x":1149.412582397461,"y":331.36519145965576,"z":"893326ee.bae438","wires":[]},{"id":"4bfff6bd.144358","type":"comment","name":"validate-security-zone-input - CHANGELOG","info":"3/22: Initial release 1.0.0","comments":"","x":248.55557250976562,"y":219.5555419921875,"z":"893326ee.bae438","wires":[]},{"id":"9a6b6b65.fb46e8","type":"switchNode","name":"switch svc-action","xml":"<switch test='`$security-zone-topology-operation-input.sdnc-request-header.svc-action`'>\n","comments":"","outputs":1,"x":645.2222328186035,"y":739.5555782318115,"z":"893326ee.bae438","wires":[["f61c14ca.d17008","c832b3ea.1cb26","ce191e6f.c63c","83dfb84.6c9ec48","f0422740.d800b8","f1ddac97.f2155"]]},{"id":"f61c14ca.d17008","type":"other","name":"assign","xml":"<outcome value='assign'>","comments":"","outputs":1,"x":906.2699356079102,"y":575.1270084381104,"z":"893326ee.bae438","wires":[["7ceecd60.009724"]]},{"id":"c832b3ea.1cb26","type":"other","name":"activate","xml":"<outcome value='activate'>","comments":"","outputs":1,"x":926.5555419921875,"y":762.5555725097656,"z":"893326ee.bae438","wires":[["72bc9a53.a4a1c4"]]},{"id":"ce191e6f.c63c","type":"other","name":"deactivate","xml":"<outcome value='deactivate'>","comments":"","outputs":1,"x":933.5555419921875,"y":852.5555725097656,"z":"893326ee.bae438","wires":[["ed55d557.297dd8"]]},{"id":"7ceecd60.009724","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1063.5555725097656,"y":577.8889179229736,"z":"893326ee.bae438","wires":[["ba167228.b3ffe"]]},{"id":"ba167228.b3ffe","type":"switchNode","name":"switch request-action","xml":"<switch test='`$security-zone-topology-operation-input.request-information.request-action`'>\n","comments":"","outputs":1,"x":1271.8889541625977,"y":577.8889236450195,"z":"893326ee.bae438","wires":[["e9519759.0bd708","b5904d01.67034"]]},{"id":"e9519759.0bd708","type":"other","name":"CreateSecurityZoneInstance","xml":"<outcome value='CreateSecurityZoneInstance'>","comments":"","outputs":1,"x":1618.0793151855469,"y":505.0317816734314,"z":"893326ee.bae438","wires":[["ec0a16a2.d398b8"]]},{"id":"b5904d01.67034","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1557.5555534362793,"y":571.8889350891113,"z":"893326ee.bae438","wires":[["6ff9efab.1acb8"]]},{"id":"6ff9efab.1acb8","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 a required to be CreateSecurityZoneInstance for svc-action=assign\" />\n","comments":"","x":1704.8888969421387,"y":573.5556974411011,"z":"893326ee.bae438","wires":[]},{"id":"72bc9a53.a4a1c4","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1100.5555419921875,"y":762.5555725097656,"z":"893326ee.bae438","wires":[["f8cd13e2.ec99a"]]},{"id":"f8cd13e2.ec99a","type":"switchNode","name":"switch request-action","xml":"<switch test='`$security-zone-topology-operation-input.request-information.request-action`'>\n","comments":"","outputs":1,"x":1317.5555419921875,"y":762.5555725097656,"z":"893326ee.bae438","wires":[["29c24ed5.8c97a2","12034d41.71a063"]]},{"id":"29c24ed5.8c97a2","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1541.5555419921875,"y":803.5555725097656,"z":"893326ee.bae438","wires":[["c4fec971.125ad8"]]},{"id":"c4fec971.125ad8","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 a required to be CreateSecurityZoneInstance for svc-action=activate\" />\n","comments":"","x":1710.5555419921875,"y":803.5555725097656,"z":"893326ee.bae438","wires":[]},{"id":"ed55d557.297dd8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1115.5555419921875,"y":851.5555725097656,"z":"893326ee.bae438","wires":[["55f7035.720defc"]]},{"id":"55f7035.720defc","type":"switchNode","name":"switch request-action","xml":"<switch test='`$security-zone-topology-operation-input.request-information.request-action`'>\n","comments":"","outputs":1,"x":1332.5555419921875,"y":851.5555725097656,"z":"893326ee.bae438","wires":[["94748701.276ad8","94eb145d.dbec38"]]},{"id":"94748701.276ad8","type":"other","name":"DeleteSecurityZoneInstance","xml":"<outcome value='DeleteSecurityZoneInstance'>","comments":"","outputs":1,"x":1615.2220764160156,"y":850.8889589309692,"z":"893326ee.bae438","wires":[["3e9b45b4.1ff76a"]]},{"id":"94eb145d.dbec38","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1556.5555419921875,"y":892.5555725097656,"z":"893326ee.bae438","wires":[["610782ce.0e012c"]]},{"id":"610782ce.0e012c","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 a required to be DeleteSecurityZoneInstance for svc-action=deactivate\" />\n","comments":"","x":1725.5555419921875,"y":892.5555725097656,"z":"893326ee.bae438","wires":[]},{"id":"83dfb84.6c9ec48","type":"other","name":"unassign","xml":"<outcome value='unassign'>","comments":"","outputs":1,"x":914.5554046630859,"y":1019.8888998031616,"z":"893326ee.bae438","wires":[["97760e1d.874c1"]]},{"id":"97760e1d.874c1","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1096.555435180664,"y":1015.8889226913452,"z":"893326ee.bae438","wires":[["d856938c.c7fcd"]]},{"id":"d856938c.c7fcd","type":"switchNode","name":"switch request-action","xml":"<switch test='`$security-zone-topology-operation-input.request-information.request-action`'>\n","comments":"","outputs":1,"x":1313.555435180664,"y":1015.8889226913452,"z":"893326ee.bae438","wires":[["8ba8ac96.939ac","ac3bb1cc.3a778"]]},{"id":"8ba8ac96.939ac","type":"other","name":"DeleteSecurityZoneInstance","xml":"<outcome value='DeleteSecurityZoneInstance'>","comments":"","outputs":1,"x":1594.555305480957,"y":1016.8889398574829,"z":"893326ee.bae438","wires":[["1b3b1eab.cd8bc1"]]},{"id":"ac3bb1cc.3a778","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1537.555435180664,"y":1056.8889226913452,"z":"893326ee.bae438","wires":[["cefb5d61.5cfae"]]},{"id":"cefb5d61.5cfae","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 a required to be DeleteSecurityZoneInstance for svc-action=unassign\" />\n","comments":"","x":1708.2221603393555,"y":1063.5555746555328,"z":"893326ee.bae438","wires":[]},{"id":"ec0a16a2.d398b8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1864.0793266296387,"y":504.0317687988281,"z":"893326ee.bae438","wires":[["8020e36.a7e482","6c805fc8.58afb","a182697b.c45e68","c43eb58f.69d438","474a1931.cb3468","fb13eb4d.718288","beb405ab.4654d8","9bbcec2b.09769"]]},{"id":"619f5f72.2ac62","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1823.5555419921875,"y":763.5555725097656,"z":"893326ee.bae438","wires":[["c43eb58f.69d438","fb13eb4d.718288"]]},{"id":"3e9b45b4.1ff76a","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1869.5555419921875,"y":853.5555725097656,"z":"893326ee.bae438","wires":[["c43eb58f.69d438","fb13eb4d.718288"]]},{"id":"1b3b1eab.cd8bc1","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1853.555435180664,"y":1017.8889226913452,"z":"893326ee.bae438","wires":[["c43eb58f.69d438"]]},{"id":"8020e36.a7e482","type":"switchNode","name":"switch vlan-tag","xml":"<switch test='`$security-zone-topology-operation-input.security-zone-request-input.vlan-tag`'>\n","comments":"","outputs":1,"x":2200.174575805664,"y":377.60317516326904,"z":"893326ee.bae438","wires":[["219b4575.07624a"]]},{"id":"219b4575.07624a","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2366.1744232177734,"y":377.4127187728882,"z":"893326ee.bae438","wires":[["8270f4ae.45f928"]]},{"id":"8270f4ae.45f928","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=\"security-zone-topology-operation-input.security-zone-request-input.vlan-tag is a required input\" />\n","comments":"","x":2522.365135192871,"y":377.41267108917236,"z":"893326ee.bae438","wires":[]},{"id":"a182697b.c45e68","type":"switchNode","name":"switch onap-model-information.model-customization-uuid","xml":"<switch test='`$security-zone-topology-operation-input.allotted-resource-information.onap-model-information.model-customization-uuid`'>\n","comments":"","outputs":1,"x":2334.4129180908203,"y":300.5556230545044,"z":"893326ee.bae438","wires":[["d0a4dd20.c4866"]]},{"id":"d0a4dd20.c4866","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2628.412826538086,"y":301.5555639266968,"z":"893326ee.bae438","wires":[["c36cc0f.8c7124"]]},{"id":"c36cc0f.8c7124","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=\"security-zone-information.onap-model-information.model-customization-uuid is a required input\" />\n","comments":"","x":2775.841293334961,"y":301.5555639266968,"z":"893326ee.bae438","wires":[]},{"id":"e80fb296.5b5af","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":671.9126892089844,"y":1161.0555114746094,"z":"893326ee.bae438","wires":[]},{"id":"6c805fc8.58afb","type":"get-resource","name":"get-resource AR_MODEL","xml":"<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n key='SELECT * from ALLOTTED_RESOURCE_MODEL WHERE customization_uuid = $security-zone-topology-operation-input.allotted-resource-information.onap-model-information.model-customization-uuid'\n pfx='ar-model'>\n\n","comments":"","outputs":1,"x":2236.6076889038086,"y":522.0873641967773,"z":"893326ee.bae438","wires":[["dea250d4.a547c","a0f786da.b959f8"]]},{"id":"d0b05c60.619cc","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=\"`'No allotted resource model found for model customization UUID ' + $security-zone-topology-operation-input.allotted-resource-information.onap-model-information.model-customization-uuid`\" />\n","comments":"","x":2693.690872192383,"y":502.75396156311035,"z":"893326ee.bae438","wires":[]},{"id":"dea250d4.a547c","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":2494.9409523010254,"y":498.111177444458,"z":"893326ee.bae438","wires":[["d0b05c60.619cc"]]},{"id":"a0f786da.b959f8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":2488.6909523010254,"y":530.611177444458,"z":"893326ee.bae438","wires":[["d0b05c60.619cc"]]},{"id":"3a2f6108.3a98ce","type":"other","name":"CreateSecurityZoneInstance","xml":"<outcome value='CreateSecurityZoneInstance'>","comments":"","outputs":1,"x":1038.6032104492188,"y":253.17459869384766,"z":"893326ee.bae438","wires":[["93d6c176.7fe5a"]]},{"id":"d7c95278.f68aa","type":"other","name":"DeleteSecurityZoneInstance","xml":"<outcome value='DeleteSecurityZoneInstance'>","comments":"","outputs":1,"x":1038.8888549804688,"y":290.6032180786133,"z":"893326ee.bae438","wires":[["93d6c176.7fe5a"]]},{"id":"c59cbe0b.ae17b","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":981.7936515808105,"y":371.74609756469727,"z":"893326ee.bae438","wires":[["bef0c21f.d802e"]]},{"id":"bef0c21f.d802e","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=\"Invalid request-information.request-action \" />\n","comments":"","x":1153.2220573425293,"y":372.7461128234863,"z":"893326ee.bae438","wires":[]},{"id":"36ba5c7b.d8e654","type":"switchNode","name":"switch service-instance-id","xml":"<switch test='`$security-zone-topology-operation-input.service-information.service-instance-id`'>\n","comments":"","outputs":1,"x":739.984130859375,"y":447.41273498535156,"z":"893326ee.bae438","wires":[["d53e7631.c0fea8"]]},{"id":"d53e7631.c0fea8","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":956.4127197265625,"y":448.41273498535156,"z":"893326ee.bae438","wires":[["2579090b.0e1e76"]]},{"id":"2579090b.0e1e76","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=\"service-information.service-instance-id is a required input\" />\n","comments":"","x":1114.8412475585938,"y":447.41273498535156,"z":"893326ee.bae438","wires":[]},{"id":"f0422740.d800b8","type":"other","name":"create","xml":"<outcome value='create'>","comments":"","outputs":1,"x":913.3332862854004,"y":660.4629507064819,"z":"893326ee.bae438","wires":[["46b3f2f8.0ea61c"]]},{"id":"46b3f2f8.0ea61c","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1073.9522857666016,"y":659.8915205001831,"z":"893326ee.bae438","wires":[["52a155fb.f8541c"]]},{"id":"52a155fb.f8541c","type":"switchNode","name":"switch request-action","xml":"<switch test='`$security-zone-topology-operation-input.request-information.request-action`'>\n","comments":"","outputs":1,"x":1293.9522857666016,"y":659.8915205001831,"z":"893326ee.bae438","wires":[["533f0552.201dac","7340b4fd.0ee38c"]]},{"id":"533f0552.201dac","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1551.285779953003,"y":663.8915729522705,"z":"893326ee.bae438","wires":[["47df574e.a59c98"]]},{"id":"47df574e.a59c98","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 a required to be CreateSecurityZoneInstance for svc-action=create\" />\n","comments":"","x":1716.9522857666016,"y":663.8915405273438,"z":"893326ee.bae438","wires":[]},{"id":"7340b4fd.0ee38c","type":"other","name":"CreateSecurityZoneInstance","xml":"<outcome value='CreateSecurityZoneInstance'>","comments":"","outputs":1,"x":1623.3332061767578,"y":628.7962646484375,"z":"893326ee.bae438","wires":[["e6d64f7d.65b1e"]]},{"id":"e6d64f7d.65b1e","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1859.3332061767578,"y":627.7962646484375,"z":"893326ee.bae438","wires":[["c43eb58f.69d438","fb13eb4d.718288"]]},{"id":"12034d41.71a063","type":"other","name":"CreateSecurityZoneInstance","xml":"<outcome value='CreateSecurityZoneInstance'>","comments":"","outputs":1,"x":1608.3332595825195,"y":762.1296367645264,"z":"893326ee.bae438","wires":[["619f5f72.2ac62"]]},{"id":"f1ddac97.f2155","type":"other","name":"delete","xml":"<outcome value='delete'>","comments":"","outputs":1,"x":926.6666564941406,"y":937.1295366287231,"z":"893326ee.bae438","wires":[["d42c764.9db5b88"]]},{"id":"d42c764.9db5b88","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1108.6666870117188,"y":933.1295595169067,"z":"893326ee.bae438","wires":[["9fad38e8.eba248"]]},{"id":"9fad38e8.eba248","type":"switchNode","name":"switch request-action","xml":"<switch test='`$security-zone-topology-operation-input.request-information.request-action`'>\n","comments":"","outputs":1,"x":1325.6666870117188,"y":933.1295595169067,"z":"893326ee.bae438","wires":[["3f661399.88316c","fb7e534f.3179a"]]},{"id":"3f661399.88316c","type":"other","name":"DeleteSecurityZoneInstance","xml":"<outcome value='DeleteSecurityZoneInstance'>","comments":"","outputs":1,"x":1606.6665573120117,"y":934.1295766830444,"z":"893326ee.bae438","wires":[["18534a5c.e61196"]]},{"id":"fb7e534f.3179a","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1549.6666870117188,"y":974.1295595169067,"z":"893326ee.bae438","wires":[["c5006813.200e48"]]},{"id":"c5006813.200e48","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 a required to be DeleteSecurityZoneInstance for svc-action=delete\" />\n","comments":"","x":1718.6666870117188,"y":974.1295595169067,"z":"893326ee.bae438","wires":[]},{"id":"18534a5c.e61196","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1865.6666870117188,"y":935.1295595169067,"z":"893326ee.bae438","wires":[["c43eb58f.69d438","fb13eb4d.718288"]]},{"id":"93d6c176.7fe5a","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1254.9999656677246,"y":284.499981880188,"z":"893326ee.bae438","wires":[[]]},{"id":"c43eb58f.69d438","type":"switchNode","name":"switch allotted-resource-id","xml":"<switch test='`$security-zone-topology-operation-input.allotted-resource-information.allotted-resource-id`'>\n","comments":"","outputs":1,"x":2236.349380493164,"y":148.09522247314453,"z":"893326ee.bae438","wires":[["95717a57.0e1fc8"]]},{"id":"95717a57.0e1fc8","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2436.8850631713867,"y":146.66665077209473,"z":"893326ee.bae438","wires":[["7ad0865a.9d5808"]]},{"id":"7ad0865a.9d5808","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=\"allotted-resource-information.allotted-resource-id is a required input\" />\n","comments":"","x":2588.3135299682617,"y":145.66665077209473,"z":"893326ee.bae438","wires":[]},{"id":"474a1931.cb3468","type":"switchNode","name":"switch allotted-resource-type","xml":"<switch test='`$security-zone-topology-operation-input.allotted-resource-information.allotted-resource-type`'>\n","comments":"","outputs":1,"x":2242.7779235839844,"y":183.29363822937012,"z":"893326ee.bae438","wires":[["78aa6b52.fbc154"]]},{"id":"78aa6b52.fbc154","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2443.3134689331055,"y":181.86506843566895,"z":"893326ee.bae438","wires":[["d2e8d08f.df20e"]]},{"id":"d2e8d08f.df20e","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=\"allotted-resource-information.allotted-resource-type is a required input\" />\n","comments":"","x":2594.7419357299805,"y":180.86506843566895,"z":"893326ee.bae438","wires":[]},{"id":"fb13eb4d.718288","type":"switchNode","name":"switch parent-service-instance-id","xml":"<switch test='`$security-zone-topology-operation-input.allotted-resource-information.parent-service-instance-id`'>\n","comments":"","outputs":1,"x":2255.63516998291,"y":219.0079231262207,"z":"893326ee.bae438","wires":[["dec9289b.c35878"]]},{"id":"dec9289b.c35878","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2471.349319458008,"y":216.1507797241211,"z":"893326ee.bae438","wires":[["45bd6332.b157fc"]]},{"id":"45bd6332.b157fc","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=\"allotted-resource-information.parent-service-instance-id is a required input\" />\n","comments":"","x":2622.777786254883,"y":215.1507797241211,"z":"893326ee.bae438","wires":[]},{"id":"beb405ab.4654d8","type":"switchNode","name":"switch trusted-network-role","xml":"<switch test='`$security-zone-topology-operation-input.security-zone-request-input.trusted-network-role`'>\n","comments":"","outputs":1,"x":2231.984031677246,"y":412.1983833312988,"z":"893326ee.bae438","wires":[["20e7c9ab.48a486"]]},{"id":"20e7c9ab.48a486","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2494.174690246582,"y":408.5793528556824,"z":"893326ee.bae438","wires":[["a43fc0ee.20e45"]]},{"id":"a43fc0ee.20e45","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=\"security-zone-topology-operation-input.security-zone-request-input.trusted-network-role is a required input\" />\n","comments":"","x":2659.174835205078,"y":408.57931327819824,"z":"893326ee.bae438","wires":[]},{"id":"9bbcec2b.09769","type":"switchNode","name":"switch untrusted-network-role","xml":"<switch test='`$security-zone-topology-operation-input.security-zone-request-input.untrusted-network-role`'>\n","comments":"","outputs":1,"x":2249.2224464416504,"y":446.74599266052246,"z":"893326ee.bae438","wires":[["d404d9bd.d65288"]]},{"id":"d404d9bd.d65288","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2494.22261428833,"y":446.7459878921509,"z":"893326ee.bae438","wires":[["a2180ae0.fe41f8"]]},{"id":"a2180ae0.fe41f8","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=\"security-zone-operation-input.security-zone-request-input.untrusted-network-role is a required input\" />\n","comments":"","x":2660.651081085205,"y":446.74595737457275,"z":"893326ee.bae438","wires":[]}]
+[
+ {
+ "id": "d8f6b3bb.4c275",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 235.55557250976562,
+ "y": 315.5555419921875,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "a018c9a4.117f98"
+ ]
+ ]
+ },
+ {
+ "id": "a018c9a4.117f98",
+ "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": 391.8412780761719,
+ "y": 389.7936553955078,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "3f03d10e.2ffb5e"
+ ]
+ ]
+ },
+ {
+ "id": "3f03d10e.2ffb5e",
+ "type": "method",
+ "name": "validate-security-zone-input",
+ "xml": "<method rpc='validate-security-zone-input' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 391.9841842651367,
+ "y": 453.22223949432373,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "b2b60df0.c53fb"
+ ]
+ ]
+ },
+ {
+ "id": "b2b60df0.c53fb",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 405.3056182861328,
+ "y": 733.9990367889404,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "e18f70ed.64e6e",
+ "c55d0b64.80ebf8",
+ "798d06aa.649188",
+ "9a6b6b65.fb46e8",
+ "e80fb296.5b5af",
+ "36ba5c7b.d8e654"
+ ]
+ ]
+ },
+ {
+ "id": "e18f70ed.64e6e",
+ "type": "switchNode",
+ "name": "switch svc-request-id",
+ "xml": "<switch test='`$security-zone-topology-operation-input.sdnc-request-header.svc-request-id`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 740.3651428222656,
+ "y": 218.65082263946533,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "991652a9.25d26"
+ ]
+ ]
+ },
+ {
+ "id": "991652a9.25d26",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 970.0794279915945,
+ "y": 216.65081936972456,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "aa2be7a3.2f0818"
+ ]
+ ]
+ },
+ {
+ "id": "aa2be7a3.2f0818",
+ "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": 1121.5079345703125,
+ "y": 213.31748580932617,
+ "z": "893326ee.bae438",
+ "wires": []
+ },
+ {
+ "id": "c55d0b64.80ebf8",
+ "type": "switchNode",
+ "name": "switch svc-action",
+ "xml": "<switch test='`$security-zone-topology-operation-input.sdnc-request-header.svc-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 732.9364929199219,
+ "y": 172.22222137451172,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "86d6351c.c6dd08"
+ ]
+ ]
+ },
+ {
+ "id": "86d6351c.c6dd08",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 968.6508483886719,
+ "y": 173.79364490509033,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "b2821e24.be3db"
+ ]
+ ]
+ },
+ {
+ "id": "b2821e24.be3db",
+ "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-action is a required input\" />\n",
+ "comments": "",
+ "x": 1118.650821685791,
+ "y": 173.7936544418335,
+ "z": "893326ee.bae438",
+ "wires": []
+ },
+ {
+ "id": "798d06aa.649188",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$security-zone-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 742.9365386962891,
+ "y": 267.5079708099365,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "cbf1edf6.578e5",
+ "3a2f6108.3a98ce",
+ "d7c95278.f68aa",
+ "c59cbe0b.ae17b"
+ ]
+ ]
+ },
+ {
+ "id": "cbf1edf6.578e5",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 977.9841423034668,
+ "y": 331.3651924133301,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "7c061461.ed6d7c"
+ ]
+ ]
+ },
+ {
+ "id": "7c061461.ed6d7c",
+ "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 a required input\" />\n",
+ "comments": "",
+ "x": 1149.412582397461,
+ "y": 331.36519145965576,
+ "z": "893326ee.bae438",
+ "wires": []
+ },
+ {
+ "id": "4bfff6bd.144358",
+ "type": "comment",
+ "name": "validate-security-zone-input - CHANGELOG",
+ "info": "3/22: Initial release 1.0.0",
+ "comments": "",
+ "x": 248.55557250976562,
+ "y": 219.5555419921875,
+ "z": "893326ee.bae438",
+ "wires": []
+ },
+ {
+ "id": "9a6b6b65.fb46e8",
+ "type": "switchNode",
+ "name": "switch svc-action",
+ "xml": "<switch test='`$security-zone-topology-operation-input.sdnc-request-header.svc-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 645.2222328186035,
+ "y": 739.5555782318115,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "f61c14ca.d17008",
+ "c832b3ea.1cb26",
+ "ce191e6f.c63c",
+ "83dfb84.6c9ec48",
+ "f0422740.d800b8",
+ "f1ddac97.f2155"
+ ]
+ ]
+ },
+ {
+ "id": "f61c14ca.d17008",
+ "type": "other",
+ "name": "assign",
+ "xml": "<outcome value='assign'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 906.2699356079102,
+ "y": 575.1270084381104,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "7ceecd60.009724"
+ ]
+ ]
+ },
+ {
+ "id": "c832b3ea.1cb26",
+ "type": "other",
+ "name": "activate",
+ "xml": "<outcome value='activate'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 926.5555419921875,
+ "y": 762.5555725097656,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "72bc9a53.a4a1c4"
+ ]
+ ]
+ },
+ {
+ "id": "ce191e6f.c63c",
+ "type": "other",
+ "name": "deactivate",
+ "xml": "<outcome value='deactivate'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 933.5555419921875,
+ "y": 852.5555725097656,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "ed55d557.297dd8"
+ ]
+ ]
+ },
+ {
+ "id": "7ceecd60.009724",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1063.5555725097656,
+ "y": 577.8889179229736,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "ba167228.b3ffe"
+ ]
+ ]
+ },
+ {
+ "id": "ba167228.b3ffe",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$security-zone-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1271.8889541625977,
+ "y": 577.8889236450195,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "e9519759.0bd708",
+ "b5904d01.67034"
+ ]
+ ]
+ },
+ {
+ "id": "e9519759.0bd708",
+ "type": "other",
+ "name": "CreateSecurityZoneInstance",
+ "xml": "<outcome value='CreateSecurityZoneInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1618.0793151855469,
+ "y": 505.0317816734314,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "ec0a16a2.d398b8"
+ ]
+ ]
+ },
+ {
+ "id": "b5904d01.67034",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1557.5555534362793,
+ "y": 571.8889350891113,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "6ff9efab.1acb8"
+ ]
+ ]
+ },
+ {
+ "id": "6ff9efab.1acb8",
+ "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 a required to be CreateSecurityZoneInstance for svc-action=assign\" />\n",
+ "comments": "",
+ "x": 1704.8888969421387,
+ "y": 573.5556974411011,
+ "z": "893326ee.bae438",
+ "wires": []
+ },
+ {
+ "id": "72bc9a53.a4a1c4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1100.5555419921875,
+ "y": 762.5555725097656,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "f8cd13e2.ec99a"
+ ]
+ ]
+ },
+ {
+ "id": "f8cd13e2.ec99a",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$security-zone-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1317.5555419921875,
+ "y": 762.5555725097656,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "29c24ed5.8c97a2",
+ "12034d41.71a063"
+ ]
+ ]
+ },
+ {
+ "id": "29c24ed5.8c97a2",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1541.5555419921875,
+ "y": 803.5555725097656,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "c4fec971.125ad8"
+ ]
+ ]
+ },
+ {
+ "id": "c4fec971.125ad8",
+ "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 a required to be CreateSecurityZoneInstance for svc-action=activate\" />\n",
+ "comments": "",
+ "x": 1710.5555419921875,
+ "y": 803.5555725097656,
+ "z": "893326ee.bae438",
+ "wires": []
+ },
+ {
+ "id": "ed55d557.297dd8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1115.5555419921875,
+ "y": 851.5555725097656,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "55f7035.720defc"
+ ]
+ ]
+ },
+ {
+ "id": "55f7035.720defc",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$security-zone-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1332.5555419921875,
+ "y": 851.5555725097656,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "94748701.276ad8",
+ "94eb145d.dbec38"
+ ]
+ ]
+ },
+ {
+ "id": "94748701.276ad8",
+ "type": "other",
+ "name": "DeleteSecurityZoneInstance",
+ "xml": "<outcome value='DeleteSecurityZoneInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1615.2220764160156,
+ "y": 850.8889589309692,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "3e9b45b4.1ff76a"
+ ]
+ ]
+ },
+ {
+ "id": "94eb145d.dbec38",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1556.5555419921875,
+ "y": 892.5555725097656,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "610782ce.0e012c"
+ ]
+ ]
+ },
+ {
+ "id": "610782ce.0e012c",
+ "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 a required to be DeleteSecurityZoneInstance for svc-action=deactivate\" />\n",
+ "comments": "",
+ "x": 1725.5555419921875,
+ "y": 892.5555725097656,
+ "z": "893326ee.bae438",
+ "wires": []
+ },
+ {
+ "id": "83dfb84.6c9ec48",
+ "type": "other",
+ "name": "unassign",
+ "xml": "<outcome value='unassign'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 914.5554046630859,
+ "y": 1019.8888998031616,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "97760e1d.874c1"
+ ]
+ ]
+ },
+ {
+ "id": "97760e1d.874c1",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1096.555435180664,
+ "y": 1015.8889226913452,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "d856938c.c7fcd"
+ ]
+ ]
+ },
+ {
+ "id": "d856938c.c7fcd",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$security-zone-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1313.555435180664,
+ "y": 1015.8889226913452,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "8ba8ac96.939ac",
+ "ac3bb1cc.3a778"
+ ]
+ ]
+ },
+ {
+ "id": "8ba8ac96.939ac",
+ "type": "other",
+ "name": "DeleteSecurityZoneInstance",
+ "xml": "<outcome value='DeleteSecurityZoneInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1594.555305480957,
+ "y": 1016.8889398574829,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "1b3b1eab.cd8bc1"
+ ]
+ ]
+ },
+ {
+ "id": "ac3bb1cc.3a778",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1537.555435180664,
+ "y": 1056.8889226913452,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "cefb5d61.5cfae"
+ ]
+ ]
+ },
+ {
+ "id": "cefb5d61.5cfae",
+ "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 a required to be DeleteSecurityZoneInstance for svc-action=unassign\" />\n",
+ "comments": "",
+ "x": 1708.2221603393555,
+ "y": 1063.5555746555328,
+ "z": "893326ee.bae438",
+ "wires": []
+ },
+ {
+ "id": "ec0a16a2.d398b8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1864.0793266296387,
+ "y": 504.0317687988281,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "8020e36.a7e482",
+ "6c805fc8.58afb",
+ "a182697b.c45e68",
+ "c43eb58f.69d438",
+ "474a1931.cb3468",
+ "fb13eb4d.718288",
+ "beb405ab.4654d8",
+ "9bbcec2b.09769"
+ ]
+ ]
+ },
+ {
+ "id": "619f5f72.2ac62",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1823.5555419921875,
+ "y": 763.5555725097656,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "c43eb58f.69d438",
+ "fb13eb4d.718288"
+ ]
+ ]
+ },
+ {
+ "id": "3e9b45b4.1ff76a",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1869.5555419921875,
+ "y": 853.5555725097656,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "c43eb58f.69d438",
+ "fb13eb4d.718288"
+ ]
+ ]
+ },
+ {
+ "id": "1b3b1eab.cd8bc1",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1853.555435180664,
+ "y": 1017.8889226913452,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "c43eb58f.69d438"
+ ]
+ ]
+ },
+ {
+ "id": "8020e36.a7e482",
+ "type": "switchNode",
+ "name": "switch vlan-tag",
+ "xml": "<switch test='`$security-zone-topology-operation-input.security-zone-request-input.vlan-tag`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2200.174575805664,
+ "y": 377.60317516326904,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "219b4575.07624a"
+ ]
+ ]
+ },
+ {
+ "id": "219b4575.07624a",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2366.1744232177734,
+ "y": 377.4127187728882,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "8270f4ae.45f928"
+ ]
+ ]
+ },
+ {
+ "id": "8270f4ae.45f928",
+ "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=\"security-zone-topology-operation-input.security-zone-request-input.vlan-tag is a required input\" />\n",
+ "comments": "",
+ "x": 2522.365135192871,
+ "y": 377.41267108917236,
+ "z": "893326ee.bae438",
+ "wires": []
+ },
+ {
+ "id": "a182697b.c45e68",
+ "type": "switchNode",
+ "name": "switch onap-model-information.model-customization-uuid",
+ "xml": "<switch test='`$security-zone-topology-operation-input.allotted-resource-information.onap-model-information.model-customization-uuid`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2334.4129180908203,
+ "y": 300.5556230545044,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "d0a4dd20.c4866"
+ ]
+ ]
+ },
+ {
+ "id": "d0a4dd20.c4866",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2628.412826538086,
+ "y": 301.5555639266968,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "c36cc0f.8c7124"
+ ]
+ ]
+ },
+ {
+ "id": "c36cc0f.8c7124",
+ "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=\"security-zone-information.onap-model-information.model-customization-uuid is a required input\" />\n",
+ "comments": "",
+ "x": 2775.841293334961,
+ "y": 301.5555639266968,
+ "z": "893326ee.bae438",
+ "wires": []
+ },
+ {
+ "id": "e80fb296.5b5af",
+ "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": 671.9126892089844,
+ "y": 1161.0555114746094,
+ "z": "893326ee.bae438",
+ "wires": []
+ },
+ {
+ "id": "6c805fc8.58afb",
+ "type": "get-resource",
+ "name": "get-resource AR_MODEL",
+ "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n key='SELECT * from ALLOTTED_RESOURCE_MODEL WHERE customization_uuid = $security-zone-topology-operation-input.allotted-resource-information.onap-model-information.model-customization-uuid'\n pfx='ar-model'>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2236.6076889038086,
+ "y": 522.0873641967773,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "dea250d4.a547c",
+ "a0f786da.b959f8"
+ ]
+ ]
+ },
+ {
+ "id": "d0b05c60.619cc",
+ "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=\"`'No alloted resource model found for model customization UUID ' + $security-zone-topology-operation-input.allotted-resource-information.onap-model-information.model-customization-uuid`\" />\n",
+ "comments": "",
+ "x": 2693.690872192383,
+ "y": 502.75396156311035,
+ "z": "893326ee.bae438",
+ "wires": []
+ },
+ {
+ "id": "dea250d4.a547c",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2494.9409523010254,
+ "y": 498.111177444458,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "d0b05c60.619cc"
+ ]
+ ]
+ },
+ {
+ "id": "a0f786da.b959f8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2488.6909523010254,
+ "y": 530.611177444458,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "d0b05c60.619cc"
+ ]
+ ]
+ },
+ {
+ "id": "3a2f6108.3a98ce",
+ "type": "other",
+ "name": "CreateSecurityZoneInstance",
+ "xml": "<outcome value='CreateSecurityZoneInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1038.6032104492188,
+ "y": 253.17459869384766,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "93d6c176.7fe5a"
+ ]
+ ]
+ },
+ {
+ "id": "d7c95278.f68aa",
+ "type": "other",
+ "name": "DeleteSecurityZoneInstance",
+ "xml": "<outcome value='DeleteSecurityZoneInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1038.8888549804688,
+ "y": 290.6032180786133,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "93d6c176.7fe5a"
+ ]
+ ]
+ },
+ {
+ "id": "c59cbe0b.ae17b",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 981.7936515808105,
+ "y": 371.74609756469727,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "bef0c21f.d802e"
+ ]
+ ]
+ },
+ {
+ "id": "bef0c21f.d802e",
+ "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=\"Invalid request-information.request-action \" />\n",
+ "comments": "",
+ "x": 1153.2220573425293,
+ "y": 372.7461128234863,
+ "z": "893326ee.bae438",
+ "wires": []
+ },
+ {
+ "id": "36ba5c7b.d8e654",
+ "type": "switchNode",
+ "name": "switch service-instance-id",
+ "xml": "<switch test='`$security-zone-topology-operation-input.service-information.service-instance-id`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 739.984130859375,
+ "y": 447.41273498535156,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "d53e7631.c0fea8"
+ ]
+ ]
+ },
+ {
+ "id": "d53e7631.c0fea8",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 956.4127197265625,
+ "y": 448.41273498535156,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "2579090b.0e1e76"
+ ]
+ ]
+ },
+ {
+ "id": "2579090b.0e1e76",
+ "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=\"service-information.service-instance-id is a required input\" />\n",
+ "comments": "",
+ "x": 1114.8412475585938,
+ "y": 447.41273498535156,
+ "z": "893326ee.bae438",
+ "wires": []
+ },
+ {
+ "id": "f0422740.d800b8",
+ "type": "other",
+ "name": "create",
+ "xml": "<outcome value='create'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 913.3332862854004,
+ "y": 660.4629507064819,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "46b3f2f8.0ea61c"
+ ]
+ ]
+ },
+ {
+ "id": "46b3f2f8.0ea61c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1073.9522857666016,
+ "y": 659.8915205001831,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "52a155fb.f8541c"
+ ]
+ ]
+ },
+ {
+ "id": "52a155fb.f8541c",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$security-zone-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1293.9522857666016,
+ "y": 659.8915205001831,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "533f0552.201dac",
+ "7340b4fd.0ee38c"
+ ]
+ ]
+ },
+ {
+ "id": "533f0552.201dac",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1551.285779953003,
+ "y": 663.8915729522705,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "47df574e.a59c98"
+ ]
+ ]
+ },
+ {
+ "id": "47df574e.a59c98",
+ "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 a required to be CreateSecurityZoneInstance for svc-action=create\" />\n",
+ "comments": "",
+ "x": 1716.9522857666016,
+ "y": 663.8915405273438,
+ "z": "893326ee.bae438",
+ "wires": []
+ },
+ {
+ "id": "7340b4fd.0ee38c",
+ "type": "other",
+ "name": "CreateSecurityZoneInstance",
+ "xml": "<outcome value='CreateSecurityZoneInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1623.3332061767578,
+ "y": 628.7962646484375,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "e6d64f7d.65b1e"
+ ]
+ ]
+ },
+ {
+ "id": "e6d64f7d.65b1e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1859.3332061767578,
+ "y": 627.7962646484375,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "c43eb58f.69d438",
+ "fb13eb4d.718288"
+ ]
+ ]
+ },
+ {
+ "id": "12034d41.71a063",
+ "type": "other",
+ "name": "CreateSecurityZoneInstance",
+ "xml": "<outcome value='CreateSecurityZoneInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1608.3332595825195,
+ "y": 762.1296367645264,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "619f5f72.2ac62"
+ ]
+ ]
+ },
+ {
+ "id": "f1ddac97.f2155",
+ "type": "other",
+ "name": "delete",
+ "xml": "<outcome value='delete'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 926.6666564941406,
+ "y": 937.1295366287231,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "d42c764.9db5b88"
+ ]
+ ]
+ },
+ {
+ "id": "d42c764.9db5b88",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1108.6666870117188,
+ "y": 933.1295595169067,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "9fad38e8.eba248"
+ ]
+ ]
+ },
+ {
+ "id": "9fad38e8.eba248",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$security-zone-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1325.6666870117188,
+ "y": 933.1295595169067,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "3f661399.88316c",
+ "fb7e534f.3179a"
+ ]
+ ]
+ },
+ {
+ "id": "3f661399.88316c",
+ "type": "other",
+ "name": "DeleteSecurityZoneInstance",
+ "xml": "<outcome value='DeleteSecurityZoneInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1606.6665573120117,
+ "y": 934.1295766830444,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "18534a5c.e61196"
+ ]
+ ]
+ },
+ {
+ "id": "fb7e534f.3179a",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1549.6666870117188,
+ "y": 974.1295595169067,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "c5006813.200e48"
+ ]
+ ]
+ },
+ {
+ "id": "c5006813.200e48",
+ "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 a required to be DeleteSecurityZoneInstance for svc-action=delete\" />\n",
+ "comments": "",
+ "x": 1718.6666870117188,
+ "y": 974.1295595169067,
+ "z": "893326ee.bae438",
+ "wires": []
+ },
+ {
+ "id": "18534a5c.e61196",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1865.6666870117188,
+ "y": 935.1295595169067,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "c43eb58f.69d438",
+ "fb13eb4d.718288"
+ ]
+ ]
+ },
+ {
+ "id": "93d6c176.7fe5a",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1254.9999656677246,
+ "y": 284.499981880188,
+ "z": "893326ee.bae438",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c43eb58f.69d438",
+ "type": "switchNode",
+ "name": "switch allotted-resource-id",
+ "xml": "<switch test='`$security-zone-topology-operation-input.allotted-resource-information.allotted-resource-id`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2236.349380493164,
+ "y": 148.09522247314453,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "95717a57.0e1fc8"
+ ]
+ ]
+ },
+ {
+ "id": "95717a57.0e1fc8",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2436.8850631713867,
+ "y": 146.66665077209473,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "7ad0865a.9d5808"
+ ]
+ ]
+ },
+ {
+ "id": "7ad0865a.9d5808",
+ "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=\"allotted-resource-information.allotted-resource-id is a required input\" />\n",
+ "comments": "",
+ "x": 2588.3135299682617,
+ "y": 145.66665077209473,
+ "z": "893326ee.bae438",
+ "wires": []
+ },
+ {
+ "id": "474a1931.cb3468",
+ "type": "switchNode",
+ "name": "switch allotted-resource-type",
+ "xml": "<switch test='`$security-zone-topology-operation-input.allotted-resource-information.allotted-resource-type`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2242.7779235839844,
+ "y": 183.29363822937012,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "78aa6b52.fbc154"
+ ]
+ ]
+ },
+ {
+ "id": "78aa6b52.fbc154",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2443.3134689331055,
+ "y": 181.86506843566895,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "d2e8d08f.df20e"
+ ]
+ ]
+ },
+ {
+ "id": "d2e8d08f.df20e",
+ "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=\"allotted-resource-information.allotted-resource-type is a required input\" />\n",
+ "comments": "",
+ "x": 2594.7419357299805,
+ "y": 180.86506843566895,
+ "z": "893326ee.bae438",
+ "wires": []
+ },
+ {
+ "id": "fb13eb4d.718288",
+ "type": "switchNode",
+ "name": "switch parent-service-instance-id",
+ "xml": "<switch test='`$security-zone-topology-operation-input.allotted-resource-information.parent-service-instance-id`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2255.63516998291,
+ "y": 219.0079231262207,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "dec9289b.c35878"
+ ]
+ ]
+ },
+ {
+ "id": "dec9289b.c35878",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2471.349319458008,
+ "y": 216.1507797241211,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "45bd6332.b157fc"
+ ]
+ ]
+ },
+ {
+ "id": "45bd6332.b157fc",
+ "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=\"allotted-resource-information.parent-service-instance-id is a required input\" />\n",
+ "comments": "",
+ "x": 2622.777786254883,
+ "y": 215.1507797241211,
+ "z": "893326ee.bae438",
+ "wires": []
+ },
+ {
+ "id": "beb405ab.4654d8",
+ "type": "switchNode",
+ "name": "switch trusted-network-role",
+ "xml": "<switch test='`$security-zone-topology-operation-input.security-zone-request-input.trusted-network-role`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2231.984031677246,
+ "y": 412.1983833312988,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "20e7c9ab.48a486"
+ ]
+ ]
+ },
+ {
+ "id": "20e7c9ab.48a486",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2494.174690246582,
+ "y": 408.5793528556824,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "a43fc0ee.20e45"
+ ]
+ ]
+ },
+ {
+ "id": "a43fc0ee.20e45",
+ "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=\"security-zone-topology-operation-input.security-zone-request-input.trusted-network-role is a required input\" />\n",
+ "comments": "",
+ "x": 2659.174835205078,
+ "y": 408.57931327819824,
+ "z": "893326ee.bae438",
+ "wires": []
+ },
+ {
+ "id": "9bbcec2b.09769",
+ "type": "switchNode",
+ "name": "switch untrusted-network-role",
+ "xml": "<switch test='`$security-zone-topology-operation-input.security-zone-request-input.untrusted-network-role`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2249.2224464416504,
+ "y": 446.74599266052246,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "d404d9bd.d65288"
+ ]
+ ]
+ },
+ {
+ "id": "d404d9bd.d65288",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2494.22261428833,
+ "y": 446.7459878921509,
+ "z": "893326ee.bae438",
+ "wires": [
+ [
+ "a2180ae0.fe41f8"
+ ]
+ ]
+ },
+ {
+ "id": "a2180ae0.fe41f8",
+ "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=\"security-zone-operation-input.security-zone-request-input.untrusted-network-role is a required input\" />\n",
+ "comments": "",
+ "x": 2660.651081085205,
+ "y": 446.74595737457275,
+ "z": "893326ee.bae438",
+ "wires": []
+ }
+] \ No newline at end of file