aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api
diff options
context:
space:
mode:
authorMarcus G K Williams <marcus.williams@intel.com>2017-11-07 10:21:12 -0800
committerMarcus G K Williams <marcus.williams@intel.com>2017-11-07 14:01:05 -0800
commit8659e08642926e0ebc2313d556e74949ca9668be (patch)
tree4cdc4c354b54d04597db853787c23fdb8715fa8c /platform-logic/generic-resource-api
parent39edb53aa9b16b0175de571111a422087bbe227c (diff)
Fix alloted typo in DGs
Issue-Id: SDNC-175 Change-Id: Ic90f3e0d2e91587557f6d9470b5dbffbbbe4dcf2 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com> Former-commit-id: 6b8eabe5941f4e2433d50c8dd7e4056766daae5e
Diffstat (limited to 'platform-logic/generic-resource-api')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_brg-topology-operation-assign.json2
-rw-r--r--platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-brg-input.json2
-rwxr-xr-xplatform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-contrail-route-input.json2
-rwxr-xr-xplatform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-security-zone-input.json2
-rw-r--r--platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-tunnelxconn-input.json2
-rw-r--r--platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_brg-topology-operation-assign.xml2
-rw-r--r--platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_validate-brg-input.xml4
-rwxr-xr-xplatform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_validate-contrail-route-input.xml6
-rwxr-xr-xplatform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_validate-security-zone-input.xml6
-rw-r--r--platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_validate-tunnelxconn-input.xml4
10 files changed, 16 insertions, 16 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_brg-topology-operation-assign.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_brg-topology-operation-assign.json
index 78a43344..0fa18c02 100644
--- a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_brg-topology-operation-assign.json
+++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_brg-topology-operation-assign.json
@@ -1215,7 +1215,7 @@
"id":"b05fdf22.36f2",
"type":"get-resource",
"name":"get-resource tunnelxconn-allotted-resource",
- "xml":"<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.mdsal.ConfigResource' resource='GENERIC-RESOURCE-API' key='brg-allotted-resources/brg-allotted-resource/$brg-topology-operation-input.alloted-resource-information.allotted-resource-id' pfx='mdsal-ar' >\n",
+ "xml":"<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.mdsal.ConfigResource' resource='GENERIC-RESOURCE-API' key='brg-allotted-resources/brg-allotted-resource/$brg-topology-operation-input.allotted-resource-information.allotted-resource-id/' pfx='mdsal-ar' >\n",
"comments":"",
"outputs":1,
"x":664,
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-brg-input.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-brg-input.json
index fb55882e..ed34e050 100644
--- a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-brg-input.json
+++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-brg-input.json
@@ -1 +1 @@
-[{"id":"4030c923.2b0638","type":"dgstart","name":"DGSTART","outputs":1,"x":153,"y":180.33332061767578,"z":"a36563f1.0ad948","wires":[["232a3784.702ad8"]]},{"id":"232a3784.702ad8","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":251.78570556640625,"y":254.57142448425293,"z":"a36563f1.0ad948","wires":[["c31f4ddf.1134"]]},{"id":"c31f4ddf.1134","type":"method","name":"validate-brg-input","xml":"<method rpc='validate-brg-input' mode='sync'>\n","comments":"","outputs":1,"x":280.6786193847656,"y":325.50001430511475,"z":"a36563f1.0ad948","wires":[["ea01ba8c.352078"]]},{"id":"ea01ba8c.352078","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":322.7500457763672,"y":598.7768154144287,"z":"a36563f1.0ad948","wires":[["453ef264.5585d4","506f96ca.9026e8","8750668f.37f25","ea98aac1.995a4","2b04d10e.4f29de"]]},{"id":"453ef264.5585d4","type":"switchNode","name":"switch svc-request-id","xml":"<switch test='`$brg-topology-operation-input.sdnc-request-header.svc-request-id`'>\n","comments":"","outputs":1,"x":657.8095703125,"y":83.42860126495361,"z":"a36563f1.0ad948","wires":[["9c796d89.458af"]]},{"id":"9c796d89.458af","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":887.5238554818288,"y":81.42859799521284,"z":"a36563f1.0ad948","wires":[["a0bb007c.967d3"]]},{"id":"a0bb007c.967d3","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":1038.9523620605469,"y":78.09526443481445,"z":"a36563f1.0ad948","wires":[]},{"id":"506f96ca.9026e8","type":"switchNode","name":"switch svc-action","xml":"<switch test='`$brg-topology-operation-input.sdnc-request-header.svc-action`'>\n","comments":"","outputs":1,"x":650.3809204101562,"y":37,"z":"a36563f1.0ad948","wires":[["722e018f.fd36e8"]]},{"id":"722e018f.fd36e8","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":886.0952758789062,"y":38.57142353057861,"z":"a36563f1.0ad948","wires":[["ae3db492.dea2"]]},{"id":"ae3db492.dea2","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":1036.0952491760254,"y":38.57143306732178,"z":"a36563f1.0ad948","wires":[]},{"id":"6e12c726.fb47e","type":"comment","name":"validate-brg-input - CHANGELOG","info":"3/22: Initial release 1.0.0","comments":"","x":166,"y":84.33332061767578,"z":"a36563f1.0ad948","wires":[]},{"id":"8750668f.37f25","type":"switchNode","name":"switch svc-action","xml":"<switch test='`$brg-topology-operation-input.sdnc-request-header.svc-action`'>\n","comments":"","outputs":1,"x":562.6666603088379,"y":604.3333568572998,"z":"a36563f1.0ad948","wires":[["75e5a26e.8bbc1c","2139f95e.1444f6","d541942a.c645c","52ed858c.7fc904","c357fd26.93d77","a22f16cf.8b48b8"]]},{"id":"75e5a26e.8bbc1c","type":"other","name":"assign","xml":"<outcome value='assign'>","comments":"","outputs":1,"x":823.7143630981445,"y":439.90478706359863,"z":"a36563f1.0ad948","wires":[["b60b376b.c3b408"]]},{"id":"2139f95e.1444f6","type":"other","name":"activate","xml":"<outcome value='activate'>","comments":"","outputs":1,"x":843.9999694824219,"y":627.3333511352539,"z":"a36563f1.0ad948","wires":[["9d06a845.ab6b78"]]},{"id":"d541942a.c645c","type":"other","name":"deactivate","xml":"<outcome value='deactivate'>","comments":"","outputs":1,"x":850.9999694824219,"y":717.3333511352539,"z":"a36563f1.0ad948","wires":[["55258e57.83aa4"]]},{"id":"52ed858c.7fc904","type":"other","name":"unassign","xml":"<outcome value='unassign'>","comments":"","outputs":1,"x":831.9998321533203,"y":884.6666784286499,"z":"a36563f1.0ad948","wires":[["54954882.a91a7"]]},{"id":"b60b376b.c3b408","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1022.0238189697266,"y":438.05958557128906,"z":"a36563f1.0ad948","wires":[["d4cb145f.3b29d8","dbd0163e.1668b","a74acd1b.b2ef78","1551962.10999ea","be865110.8c5cc8","b7c65dae.5d181","88921e9.f4a5a6","9cdfba09.f3278"]]},{"id":"9d06a845.ab6b78","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1022.2500152587891,"y":627.0833930969238,"z":"a36563f1.0ad948","wires":[["1551962.10999ea","b7c65dae.5d181"]]},{"id":"55258e57.83aa4","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1023.2500305175781,"y":718.3333950042725,"z":"a36563f1.0ad948","wires":[["1551962.10999ea","b7c65dae.5d181"]]},{"id":"54954882.a91a7","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1020.9998931884766,"y":885.166708946228,"z":"a36563f1.0ad948","wires":[["1551962.10999ea"]]},{"id":"d4cb145f.3b29d8","type":"switchNode","name":"switch vgmux-bearer-ip","xml":"<switch test='`$brg-topology-operation-input.brg-request-input.vgmux-bearer-ip`'>\n","comments":"","outputs":1,"x":1437.1190185546875,"y":403.63098907470703,"z":"a36563f1.0ad948","wires":[["41d55853.b58218"]]},{"id":"41d55853.b58218","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1637.118896484375,"y":409.4404983520508,"z":"a36563f1.0ad948","wires":[["f03be371.faa07"]]},{"id":"f03be371.faa07","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=\"brg-topology-operation-input.brg-request-input.vlan-tag is a required input\" />\n","comments":"","x":1846.3095703125,"y":409.4404983520508,"z":"a36563f1.0ad948","wires":[]},{"id":"a74acd1b.b2ef78","type":"switchNode","name":"switch onap-model-information.model-customization-uuid","xml":"<switch test='`$brg-topology-operation-input.allotted-resource-information.onap-model-information.model-customization-uuid`'>\n","comments":"","outputs":1,"x":1543.1073303222656,"y":340.33341789245605,"z":"a36563f1.0ad948","wires":[["8914945b.b27388"]]},{"id":"8914945b.b27388","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1837.1072387695312,"y":341.33335876464844,"z":"a36563f1.0ad948","wires":[["24cd3709.a6567"]]},{"id":"24cd3709.a6567","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=\"brg-information.onap-model-information.model-customization-uuid is a required input\" />\n","comments":"","x":1984.5357055664062,"y":341.33335876464844,"z":"a36563f1.0ad948","wires":[]},{"id":"ea98aac1.995a4","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":589.3571166992188,"y":1025.8332901000977,"z":"a36563f1.0ad948","wires":[]},{"id":"dbd0163e.1668b","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 = $brg-topology-operation-input.allotted-resource-information.onap-model-information.model-customization-uuid'\n pfx='ar-model'>\n\n","comments":"","outputs":1,"x":1415.302146911621,"y":560.6151895523071,"z":"a36563f1.0ad948","wires":[["7a05e016.e5972","cf325cf9.468db"]]},{"id":"1175f74e.db26c9","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 ' + $brg-topology-operation-input.allotted-resource-information.onap-model-information.model-customization-uuid`\" />\n","comments":"","x":1862.3854637145996,"y":548.7817430496216,"z":"a36563f1.0ad948","wires":[]},{"id":"7a05e016.e5972","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1663.6355438232422,"y":544.1389589309692,"z":"a36563f1.0ad948","wires":[["1175f74e.db26c9"]]},{"id":"cf325cf9.468db","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1657.3855438232422,"y":576.6389589309692,"z":"a36563f1.0ad948","wires":[["1175f74e.db26c9"]]},{"id":"2b04d10e.4f29de","type":"switchNode","name":"switch service-instance-id","xml":"<switch test='`$brg-topology-operation-input.service-information.service-instance-id`'>\n","comments":"","outputs":1,"x":657.4285583496094,"y":312.19051361083984,"z":"a36563f1.0ad948","wires":[["d7d48977.6d4e9"]]},{"id":"d7d48977.6d4e9","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":873.8571472167969,"y":313.19051361083984,"z":"a36563f1.0ad948","wires":[["36ec22d8.8e53ae"]]},{"id":"36ec22d8.8e53ae","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":1032.2856750488281,"y":312.19051361083984,"z":"a36563f1.0ad948","wires":[]},{"id":"c357fd26.93d77","type":"other","name":"create","xml":"<outcome value='create'>","comments":"","outputs":1,"x":830.7777137756348,"y":525.2407293319702,"z":"a36563f1.0ad948","wires":[["f1c69f47.9fcb8"]]},{"id":"f1c69f47.9fcb8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1023.0276031494141,"y":521.324052810669,"z":"a36563f1.0ad948","wires":[["1551962.10999ea","b7c65dae.5d181"]]},{"id":"a22f16cf.8b48b8","type":"other","name":"delete","xml":"<outcome value='delete'>","comments":"","outputs":1,"x":844.111083984375,"y":801.9073152542114,"z":"a36563f1.0ad948","wires":[["14f5b4d9.a09003"]]},{"id":"14f5b4d9.a09003","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1020.6111068725586,"y":799.9073696136475,"z":"a36563f1.0ad948","wires":[["1551962.10999ea","b7c65dae.5d181"]]},{"id":"1551962.10999ea","type":"switchNode","name":"switch allotted-resource-id","xml":"<switch test='`$brg-topology-operation-input.allotted-resource-information.allotted-resource-id`'>\n","comments":"","outputs":1,"x":1511.2938537597656,"y":90.3729977607727,"z":"a36563f1.0ad948","wires":[["7f78afde.e28488"]]},{"id":"7f78afde.e28488","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1714.3296146392822,"y":95.19443893432617,"z":"a36563f1.0ad948","wires":[["cdbb13f3.95273"]]},{"id":"cdbb13f3.95273","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":1899.5080833435059,"y":90.44443893432617,"z":"a36563f1.0ad948","wires":[]},{"id":"be865110.8c5cc8","type":"switchNode","name":"switch allotted-resource-type","xml":"<switch test='`$brg-topology-operation-input.allotted-resource-information.allotted-resource-type`'>\n","comments":"","outputs":1,"x":1515.2224349975586,"y":159.3214235305786,"z":"a36563f1.0ad948","wires":[["f26f80f5.97af78"]]},{"id":"f26f80f5.97af78","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1710.7578468322754,"y":159.14284706115723,"z":"a36563f1.0ad948","wires":[["abe4d8bb.62f5e"]]},{"id":"abe4d8bb.62f5e","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":1870.9363174438477,"y":158.14284706115723,"z":"a36563f1.0ad948","wires":[]},{"id":"b7c65dae.5d181","type":"switchNode","name":"switch parent-service-instance-id","xml":"<switch test='`$brg-topology-operation-input.allotted-resource-information.parent-service-instance-id`'>\n","comments":"","outputs":1,"x":1530.5796127319336,"y":235.03571891784668,"z":"a36563f1.0ad948","wires":[["189a38c5.265dbf"]]},{"id":"189a38c5.265dbf","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1750.0437355041504,"y":234.67856884002686,"z":"a36563f1.0ad948","wires":[["3a46fa48.f2f996"]]},{"id":"3a46fa48.f2f996","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":1901.4722023010254,"y":233.67856884002686,"z":"a36563f1.0ad948","wires":[]},{"id":"88921e9.f4a5a6","type":"switchNode","name":"switch vni","xml":"<switch test='`$brg-topology-operation-input.brg-request-input.vni`'>\n","comments":"","outputs":1,"x":1396,"y":444.3333206176758,"z":"a36563f1.0ad948","wires":[["b400611b.066288"]]},{"id":"b400611b.066288","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1635.9998779296875,"y":453.1428909301758,"z":"a36563f1.0ad948","wires":[["f6806455.7a1aa"]]},{"id":"f6806455.7a1aa","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=\"brg-topology-operation-input.brg-request-input.vlan-tag is a required input\" />\n","comments":"","x":1856.1905517578125,"y":451.14282989501953,"z":"a36563f1.0ad948","wires":[]},{"id":"9cdfba09.f3278","type":"switchNode","name":"switch brg-wan-ip-address ","xml":"<switch test='`$brg-topology-operation-input.brg-request-input.brg-wan-mac-address `'>\n","comments":"","outputs":1,"x":1444,"y":497.3333206176758,"z":"a36563f1.0ad948","wires":[["ad175cf7.05b3"]]},{"id":"ad175cf7.05b3","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1651.9998779296875,"y":497.14286041259766,"z":"a36563f1.0ad948","wires":[["5f364de9.8a5f74"]]},{"id":"5f364de9.8a5f74","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=\"brg-topology-operation-input.brg-request-input.vlan-tag is a required input\" />\n","comments":"","x":1867.1905517578125,"y":493.14282989501953,"z":"a36563f1.0ad948","wires":[]}] \ No newline at end of file
+[{"id":"4030c923.2b0638","type":"dgstart","name":"DGSTART","outputs":1,"x":153,"y":180.33332061767578,"z":"a36563f1.0ad948","wires":[["232a3784.702ad8"]]},{"id":"232a3784.702ad8","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":251.78570556640625,"y":254.57142448425293,"z":"a36563f1.0ad948","wires":[["c31f4ddf.1134"]]},{"id":"c31f4ddf.1134","type":"method","name":"validate-brg-input","xml":"<method rpc='validate-brg-input' mode='sync'>\n","comments":"","outputs":1,"x":280.6786193847656,"y":325.50001430511475,"z":"a36563f1.0ad948","wires":[["ea01ba8c.352078"]]},{"id":"ea01ba8c.352078","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":322.7500457763672,"y":598.7768154144287,"z":"a36563f1.0ad948","wires":[["453ef264.5585d4","506f96ca.9026e8","8750668f.37f25","ea98aac1.995a4","2b04d10e.4f29de"]]},{"id":"453ef264.5585d4","type":"switchNode","name":"switch svc-request-id","xml":"<switch test='`$brg-topology-operation-input.sdnc-request-header.svc-request-id`'>\n","comments":"","outputs":1,"x":657.8095703125,"y":83.42860126495361,"z":"a36563f1.0ad948","wires":[["9c796d89.458af"]]},{"id":"9c796d89.458af","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":887.5238554818288,"y":81.42859799521284,"z":"a36563f1.0ad948","wires":[["a0bb007c.967d3"]]},{"id":"a0bb007c.967d3","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":1038.9523620605469,"y":78.09526443481445,"z":"a36563f1.0ad948","wires":[]},{"id":"506f96ca.9026e8","type":"switchNode","name":"switch svc-action","xml":"<switch test='`$brg-topology-operation-input.sdnc-request-header.svc-action`'>\n","comments":"","outputs":1,"x":650.3809204101562,"y":37,"z":"a36563f1.0ad948","wires":[["722e018f.fd36e8"]]},{"id":"722e018f.fd36e8","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":886.0952758789062,"y":38.57142353057861,"z":"a36563f1.0ad948","wires":[["ae3db492.dea2"]]},{"id":"ae3db492.dea2","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":1036.0952491760254,"y":38.57143306732178,"z":"a36563f1.0ad948","wires":[]},{"id":"6e12c726.fb47e","type":"comment","name":"validate-brg-input - CHANGELOG","info":"3/22: Initial release 1.0.0","comments":"","x":166,"y":84.33332061767578,"z":"a36563f1.0ad948","wires":[]},{"id":"8750668f.37f25","type":"switchNode","name":"switch svc-action","xml":"<switch test='`$brg-topology-operation-input.sdnc-request-header.svc-action`'>\n","comments":"","outputs":1,"x":562.6666603088379,"y":604.3333568572998,"z":"a36563f1.0ad948","wires":[["75e5a26e.8bbc1c","2139f95e.1444f6","d541942a.c645c","52ed858c.7fc904","c357fd26.93d77","a22f16cf.8b48b8"]]},{"id":"75e5a26e.8bbc1c","type":"other","name":"assign","xml":"<outcome value='assign'>","comments":"","outputs":1,"x":823.7143630981445,"y":439.90478706359863,"z":"a36563f1.0ad948","wires":[["b60b376b.c3b408"]]},{"id":"2139f95e.1444f6","type":"other","name":"activate","xml":"<outcome value='activate'>","comments":"","outputs":1,"x":843.9999694824219,"y":627.3333511352539,"z":"a36563f1.0ad948","wires":[["9d06a845.ab6b78"]]},{"id":"d541942a.c645c","type":"other","name":"deactivate","xml":"<outcome value='deactivate'>","comments":"","outputs":1,"x":850.9999694824219,"y":717.3333511352539,"z":"a36563f1.0ad948","wires":[["55258e57.83aa4"]]},{"id":"52ed858c.7fc904","type":"other","name":"unassign","xml":"<outcome value='unassign'>","comments":"","outputs":1,"x":831.9998321533203,"y":884.6666784286499,"z":"a36563f1.0ad948","wires":[["54954882.a91a7"]]},{"id":"b60b376b.c3b408","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1022.0238189697266,"y":438.05958557128906,"z":"a36563f1.0ad948","wires":[["d4cb145f.3b29d8","dbd0163e.1668b","a74acd1b.b2ef78","1551962.10999ea","be865110.8c5cc8","b7c65dae.5d181","88921e9.f4a5a6","9cdfba09.f3278"]]},{"id":"9d06a845.ab6b78","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1022.2500152587891,"y":627.0833930969238,"z":"a36563f1.0ad948","wires":[["1551962.10999ea","b7c65dae.5d181"]]},{"id":"55258e57.83aa4","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1023.2500305175781,"y":718.3333950042725,"z":"a36563f1.0ad948","wires":[["1551962.10999ea","b7c65dae.5d181"]]},{"id":"54954882.a91a7","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1020.9998931884766,"y":885.166708946228,"z":"a36563f1.0ad948","wires":[["1551962.10999ea"]]},{"id":"d4cb145f.3b29d8","type":"switchNode","name":"switch vgmux-bearer-ip","xml":"<switch test='`$brg-topology-operation-input.brg-request-input.vgmux-bearer-ip`'>\n","comments":"","outputs":1,"x":1437.1190185546875,"y":403.63098907470703,"z":"a36563f1.0ad948","wires":[["41d55853.b58218"]]},{"id":"41d55853.b58218","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1637.118896484375,"y":409.4404983520508,"z":"a36563f1.0ad948","wires":[["f03be371.faa07"]]},{"id":"f03be371.faa07","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=\"brg-topology-operation-input.brg-request-input.vlan-tag is a required input\" />\n","comments":"","x":1846.3095703125,"y":409.4404983520508,"z":"a36563f1.0ad948","wires":[]},{"id":"a74acd1b.b2ef78","type":"switchNode","name":"switch onap-model-information.model-customization-uuid","xml":"<switch test='`$brg-topology-operation-input.allotted-resource-information.onap-model-information.model-customization-uuid`'>\n","comments":"","outputs":1,"x":1543.1073303222656,"y":340.33341789245605,"z":"a36563f1.0ad948","wires":[["8914945b.b27388"]]},{"id":"8914945b.b27388","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1837.1072387695312,"y":341.33335876464844,"z":"a36563f1.0ad948","wires":[["24cd3709.a6567"]]},{"id":"24cd3709.a6567","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=\"brg-information.onap-model-information.model-customization-uuid is a required input\" />\n","comments":"","x":1984.5357055664062,"y":341.33335876464844,"z":"a36563f1.0ad948","wires":[]},{"id":"ea98aac1.995a4","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":589.3571166992188,"y":1025.8332901000977,"z":"a36563f1.0ad948","wires":[]},{"id":"dbd0163e.1668b","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 = $brg-topology-operation-input.allotted-resource-information.onap-model-information.model-customization-uuid'\n pfx='ar-model'>\n\n","comments":"","outputs":1,"x":1415.302146911621,"y":560.6151895523071,"z":"a36563f1.0ad948","wires":[["7a05e016.e5972","cf325cf9.468db"]]},{"id":"1175f74e.db26c9","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 ' + $brg-topology-operation-input.allotted-resource-information.onap-model-information.model-customization-uuid`\" />\n","comments":"","x":1862.3854637145996,"y":548.7817430496216,"z":"a36563f1.0ad948","wires":[]},{"id":"7a05e016.e5972","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1663.6355438232422,"y":544.1389589309692,"z":"a36563f1.0ad948","wires":[["1175f74e.db26c9"]]},{"id":"cf325cf9.468db","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1657.3855438232422,"y":576.6389589309692,"z":"a36563f1.0ad948","wires":[["1175f74e.db26c9"]]},{"id":"2b04d10e.4f29de","type":"switchNode","name":"switch service-instance-id","xml":"<switch test='`$brg-topology-operation-input.service-information.service-instance-id`'>\n","comments":"","outputs":1,"x":657.4285583496094,"y":312.19051361083984,"z":"a36563f1.0ad948","wires":[["d7d48977.6d4e9"]]},{"id":"d7d48977.6d4e9","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":873.8571472167969,"y":313.19051361083984,"z":"a36563f1.0ad948","wires":[["36ec22d8.8e53ae"]]},{"id":"36ec22d8.8e53ae","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":1032.2856750488281,"y":312.19051361083984,"z":"a36563f1.0ad948","wires":[]},{"id":"c357fd26.93d77","type":"other","name":"create","xml":"<outcome value='create'>","comments":"","outputs":1,"x":830.7777137756348,"y":525.2407293319702,"z":"a36563f1.0ad948","wires":[["f1c69f47.9fcb8"]]},{"id":"f1c69f47.9fcb8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1023.0276031494141,"y":521.324052810669,"z":"a36563f1.0ad948","wires":[["1551962.10999ea","b7c65dae.5d181"]]},{"id":"a22f16cf.8b48b8","type":"other","name":"delete","xml":"<outcome value='delete'>","comments":"","outputs":1,"x":844.111083984375,"y":801.9073152542114,"z":"a36563f1.0ad948","wires":[["14f5b4d9.a09003"]]},{"id":"14f5b4d9.a09003","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1020.6111068725586,"y":799.9073696136475,"z":"a36563f1.0ad948","wires":[["1551962.10999ea","b7c65dae.5d181"]]},{"id":"1551962.10999ea","type":"switchNode","name":"switch allotted-resource-id","xml":"<switch test='`$brg-topology-operation-input.allotted-resource-information.allotted-resource-id`'>\n","comments":"","outputs":1,"x":1511.2938537597656,"y":90.3729977607727,"z":"a36563f1.0ad948","wires":[["7f78afde.e28488"]]},{"id":"7f78afde.e28488","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1714.3296146392822,"y":95.19443893432617,"z":"a36563f1.0ad948","wires":[["cdbb13f3.95273"]]},{"id":"cdbb13f3.95273","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":1899.5080833435059,"y":90.44443893432617,"z":"a36563f1.0ad948","wires":[]},{"id":"be865110.8c5cc8","type":"switchNode","name":"switch allotted-resource-type","xml":"<switch test='`$brg-topology-operation-input.allotted-resource-information.allotted-resource-type`'>\n","comments":"","outputs":1,"x":1515.2224349975586,"y":159.3214235305786,"z":"a36563f1.0ad948","wires":[["f26f80f5.97af78"]]},{"id":"f26f80f5.97af78","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1710.7578468322754,"y":159.14284706115723,"z":"a36563f1.0ad948","wires":[["abe4d8bb.62f5e"]]},{"id":"abe4d8bb.62f5e","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":1870.9363174438477,"y":158.14284706115723,"z":"a36563f1.0ad948","wires":[]},{"id":"b7c65dae.5d181","type":"switchNode","name":"switch parent-service-instance-id","xml":"<switch test='`$brg-topology-operation-input.allotted-resource-information.parent-service-instance-id`'>\n","comments":"","outputs":1,"x":1530.5796127319336,"y":235.03571891784668,"z":"a36563f1.0ad948","wires":[["189a38c5.265dbf"]]},{"id":"189a38c5.265dbf","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1750.0437355041504,"y":234.67856884002686,"z":"a36563f1.0ad948","wires":[["3a46fa48.f2f996"]]},{"id":"3a46fa48.f2f996","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":1901.4722023010254,"y":233.67856884002686,"z":"a36563f1.0ad948","wires":[]},{"id":"88921e9.f4a5a6","type":"switchNode","name":"switch vni","xml":"<switch test='`$brg-topology-operation-input.brg-request-input.vni`'>\n","comments":"","outputs":1,"x":1396,"y":444.3333206176758,"z":"a36563f1.0ad948","wires":[["b400611b.066288"]]},{"id":"b400611b.066288","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1635.9998779296875,"y":453.1428909301758,"z":"a36563f1.0ad948","wires":[["f6806455.7a1aa"]]},{"id":"f6806455.7a1aa","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=\"brg-topology-operation-input.brg-request-input.vlan-tag is a required input\" />\n","comments":"","x":1856.1905517578125,"y":451.14282989501953,"z":"a36563f1.0ad948","wires":[]},{"id":"9cdfba09.f3278","type":"switchNode","name":"switch brg-wan-ip-address ","xml":"<switch test='`$brg-topology-operation-input.brg-request-input.brg-wan-mac-address `'>\n","comments":"","outputs":1,"x":1444,"y":497.3333206176758,"z":"a36563f1.0ad948","wires":[["ad175cf7.05b3"]]},{"id":"ad175cf7.05b3","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1651.9998779296875,"y":497.14286041259766,"z":"a36563f1.0ad948","wires":[["5f364de9.8a5f74"]]},{"id":"5f364de9.8a5f74","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=\"brg-topology-operation-input.brg-request-input.vlan-tag is a required input\" />\n","comments":"","x":1867.1905517578125,"y":493.14282989501953,"z":"a36563f1.0ad948","wires":[]}] \ No newline at end of file
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-contrail-route-input.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-contrail-route-input.json
index 51041eaa..5e78dbcc 100755
--- a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-contrail-route-input.json
+++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-contrail-route-input.json
@@ -1 +1 @@
-[{"id":"35266b9e.c1cf04","type":"dgstart","name":"DGSTART","outputs":1,"x":202.7777862548828,"y":205.27777099609375,"z":"b42bbd9e.9cab","wires":[["d8231d59.d0416"]]},{"id":"d8231d59.d0416","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":359.06349182128906,"y":279.51588439941406,"z":"b42bbd9e.9cab","wires":[["3b37cf29.2770b"]]},{"id":"3b37cf29.2770b","type":"method","name":"validate-contrail-route-input","xml":"<method rpc='validate-contrail-route-input' mode='sync'>\n","comments":"","outputs":1,"x":359.20641326904297,"y":341.27777099609375,"z":"b42bbd9e.9cab","wires":[["bb11dc2e.ba771"]]},{"id":"bb11dc2e.ba771","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":372.52783203125,"y":623.7212657928467,"z":"b42bbd9e.9cab","wires":[["aa4b4f9b.d66d5","a357d6d0.d1e828","d43473e3.39bf6","43b27b77.234ba4","dbabb342.08cce","c28b8276.ad796"]]},{"id":"aa4b4f9b.d66d5","type":"switchNode","name":"switch svc-request-id","xml":"<switch test='`$contrail-route-topology-operation-input.sdnc-request-header.svc-request-id`'>\n","comments":"","outputs":1,"x":707.5873565673828,"y":108.37305164337158,"z":"b42bbd9e.9cab","wires":[["3094a18d.2341ce"]]},{"id":"3094a18d.2341ce","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":937.3016417367116,"y":106.37304837363081,"z":"b42bbd9e.9cab","wires":[["3d7d8e8e.e7a2e2"]]},{"id":"3d7d8e8e.e7a2e2","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":1088.7302077157156,"y":106.37304646628218,"z":"b42bbd9e.9cab","wires":[]},{"id":"a357d6d0.d1e828","type":"switchNode","name":"switch svc-action","xml":"<switch test='`$contrail-route-topology-operation-input.sdnc-request-header.svc-action`'>\n","comments":"","outputs":1,"x":700.1586990356445,"y":64.94446277618408,"z":"b42bbd9e.9cab","wires":[["aa49fe92.cd19a"]]},{"id":"aa49fe92.cd19a","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":935.8730621337891,"y":63.51587390899658,"z":"b42bbd9e.9cab","wires":[["8fc24fab.a40e7"]]},{"id":"8fc24fab.a40e7","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":1085.8730354309082,"y":63.515883445739746,"z":"b42bbd9e.9cab","wires":[]},{"id":"d43473e3.39bf6","type":"switchNode","name":"switch request-action","xml":"<switch test='`$contrail-route-topology-operation-input.request-information.request-action`'>\n","comments":"","outputs":1,"x":710.1587524414062,"y":157.23019981384277,"z":"b42bbd9e.9cab","wires":[["57e78919.ef0688","f69fee2.01a8c1","63c630c0.7b3d4","b809f5ff.bb3ad8"]]},{"id":"57e78919.ef0688","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":941.8730659484863,"y":256.08739280700684,"z":"b42bbd9e.9cab","wires":[["ca244a95.514758"]]},{"id":"ca244a95.514758","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":1113.3015060424805,"y":256.0873918533325,"z":"b42bbd9e.9cab","wires":[]},{"id":"89209f0f.b42ea","type":"comment","name":"validate-alloted-resource-input - CHANGELOG","info":"3/22: Initial release 2.0.0","comments":"","x":215.7777862548828,"y":109.27777099609375,"z":"b42bbd9e.9cab","wires":[]},{"id":"43b27b77.234ba4","type":"switchNode","name":"switch svc-action","xml":"<switch test='`$contrail-route-topology-operation-input.sdnc-request-header.svc-action`'>\n","comments":"","outputs":1,"x":604.1111145019531,"y":625.944411277771,"z":"b42bbd9e.9cab","wires":[["b241564a.80dee8","13332075.a90e5","5c11ee06.80d44","e1547517.5bdd98","4c19740c.db392c","897a0281.ce1ee"]]},{"id":"b241564a.80dee8","type":"other","name":"assign","xml":"<outcome value='assign'>","comments":"","outputs":1,"x":873.4921493530273,"y":464.8492374420166,"z":"b42bbd9e.9cab","wires":[["167db0e.a9d9b4f"]]},{"id":"13332075.a90e5","type":"other","name":"activate","xml":"<outcome value='activate'>","comments":"","outputs":1,"x":893.7777557373047,"y":652.2778015136719,"z":"b42bbd9e.9cab","wires":[["fa98c4a3.48c008"]]},{"id":"5c11ee06.80d44","type":"other","name":"deactivate","xml":"<outcome value='deactivate'>","comments":"","outputs":1,"x":900.7777557373047,"y":742.2778015136719,"z":"b42bbd9e.9cab","wires":[["e8ed620e.34218"]]},{"id":"167db0e.a9d9b4f","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1030.7777862548828,"y":467.6111469268799,"z":"b42bbd9e.9cab","wires":[["9230ea14.806408"]]},{"id":"9230ea14.806408","type":"switchNode","name":"switch request-action","xml":"<switch test='`$contrail-route-topology-operation-input.request-information.request-action`'>\n","comments":"","outputs":1,"x":1237.4444198608398,"y":467.6111354827881,"z":"b42bbd9e.9cab","wires":[["61434823.60b248","2f5e13cc.428ddc"]]},{"id":"61434823.60b248","type":"other","name":"CreateContrailRouteInstance","xml":"<outcome value='CreateContrailRouteInstance'>","comments":"","outputs":1,"x":1585.3015899658203,"y":394.7540102005005,"z":"b42bbd9e.9cab","wires":[["10dadd6a.d1a0d3"]]},{"id":"2f5e13cc.428ddc","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1524.7777671813965,"y":461.6111640930176,"z":"b42bbd9e.9cab","wires":[["d7368e17.11a7b"]]},{"id":"d7368e17.11a7b","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 CreateContrailRouteInstance for svc-action=assign\" />\n","comments":"","x":1672.1111106872559,"y":461.6111831665039,"z":"b42bbd9e.9cab","wires":[]},{"id":"fa98c4a3.48c008","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1067.7777557373047,"y":652.2778015136719,"z":"b42bbd9e.9cab","wires":[["39112fa6.850cd"]]},{"id":"39112fa6.850cd","type":"switchNode","name":"switch request-action","xml":"<switch test='`$contrail-route-topology-operation-input.request-information.request-action`'>\n","comments":"","outputs":1,"x":1284.7777557373047,"y":652.2778015136719,"z":"b42bbd9e.9cab","wires":[["a46c6029.9eecb","80369920.1e1528"]]},{"id":"a46c6029.9eecb","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1508.7777557373047,"y":693.2778015136719,"z":"b42bbd9e.9cab","wires":[["87417d62.3c22"]]},{"id":"87417d62.3c22","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 CreateContrailRouteInstance for svc-action=activate\" />\n","comments":"","x":1677.7777557373047,"y":693.2778015136719,"z":"b42bbd9e.9cab","wires":[]},{"id":"e8ed620e.34218","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1082.7777557373047,"y":741.2778015136719,"z":"b42bbd9e.9cab","wires":[["7f72c3c8.8a71dc"]]},{"id":"7f72c3c8.8a71dc","type":"switchNode","name":"switch request-action","xml":"<switch test='`$contrail-route-topology-operation-input.request-information.request-action`'>\n","comments":"","outputs":1,"x":1299.7777557373047,"y":741.2778015136719,"z":"b42bbd9e.9cab","wires":[["96b39e05.6b30d","baf7a6c3.22b2b8"]]},{"id":"96b39e05.6b30d","type":"other","name":"DeleteContrailRouteInstance","xml":"<outcome value='DeleteContrailRouteInstance'>","comments":"","outputs":1,"x":1582.4442901611328,"y":740.6111879348755,"z":"b42bbd9e.9cab","wires":[["89e918a.16dc8e8"]]},{"id":"baf7a6c3.22b2b8","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1523.7777557373047,"y":782.2778015136719,"z":"b42bbd9e.9cab","wires":[["e25c9a86.2130e8"]]},{"id":"e25c9a86.2130e8","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 DeleteContrailRouteInstance for svc-action=deactivate\" />\n","comments":"","x":1692.7777557373047,"y":782.2778015136719,"z":"b42bbd9e.9cab","wires":[]},{"id":"e1547517.5bdd98","type":"other","name":"unassign","xml":"<outcome value='unassign'>","comments":"","outputs":1,"x":881.7776184082031,"y":909.6111288070679,"z":"b42bbd9e.9cab","wires":[["25d3342e.bf055c"]]},{"id":"25d3342e.bf055c","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1063.7776489257812,"y":905.6111516952515,"z":"b42bbd9e.9cab","wires":[["4096d7e5.754058"]]},{"id":"4096d7e5.754058","type":"switchNode","name":"switch request-action","xml":"<switch test='`$contrail-route-topology-operation-input.request-information.request-action`'>\n","comments":"","outputs":1,"x":1280.7776489257812,"y":905.6111516952515,"z":"b42bbd9e.9cab","wires":[["7977bc3b.695434","4cf8061.e28dff8"]]},{"id":"7977bc3b.695434","type":"other","name":"DeleteContrailRouteInstance","xml":"<outcome value='DeleteContrailRouteInstance'>","comments":"","outputs":1,"x":1561.7775192260742,"y":906.6111688613892,"z":"b42bbd9e.9cab","wires":[["a46d071e.eae668"]]},{"id":"4cf8061.e28dff8","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1504.7776489257812,"y":946.6111516952515,"z":"b42bbd9e.9cab","wires":[["ebab16c5.c33a78"]]},{"id":"ebab16c5.c33a78","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 DeleteContrailRouteInstance for svc-action=unassign\" />\n","comments":"","x":1673.7776489257812,"y":946.6111516952515,"z":"b42bbd9e.9cab","wires":[]},{"id":"10dadd6a.d1a0d3","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1831.3015403747559,"y":393.7539978027344,"z":"b42bbd9e.9cab","wires":[["8353a7c2.7d6ba8","3697eb9e.353964","4b1f2e92.74dfd","d06491a2.0b602","344f0df1.0efab2","6b07cbd7.0e7d04","e5f84df2.f1e94","2032eb88.550194","aa2cdb28.13b088"]]},{"id":"d15b9d66.afba","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1790.7777557373047,"y":653.2778015136719,"z":"b42bbd9e.9cab","wires":[["d06491a2.0b602","6b07cbd7.0e7d04"]]},{"id":"89e918a.16dc8e8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1836.7777557373047,"y":743.2778015136719,"z":"b42bbd9e.9cab","wires":[["d06491a2.0b602","6b07cbd7.0e7d04"]]},{"id":"a46d071e.eae668","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1820.7776489257812,"y":907.6111516952515,"z":"b42bbd9e.9cab","wires":[["d06491a2.0b602"]]},{"id":"8353a7c2.7d6ba8","type":"switchNode","name":"switch source-network.network-id","xml":"<switch test='`$contrail-route-topology-operation-input.contrail-route-request-input.source-network.network-id`'>\n","comments":"","outputs":1,"x":2229.063278198242,"y":263.9920644760132,"z":"b42bbd9e.9cab","wires":[["aa3ce30.606892"]]},{"id":"aa3ce30.606892","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2455.063335418701,"y":262.1349468231201,"z":"b42bbd9e.9cab","wires":[["d5826697.16cc88"]]},{"id":"d5826697.16cc88","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=\"contrail-route-topology-operation-input.contrail-route-request-input.source-network.network-id is a required input\" />\n","comments":"","x":2622.9203872680664,"y":262.1349210739136,"z":"b42bbd9e.9cab","wires":[]},{"id":"4b1f2e92.74dfd","type":"switchNode","name":"switch onap-model-information.model-customization-uuid","xml":"<switch test='`$contrail-route-topology-operation-input.allotted-resource-information.onap-model-information.model-customization-uuid`'>\n","comments":"","outputs":1,"x":2301.6351318359375,"y":190.27785205841064,"z":"b42bbd9e.9cab","wires":[["d1cbbe07.cc9e3"]]},{"id":"d1cbbe07.cc9e3","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2595.635040283203,"y":191.27779293060303,"z":"b42bbd9e.9cab","wires":[["5ffa0f1.a317af"]]},{"id":"5ffa0f1.a317af","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=\"contrail-route-information.onap-model-information.model-customization-uuid is a required input\" />\n","comments":"","x":2743.063507080078,"y":191.27779293060303,"z":"b42bbd9e.9cab","wires":[]},{"id":"dbabb342.08cce","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":666.2777404785156,"y":1056.7777633666992,"z":"b42bbd9e.9cab","wires":[]},{"id":"93757aef.15f468","type":"comment","name":"validate service-information.onap-model-information.model0uuid is in service table","info":"","comments":"","x":2369.496368408203,"y":484.91669940948486,"z":"b42bbd9e.9cab","wires":[]},{"id":"3697eb9e.353964","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 = $contrail-route-topology-operation-input.allotted-resource-information.onap-model-information.model-customization-uuid'\n pfx='ar-model'>\n\n","comments":"","outputs":1,"x":2202.413101196289,"y":527.6428871154785,"z":"b42bbd9e.9cab","wires":[["81c17c72.98f07","5ee9c459.84ea3c"]]},{"id":"fe930095.bdfb1","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 ' + $contrail-route-topology-operation-input.allotted-resource-information.onap-model-information.model-customization-uuid`\" />\n","comments":"","x":2659.4962844848633,"y":508.3094844818115,"z":"b42bbd9e.9cab","wires":[]},{"id":"81c17c72.98f07","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":2460.746364593506,"y":503.6667003631592,"z":"b42bbd9e.9cab","wires":[["fe930095.bdfb1"]]},{"id":"5ee9c459.84ea3c","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":2454.496364593506,"y":536.1667003631592,"z":"b42bbd9e.9cab","wires":[["fe930095.bdfb1"]]},{"id":"f69fee2.01a8c1","type":"other","name":"CreateContrailRouteInstance","xml":"<outcome value='CreateContrailRouteInstance'>","comments":"","outputs":1,"x":1005.8254241943359,"y":142.8968276977539,"z":"b42bbd9e.9cab","wires":[["f0bb52f0.17e47"]]},{"id":"63c630c0.7b3d4","type":"other","name":"DeleteContrailRouteInstance","xml":"<outcome value='DeleteContrailRouteInstance'>","comments":"","outputs":1,"x":1006.1110687255859,"y":180.32544708251953,"z":"b42bbd9e.9cab","wires":[["f0bb52f0.17e47"]]},{"id":"b809f5ff.bb3ad8","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":945.6825752258301,"y":296.468297958374,"z":"b42bbd9e.9cab","wires":[["30198bb7.e55ef4"]]},{"id":"30198bb7.e55ef4","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":1117.1109809875488,"y":297.4683132171631,"z":"b42bbd9e.9cab","wires":[]},{"id":"c28b8276.ad796","type":"switchNode","name":"switch service-instance-id","xml":"<switch test='`$contrail-route-topology-operation-input.service-information.service-instance-id`'>\n","comments":"","outputs":1,"x":707.2063446044922,"y":337.1349639892578,"z":"b42bbd9e.9cab","wires":[["9b3d73ec.0eef6"]]},{"id":"9b3d73ec.0eef6","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":923.6349334716797,"y":338.1349639892578,"z":"b42bbd9e.9cab","wires":[["64812692.977708"]]},{"id":"64812692.977708","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":1082.063461303711,"y":337.1349639892578,"z":"b42bbd9e.9cab","wires":[]},{"id":"4c19740c.db392c","type":"other","name":"create","xml":"<outcome value='create'>","comments":"","outputs":1,"x":880.5555000305176,"y":550.1851797103882,"z":"b42bbd9e.9cab","wires":[["81ff7e79.12005"]]},{"id":"81ff7e79.12005","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1041.1744995117188,"y":549.6137495040894,"z":"b42bbd9e.9cab","wires":[["87874560.8aa258"]]},{"id":"87874560.8aa258","type":"switchNode","name":"switch request-action","xml":"<switch test='`$contrail-route-topology-operation-input.request-information.request-action`'>\n","comments":"","outputs":1,"x":1261.1744995117188,"y":549.6137495040894,"z":"b42bbd9e.9cab","wires":[["90eb84df.b09858","c5d024ea.750c08"]]},{"id":"90eb84df.b09858","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1518.5079936981201,"y":553.6138019561768,"z":"b42bbd9e.9cab","wires":[["cddf826d.b9fc1"]]},{"id":"cddf826d.b9fc1","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 CreateNetworkInstance for svc-action=create\" />\n","comments":"","x":1684.1744995117188,"y":553.61376953125,"z":"b42bbd9e.9cab","wires":[]},{"id":"c5d024ea.750c08","type":"other","name":"CreateContrailRouteInstance","xml":"<outcome value='CreateContrailRouteInstance'>","comments":"","outputs":1,"x":1590.555419921875,"y":518.5184936523438,"z":"b42bbd9e.9cab","wires":[["b77bfd7b.7219"]]},{"id":"b77bfd7b.7219","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1826.555419921875,"y":517.5184936523438,"z":"b42bbd9e.9cab","wires":[["d06491a2.0b602","6b07cbd7.0e7d04"]]},{"id":"80369920.1e1528","type":"other","name":"CreateContrailRouteInstance","xml":"<outcome value='CreateContrailRouteInstance'>","comments":"","outputs":1,"x":1575.555419921875,"y":653.5184936523438,"z":"b42bbd9e.9cab","wires":[["d15b9d66.afba"]]},{"id":"897a0281.ce1ee","type":"other","name":"delete","xml":"<outcome value='delete'>","comments":"","outputs":1,"x":893.8888702392578,"y":826.8517656326294,"z":"b42bbd9e.9cab","wires":[["f3f463d2.77152"]]},{"id":"f3f463d2.77152","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1075.888900756836,"y":822.851788520813,"z":"b42bbd9e.9cab","wires":[["62f5a00e.aa5da"]]},{"id":"62f5a00e.aa5da","type":"switchNode","name":"switch request-action","xml":"<switch test='`$contrail-route-topology-operation-input.request-information.request-action`'>\n","comments":"","outputs":1,"x":1292.888900756836,"y":822.851788520813,"z":"b42bbd9e.9cab","wires":[["63c7e61e.93d818","1d99e0e.0795e1f"]]},{"id":"63c7e61e.93d818","type":"other","name":"DeleteContrailRouteInstance","xml":"<outcome value='DeleteContrailRouteInstance'>","comments":"","outputs":1,"x":1573.888771057129,"y":823.8518056869507,"z":"b42bbd9e.9cab","wires":[["59164fba.8b1df"]]},{"id":"1d99e0e.0795e1f","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1516.888900756836,"y":863.851788520813,"z":"b42bbd9e.9cab","wires":[["bad4ddd2.41bde"]]},{"id":"bad4ddd2.41bde","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 DeleteContrailRouteInstance for svc-action=delete\" />\n","comments":"","x":1685.888900756836,"y":863.851788520813,"z":"b42bbd9e.9cab","wires":[]},{"id":"59164fba.8b1df","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1832.888900756836,"y":824.851788520813,"z":"b42bbd9e.9cab","wires":[["d06491a2.0b602","6b07cbd7.0e7d04"]]},{"id":"f0bb52f0.17e47","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1222.2221794128418,"y":174.22221088409424,"z":"b42bbd9e.9cab","wires":[[]]},{"id":"d06491a2.0b602","type":"switchNode","name":"switch allotted-resource-id","xml":"<switch test='`$contrail-route-topology-operation-input.allotted-resource-information.allotted-resource-id`'>\n","comments":"","outputs":1,"x":2203.5715942382812,"y":37.81745147705078,"z":"b42bbd9e.9cab","wires":[["6091bbb5.92fcb4"]]},{"id":"6091bbb5.92fcb4","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2404.107276916504,"y":36.38887977600098,"z":"b42bbd9e.9cab","wires":[["ab33d03a.508ae"]]},{"id":"ab33d03a.508ae","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":2555.535743713379,"y":35.38887977600098,"z":"b42bbd9e.9cab","wires":[]},{"id":"344f0df1.0efab2","type":"switchNode","name":"switch allotted-resource-type","xml":"<switch test='`$contrail-route-topology-operation-input.allotted-resource-information.allotted-resource-type`'>\n","comments":"","outputs":1,"x":2210.0001373291016,"y":73.01586723327637,"z":"b42bbd9e.9cab","wires":[["a58be7c1.0caec8"]]},{"id":"a58be7c1.0caec8","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2410.5356826782227,"y":71.5872974395752,"z":"b42bbd9e.9cab","wires":[["fcfba520.ba2978"]]},{"id":"fcfba520.ba2978","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":2561.9641494750977,"y":70.5872974395752,"z":"b42bbd9e.9cab","wires":[]},{"id":"6b07cbd7.0e7d04","type":"switchNode","name":"switch parent-service-instance-id","xml":"<switch test='`$contrail-route-topology-operation-input.allotted-resource-information.parent-service-instance-id`'>\n","comments":"","outputs":1,"x":2222.8573837280273,"y":108.73015213012695,"z":"b42bbd9e.9cab","wires":[["b1db037c.92b1"]]},{"id":"b1db037c.92b1","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2438.571533203125,"y":105.87300872802734,"z":"b42bbd9e.9cab","wires":[["9de46686.383798"]]},{"id":"9de46686.383798","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":2590,"y":104.87300872802734,"z":"b42bbd9e.9cab","wires":[]},{"id":"e5f84df2.f1e94","type":"switchNode","name":"switch source-network.network-role","xml":"<switch test='`$contrail-route-topology-operation-input.contrail-route-request-input.source-network.network-role`'>\n","comments":"","outputs":1,"x":2232.5394897460938,"y":303.5872793197632,"z":"b42bbd9e.9cab","wires":[["b6f894c7.bdf1d8"]]},{"id":"b6f894c7.bdf1d8","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2461.396903991699,"y":298.3015818595886,"z":"b42bbd9e.9cab","wires":[["d18a5c04.9d4c5"]]},{"id":"d18a5c04.9d4c5","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=\"contrail-route-topology-operation-input.contrail-route-request-input.source-network.network-role is a required input\" />\n","comments":"","x":2626.3970489501953,"y":298.3015422821045,"z":"b42bbd9e.9cab","wires":[]},{"id":"2032eb88.550194","type":"switchNode","name":"switch dest-network.network-role","xml":"<switch test='`$contrail-route-topology-operation-input.contrail-route-request-input.dest-network.network-role`'>\n","comments":"","outputs":1,"x":2226.4446754455566,"y":336.46821308135986,"z":"b42bbd9e.9cab","wires":[["96119098.5cd1d"]]},{"id":"96119098.5cd1d","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2461.4448280334473,"y":336.46821689605713,"z":"b42bbd9e.9cab","wires":[["c91e6a99.23dd98"]]},{"id":"c91e6a99.23dd98","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=\"contrail-topology-operation-input.contrail-route-request-input.dest-network.network-role is a required input\" />\n","comments":"","x":2627.8732948303223,"y":336.468186378479,"z":"b42bbd9e.9cab","wires":[]},{"id":"aa2cdb28.13b088","type":"switchNode","name":"switch contrail-applied-service-information.service-instance-id","xml":"<switch test='`$contrail-route-topology-operation-input.contrail-route-request-input.contrail-applied-service-info.service-instance-id`'>\n","comments":"","outputs":1,"x":2311.111152648926,"y":401.58727073669434,"z":"b42bbd9e.9cab","wires":[["3cf17aee.5329a6"]]},{"id":"3cf17aee.5329a6","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2623.2542304992676,"y":401.3015937805176,"z":"b42bbd9e.9cab","wires":[["ed461440.88de78"]]},{"id":"ed461440.88de78","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=\"contrail-route-topology-operation-input.contrail-route-request-input.contrail-applied-service-info.service-instance-id is a required input\" />\n","comments":"","x":2778.254253387451,"y":401.5872268676758,"z":"b42bbd9e.9cab","wires":[]}]
+[{"id":"35266b9e.c1cf04","type":"dgstart","name":"DGSTART","outputs":1,"x":202.7777862548828,"y":205.27777099609375,"z":"b42bbd9e.9cab","wires":[["d8231d59.d0416"]]},{"id":"d8231d59.d0416","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":359.06349182128906,"y":279.51588439941406,"z":"b42bbd9e.9cab","wires":[["3b37cf29.2770b"]]},{"id":"3b37cf29.2770b","type":"method","name":"validate-contrail-route-input","xml":"<method rpc='validate-contrail-route-input' mode='sync'>\n","comments":"","outputs":1,"x":359.20641326904297,"y":341.27777099609375,"z":"b42bbd9e.9cab","wires":[["bb11dc2e.ba771"]]},{"id":"bb11dc2e.ba771","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":372.52783203125,"y":623.7212657928467,"z":"b42bbd9e.9cab","wires":[["aa4b4f9b.d66d5","a357d6d0.d1e828","d43473e3.39bf6","43b27b77.234ba4","dbabb342.08cce","c28b8276.ad796"]]},{"id":"aa4b4f9b.d66d5","type":"switchNode","name":"switch svc-request-id","xml":"<switch test='`$contrail-route-topology-operation-input.sdnc-request-header.svc-request-id`'>\n","comments":"","outputs":1,"x":707.5873565673828,"y":108.37305164337158,"z":"b42bbd9e.9cab","wires":[["3094a18d.2341ce"]]},{"id":"3094a18d.2341ce","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":937.3016417367116,"y":106.37304837363081,"z":"b42bbd9e.9cab","wires":[["3d7d8e8e.e7a2e2"]]},{"id":"3d7d8e8e.e7a2e2","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":1088.7302077157156,"y":106.37304646628218,"z":"b42bbd9e.9cab","wires":[]},{"id":"a357d6d0.d1e828","type":"switchNode","name":"switch svc-action","xml":"<switch test='`$contrail-route-topology-operation-input.sdnc-request-header.svc-action`'>\n","comments":"","outputs":1,"x":700.1586990356445,"y":64.94446277618408,"z":"b42bbd9e.9cab","wires":[["aa49fe92.cd19a"]]},{"id":"aa49fe92.cd19a","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":935.8730621337891,"y":63.51587390899658,"z":"b42bbd9e.9cab","wires":[["8fc24fab.a40e7"]]},{"id":"8fc24fab.a40e7","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":1085.8730354309082,"y":63.515883445739746,"z":"b42bbd9e.9cab","wires":[]},{"id":"d43473e3.39bf6","type":"switchNode","name":"switch request-action","xml":"<switch test='`$contrail-route-topology-operation-input.request-information.request-action`'>\n","comments":"","outputs":1,"x":710.1587524414062,"y":157.23019981384277,"z":"b42bbd9e.9cab","wires":[["57e78919.ef0688","f69fee2.01a8c1","63c630c0.7b3d4","b809f5ff.bb3ad8"]]},{"id":"57e78919.ef0688","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":941.8730659484863,"y":256.08739280700684,"z":"b42bbd9e.9cab","wires":[["ca244a95.514758"]]},{"id":"ca244a95.514758","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":1113.3015060424805,"y":256.0873918533325,"z":"b42bbd9e.9cab","wires":[]},{"id":"89209f0f.b42ea","type":"comment","name":"validate-allotted-resource-input - CHANGELOG","info":"3/22: Initial release 2.0.0","comments":"","x":215.7777862548828,"y":109.27777099609375,"z":"b42bbd9e.9cab","wires":[]},{"id":"43b27b77.234ba4","type":"switchNode","name":"switch svc-action","xml":"<switch test='`$contrail-route-topology-operation-input.sdnc-request-header.svc-action`'>\n","comments":"","outputs":1,"x":604.1111145019531,"y":625.944411277771,"z":"b42bbd9e.9cab","wires":[["b241564a.80dee8","13332075.a90e5","5c11ee06.80d44","e1547517.5bdd98","4c19740c.db392c","897a0281.ce1ee"]]},{"id":"b241564a.80dee8","type":"other","name":"assign","xml":"<outcome value='assign'>","comments":"","outputs":1,"x":873.4921493530273,"y":464.8492374420166,"z":"b42bbd9e.9cab","wires":[["167db0e.a9d9b4f"]]},{"id":"13332075.a90e5","type":"other","name":"activate","xml":"<outcome value='activate'>","comments":"","outputs":1,"x":893.7777557373047,"y":652.2778015136719,"z":"b42bbd9e.9cab","wires":[["fa98c4a3.48c008"]]},{"id":"5c11ee06.80d44","type":"other","name":"deactivate","xml":"<outcome value='deactivate'>","comments":"","outputs":1,"x":900.7777557373047,"y":742.2778015136719,"z":"b42bbd9e.9cab","wires":[["e8ed620e.34218"]]},{"id":"167db0e.a9d9b4f","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1030.7777862548828,"y":467.6111469268799,"z":"b42bbd9e.9cab","wires":[["9230ea14.806408"]]},{"id":"9230ea14.806408","type":"switchNode","name":"switch request-action","xml":"<switch test='`$contrail-route-topology-operation-input.request-information.request-action`'>\n","comments":"","outputs":1,"x":1237.4444198608398,"y":467.6111354827881,"z":"b42bbd9e.9cab","wires":[["61434823.60b248","2f5e13cc.428ddc"]]},{"id":"61434823.60b248","type":"other","name":"CreateContrailRouteInstance","xml":"<outcome value='CreateContrailRouteInstance'>","comments":"","outputs":1,"x":1585.3015899658203,"y":394.7540102005005,"z":"b42bbd9e.9cab","wires":[["10dadd6a.d1a0d3"]]},{"id":"2f5e13cc.428ddc","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1524.7777671813965,"y":461.6111640930176,"z":"b42bbd9e.9cab","wires":[["d7368e17.11a7b"]]},{"id":"d7368e17.11a7b","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 CreateContrailRouteInstance for svc-action=assign\" />\n","comments":"","x":1672.1111106872559,"y":461.6111831665039,"z":"b42bbd9e.9cab","wires":[]},{"id":"fa98c4a3.48c008","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1067.7777557373047,"y":652.2778015136719,"z":"b42bbd9e.9cab","wires":[["39112fa6.850cd"]]},{"id":"39112fa6.850cd","type":"switchNode","name":"switch request-action","xml":"<switch test='`$contrail-route-topology-operation-input.request-information.request-action`'>\n","comments":"","outputs":1,"x":1284.7777557373047,"y":652.2778015136719,"z":"b42bbd9e.9cab","wires":[["a46c6029.9eecb","80369920.1e1528"]]},{"id":"a46c6029.9eecb","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1508.7777557373047,"y":693.2778015136719,"z":"b42bbd9e.9cab","wires":[["87417d62.3c22"]]},{"id":"87417d62.3c22","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 CreateContrailRouteInstance for svc-action=activate\" />\n","comments":"","x":1677.7777557373047,"y":693.2778015136719,"z":"b42bbd9e.9cab","wires":[]},{"id":"e8ed620e.34218","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1082.7777557373047,"y":741.2778015136719,"z":"b42bbd9e.9cab","wires":[["7f72c3c8.8a71dc"]]},{"id":"7f72c3c8.8a71dc","type":"switchNode","name":"switch request-action","xml":"<switch test='`$contrail-route-topology-operation-input.request-information.request-action`'>\n","comments":"","outputs":1,"x":1299.7777557373047,"y":741.2778015136719,"z":"b42bbd9e.9cab","wires":[["96b39e05.6b30d","baf7a6c3.22b2b8"]]},{"id":"96b39e05.6b30d","type":"other","name":"DeleteContrailRouteInstance","xml":"<outcome value='DeleteContrailRouteInstance'>","comments":"","outputs":1,"x":1582.4442901611328,"y":740.6111879348755,"z":"b42bbd9e.9cab","wires":[["89e918a.16dc8e8"]]},{"id":"baf7a6c3.22b2b8","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1523.7777557373047,"y":782.2778015136719,"z":"b42bbd9e.9cab","wires":[["e25c9a86.2130e8"]]},{"id":"e25c9a86.2130e8","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 DeleteContrailRouteInstance for svc-action=deactivate\" />\n","comments":"","x":1692.7777557373047,"y":782.2778015136719,"z":"b42bbd9e.9cab","wires":[]},{"id":"e1547517.5bdd98","type":"other","name":"unassign","xml":"<outcome value='unassign'>","comments":"","outputs":1,"x":881.7776184082031,"y":909.6111288070679,"z":"b42bbd9e.9cab","wires":[["25d3342e.bf055c"]]},{"id":"25d3342e.bf055c","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1063.7776489257812,"y":905.6111516952515,"z":"b42bbd9e.9cab","wires":[["4096d7e5.754058"]]},{"id":"4096d7e5.754058","type":"switchNode","name":"switch request-action","xml":"<switch test='`$contrail-route-topology-operation-input.request-information.request-action`'>\n","comments":"","outputs":1,"x":1280.7776489257812,"y":905.6111516952515,"z":"b42bbd9e.9cab","wires":[["7977bc3b.695434","4cf8061.e28dff8"]]},{"id":"7977bc3b.695434","type":"other","name":"DeleteContrailRouteInstance","xml":"<outcome value='DeleteContrailRouteInstance'>","comments":"","outputs":1,"x":1561.7775192260742,"y":906.6111688613892,"z":"b42bbd9e.9cab","wires":[["a46d071e.eae668"]]},{"id":"4cf8061.e28dff8","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1504.7776489257812,"y":946.6111516952515,"z":"b42bbd9e.9cab","wires":[["ebab16c5.c33a78"]]},{"id":"ebab16c5.c33a78","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 DeleteContrailRouteInstance for svc-action=unassign\" />\n","comments":"","x":1673.7776489257812,"y":946.6111516952515,"z":"b42bbd9e.9cab","wires":[]},{"id":"10dadd6a.d1a0d3","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1831.3015403747559,"y":393.7539978027344,"z":"b42bbd9e.9cab","wires":[["8353a7c2.7d6ba8","3697eb9e.353964","4b1f2e92.74dfd","d06491a2.0b602","344f0df1.0efab2","6b07cbd7.0e7d04","e5f84df2.f1e94","2032eb88.550194","aa2cdb28.13b088"]]},{"id":"d15b9d66.afba","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1790.7777557373047,"y":653.2778015136719,"z":"b42bbd9e.9cab","wires":[["d06491a2.0b602","6b07cbd7.0e7d04"]]},{"id":"89e918a.16dc8e8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1836.7777557373047,"y":743.2778015136719,"z":"b42bbd9e.9cab","wires":[["d06491a2.0b602","6b07cbd7.0e7d04"]]},{"id":"a46d071e.eae668","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1820.7776489257812,"y":907.6111516952515,"z":"b42bbd9e.9cab","wires":[["d06491a2.0b602"]]},{"id":"8353a7c2.7d6ba8","type":"switchNode","name":"switch source-network.network-id","xml":"<switch test='`$contrail-route-topology-operation-input.contrail-route-request-input.source-network.network-id`'>\n","comments":"","outputs":1,"x":2229.063278198242,"y":263.9920644760132,"z":"b42bbd9e.9cab","wires":[["aa3ce30.606892"]]},{"id":"aa3ce30.606892","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2455.063335418701,"y":262.1349468231201,"z":"b42bbd9e.9cab","wires":[["d5826697.16cc88"]]},{"id":"d5826697.16cc88","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=\"contrail-route-topology-operation-input.contrail-route-request-input.source-network.network-id is a required input\" />\n","comments":"","x":2622.9203872680664,"y":262.1349210739136,"z":"b42bbd9e.9cab","wires":[]},{"id":"4b1f2e92.74dfd","type":"switchNode","name":"switch onap-model-information.model-customization-uuid","xml":"<switch test='`$contrail-route-topology-operation-input.allotted-resource-information.onap-model-information.model-customization-uuid`'>\n","comments":"","outputs":1,"x":2301.6351318359375,"y":190.27785205841064,"z":"b42bbd9e.9cab","wires":[["d1cbbe07.cc9e3"]]},{"id":"d1cbbe07.cc9e3","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2595.635040283203,"y":191.27779293060303,"z":"b42bbd9e.9cab","wires":[["5ffa0f1.a317af"]]},{"id":"5ffa0f1.a317af","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=\"contrail-route-information.onap-model-information.model-customization-uuid is a required input\" />\n","comments":"","x":2743.063507080078,"y":191.27779293060303,"z":"b42bbd9e.9cab","wires":[]},{"id":"dbabb342.08cce","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":666.2777404785156,"y":1056.7777633666992,"z":"b42bbd9e.9cab","wires":[]},{"id":"93757aef.15f468","type":"comment","name":"validate service-information.onap-model-information.model0uuid is in service table","info":"","comments":"","x":2369.496368408203,"y":484.91669940948486,"z":"b42bbd9e.9cab","wires":[]},{"id":"3697eb9e.353964","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 = $contrail-route-topology-operation-input.allotted-resource-information.onap-model-information.model-customization-uuid'\n pfx='ar-model'>\n\n","comments":"","outputs":1,"x":2202.413101196289,"y":527.6428871154785,"z":"b42bbd9e.9cab","wires":[["81c17c72.98f07","5ee9c459.84ea3c"]]},{"id":"fe930095.bdfb1","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 ' + $contrail-route-topology-operation-input.allotted-resource-information.onap-model-information.model-customization-uuid`\" />\n","comments":"","x":2659.4962844848633,"y":508.3094844818115,"z":"b42bbd9e.9cab","wires":[]},{"id":"81c17c72.98f07","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":2460.746364593506,"y":503.6667003631592,"z":"b42bbd9e.9cab","wires":[["fe930095.bdfb1"]]},{"id":"5ee9c459.84ea3c","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":2454.496364593506,"y":536.1667003631592,"z":"b42bbd9e.9cab","wires":[["fe930095.bdfb1"]]},{"id":"f69fee2.01a8c1","type":"other","name":"CreateContrailRouteInstance","xml":"<outcome value='CreateContrailRouteInstance'>","comments":"","outputs":1,"x":1005.8254241943359,"y":142.8968276977539,"z":"b42bbd9e.9cab","wires":[["f0bb52f0.17e47"]]},{"id":"63c630c0.7b3d4","type":"other","name":"DeleteContrailRouteInstance","xml":"<outcome value='DeleteContrailRouteInstance'>","comments":"","outputs":1,"x":1006.1110687255859,"y":180.32544708251953,"z":"b42bbd9e.9cab","wires":[["f0bb52f0.17e47"]]},{"id":"b809f5ff.bb3ad8","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":945.6825752258301,"y":296.468297958374,"z":"b42bbd9e.9cab","wires":[["30198bb7.e55ef4"]]},{"id":"30198bb7.e55ef4","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":1117.1109809875488,"y":297.4683132171631,"z":"b42bbd9e.9cab","wires":[]},{"id":"c28b8276.ad796","type":"switchNode","name":"switch service-instance-id","xml":"<switch test='`$contrail-route-topology-operation-input.service-information.service-instance-id`'>\n","comments":"","outputs":1,"x":707.2063446044922,"y":337.1349639892578,"z":"b42bbd9e.9cab","wires":[["9b3d73ec.0eef6"]]},{"id":"9b3d73ec.0eef6","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":923.6349334716797,"y":338.1349639892578,"z":"b42bbd9e.9cab","wires":[["64812692.977708"]]},{"id":"64812692.977708","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":1082.063461303711,"y":337.1349639892578,"z":"b42bbd9e.9cab","wires":[]},{"id":"4c19740c.db392c","type":"other","name":"create","xml":"<outcome value='create'>","comments":"","outputs":1,"x":880.5555000305176,"y":550.1851797103882,"z":"b42bbd9e.9cab","wires":[["81ff7e79.12005"]]},{"id":"81ff7e79.12005","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1041.1744995117188,"y":549.6137495040894,"z":"b42bbd9e.9cab","wires":[["87874560.8aa258"]]},{"id":"87874560.8aa258","type":"switchNode","name":"switch request-action","xml":"<switch test='`$contrail-route-topology-operation-input.request-information.request-action`'>\n","comments":"","outputs":1,"x":1261.1744995117188,"y":549.6137495040894,"z":"b42bbd9e.9cab","wires":[["90eb84df.b09858","c5d024ea.750c08"]]},{"id":"90eb84df.b09858","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1518.5079936981201,"y":553.6138019561768,"z":"b42bbd9e.9cab","wires":[["cddf826d.b9fc1"]]},{"id":"cddf826d.b9fc1","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 CreateNetworkInstance for svc-action=create\" />\n","comments":"","x":1684.1744995117188,"y":553.61376953125,"z":"b42bbd9e.9cab","wires":[]},{"id":"c5d024ea.750c08","type":"other","name":"CreateContrailRouteInstance","xml":"<outcome value='CreateContrailRouteInstance'>","comments":"","outputs":1,"x":1590.555419921875,"y":518.5184936523438,"z":"b42bbd9e.9cab","wires":[["b77bfd7b.7219"]]},{"id":"b77bfd7b.7219","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1826.555419921875,"y":517.5184936523438,"z":"b42bbd9e.9cab","wires":[["d06491a2.0b602","6b07cbd7.0e7d04"]]},{"id":"80369920.1e1528","type":"other","name":"CreateContrailRouteInstance","xml":"<outcome value='CreateContrailRouteInstance'>","comments":"","outputs":1,"x":1575.555419921875,"y":653.5184936523438,"z":"b42bbd9e.9cab","wires":[["d15b9d66.afba"]]},{"id":"897a0281.ce1ee","type":"other","name":"delete","xml":"<outcome value='delete'>","comments":"","outputs":1,"x":893.8888702392578,"y":826.8517656326294,"z":"b42bbd9e.9cab","wires":[["f3f463d2.77152"]]},{"id":"f3f463d2.77152","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1075.888900756836,"y":822.851788520813,"z":"b42bbd9e.9cab","wires":[["62f5a00e.aa5da"]]},{"id":"62f5a00e.aa5da","type":"switchNode","name":"switch request-action","xml":"<switch test='`$contrail-route-topology-operation-input.request-information.request-action`'>\n","comments":"","outputs":1,"x":1292.888900756836,"y":822.851788520813,"z":"b42bbd9e.9cab","wires":[["63c7e61e.93d818","1d99e0e.0795e1f"]]},{"id":"63c7e61e.93d818","type":"other","name":"DeleteContrailRouteInstance","xml":"<outcome value='DeleteContrailRouteInstance'>","comments":"","outputs":1,"x":1573.888771057129,"y":823.8518056869507,"z":"b42bbd9e.9cab","wires":[["59164fba.8b1df"]]},{"id":"1d99e0e.0795e1f","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1516.888900756836,"y":863.851788520813,"z":"b42bbd9e.9cab","wires":[["bad4ddd2.41bde"]]},{"id":"bad4ddd2.41bde","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 DeleteContrailRouteInstance for svc-action=delete\" />\n","comments":"","x":1685.888900756836,"y":863.851788520813,"z":"b42bbd9e.9cab","wires":[]},{"id":"59164fba.8b1df","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1832.888900756836,"y":824.851788520813,"z":"b42bbd9e.9cab","wires":[["d06491a2.0b602","6b07cbd7.0e7d04"]]},{"id":"f0bb52f0.17e47","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1222.2221794128418,"y":174.22221088409424,"z":"b42bbd9e.9cab","wires":[[]]},{"id":"d06491a2.0b602","type":"switchNode","name":"switch allotted-resource-id","xml":"<switch test='`$contrail-route-topology-operation-input.allotted-resource-information.allotted-resource-id`'>\n","comments":"","outputs":1,"x":2203.5715942382812,"y":37.81745147705078,"z":"b42bbd9e.9cab","wires":[["6091bbb5.92fcb4"]]},{"id":"6091bbb5.92fcb4","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2404.107276916504,"y":36.38887977600098,"z":"b42bbd9e.9cab","wires":[["ab33d03a.508ae"]]},{"id":"ab33d03a.508ae","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":2555.535743713379,"y":35.38887977600098,"z":"b42bbd9e.9cab","wires":[]},{"id":"344f0df1.0efab2","type":"switchNode","name":"switch allotted-resource-type","xml":"<switch test='`$contrail-route-topology-operation-input.allotted-resource-information.allotted-resource-type`'>\n","comments":"","outputs":1,"x":2210.0001373291016,"y":73.01586723327637,"z":"b42bbd9e.9cab","wires":[["a58be7c1.0caec8"]]},{"id":"a58be7c1.0caec8","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2410.5356826782227,"y":71.5872974395752,"z":"b42bbd9e.9cab","wires":[["fcfba520.ba2978"]]},{"id":"fcfba520.ba2978","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":2561.9641494750977,"y":70.5872974395752,"z":"b42bbd9e.9cab","wires":[]},{"id":"6b07cbd7.0e7d04","type":"switchNode","name":"switch parent-service-instance-id","xml":"<switch test='`$contrail-route-topology-operation-input.allotted-resource-information.parent-service-instance-id`'>\n","comments":"","outputs":1,"x":2222.8573837280273,"y":108.73015213012695,"z":"b42bbd9e.9cab","wires":[["b1db037c.92b1"]]},{"id":"b1db037c.92b1","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2438.571533203125,"y":105.87300872802734,"z":"b42bbd9e.9cab","wires":[["9de46686.383798"]]},{"id":"9de46686.383798","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":2590,"y":104.87300872802734,"z":"b42bbd9e.9cab","wires":[]},{"id":"e5f84df2.f1e94","type":"switchNode","name":"switch source-network.network-role","xml":"<switch test='`$contrail-route-topology-operation-input.contrail-route-request-input.source-network.network-role`'>\n","comments":"","outputs":1,"x":2232.5394897460938,"y":303.5872793197632,"z":"b42bbd9e.9cab","wires":[["b6f894c7.bdf1d8"]]},{"id":"b6f894c7.bdf1d8","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2461.396903991699,"y":298.3015818595886,"z":"b42bbd9e.9cab","wires":[["d18a5c04.9d4c5"]]},{"id":"d18a5c04.9d4c5","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=\"contrail-route-topology-operation-input.contrail-route-request-input.source-network.network-role is a required input\" />\n","comments":"","x":2626.3970489501953,"y":298.3015422821045,"z":"b42bbd9e.9cab","wires":[]},{"id":"2032eb88.550194","type":"switchNode","name":"switch dest-network.network-role","xml":"<switch test='`$contrail-route-topology-operation-input.contrail-route-request-input.dest-network.network-role`'>\n","comments":"","outputs":1,"x":2226.4446754455566,"y":336.46821308135986,"z":"b42bbd9e.9cab","wires":[["96119098.5cd1d"]]},{"id":"96119098.5cd1d","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2461.4448280334473,"y":336.46821689605713,"z":"b42bbd9e.9cab","wires":[["c91e6a99.23dd98"]]},{"id":"c91e6a99.23dd98","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=\"contrail-topology-operation-input.contrail-route-request-input.dest-network.network-role is a required input\" />\n","comments":"","x":2627.8732948303223,"y":336.468186378479,"z":"b42bbd9e.9cab","wires":[]},{"id":"aa2cdb28.13b088","type":"switchNode","name":"switch contrail-applied-service-information.service-instance-id","xml":"<switch test='`$contrail-route-topology-operation-input.contrail-route-request-input.contrail-applied-service-info.service-instance-id`'>\n","comments":"","outputs":1,"x":2311.111152648926,"y":401.58727073669434,"z":"b42bbd9e.9cab","wires":[["3cf17aee.5329a6"]]},{"id":"3cf17aee.5329a6","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2623.2542304992676,"y":401.3015937805176,"z":"b42bbd9e.9cab","wires":[["ed461440.88de78"]]},{"id":"ed461440.88de78","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=\"contrail-route-topology-operation-input.contrail-route-request-input.contrail-applied-service-info.service-instance-id is a required input\" />\n","comments":"","x":2778.254253387451,"y":401.5872268676758,"z":"b42bbd9e.9cab","wires":[]}]
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 e93e76db..70c98b79 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 @@
-[{"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":[]}]
+[{"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":[]}]
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-tunnelxconn-input.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-tunnelxconn-input.json
index c46f7e3e..c42aec8e 100644
--- a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-tunnelxconn-input.json
+++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-tunnelxconn-input.json
@@ -1 +1 @@
-[{"id":"b5d823fd.7aecd8","type":"dgstart","name":"DGSTART","outputs":1,"x":277,"y":231.33332061767578,"z":"f8bd12f.b396cf","wires":[["6e521d4c.c8568c"]]},{"id":"6e521d4c.c8568c","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":375.78570556640625,"y":305.57142448425293,"z":"f8bd12f.b396cf","wires":[["b8160df1.2602f"]]},{"id":"b8160df1.2602f","type":"method","name":"validate-tunnelxconn-input","xml":"<method rpc='validate-tunnelxconn-input' mode='sync'>\n","comments":"","outputs":1,"x":404.6786193847656,"y":376.50001430511475,"z":"f8bd12f.b396cf","wires":[["94d9cfb6.819148"]]},{"id":"94d9cfb6.819148","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":446.7500457763672,"y":649.7768154144287,"z":"f8bd12f.b396cf","wires":[["d455ef78.1d6598","c59c08c5.9e1d28","89097d35.bba9a8","5137004e.8046f","4ef641b2.88622"]]},{"id":"d455ef78.1d6598","type":"switchNode","name":"switch svc-request-id","xml":"<switch test='`$tunnelxconn-topology-operation-input.sdnc-request-header.svc-request-id`'>\n","comments":"","outputs":1,"x":781.8095703125,"y":134.4286012649536,"z":"f8bd12f.b396cf","wires":[["1677921a.244246"]]},{"id":"1677921a.244246","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1011.5238554818288,"y":132.42859799521284,"z":"f8bd12f.b396cf","wires":[["f70a4626.6b8008"]]},{"id":"f70a4626.6b8008","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":1162.9523620605469,"y":129.09526443481445,"z":"f8bd12f.b396cf","wires":[]},{"id":"c59c08c5.9e1d28","type":"switchNode","name":"switch svc-action","xml":"<switch test='`$tunnelxconn-topology-operation-input.sdnc-request-header.svc-action`'>\n","comments":"","outputs":1,"x":774.3809204101562,"y":88,"z":"f8bd12f.b396cf","wires":[["9bf5b798.389e88"]]},{"id":"9bf5b798.389e88","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1010.0952758789062,"y":89.57142353057861,"z":"f8bd12f.b396cf","wires":[["358e5ae0.ec086e"]]},{"id":"358e5ae0.ec086e","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":1160.0952491760254,"y":89.57143306732178,"z":"f8bd12f.b396cf","wires":[]},{"id":"7d1a58d7.ff8ef","type":"comment","name":"validate-tunnelxconn-input - CHANGELOG","info":"3/22: Initial release 1.0.0","comments":"","x":290,"y":135.33332061767578,"z":"f8bd12f.b396cf","wires":[]},{"id":"89097d35.bba9a8","type":"switchNode","name":"switch svc-action","xml":"<switch test='`$tunnelxconn-topology-operation-input.sdnc-request-header.svc-action`'>\n","comments":"","outputs":1,"x":686.6666603088379,"y":655.3333568572998,"z":"f8bd12f.b396cf","wires":[["52a3ca72.39a0d4","edd735a8.344048","385d4044.9b32e","f6365d4e.03ea3","33745c85.f01734","b81789f9.0a9b5"]]},{"id":"52a3ca72.39a0d4","type":"other","name":"assign","xml":"<outcome value='assign'>","comments":"","outputs":1,"x":947.7143630981445,"y":490.90478706359863,"z":"f8bd12f.b396cf","wires":[["59acb47.2b0fccc"]]},{"id":"edd735a8.344048","type":"other","name":"activate","xml":"<outcome value='activate'>","comments":"","outputs":1,"x":967.9999694824219,"y":678.3333511352539,"z":"f8bd12f.b396cf","wires":[["a738b59f.50a53"]]},{"id":"385d4044.9b32e","type":"other","name":"deactivate","xml":"<outcome value='deactivate'>","comments":"","outputs":1,"x":974.9999694824219,"y":768.3333511352539,"z":"f8bd12f.b396cf","wires":[["f55bfd08.6c8a7"]]},{"id":"f6365d4e.03ea3","type":"other","name":"unassign","xml":"<outcome value='unassign'>","comments":"","outputs":1,"x":955.9998321533203,"y":935.6666784286499,"z":"f8bd12f.b396cf","wires":[["1e5b3ae5.5059e5"]]},{"id":"59acb47.2b0fccc","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1146.0238189697266,"y":489.05958557128906,"z":"f8bd12f.b396cf","wires":[["8e59346d.9fe89","3fa9f650.04461a","9e8069fd.cb145","111c545d.ab113c","be2f1214.6804a","f79569f8.dbee3"]]},{"id":"a738b59f.50a53","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1146.250015258789,"y":678.0833930969238,"z":"f8bd12f.b396cf","wires":[["9e8069fd.cb145","be2f1214.6804a"]]},{"id":"f55bfd08.6c8a7","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1147.2500305175781,"y":769.3333950042725,"z":"f8bd12f.b396cf","wires":[["9e8069fd.cb145","be2f1214.6804a"]]},{"id":"1e5b3ae5.5059e5","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1144.9998931884766,"y":936.166708946228,"z":"f8bd12f.b396cf","wires":[["9e8069fd.cb145"]]},{"id":"8e59346d.9fe89","type":"switchNode","name":"switch brg-wan-mac-address","xml":"<switch test='`$tunnelxconn-topology-operation-input.tunnelxconn-request-input.brg-wan-mac-address`'>\n","comments":"","outputs":1,"x":1553.1190185546875,"y":483.6309585571289,"z":"f8bd12f.b396cf","wires":[["90bd782.9309f88"]]},{"id":"90bd782.9309f88","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1761.118896484375,"y":483.4404983520508,"z":"f8bd12f.b396cf","wires":[["c04d13fe.02c76"]]},{"id":"c04d13fe.02c76","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=\"tunnelxconn-topology-operation-input.brg-wan-mac-address is a required input\" />\n","comments":"","x":1976.3095703125,"y":479.44046783447266,"z":"f8bd12f.b396cf","wires":[]},{"id":"f79569f8.dbee3","type":"switchNode","name":"switch onap-model-information.model-customization-uuid","xml":"<switch test='`$tunnelxconn-topology-operation-input.allotted-resource-information.onap-model-information.model-customization-uuid`'>\n","comments":"","outputs":1,"x":1709.1072998046875,"y":397.33341217041016,"z":"f8bd12f.b396cf","wires":[["589e1791.76a778"]]},{"id":"589e1791.76a778","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1990.107177734375,"y":397.3333511352539,"z":"f8bd12f.b396cf","wires":[["5420fa60.f9fd94"]]},{"id":"5420fa60.f9fd94","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=\"tunnelxconn-information.onap-model-information.model-customization-uuid is a required input\" />\n","comments":"","x":2108.5357055664062,"y":392.33335876464844,"z":"f8bd12f.b396cf","wires":[]},{"id":"5137004e.8046f","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":713.3571166992188,"y":1076.8332901000977,"z":"f8bd12f.b396cf","wires":[]},{"id":"3fa9f650.04461a","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 = $tunnelxconn-topology-operation-input.allotted-resource-information.onap-model-information.model-customization-uuid'\n pfx='ar-model'>\n\n","comments":"","outputs":1,"x":1539.302146911621,"y":611.6151895523071,"z":"f8bd12f.b396cf","wires":[["342a2062.3016f","3c94fe8c.f9c48a"]]},{"id":"ac2ca07c.8f157","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 ' + $tunnelxconn-topology-operation-input.allotted-resource-information.onap-model-information.model-customization-uuid`\" />\n","comments":"","x":1986.3854637145996,"y":599.7817430496216,"z":"f8bd12f.b396cf","wires":[]},{"id":"342a2062.3016f","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1787.6355438232422,"y":595.1389589309692,"z":"f8bd12f.b396cf","wires":[["ac2ca07c.8f157"]]},{"id":"3c94fe8c.f9c48a","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1781.3855438232422,"y":627.6389589309692,"z":"f8bd12f.b396cf","wires":[["ac2ca07c.8f157"]]},{"id":"4ef641b2.88622","type":"switchNode","name":"switch service-instance-id","xml":"<switch test='`$tunnelxconn-topology-operation-input.service-information.service-instance-id`'>\n","comments":"","outputs":1,"x":781.4285583496094,"y":363.19051361083984,"z":"f8bd12f.b396cf","wires":[["5c2101ed.68426"]]},{"id":"5c2101ed.68426","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":997.8571472167969,"y":364.19051361083984,"z":"f8bd12f.b396cf","wires":[["e8805a43.764d7"]]},{"id":"e8805a43.764d7","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":1156.2856750488281,"y":363.19051361083984,"z":"f8bd12f.b396cf","wires":[]},{"id":"33745c85.f01734","type":"other","name":"create","xml":"<outcome value='create'>","comments":"","outputs":1,"x":954.7777137756348,"y":576.2407293319702,"z":"f8bd12f.b396cf","wires":[["27b1a5c9.703fb2"]]},{"id":"27b1a5c9.703fb2","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1147.027603149414,"y":572.324052810669,"z":"f8bd12f.b396cf","wires":[["9e8069fd.cb145","be2f1214.6804a"]]},{"id":"b81789f9.0a9b5","type":"other","name":"delete","xml":"<outcome value='delete'>","comments":"","outputs":1,"x":968.111083984375,"y":852.9073152542114,"z":"f8bd12f.b396cf","wires":[["5be27043.6b85f"]]},{"id":"5be27043.6b85f","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1144.6111068725586,"y":850.9073696136475,"z":"f8bd12f.b396cf","wires":[["9e8069fd.cb145","be2f1214.6804a"]]},{"id":"9e8069fd.cb145","type":"switchNode","name":"switch allotted-resource-id","xml":"<switch test='`$tunnelxconn-topology-operation-input.allotted-resource-information.allotted-resource-id`'>\n","comments":"","outputs":1,"x":1635.2938537597656,"y":141.3729977607727,"z":"f8bd12f.b396cf","wires":[["637ba4be.9495e4"]]},{"id":"637ba4be.9495e4","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1838.3296146392822,"y":146.19443893432617,"z":"f8bd12f.b396cf","wires":[["c80adb0c.bf9c4"]]},{"id":"c80adb0c.bf9c4","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":2023.5080833435059,"y":141.44443893432617,"z":"f8bd12f.b396cf","wires":[]},{"id":"111c545d.ab113c","type":"switchNode","name":"switch allotted-resource-type","xml":"<switch test='`$tunnelxconn-topology-operation-input.allotted-resource-information.allotted-resource-type`'>\n","comments":"","outputs":1,"x":1639.2224349975586,"y":210.3214235305786,"z":"f8bd12f.b396cf","wires":[["cf5ac7f9.65d6a"]]},{"id":"cf5ac7f9.65d6a","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1834.7578468322754,"y":210.14284706115723,"z":"f8bd12f.b396cf","wires":[["90dc41a5.b5f198"]]},{"id":"90dc41a5.b5f198","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":1994.9363174438477,"y":209.14284706115723,"z":"f8bd12f.b396cf","wires":[]},{"id":"be2f1214.6804a","type":"switchNode","name":"switch parent-service-instance-id","xml":"<switch test='`$tunnelxconn-topology-operation-input.allotted-resource-information.parent-service-instance-id`'>\n","comments":"","outputs":1,"x":1654.5796127319336,"y":286.0357189178467,"z":"f8bd12f.b396cf","wires":[["fb65b1f0.8c6598"]]},{"id":"fb65b1f0.8c6598","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1874.0437355041504,"y":285.67856884002686,"z":"f8bd12f.b396cf","wires":[["d1d452a4.07303"]]},{"id":"d1d452a4.07303","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":2025.4722023010254,"y":284.67856884002686,"z":"f8bd12f.b396cf","wires":[]}] \ No newline at end of file
+[{"id":"b5d823fd.7aecd8","type":"dgstart","name":"DGSTART","outputs":1,"x":277,"y":231.33332061767578,"z":"f8bd12f.b396cf","wires":[["6e521d4c.c8568c"]]},{"id":"6e521d4c.c8568c","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":375.78570556640625,"y":305.57142448425293,"z":"f8bd12f.b396cf","wires":[["b8160df1.2602f"]]},{"id":"b8160df1.2602f","type":"method","name":"validate-tunnelxconn-input","xml":"<method rpc='validate-tunnelxconn-input' mode='sync'>\n","comments":"","outputs":1,"x":404.6786193847656,"y":376.50001430511475,"z":"f8bd12f.b396cf","wires":[["94d9cfb6.819148"]]},{"id":"94d9cfb6.819148","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":446.7500457763672,"y":649.7768154144287,"z":"f8bd12f.b396cf","wires":[["d455ef78.1d6598","c59c08c5.9e1d28","89097d35.bba9a8","5137004e.8046f","4ef641b2.88622"]]},{"id":"d455ef78.1d6598","type":"switchNode","name":"switch svc-request-id","xml":"<switch test='`$tunnelxconn-topology-operation-input.sdnc-request-header.svc-request-id`'>\n","comments":"","outputs":1,"x":781.8095703125,"y":134.4286012649536,"z":"f8bd12f.b396cf","wires":[["1677921a.244246"]]},{"id":"1677921a.244246","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1011.5238554818288,"y":132.42859799521284,"z":"f8bd12f.b396cf","wires":[["f70a4626.6b8008"]]},{"id":"f70a4626.6b8008","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":1162.9523620605469,"y":129.09526443481445,"z":"f8bd12f.b396cf","wires":[]},{"id":"c59c08c5.9e1d28","type":"switchNode","name":"switch svc-action","xml":"<switch test='`$tunnelxconn-topology-operation-input.sdnc-request-header.svc-action`'>\n","comments":"","outputs":1,"x":774.3809204101562,"y":88,"z":"f8bd12f.b396cf","wires":[["9bf5b798.389e88"]]},{"id":"9bf5b798.389e88","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1010.0952758789062,"y":89.57142353057861,"z":"f8bd12f.b396cf","wires":[["358e5ae0.ec086e"]]},{"id":"358e5ae0.ec086e","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":1160.0952491760254,"y":89.57143306732178,"z":"f8bd12f.b396cf","wires":[]},{"id":"7d1a58d7.ff8ef","type":"comment","name":"validate-tunnelxconn-input - CHANGELOG","info":"3/22: Initial release 1.0.0","comments":"","x":290,"y":135.33332061767578,"z":"f8bd12f.b396cf","wires":[]},{"id":"89097d35.bba9a8","type":"switchNode","name":"switch svc-action","xml":"<switch test='`$tunnelxconn-topology-operation-input.sdnc-request-header.svc-action`'>\n","comments":"","outputs":1,"x":686.6666603088379,"y":655.3333568572998,"z":"f8bd12f.b396cf","wires":[["52a3ca72.39a0d4","edd735a8.344048","385d4044.9b32e","f6365d4e.03ea3","33745c85.f01734","b81789f9.0a9b5"]]},{"id":"52a3ca72.39a0d4","type":"other","name":"assign","xml":"<outcome value='assign'>","comments":"","outputs":1,"x":947.7143630981445,"y":490.90478706359863,"z":"f8bd12f.b396cf","wires":[["59acb47.2b0fccc"]]},{"id":"edd735a8.344048","type":"other","name":"activate","xml":"<outcome value='activate'>","comments":"","outputs":1,"x":967.9999694824219,"y":678.3333511352539,"z":"f8bd12f.b396cf","wires":[["a738b59f.50a53"]]},{"id":"385d4044.9b32e","type":"other","name":"deactivate","xml":"<outcome value='deactivate'>","comments":"","outputs":1,"x":974.9999694824219,"y":768.3333511352539,"z":"f8bd12f.b396cf","wires":[["f55bfd08.6c8a7"]]},{"id":"f6365d4e.03ea3","type":"other","name":"unassign","xml":"<outcome value='unassign'>","comments":"","outputs":1,"x":955.9998321533203,"y":935.6666784286499,"z":"f8bd12f.b396cf","wires":[["1e5b3ae5.5059e5"]]},{"id":"59acb47.2b0fccc","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1146.0238189697266,"y":489.05958557128906,"z":"f8bd12f.b396cf","wires":[["8e59346d.9fe89","3fa9f650.04461a","9e8069fd.cb145","111c545d.ab113c","be2f1214.6804a","f79569f8.dbee3"]]},{"id":"a738b59f.50a53","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1146.250015258789,"y":678.0833930969238,"z":"f8bd12f.b396cf","wires":[["9e8069fd.cb145","be2f1214.6804a"]]},{"id":"f55bfd08.6c8a7","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1147.2500305175781,"y":769.3333950042725,"z":"f8bd12f.b396cf","wires":[["9e8069fd.cb145","be2f1214.6804a"]]},{"id":"1e5b3ae5.5059e5","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1144.9998931884766,"y":936.166708946228,"z":"f8bd12f.b396cf","wires":[["9e8069fd.cb145"]]},{"id":"8e59346d.9fe89","type":"switchNode","name":"switch brg-wan-mac-address","xml":"<switch test='`$tunnelxconn-topology-operation-input.tunnelxconn-request-input.brg-wan-mac-address`'>\n","comments":"","outputs":1,"x":1553.1190185546875,"y":483.6309585571289,"z":"f8bd12f.b396cf","wires":[["90bd782.9309f88"]]},{"id":"90bd782.9309f88","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1761.118896484375,"y":483.4404983520508,"z":"f8bd12f.b396cf","wires":[["c04d13fe.02c76"]]},{"id":"c04d13fe.02c76","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=\"tunnelxconn-topology-operation-input.brg-wan-mac-address is a required input\" />\n","comments":"","x":1976.3095703125,"y":479.44046783447266,"z":"f8bd12f.b396cf","wires":[]},{"id":"f79569f8.dbee3","type":"switchNode","name":"switch onap-model-information.model-customization-uuid","xml":"<switch test='`$tunnelxconn-topology-operation-input.allotted-resource-information.onap-model-information.model-customization-uuid`'>\n","comments":"","outputs":1,"x":1709.1072998046875,"y":397.33341217041016,"z":"f8bd12f.b396cf","wires":[["589e1791.76a778"]]},{"id":"589e1791.76a778","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1990.107177734375,"y":397.3333511352539,"z":"f8bd12f.b396cf","wires":[["5420fa60.f9fd94"]]},{"id":"5420fa60.f9fd94","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=\"tunnelxconn-information.onap-model-information.model-customization-uuid is a required input\" />\n","comments":"","x":2108.5357055664062,"y":392.33335876464844,"z":"f8bd12f.b396cf","wires":[]},{"id":"5137004e.8046f","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":713.3571166992188,"y":1076.8332901000977,"z":"f8bd12f.b396cf","wires":[]},{"id":"3fa9f650.04461a","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 = $tunnelxconn-topology-operation-input.allotted-resource-information.onap-model-information.model-customization-uuid'\n pfx='ar-model'>\n\n","comments":"","outputs":1,"x":1539.302146911621,"y":611.6151895523071,"z":"f8bd12f.b396cf","wires":[["342a2062.3016f","3c94fe8c.f9c48a"]]},{"id":"ac2ca07c.8f157","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 ' + $tunnelxconn-topology-operation-input.allotted-resource-information.onap-model-information.model-customization-uuid`\" />\n","comments":"","x":1986.3854637145996,"y":599.7817430496216,"z":"f8bd12f.b396cf","wires":[]},{"id":"342a2062.3016f","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1787.6355438232422,"y":595.1389589309692,"z":"f8bd12f.b396cf","wires":[["ac2ca07c.8f157"]]},{"id":"3c94fe8c.f9c48a","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1781.3855438232422,"y":627.6389589309692,"z":"f8bd12f.b396cf","wires":[["ac2ca07c.8f157"]]},{"id":"4ef641b2.88622","type":"switchNode","name":"switch service-instance-id","xml":"<switch test='`$tunnelxconn-topology-operation-input.service-information.service-instance-id`'>\n","comments":"","outputs":1,"x":781.4285583496094,"y":363.19051361083984,"z":"f8bd12f.b396cf","wires":[["5c2101ed.68426"]]},{"id":"5c2101ed.68426","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":997.8571472167969,"y":364.19051361083984,"z":"f8bd12f.b396cf","wires":[["e8805a43.764d7"]]},{"id":"e8805a43.764d7","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":1156.2856750488281,"y":363.19051361083984,"z":"f8bd12f.b396cf","wires":[]},{"id":"33745c85.f01734","type":"other","name":"create","xml":"<outcome value='create'>","comments":"","outputs":1,"x":954.7777137756348,"y":576.2407293319702,"z":"f8bd12f.b396cf","wires":[["27b1a5c9.703fb2"]]},{"id":"27b1a5c9.703fb2","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1147.027603149414,"y":572.324052810669,"z":"f8bd12f.b396cf","wires":[["9e8069fd.cb145","be2f1214.6804a"]]},{"id":"b81789f9.0a9b5","type":"other","name":"delete","xml":"<outcome value='delete'>","comments":"","outputs":1,"x":968.111083984375,"y":852.9073152542114,"z":"f8bd12f.b396cf","wires":[["5be27043.6b85f"]]},{"id":"5be27043.6b85f","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1144.6111068725586,"y":850.9073696136475,"z":"f8bd12f.b396cf","wires":[["9e8069fd.cb145","be2f1214.6804a"]]},{"id":"9e8069fd.cb145","type":"switchNode","name":"switch allotted-resource-id","xml":"<switch test='`$tunnelxconn-topology-operation-input.allotted-resource-information.allotted-resource-id`'>\n","comments":"","outputs":1,"x":1635.2938537597656,"y":141.3729977607727,"z":"f8bd12f.b396cf","wires":[["637ba4be.9495e4"]]},{"id":"637ba4be.9495e4","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1838.3296146392822,"y":146.19443893432617,"z":"f8bd12f.b396cf","wires":[["c80adb0c.bf9c4"]]},{"id":"c80adb0c.bf9c4","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":2023.5080833435059,"y":141.44443893432617,"z":"f8bd12f.b396cf","wires":[]},{"id":"111c545d.ab113c","type":"switchNode","name":"switch allotted-resource-type","xml":"<switch test='`$tunnelxconn-topology-operation-input.allotted-resource-information.allotted-resource-type`'>\n","comments":"","outputs":1,"x":1639.2224349975586,"y":210.3214235305786,"z":"f8bd12f.b396cf","wires":[["cf5ac7f9.65d6a"]]},{"id":"cf5ac7f9.65d6a","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1834.7578468322754,"y":210.14284706115723,"z":"f8bd12f.b396cf","wires":[["90dc41a5.b5f198"]]},{"id":"90dc41a5.b5f198","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":1994.9363174438477,"y":209.14284706115723,"z":"f8bd12f.b396cf","wires":[]},{"id":"be2f1214.6804a","type":"switchNode","name":"switch parent-service-instance-id","xml":"<switch test='`$tunnelxconn-topology-operation-input.allotted-resource-information.parent-service-instance-id`'>\n","comments":"","outputs":1,"x":1654.5796127319336,"y":286.0357189178467,"z":"f8bd12f.b396cf","wires":[["fb65b1f0.8c6598"]]},{"id":"fb65b1f0.8c6598","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1874.0437355041504,"y":285.67856884002686,"z":"f8bd12f.b396cf","wires":[["d1d452a4.07303"]]},{"id":"d1d452a4.07303","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":2025.4722023010254,"y":284.67856884002686,"z":"f8bd12f.b396cf","wires":[]}] \ No newline at end of file
diff --git a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_brg-topology-operation-assign.xml b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_brg-topology-operation-assign.xml
index d89e2d95..c242bf07 100644
--- a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_brg-topology-operation-assign.xml
+++ b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_brg-topology-operation-assign.xml
@@ -18,7 +18,7 @@
<parameter name="target" value="{allotted-resource-id}"/>
<parameter name="replacement" value="`$tmp.ar.allotted-resource-id`"/>
</execute>
- <get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.mdsal.ConfigResource' resource='GENERIC-RESOURCE-API' key='brg-allotted-resources/brg-allotted-resource/$brg-topology-operation-input.alloted-resource-information.allotted-resource-id' pfx='mdsal-ar' >
+ <get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.mdsal.ConfigResource' resource='GENERIC-RESOURCE-API' key='brg-allotted-resources/brg-allotted-resource/$brg-topology-operation-input.allotted-resource-information.allotted-resource-id/' pfx='mdsal-ar' >
<outcome value='success'>
<return status='failure'>
<parameter name='ack-final' value='Y'/>
diff --git a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_validate-brg-input.xml b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_validate-brg-input.xml
index c63efde9..57b493fa 100644
--- a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_validate-brg-input.xml
+++ b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_validate-brg-input.xml
@@ -58,12 +58,12 @@
<return status='failure'>
<parameter name='ack-final' value='Y'/>
<parameter name="error-code" value="500" />
- <parameter name="error-message" value="`'No alloted resource model found for model customization UUID ' + $brg-topology-operation-input.allotted-resource-information.onap-model-information.model-customization-uuid`" />
+ <parameter name="error-message" value="`'No allotted resource model found for model customization UUID ' + $brg-topology-operation-input.allotted-resource-information.onap-model-information.model-customization-uuid`" />
</return></outcome><outcome value='failure'>
<return status='failure'>
<parameter name='ack-final' value='Y'/>
<parameter name="error-code" value="500" />
- <parameter name="error-message" value="`'No alloted resource model found for model customization UUID ' + $brg-topology-operation-input.allotted-resource-information.onap-model-information.model-customization-uuid`" />
+ <parameter name="error-message" value="`'No allotted resource model found for model customization UUID ' + $brg-topology-operation-input.allotted-resource-information.onap-model-information.model-customization-uuid`" />
</return></outcome></get-resource></block></outcome><outcome value='create'><block atomic="true"><switch test='`$brg-topology-operation-input.allotted-resource-information.allotted-resource-id`'>
<outcome value=''><return status='failure'>
<parameter name='ack-final' value='Y'/>
diff --git a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_validate-contrail-route-input.xml b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_validate-contrail-route-input.xml
index b84050d6..7ab4bb93 100755
--- a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_validate-contrail-route-input.xml
+++ b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_validate-contrail-route-input.xml
@@ -75,12 +75,12 @@
<return status='failure'>
<parameter name='ack-final' value='Y'/>
<parameter name="error-code" value="500" />
- <parameter name="error-message" value="`'No alloted resource model found for model customization UUID ' + $contrail-route-topology-operation-input.allotted-resource-information.onap-model-information.model-customization-uuid`" />
+ <parameter name="error-message" value="`'No allotted resource model found for model customization UUID ' + $contrail-route-topology-operation-input.allotted-resource-information.onap-model-information.model-customization-uuid`" />
</return></outcome><outcome value='failure'>
<return status='failure'>
<parameter name='ack-final' value='Y'/>
<parameter name="error-code" value="500" />
- <parameter name="error-message" value="`'No alloted resource model found for model customization UUID ' + $contrail-route-topology-operation-input.allotted-resource-information.onap-model-information.model-customization-uuid`" />
+ <parameter name="error-message" value="`'No allotted resource model found for model customization UUID ' + $contrail-route-topology-operation-input.allotted-resource-information.onap-model-information.model-customization-uuid`" />
</return></outcome></get-resource></block></outcome><outcome value='Other'><return status='failure'>
<parameter name='ack-final' value='Y'/>
<parameter name="error-code" value="500" />
@@ -159,4 +159,4 @@
<parameter name="ack-final-indicator" value="Y" />
<parameter name="error-code" value="200" />
<parameter name="error-message" value="`$error-message`" />
-</return></block></method></service-logic>
+</return></block></method></service-logic>
diff --git a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_validate-security-zone-input.xml b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_validate-security-zone-input.xml
index 9a766540..659a7939 100755
--- a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_validate-security-zone-input.xml
+++ b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_validate-security-zone-input.xml
@@ -70,12 +70,12 @@
<return status='failure'>
<parameter name='ack-final' value='Y'/>
<parameter name="error-code" value="500" />
- <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`" />
+ <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`" />
</return></outcome><outcome value='failure'>
<return status='failure'>
<parameter name='ack-final' value='Y'/>
<parameter name="error-code" value="500" />
- <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`" />
+ <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`" />
</return></outcome></get-resource></block></outcome><outcome value='Other'><return status='failure'>
<parameter name='ack-final' value='Y'/>
<parameter name="error-code" value="500" />
@@ -154,4 +154,4 @@
<parameter name="ack-final-indicator" value="Y" />
<parameter name="error-code" value="200" />
<parameter name="error-message" value="`$error-message`" />
-</return></block></method></service-logic>
+</return></block></method></service-logic>
diff --git a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_validate-tunnelxconn-input.xml b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_validate-tunnelxconn-input.xml
index 3cf8e6ed..58b7467f 100644
--- a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_validate-tunnelxconn-input.xml
+++ b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_validate-tunnelxconn-input.xml
@@ -48,12 +48,12 @@
<return status='failure'>
<parameter name='ack-final' value='Y'/>
<parameter name="error-code" value="500" />
- <parameter name="error-message" value="`'No alloted resource model found for model customization UUID ' + $tunnelxconn-topology-operation-input.allotted-resource-information.onap-model-information.model-customization-uuid`" />
+ <parameter name="error-message" value="`'No allotted resource model found for model customization UUID ' + $tunnelxconn-topology-operation-input.allotted-resource-information.onap-model-information.model-customization-uuid`" />
</return></outcome><outcome value='failure'>
<return status='failure'>
<parameter name='ack-final' value='Y'/>
<parameter name="error-code" value="500" />
- <parameter name="error-message" value="`'No alloted resource model found for model customization UUID ' + $tunnelxconn-topology-operation-input.allotted-resource-information.onap-model-information.model-customization-uuid`" />
+ <parameter name="error-message" value="`'No allotted resource model found for model customization UUID ' + $tunnelxconn-topology-operation-input.allotted-resource-information.onap-model-information.model-customization-uuid`" />
</return></outcome></get-resource></block></outcome><outcome value='create'><block atomic="true"><switch test='`$tunnelxconn-topology-operation-input.allotted-resource-information.allotted-resource-id`'>
<outcome value=''><return status='failure'>
<parameter name='ack-final' value='Y'/>