Fix Overlay DG testing issue
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_validate-network-input.json
index e822483..44b1a41 100644 (file)
@@ -1 +1,1727 @@
-[{"id":"6ab127d7.3e57c8","type":"dgstart","name":"DGSTART","outputs":1,"x":172.85714721679688,"y":85.71428680419922,"z":"41a5a817.3d5648","wires":[["4c59a442.f4cf4c"]]},{"id":"4c59a442.f4cf4c","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":245.14285278320312,"y":137.95240020751953,"z":"41a5a817.3d5648","wires":[["f4dd0024.4a75d"]]},{"id":"f4dd0024.4a75d","type":"method","name":"validate-network-input","xml":"<method rpc='validate-network-input' mode='sync'>\n","comments":"","outputs":1,"x":245.28577423095703,"y":199.71428680419922,"z":"41a5a817.3d5648","wires":[["6b1e8286.76d08c"]]},{"id":"6b1e8286.76d08c","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":258.60719299316406,"y":482.15778160095215,"z":"41a5a817.3d5648","wires":[["d7d522c6.c47a1","ef3da6ff.fcb4c8","d770503.09738b","49787de8.d52cc4","4dc7f80.27c8508","9e606dc6.bb62"]]},{"id":"d7d522c6.c47a1","type":"switchNode","name":"switch svc-request-id","xml":"<switch test='`$network-topology-operation-input.sdnc-request-header.svc-request-id`'>\n","comments":"","outputs":1,"x":575.0000076293945,"y":208.14287757873535,"z":"41a5a817.3d5648","wires":[["eda00305.af8c6"]]},{"id":"eda00305.af8c6","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":800.7143118722097,"y":208.14288003104048,"z":"41a5a817.3d5648","wires":[["5fa7cf6c.c6e4f"]]},{"id":"5fa7cf6c.c6e4f","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":952.1428778512136,"y":208.14287812369184,"z":"41a5a817.3d5648","wires":[]},{"id":"ef3da6ff.fcb4c8","type":"switchNode","name":"switch svc-action","xml":"<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n","comments":"","outputs":1,"x":563.5713806152344,"y":166.71430778503418,"z":"41a5a817.3d5648","wires":[["d3c980b5.f4f9d"]]},{"id":"d3c980b5.f4f9d","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":799.2857322692871,"y":165.28570556640625,"z":"41a5a817.3d5648","wires":[["60f3d2b2.8b6fec"]]},{"id":"60f3d2b2.8b6fec","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":949.2857055664062,"y":165.2857151031494,"z":"41a5a817.3d5648","wires":[]},{"id":"d770503.09738b","type":"switchNode","name":"switch request-action","xml":"<switch test='`$network-topology-operation-input.request-information.request-action`'>\n","comments":"","outputs":1,"x":573.571418762207,"y":251.00002479553223,"z":"41a5a817.3d5648","wires":[["642ffc6d.edb964"]]},{"id":"642ffc6d.edb964","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":800.7143075125559,"y":251.0000337873189,"z":"41a5a817.3d5648","wires":[["d98a3d01.69dd1"]]},{"id":"d98a3d01.69dd1","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":952.1428734915598,"y":251.00003187997027,"z":"41a5a817.3d5648","wires":[]},{"id":"49787de8.d52cc4","type":"switchNode","name":"switch service-instance-id","xml":"<switch test='`$network-topology-operation-input.service-information.service-instance-id`'>\n","comments":"","outputs":1,"x":582.7143249511719,"y":293.7142868041992,"z":"41a5a817.3d5648","wires":[["e35572e4.683a8"]]},{"id":"e35572e4.683a8","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":799.1429138183594,"y":294.7142868041992,"z":"41a5a817.3d5648","wires":[["18765702.c192b9"]]},{"id":"18765702.c192b9","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":957.5714416503906,"y":293.7142868041992,"z":"41a5a817.3d5648","wires":[]},{"id":"5cdaef51.cf01","type":"comment","name":"validate-network-input - CHANGELOG","info":"12/8: Initial release 1.0.0","comments":"","x":457.8571472167969,"y":49.71428680419922,"z":"41a5a817.3d5648","wires":[]},{"id":"4dc7f80.27c8508","type":"switchNode","name":"switch svc-action","xml":"<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n","comments":"","outputs":1,"x":559.8571472167969,"y":380.7142868041992,"z":"41a5a817.3d5648","wires":[["ab840805.c88aa8","7698d514.9e9e2c","9c038218.279e2","8a5331f6.7fc97"]]},{"id":"ab840805.c88aa8","type":"other","name":"assign","xml":"<outcome value='assign'>","comments":"","outputs":1,"x":792.5715026855469,"y":386.2856979370117,"z":"41a5a817.3d5648","wires":[["181f85f2.59fb4a"]]},{"id":"7698d514.9e9e2c","type":"other","name":"activate","xml":"<outcome value='activate'>","comments":"","outputs":1,"x":797.8571472167969,"y":443.7142868041992,"z":"41a5a817.3d5648","wires":[["d7064d3a.59a01"]]},{"id":"9c038218.279e2","type":"other","name":"deactivate","xml":"<outcome value='deactivate'>","comments":"","outputs":1,"x":804.8571472167969,"y":533.7142868041992,"z":"41a5a817.3d5648","wires":[["c401091a.c37a98"]]},{"id":"181f85f2.59fb4a","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":954.8571472167969,"y":385.7142868041992,"z":"41a5a817.3d5648","wires":[["9bede249.ab53a"]]},{"id":"9bede249.ab53a","type":"switchNode","name":"switch request-action","xml":"<switch test='`$network-topology-operation-input.request-information.request-action`'>\n","comments":"","outputs":1,"x":1174.8571472167969,"y":385.7142868041992,"z":"41a5a817.3d5648","wires":[["a2e85843.a5abb8","d66ddc9c.2a644"]]},{"id":"a2e85843.a5abb8","type":"other","name":"CreateNetworkInstance","xml":"<outcome value='CreateNetworkInstance'>","comments":"","outputs":1,"x":1454.8571472167969,"y":350.7142868041992,"z":"41a5a817.3d5648","wires":[["3038a703.535d38"]]},{"id":"d66ddc9c.2a644","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1403.8571472167969,"y":394.7142868041992,"z":"41a5a817.3d5648","wires":[["f2b15bb.3c848a8"]]},{"id":"f2b15bb.3c848a8","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"request-information.request-action is required to be CreateNetworkInstance for svc-action=assign\" />\n","comments":"","x":1572.8571472167969,"y":394.7142868041992,"z":"41a5a817.3d5648","wires":[]},{"id":"d7064d3a.59a01","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":971.8571472167969,"y":443.7142868041992,"z":"41a5a817.3d5648","wires":[["34fe96d4.b2500a"]]},{"id":"34fe96d4.b2500a","type":"switchNode","name":"switch request-action","xml":"<switch test='`$network-topology-operation-input.request-information.request-action`'>\n","comments":"","outputs":1,"x":1188.8571472167969,"y":443.7142868041992,"z":"41a5a817.3d5648","wires":[["c4a51e3e.a25db","8bdfe41b.6d4f88"]]},{"id":"c4a51e3e.a25db","type":"other","name":"CreateNetworkInstance","xml":"<outcome value='CreateNetworkInstance'>","comments":"","outputs":1,"x":1469.8571472167969,"y":444.7142868041992,"z":"41a5a817.3d5648","wires":[["246b8ff9.bce8"]]},{"id":"8bdfe41b.6d4f88","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1412.8571472167969,"y":484.7142868041992,"z":"41a5a817.3d5648","wires":[["bc9c621d.3e2ae"]]},{"id":"bc9c621d.3e2ae","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"request-information.request-action is required to be CreateNetworkInstance for svc-action=activate\" />\n","comments":"","x":1584.714443206787,"y":486.1428928375244,"z":"41a5a817.3d5648","wires":[]},{"id":"c401091a.c37a98","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":986.8571472167969,"y":532.7142868041992,"z":"41a5a817.3d5648","wires":[["a1a63bd0.1ec5a8"]]},{"id":"a1a63bd0.1ec5a8","type":"switchNode","name":"switch request-action","xml":"<switch test='`$network-topology-operation-input.request-information.request-action`'>\n","comments":"","outputs":1,"x":1203.8571472167969,"y":532.7142868041992,"z":"41a5a817.3d5648","wires":[["75f3214d.9e77d","21bf838c.09f3ec"]]},{"id":"75f3214d.9e77d","type":"other","name":"DeleteNetworkInstance","xml":"<outcome value='DeleteNetworkInstance'>","comments":"","outputs":1,"x":1484.8571472167969,"y":533.7142868041992,"z":"41a5a817.3d5648","wires":[["5a3b4e49.08f33"]]},{"id":"21bf838c.09f3ec","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1427.8571472167969,"y":573.7142868041992,"z":"41a5a817.3d5648","wires":[["a50b5c0e.432a7"]]},{"id":"a50b5c0e.432a7","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"request-information.request-action is required to be DeleteNetworkInstance for svc-action=deactivate\" />\n","comments":"","x":1596.8572120666504,"y":576.5714483261108,"z":"41a5a817.3d5648","wires":[]},{"id":"8a5331f6.7fc97","type":"other","name":"unassign","xml":"<outcome value='unassign'>","comments":"","outputs":1,"x":800.8571166992188,"y":627.7142639160156,"z":"41a5a817.3d5648","wires":[["3a283b63.0312d4"]]},{"id":"3a283b63.0312d4","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":982.8571472167969,"y":623.7142868041992,"z":"41a5a817.3d5648","wires":[["acd7d9f1.6d5088"]]},{"id":"acd7d9f1.6d5088","type":"switchNode","name":"switch request-action","xml":"<switch test='`$network-topology-operation-input.request-information.request-action`'>\n","comments":"","outputs":1,"x":1199.8571472167969,"y":623.7142868041992,"z":"41a5a817.3d5648","wires":[["32330185.59cdce","3c3df1cc.6cec8e"]]},{"id":"32330185.59cdce","type":"other","name":"DeleteNetworkInstance","xml":"<outcome value='DeleteNetworkInstance'>","comments":"","outputs":1,"x":1480.8571472167969,"y":624.7142868041992,"z":"41a5a817.3d5648","wires":[["d66e133d.3bb22"]]},{"id":"3c3df1cc.6cec8e","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1423.8571472167969,"y":664.7142868041992,"z":"41a5a817.3d5648","wires":[["778da03.f91686"]]},{"id":"778da03.f91686","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"request-information.request-action is required to be DeleteNetworkInstance for svc-action=unassign\" />\n","comments":"","x":1592.8571472167969,"y":664.7142868041992,"z":"41a5a817.3d5648","wires":[]},{"id":"3038a703.535d38","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1690.8571472167969,"y":349.7142868041992,"z":"41a5a817.3d5648","wires":[["c765164c.9eace8","11185b8d.68e464","d22c5621.e7ed08","53430aac.e9f274","8953c98c.1fc098","b1716261.5a723","2999af64.a7a08"]]},{"id":"246b8ff9.bce8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1694.8571472167969,"y":444.7142868041992,"z":"41a5a817.3d5648","wires":[["5011a400.db0fec","c765164c.9eace8","11185b8d.68e464","d22c5621.e7ed08","53430aac.e9f274","b1716261.5a723","2999af64.a7a08"]]},{"id":"5a3b4e49.08f33","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1740.8571472167969,"y":534.7142868041992,"z":"41a5a817.3d5648","wires":[["5011a400.db0fec"]]},{"id":"d66e133d.3bb22","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1739.8571472167969,"y":625.7142868041992,"z":"41a5a817.3d5648","wires":[["5011a400.db0fec"]]},{"id":"2999af64.a7a08","type":"switchNode","name":"switch onap-model-information.model-uuid","xml":"<switch test='`$network-topology-operation-input.service-information.onap-model-information.model-uuid`'>\n","comments":"","outputs":1,"x":2327.523811340332,"y":1073.714238166809,"z":"41a5a817.3d5648","wires":[["da26908.26dc67","7dd72bf4.535174"]]},{"id":"5011a400.db0fec","type":"switchNode","name":"switch network-information.network-id","xml":"<switch test='`$network-topology-operation-input.network-information.network-id`'>\n","comments":"","outputs":1,"x":2299.8569946289062,"y":592.3809604644775,"z":"41a5a817.3d5648","wires":[["da2e5662.90bf18"]]},{"id":"da2e5662.90bf18","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2528.571319580078,"y":594.3809604644775,"z":"41a5a817.3d5648","wires":[["46bc6888.3cf728"]]},{"id":"46bc6888.3cf728","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.network-information.network-id is a required input\" />\n","comments":"","x":2692.9999389648438,"y":592.3809604644775,"z":"41a5a817.3d5648","wires":[]},{"id":"7432549d.7b029c","type":"comment","name":"validations - required for all","info":"","comments":"","x":590.8571472167969,"y":123.71428680419922,"z":"41a5a817.3d5648","wires":[]},{"id":"6149c7a0.9e2508","type":"comment","name":"validations specific per svc-action","info":"","comments":"","x":602.8571472167969,"y":338.7142868041992,"z":"41a5a817.3d5648","wires":[]},{"id":"507daba4.f33a84","type":"comment","name":"network-request-information block validations","info":"","comments":"","x":2330.857147216797,"y":925.7142868041992,"z":"41a5a817.3d5648","wires":[]},{"id":"c765164c.9eace8","type":"switchNode","name":"switch network-request-information.tenant","xml":"<switch test='`$network-topology-operation-input.network-request-input.tenant`'>\n","comments":"","outputs":1,"x":2327.857147216797,"y":975.7142868041992,"z":"41a5a817.3d5648","wires":[["1a5fa5c7.b0d18a"]]},{"id":"1a5fa5c7.b0d18a","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2569.571502685547,"y":977.7142868041992,"z":"41a5a817.3d5648","wires":[["f027f546.8a9e68"]]},{"id":"f027f546.8a9e68","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"network-request-input.tenant is a required input\" />\n","comments":"","x":2721.0000915527344,"y":975.7142868041992,"z":"41a5a817.3d5648","wires":[]},{"id":"11185b8d.68e464","type":"switchNode","name":"switch network-request-information.aic-cloud-region","xml":"<switch test='`$network-topology-operation-input.network-request-input.aic-cloud-region`'>\n","comments":"","outputs":1,"x":2356.857147216797,"y":1018.7142868041992,"z":"41a5a817.3d5648","wires":[["7c6634cb.2fe02c"]]},{"id":"7c6634cb.2fe02c","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2618.571502685547,"y":1018.7142868041992,"z":"41a5a817.3d5648","wires":[["5b96c621.a931a8"]]},{"id":"5b96c621.a931a8","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.network-request-information.aic-cloud-region is a required input\" />\n","comments":"","x":2782.999969482422,"y":1017.7142868041992,"z":"41a5a817.3d5648","wires":[]},{"id":"d22c5621.e7ed08","type":"switchNode","name":"switch onap-model-information.model-invariant-uuid","xml":"<switch test='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`'>\n","comments":"","outputs":1,"x":2346.857208251953,"y":769.7143230438232,"z":"41a5a817.3d5648","wires":[["ffe55e64.cc6e"]]},{"id":"ffe55e64.cc6e","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2631.8572692871094,"y":768.7143173217773,"z":"41a5a817.3d5648","wires":[["5ca74dcc.f22ac4"]]},{"id":"5ca74dcc.f22ac4","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"network-information.onap-model-information.model-invariant-uuid is a required input\" />\n","comments":"","x":2783.2857360839844,"y":767.7143173217773,"z":"41a5a817.3d5648","wires":[]},{"id":"53430aac.e9f274","type":"switchNode","name":"switch onap-model-information.model-uuid","xml":"<switch test='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`'>\n","comments":"","outputs":1,"x":2320.0000915527344,"y":845.571403503418,"z":"41a5a817.3d5648","wires":[["cc57c618.935228"]]},{"id":"cc57c618.935228","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2560.0000915527344,"y":846.571403503418,"z":"41a5a817.3d5648","wires":[["475e9557.c6d32c"]]},{"id":"475e9557.c6d32c","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"network-information.onap-model-information.model-uuid is a required input\" />\n","comments":"","x":2725.4285583496094,"y":844.5713729858398,"z":"41a5a817.3d5648","wires":[]},{"id":"2fbcae92.f3d252","type":"comment","name":"network-information.onap-model-information block validations","info":"","comments":"","x":2366.0000915527344,"y":730.571403503418,"z":"41a5a817.3d5648","wires":[]},{"id":"b1716261.5a723","type":"switchNode","name":"switch onap-model-information.model-customization-uuid","xml":"<switch test='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`'>\n","comments":"","outputs":1,"x":2364.857147216797,"y":804.7142868041992,"z":"41a5a817.3d5648","wires":[["a7c4b830.4d2a88"]]},{"id":"a7c4b830.4d2a88","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2660.857147216797,"y":805.7142868041992,"z":"41a5a817.3d5648","wires":[["50af7fb0.9a0cd"]]},{"id":"50af7fb0.9a0cd","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"network-information.onap-model-information.model-customization-uuid is a required input\" />\n","comments":"","x":2808.285614013672,"y":805.7142868041992,"z":"41a5a817.3d5648","wires":[]},{"id":"9e606dc6.bb62","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":565.2142219543457,"y":702.3571214675903,"z":"41a5a817.3d5648","wires":[]},{"id":"8953c98c.1fc098","type":"switchNode","name":"switch network-information.network-id","xml":"<switch test='`$network-topology-operation-input.network-information.network-id`'>\n\n","comments":"","outputs":1,"x":2301.8570709228516,"y":639.047643661499,"z":"41a5a817.3d5648","wires":[["aae74684.f0dda8","80692ac4.4c61e8"]]},{"id":"aae74684.f0dda8","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":2597.857021331787,"y":671.71435546875,"z":"41a5a817.3d5648","wires":[["4ed88700.e91638"]]},{"id":"80692ac4.4c61e8","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2595.5239181518555,"y":638.7142295837402,"z":"41a5a817.3d5648","wires":[["8c56108c.57f57"]]},{"id":"8c56108c.57f57","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='' value='' />\n","comments":"","x":2755.857147216797,"y":635.7142868041992,"z":"41a5a817.3d5648","wires":[]},{"id":"841b40cc.f635f","type":"get-resource","name":"get-resource NETWORK_MODEL","xml":"<get-resource plugin='org.onap.ccsdk.sli.adaptors.sli.resource.sql.SqlResource' resource='SQL'\n  key='SELECT * from NETWORK_MODEL WHERE customization_uuid = $network-topology-operation-input.network-information.onap-model-information.model-customization-uuid\n  and service_uuid = $network-topology-operation-input.service-information.onap-model-information.model-uuid'\n  pfx='network-model'>\n\n","comments":"","outputs":1,"x":3043.040214538574,"y":1288.8927631378174,"z":"41a5a817.3d5648","wires":[["5d7f37c8.9ba188","b4e8d9f3.c1cda8"]]},{"id":"c17b9253.2645b","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 network model found for customization UUID ' \n    + $network-topology-operation-input.network-information.onap-model-information.model-customization-uuid +\n    ' and model-uuid ' + $network-topology-operation-input.service-information.onap-model-information.model-uuid`\" />\n","comments":"","x":3502.5044174194336,"y":1279.9401788711548,"z":"41a5a817.3d5648","wires":[]},{"id":"5d7f37c8.9ba188","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":3303.7544288635254,"y":1273.2973852157593,"z":"41a5a817.3d5648","wires":[["c17b9253.2645b"]]},{"id":"b4e8d9f3.c1cda8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":3297.5044288635254,"y":1305.7973852157593,"z":"41a5a817.3d5648","wires":[["c17b9253.2645b"]]},{"id":"5076277.ef718d8","type":"for","name":"for nidx..service-data.networks.network[]","xml":"<for index='nidx' start='0' end='`$service-data.networks.network_length`' >\n","comments":"","outputs":1,"x":3745.9684448242188,"y":711.1587524414062,"z":"41a5a817.3d5648","wires":[["bdf3da2f.82df78"]]},{"id":"7b4191b9.96922","type":"switchNode","name":"switch service-data.networks.network_length","xml":"<switch test='`$service-data.networks.network_length`'>\n","comments":"","outputs":1,"x":3005.682388305664,"y":673.730110168457,"z":"41a5a817.3d5648","wires":[["5d1aec57.6490c4","eeefabc.77a5a58"]]},{"id":"5d1aec57.6490c4","type":"other","name":"outcome Null","xml":"<outcome value=''>\n","comments":"","outputs":1,"x":3294.682388305664,"y":675.7301712036133,"z":"41a5a817.3d5648","wires":[["c38a3978.799d68"]]},{"id":"eeefabc.77a5a58","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":3274.682388305664,"y":710.7301712036133,"z":"41a5a817.3d5648","wires":[["43481644.30d748"]]},{"id":"bdf3da2f.82df78","type":"switchNode","name":"switch networkid found","xml":"<switch test=\"`$service-data.networks.network[$nidx].network-id == $network-topology-operation-input.network-information.network-id`\">\n\n","comments":"","outputs":1,"x":4036.3969955444336,"y":710.4088363647461,"z":"41a5a817.3d5648","wires":[["6db05184.d3014"]]},{"id":"6db05184.d3014","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":4225.349349975586,"y":711.3015747070312,"z":"41a5a817.3d5648","wires":[["95f707a8.f519b8"]]},{"id":"d129023b.96226","type":"set","name":"set tmp.nidx and ctx.network-data","xml":"<set>\n<parameter name='tmp.nidx' value='`$nidx`' />\n<parameter name='ctx.network-data.' value='`$service-data.networks.network[$nidx].`' />\n","comments":"","x":4668.881118774414,"y":720.0515975952148,"z":"41a5a817.3d5648","wires":[]},{"id":"43481644.30d748","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":3475.952407836914,"y":712.2847366333008,"z":"41a5a817.3d5648","wires":[["5076277.ef718d8","37c09b6f.552274"]]},{"id":"37c09b6f.552274","type":"switchNode","name":"switch tmp.nidx ","xml":"<switch test=\"`$tmp.nidx`\">\n\n","comments":"","outputs":1,"x":3664.269874572754,"y":753.1419591903687,"z":"41a5a817.3d5648","wires":[["3234ec06.966ed4"]]},{"id":"62bd6613.9eb128","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"network-topology-operation-input.network-request-input.network-id not found in service-data\" />\n","comments":"","x":4017.1268577575684,"y":748.856201171875,"z":"41a5a817.3d5648","wires":[]},{"id":"3234ec06.966ed4","type":"outcome","name":"NULL","xml":"<outcome value=''>\n","comments":"","outputs":1,"x":3835.6984100341797,"y":751.7133445739746,"z":"41a5a817.3d5648","wires":[["62bd6613.9eb128"]]},{"id":"4ed88700.e91638","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":2731.968276977539,"y":672.1587600708008,"z":"41a5a817.3d5648","wires":[["7b4191b9.96922"]]},{"id":"c38a3978.799d68","type":"record","name":"record","xml":"<record plugin=\"com.att.sdnctl.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"GENERIC-RESOURCE-API.validate-network-input\"/>\n<parameter name=\"field3\" value=\"`$network-topology-operation-input.sdnc-request-header.svc-request-id`\"/>\n<parameter name=\"field4\" value=\"Network id proveded but no network exists that matches\"/>\n<parameter name=\"field5\" value=\"`$network-topology-operation-input.network-information.network-id`\"/>\n\n\n\n","comments":"","outputs":1,"x":3455.968276977539,"y":675.1587600708008,"z":"41a5a817.3d5648","wires":[[]]},{"id":"c767fce.cccd4","type":"switchNode","name":"switch order-status","xml":"<switch test='`$ctx.network-data.network-data.network-level-oper-status.order-status`'>\n","comments":"","outputs":1,"x":4627.301528930664,"y":757.1587753295898,"z":"41a5a817.3d5648","wires":[["a1a0872f.35e998"]]},{"id":"a1a0872f.35e998","type":"other","name":"outcome Created","xml":"<outcome value='Created'>\n","comments":"","outputs":1,"x":4841.301528930664,"y":757.1587753295898,"z":"41a5a817.3d5648","wires":[["7d734a8.c4b78b4"]]},{"id":"7d734a8.c4b78b4","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Network aready exists in Created state matching network-id ' + $network-topology-operation-input.network-information.network-id`\" />\n","comments":"","x":5045.301528930664,"y":753.1587600708008,"z":"41a5a817.3d5648","wires":[]},{"id":"95f707a8.f519b8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":4373.967788696289,"y":711.1587600708008,"z":"41a5a817.3d5648","wires":[["d129023b.96226"]]},{"id":"da26908.26dc67","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2592.671890258789,"y":1073.3068771362305,"z":"41a5a817.3d5648","wires":[["1dddd4c3.75a05b"]]},{"id":"7dd72bf4.535174","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":2598.9218254089355,"y":1212.473482131958,"z":"41a5a817.3d5648","wires":[["d31eafb0.3ca5d"]]},{"id":"eadc3f09.27d1","type":"get-resource","name":"get-resource SERVICE_MODEL","xml":"<get-resource plugin='org.onap.ccsdk.sli.adaptors.sli.resource.sql.SqlResource' resource='SQL'\n  key='SELECT * from SERVICE_MODEL WHERE service_uuid = $network-topology-operation-input.service-information.onap-model-information.model-uuid'\n  pfx='service-model'>\n\n","comments":"","outputs":1,"x":3045.540199279785,"y":1211.9575357437134,"z":"41a5a817.3d5648","wires":[["3724789a.07bf88","7fff67b2.5b9128"]]},{"id":"cdf7a94d.143108","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 service model found for service UUID ' + $network-topology-operation-input.service-information.onap-model-information.model-uuid`\" />\n","comments":"","x":3492.623565673828,"y":1211.9575662612915,"z":"41a5a817.3d5648","wires":[]},{"id":"3724789a.07bf88","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":3293.8736457824707,"y":1207.3147821426392,"z":"41a5a817.3d5648","wires":[["cdf7a94d.143108"]]},{"id":"7fff67b2.5b9128","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":3287.6236457824707,"y":1239.8147821426392,"z":"41a5a817.3d5648","wires":[["cdf7a94d.143108"]]},{"id":"2199ac52.a52754","type":"get-resource","name":"get-resource NETWORK_MODEL","xml":"<get-resource plugin='org.onap.ccsdk.sli.adaptors.sli.resource.sql.SqlResource' resource='SQL'\n  key='SELECT * from NETWORK_MODEL WHERE customization_uuid = $network-topology-operation-input.network-information.onap-model-information.model-customization-uuid\n  and service_uuid = $service-data.service-information.onap-model-information.model-uuid'\n  pfx='network-model'>\n\n","comments":"","outputs":1,"x":3039.226402282715,"y":1148.1150856018066,"z":"41a5a817.3d5648","wires":[["fb39ce72.7ac11","9a65b565.a66b48"]]},{"id":"b207cf63.6ed86","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 network model found for customization UUID ' \n    + $network-topology-operation-input.network-information.onap-model-information.model-customization-uuid +\n    ' and model-uuid ' + $network-topology-operation-input.service-information.onap-model-information.model-uuid`\" />\n","comments":"","x":3498.690605163574,"y":1139.162501335144,"z":"41a5a817.3d5648","wires":[]},{"id":"fb39ce72.7ac11","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":3299.940616607666,"y":1132.5197076797485,"z":"41a5a817.3d5648","wires":[["b207cf63.6ed86"]]},{"id":"9a65b565.a66b48","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":3294.9405937194824,"y":1163.7697067260742,"z":"41a5a817.3d5648","wires":[["b207cf63.6ed86"]]},{"id":"65fe4dcf.819eb4","type":"get-resource","name":"get-resource SERVICE_MODEL","xml":"<get-resource plugin='org.onap.ccsdk.sli.adaptors.sli.resource.sql.SqlResource' resource='SQL'\n  key='SELECT * from SERVICE_MODEL WHERE service_uuid = $service-data.service-information.onap-model-information.model-uuid'\n  pfx='service-model'>","comments":"","outputs":1,"x":3037.9763259887695,"y":1073.6797513961792,"z":"41a5a817.3d5648","wires":[["718f4575.5b593c","2ee513d0.71b3dc"]]},{"id":"17962387.d3415c","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 service model found for service UUID ' + $network-topology-operation-input.service-information.onap-model-information.model-uuid`\" />\n","comments":"","x":3488.8097534179688,"y":1071.1798887252808,"z":"41a5a817.3d5648","wires":[]},{"id":"718f4575.5b593c","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":3290.0598335266113,"y":1066.5371046066284,"z":"41a5a817.3d5648","wires":[["17962387.d3415c"]]},{"id":"2ee513d0.71b3dc","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":3283.8098335266113,"y":1099.0371046066284,"z":"41a5a817.3d5648","wires":[["17962387.d3415c"]]},{"id":"1dddd4c3.75a05b","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":2767.996139526367,"y":1072.5197052955627,"z":"41a5a817.3d5648","wires":[["65fe4dcf.819eb4","2199ac52.a52754"]]},{"id":"d31eafb0.3ca5d","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":2760.496139526367,"y":1211.2697086334229,"z":"41a5a817.3d5648","wires":[["eadc3f09.27d1","841b40cc.f635f"]]}]
+[
+  {
+    "id": "5f3f5b7a.41ac74",
+    "type": "dgstart",
+    "name": "DGSTART",
+    "outputs": 1,
+    "x": 134.03125,
+    "y": 59.99999809265137,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "f0f3a318.27bb3"
+      ]
+    ]
+  },
+  {
+    "id": "f0f3a318.27bb3",
+    "type": "service-logic",
+    "name": "GENERIC-RESOURCE-API 1.2.0-SNAPSHOT",
+    "module": "GENERIC-RESOURCE-API",
+    "version": "1.2.0-SNAPSHOT",
+    "comments": "",
+    "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='1.2.0-SNAPSHOT'>",
+    "outputs": 1,
+    "x": 206.31695556640625,
+    "y": 112.23811149597168,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "f248e777.889178"
+      ]
+    ]
+  },
+  {
+    "id": "f248e777.889178",
+    "type": "method",
+    "name": "validate-network-input",
+    "xml": "<method rpc='validate-network-input' mode='sync'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 206.45987701416016,
+    "y": 173.99999809265137,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "18b797ed.89fef8"
+      ]
+    ]
+  },
+  {
+    "id": "18b797ed.89fef8",
+    "type": "block",
+    "name": "block : atomic",
+    "xml": "<block atomic=\"true\">",
+    "atomic": "true",
+    "outputs": 1,
+    "x": 219.7812957763672,
+    "y": 456.4434928894043,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "5cd1db9.aa83c24",
+        "8d16602e.7c349",
+        "768a7c7d.821fd4",
+        "73298f6d.494ec",
+        "d214794.53eb788",
+        "f3d5b1ea.9645e"
+      ]
+    ]
+  },
+  {
+    "id": "5cd1db9.aa83c24",
+    "type": "switchNode",
+    "name": "switch svc-request-id",
+    "xml": "<switch test='`$network-topology-operation-input.sdnc-request-header.svc-request-id`'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 536.1741104125977,
+    "y": 182.4285888671875,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "ab4d4682.0682b8"
+      ]
+    ]
+  },
+  {
+    "id": "ab4d4682.0682b8",
+    "type": "other",
+    "name": "NULL",
+    "xml": "<outcome value=''>",
+    "comments": "",
+    "outputs": 1,
+    "x": 761.8884146554128,
+    "y": 182.42859131949263,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "11d5bd20.05ddf3"
+      ]
+    ]
+  },
+  {
+    "id": "11d5bd20.05ddf3",
+    "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": 913.3169806344167,
+    "y": 182.428589412144,
+    "z": "8893d0be.32531",
+    "wires": []
+  },
+  {
+    "id": "8d16602e.7c349",
+    "type": "switchNode",
+    "name": "switch svc-action",
+    "xml": "<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 524.7454833984375,
+    "y": 141.00001907348633,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "4b6601a6.daaba"
+      ]
+    ]
+  },
+  {
+    "id": "4b6601a6.daaba",
+    "type": "other",
+    "name": "NULL",
+    "xml": "<outcome value=''>",
+    "comments": "",
+    "outputs": 1,
+    "x": 760.4598350524902,
+    "y": 139.5714168548584,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "887d1db4.9d597"
+      ]
+    ]
+  },
+  {
+    "id": "887d1db4.9d597",
+    "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": 910.4598083496094,
+    "y": 139.57142639160156,
+    "z": "8893d0be.32531",
+    "wires": []
+  },
+  {
+    "id": "768a7c7d.821fd4",
+    "type": "switchNode",
+    "name": "switch request-action",
+    "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 534.7455215454102,
+    "y": 225.28573608398438,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "cae90e43.102ff"
+      ]
+    ]
+  },
+  {
+    "id": "cae90e43.102ff",
+    "type": "other",
+    "name": "NULL",
+    "xml": "<outcome value=''>",
+    "comments": "",
+    "outputs": 1,
+    "x": 761.8884102957591,
+    "y": 225.28574507577105,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "4e414a1c.e00d24"
+      ]
+    ]
+  },
+  {
+    "id": "4e414a1c.e00d24",
+    "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": 913.316976274763,
+    "y": 225.2857431684224,
+    "z": "8893d0be.32531",
+    "wires": []
+  },
+  {
+    "id": "73298f6d.494ec",
+    "type": "switchNode",
+    "name": "switch service-instance-id",
+    "xml": "<switch test='`$network-topology-operation-input.service-information.service-instance-id`'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 535.8884429931641,
+    "y": 282.00001335144043,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "df674f5c.d1532"
+      ]
+    ]
+  },
+  {
+    "id": "df674f5c.d1532",
+    "type": "other",
+    "name": "NULL",
+    "xml": "<outcome value=''>",
+    "comments": "",
+    "outputs": 1,
+    "x": 760.3170166015625,
+    "y": 268.99999809265137,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "3065439b.14d65c"
+      ]
+    ]
+  },
+  {
+    "id": "3065439b.14d65c",
+    "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": 918.7455444335938,
+    "y": 267.99999809265137,
+    "z": "8893d0be.32531",
+    "wires": []
+  },
+  {
+    "id": "f4d14344.0e5f4",
+    "type": "comment",
+    "name": "validate-network-input - CHANGELOG",
+    "info": "12/8: Initial release 1.0.0",
+    "comments": "",
+    "x": 419.03125,
+    "y": 23.999998092651367,
+    "z": "8893d0be.32531",
+    "wires": []
+  },
+  {
+    "id": "d214794.53eb788",
+    "type": "switchNode",
+    "name": "switch svc-action",
+    "xml": "<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 493.03126525878906,
+    "y": 456.00001525878906,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "54861d88.081944",
+        "2eb0e84d.0d9948",
+        "8ffdd9e.5892828",
+        "8b85a1e9.e5cbc"
+      ]
+    ]
+  },
+  {
+    "id": "54861d88.081944",
+    "type": "other",
+    "name": "assign",
+    "xml": "<outcome value='assign'>",
+    "comments": "",
+    "outputs": 1,
+    "x": 753.74560546875,
+    "y": 360.57140922546387,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "a0ba5094.34089"
+      ]
+    ]
+  },
+  {
+    "id": "2eb0e84d.0d9948",
+    "type": "other",
+    "name": "activate",
+    "xml": "<outcome value='activate'>",
+    "comments": "",
+    "outputs": 1,
+    "x": 749.0313568115234,
+    "y": 490.9999885559082,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "5513e34e.18308c"
+      ]
+    ]
+  },
+  {
+    "id": "8ffdd9e.5892828",
+    "type": "other",
+    "name": "deactivate",
+    "xml": "<outcome value='deactivate'>",
+    "comments": "",
+    "outputs": 1,
+    "x": 752.0313186645508,
+    "y": 657.0000114440918,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "b5960321.a2acd"
+      ]
+    ]
+  },
+  {
+    "id": "a0ba5094.34089",
+    "type": "block",
+    "name": "block : atomic",
+    "xml": "<block atomic=\"true\">",
+    "atomic": "true",
+    "comments": "",
+    "outputs": 1,
+    "x": 916.03125,
+    "y": 359.99999809265137,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "9bad05fb.b569a8"
+      ]
+    ]
+  },
+  {
+    "id": "9bad05fb.b569a8",
+    "type": "switchNode",
+    "name": "switch request-action",
+    "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1136.03125,
+    "y": 359.99999809265137,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "69ced2d8.9588fc",
+        "616c725f.66f59c"
+      ]
+    ]
+  },
+  {
+    "id": "69ced2d8.9588fc",
+    "type": "other",
+    "name": "CreateNetworkInstance",
+    "xml": "<outcome value='CreateNetworkInstance'>",
+    "comments": "",
+    "outputs": 1,
+    "x": 1416.03125,
+    "y": 324.99999809265137,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "8d01ace0.92a79"
+      ]
+    ]
+  },
+  {
+    "id": "616c725f.66f59c",
+    "type": "other",
+    "name": "Other",
+    "xml": "<outcome value='Other'>",
+    "comments": "",
+    "outputs": 1,
+    "x": 1365.03125,
+    "y": 368.99999809265137,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "5fb52cac.0eb654"
+      ]
+    ]
+  },
+  {
+    "id": "5fb52cac.0eb654",
+    "type": "returnFailure",
+    "name": "return failure",
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"request-information.request-action is required to be CreateNetworkInstance for svc-action=assign\" />\n",
+    "comments": "",
+    "x": 1534.03125,
+    "y": 368.99999809265137,
+    "z": "8893d0be.32531",
+    "wires": []
+  },
+  {
+    "id": "5513e34e.18308c",
+    "type": "block",
+    "name": "block : atomic",
+    "xml": "<block atomic=\"true\">",
+    "atomic": "true",
+    "outputs": 1,
+    "x": 923.0313568115234,
+    "y": 490.9999885559082,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "2378c65e.073eba"
+      ]
+    ]
+  },
+  {
+    "id": "2378c65e.073eba",
+    "type": "switchNode",
+    "name": "switch request-action",
+    "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1140.0313568115234,
+    "y": 490.9999885559082,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "8de45679.3b3c18",
+        "6955c602.6a6528",
+        "96152f20.469f"
+      ]
+    ]
+  },
+  {
+    "id": "8de45679.3b3c18",
+    "type": "other",
+    "name": "CreateNetworkInstance",
+    "xml": "<outcome value='CreateNetworkInstance'>",
+    "comments": "",
+    "outputs": 1,
+    "x": 1421.0313568115234,
+    "y": 491.9999885559082,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "94518ad8.741728"
+      ]
+    ]
+  },
+  {
+    "id": "6955c602.6a6528",
+    "type": "other",
+    "name": "Other",
+    "xml": "<outcome value='Other'>",
+    "comments": "",
+    "outputs": 1,
+    "x": 1364.0313568115234,
+    "y": 531.9999885559082,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "8b16105d.d10c5"
+      ]
+    ]
+  },
+  {
+    "id": "8b16105d.d10c5",
+    "type": "returnFailure",
+    "name": "return failure",
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"request-information.request-action is required to be CreateNetworkInstance for svc-action=activate\" />\n",
+    "comments": "",
+    "x": 1535.8886528015137,
+    "y": 533.4285945892334,
+    "z": "8893d0be.32531",
+    "wires": []
+  },
+  {
+    "id": "b5960321.a2acd",
+    "type": "block",
+    "name": "block : atomic",
+    "xml": "<block atomic=\"true\">",
+    "atomic": "true",
+    "outputs": 1,
+    "x": 934.0313186645508,
+    "y": 656.0000114440918,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "413c7adb.c15c44"
+      ]
+    ]
+  },
+  {
+    "id": "413c7adb.c15c44",
+    "type": "switchNode",
+    "name": "switch request-action",
+    "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1151.0313186645508,
+    "y": 656.0000114440918,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "366873bb.05934c",
+        "2e293ab5.08c366",
+        "b2644153.2a067"
+      ]
+    ]
+  },
+  {
+    "id": "366873bb.05934c",
+    "type": "other",
+    "name": "DeleteNetworkInstance",
+    "xml": "<outcome value='DeleteNetworkInstance'>",
+    "comments": "",
+    "outputs": 1,
+    "x": 1432.0313186645508,
+    "y": 657.0000114440918,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "7a6470e0.53a19"
+      ]
+    ]
+  },
+  {
+    "id": "2e293ab5.08c366",
+    "type": "other",
+    "name": "Other",
+    "xml": "<outcome value='Other'>",
+    "comments": "",
+    "outputs": 1,
+    "x": 1375.0313186645508,
+    "y": 697.0000114440918,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "c463df98.ea3ee"
+      ]
+    ]
+  },
+  {
+    "id": "c463df98.ea3ee",
+    "type": "returnFailure",
+    "name": "return failure",
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"request-information.request-action is required to be DeleteNetworkInstance for svc-action=deactivate\" />\n",
+    "comments": "",
+    "x": 1544.0313835144043,
+    "y": 699.8571729660034,
+    "z": "8893d0be.32531",
+    "wires": []
+  },
+  {
+    "id": "8b85a1e9.e5cbc",
+    "type": "other",
+    "name": "unassign",
+    "xml": "<outcome value='unassign'>",
+    "comments": "",
+    "outputs": 1,
+    "x": 748.0312881469727,
+    "y": 750.9999885559082,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "c3a2fdfb.7fd72"
+      ]
+    ]
+  },
+  {
+    "id": "c3a2fdfb.7fd72",
+    "type": "block",
+    "name": "block : atomic",
+    "xml": "<block atomic=\"true\">",
+    "atomic": "true",
+    "outputs": 1,
+    "x": 930.0313186645508,
+    "y": 747.0000114440918,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "4f8159c.6d86fa8"
+      ]
+    ]
+  },
+  {
+    "id": "4f8159c.6d86fa8",
+    "type": "switchNode",
+    "name": "switch request-action",
+    "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1147.0313186645508,
+    "y": 747.0000114440918,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "550fb1ae.b9c5c",
+        "8c9d3f7f.4516f"
+      ]
+    ]
+  },
+  {
+    "id": "550fb1ae.b9c5c",
+    "type": "other",
+    "name": "DeleteNetworkInstance",
+    "xml": "<outcome value='DeleteNetworkInstance'>",
+    "comments": "",
+    "outputs": 1,
+    "x": 1428.0313186645508,
+    "y": 748.0000114440918,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "8347def4.e8f43"
+      ]
+    ]
+  },
+  {
+    "id": "8c9d3f7f.4516f",
+    "type": "other",
+    "name": "Other",
+    "xml": "<outcome value='Other'>",
+    "comments": "",
+    "outputs": 1,
+    "x": 1371.0313186645508,
+    "y": 788.0000114440918,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "895e5aa8.c214e8"
+      ]
+    ]
+  },
+  {
+    "id": "895e5aa8.c214e8",
+    "type": "returnFailure",
+    "name": "return failure",
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"request-information.request-action is required to be DeleteNetworkInstance for svc-action=unassign\" />\n",
+    "comments": "",
+    "x": 1540.0313186645508,
+    "y": 788.0000114440918,
+    "z": "8893d0be.32531",
+    "wires": []
+  },
+  {
+    "id": "8d01ace0.92a79",
+    "type": "block",
+    "name": "block : atomic",
+    "xml": "<block atomic=\"true\">",
+    "atomic": "true",
+    "comments": "",
+    "outputs": 1,
+    "x": 1652.03125,
+    "y": 323.99999809265137,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "1bfbd5a6.718d3a",
+        "e6612016.3e4c5",
+        "b1a90522.c6b958",
+        "6352e03d.22eed",
+        "a58d7ad5.945658",
+        "6492fa8d.a3f754",
+        "dbf6cbd2.03c8d8"
+      ]
+    ]
+  },
+  {
+    "id": "94518ad8.741728",
+    "type": "block",
+    "name": "block : atomic",
+    "xml": "<block atomic=\"true\">",
+    "atomic": "true",
+    "comments": "",
+    "outputs": 1,
+    "x": 1646.0313568115234,
+    "y": 491.9999885559082,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "1bfbd5a6.718d3a",
+        "e6612016.3e4c5",
+        "b1a90522.c6b958",
+        "6352e03d.22eed",
+        "a58d7ad5.945658",
+        "6492fa8d.a3f754",
+        "de4bc965.10a9a8"
+      ]
+    ]
+  },
+  {
+    "id": "7a6470e0.53a19",
+    "type": "block",
+    "name": "block : atomic",
+    "xml": "<block atomic=\"true\">",
+    "atomic": "true",
+    "comments": "",
+    "outputs": 1,
+    "x": 1688.0313186645508,
+    "y": 658.0000114440918,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "de4bc965.10a9a8"
+      ]
+    ]
+  },
+  {
+    "id": "8347def4.e8f43",
+    "type": "block",
+    "name": "block : atomic",
+    "xml": "<block atomic=\"true\">",
+    "atomic": "true",
+    "comments": "",
+    "outputs": 1,
+    "x": 1687.0313186645508,
+    "y": 749.0000114440918,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "de4bc965.10a9a8"
+      ]
+    ]
+  },
+  {
+    "id": "a58d7ad5.945658",
+    "type": "switchNode",
+    "name": "switch onap-model-information.model-uuid",
+    "xml": "<switch test='`$network-topology-operation-input.service-information.onap-model-information.model-uuid`'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 2288.697914123535,
+    "y": 1047.9999494552612,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "a2089e7a.ac5b1",
+        "42b6c1fc.c06a7"
+      ]
+    ]
+  },
+  {
+    "id": "8ba860ac.98ed2",
+    "type": "comment",
+    "name": "validations - required for all",
+    "info": "",
+    "comments": "",
+    "x": 552.03125,
+    "y": 97.99999809265137,
+    "z": "8893d0be.32531",
+    "wires": []
+  },
+  {
+    "id": "7f1548ab.76a718",
+    "type": "comment",
+    "name": "validations specific per svc-action",
+    "info": "",
+    "comments": "",
+    "x": 564.03125,
+    "y": 312.99999809265137,
+    "z": "8893d0be.32531",
+    "wires": []
+  },
+  {
+    "id": "a63772a0.90d1",
+    "type": "comment",
+    "name": "network-request-information block validations",
+    "info": "",
+    "comments": "",
+    "x": 2292.03125,
+    "y": 899.9999980926514,
+    "z": "8893d0be.32531",
+    "wires": []
+  },
+  {
+    "id": "1bfbd5a6.718d3a",
+    "type": "switchNode",
+    "name": "switch network-request-information.tenant",
+    "xml": "<switch test='`$network-topology-operation-input.network-request-input.tenant`'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 2289.03125,
+    "y": 949.9999980926514,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "cf16e334.e3d85"
+      ]
+    ]
+  },
+  {
+    "id": "cf16e334.e3d85",
+    "type": "other",
+    "name": "NULL",
+    "xml": "<outcome value=''>",
+    "comments": "",
+    "outputs": 1,
+    "x": 2530.74560546875,
+    "y": 951.9999980926514,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "ad280e32.435b6"
+      ]
+    ]
+  },
+  {
+    "id": "ad280e32.435b6",
+    "type": "returnFailure",
+    "name": "return failure",
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"network-request-input.tenant is a required input\" />\n",
+    "comments": "",
+    "x": 2682.1741943359375,
+    "y": 949.9999980926514,
+    "z": "8893d0be.32531",
+    "wires": []
+  },
+  {
+    "id": "e6612016.3e4c5",
+    "type": "switchNode",
+    "name": "switch network-request-information.aic-cloud-region",
+    "xml": "<switch test='`$network-topology-operation-input.network-request-input.aic-cloud-region`'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 2318.03125,
+    "y": 992.9999980926514,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "2e6c842b.3d3bfc"
+      ]
+    ]
+  },
+  {
+    "id": "2e6c842b.3d3bfc",
+    "type": "other",
+    "name": "NULL",
+    "xml": "<outcome value=''>",
+    "comments": "",
+    "outputs": 1,
+    "x": 2579.74560546875,
+    "y": 992.9999980926514,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "4f8437fb.4ebe28"
+      ]
+    ]
+  },
+  {
+    "id": "4f8437fb.4ebe28",
+    "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.network-request-information.aic-cloud-region is a required input\" />\n",
+    "comments": "",
+    "x": 2744.174072265625,
+    "y": 991.9999980926514,
+    "z": "8893d0be.32531",
+    "wires": []
+  },
+  {
+    "id": "b1a90522.c6b958",
+    "type": "switchNode",
+    "name": "switch onap-model-information.model-uuid",
+    "xml": "<switch test='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 2281.1741943359375,
+    "y": 819.8571147918701,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "662ea3fd.3a569c"
+      ]
+    ]
+  },
+  {
+    "id": "662ea3fd.3a569c",
+    "type": "other",
+    "name": "NULL",
+    "xml": "<outcome value=''>",
+    "comments": "",
+    "outputs": 1,
+    "x": 2521.1741943359375,
+    "y": 820.8571147918701,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "a27bb01c.4d33c"
+      ]
+    ]
+  },
+  {
+    "id": "a27bb01c.4d33c",
+    "type": "returnFailure",
+    "name": "return failure",
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"network-information.onap-model-information.model-uuid is a required input\" />\n",
+    "comments": "",
+    "x": 2686.6026611328125,
+    "y": 818.857084274292,
+    "z": "8893d0be.32531",
+    "wires": []
+  },
+  {
+    "id": "6352e03d.22eed",
+    "type": "switchNode",
+    "name": "switch onap-model-information.model-customization-uuid",
+    "xml": "<switch test='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 2326.03125,
+    "y": 778.9999980926514,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "8f05ec67.db021"
+      ]
+    ]
+  },
+  {
+    "id": "8f05ec67.db021",
+    "type": "other",
+    "name": "NULL",
+    "xml": "<outcome value=''>",
+    "comments": "",
+    "outputs": 1,
+    "x": 2622.03125,
+    "y": 779.9999980926514,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "68925179.7127d"
+      ]
+    ]
+  },
+  {
+    "id": "68925179.7127d",
+    "type": "returnFailure",
+    "name": "return failure",
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"network-information.onap-model-information.model-customization-uuid is a required input\" />\n",
+    "comments": "",
+    "x": 2769.459716796875,
+    "y": 779.9999980926514,
+    "z": "8893d0be.32531",
+    "wires": []
+  },
+  {
+    "id": "f3d5b1ea.9645e",
+    "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": 526.3883247375488,
+    "y": 676.6428327560425,
+    "z": "8893d0be.32531",
+    "wires": []
+  },
+  {
+    "id": "96895c09.a6753",
+    "type": "get-resource",
+    "name": "get-resource NETWORK_MODEL",
+    "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n  key='SELECT * from NETWORK_MODEL WHERE customization_uuid = $network-topology-operation-input.network-information.onap-model-information.model-customization-uuid\n  and service_uuid = $network-topology-operation-input.service-information.onap-model-information.model-uuid'\n  pfx='network-model'>\n\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 3004.2143173217773,
+    "y": 1263.1784744262695,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "f9258daf.8b602",
+        "5c25b9d9.438728"
+      ]
+    ]
+  },
+  {
+    "id": "ac3d2a23.2dc468",
+    "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 network model found for customization UUID ' \n    + $network-topology-operation-input.network-information.onap-model-information.model-customization-uuid +\n    ' and model-uuid ' + $network-topology-operation-input.service-information.onap-model-information.model-uuid`\" />\n",
+    "comments": "",
+    "x": 3463.6785202026367,
+    "y": 1254.225890159607,
+    "z": "8893d0be.32531",
+    "wires": []
+  },
+  {
+    "id": "f9258daf.8b602",
+    "type": "not-found",
+    "name": "not-found",
+    "xml": "<outcome value='not-found'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 3264.9285316467285,
+    "y": 1247.5830965042114,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "ac3d2a23.2dc468"
+      ]
+    ]
+  },
+  {
+    "id": "5c25b9d9.438728",
+    "type": "failure",
+    "name": "failure",
+    "xml": "<outcome value='failure'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 3258.6785316467285,
+    "y": 1280.0830965042114,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "ac3d2a23.2dc468"
+      ]
+    ]
+  },
+  {
+    "id": "a2089e7a.ac5b1",
+    "type": "other",
+    "name": "NULL",
+    "xml": "<outcome value=''>",
+    "comments": "",
+    "outputs": 1,
+    "x": 2553.845993041992,
+    "y": 1047.5925884246826,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "620a39e0.d0cdb8"
+      ]
+    ]
+  },
+  {
+    "id": "42b6c1fc.c06a7",
+    "type": "other",
+    "name": "Other",
+    "xml": "<outcome value='Other'>",
+    "comments": "",
+    "outputs": 1,
+    "x": 2560.0959281921387,
+    "y": 1186.7591934204102,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "8a643c02.96779"
+      ]
+    ]
+  },
+  {
+    "id": "4b09caaf.8b4044",
+    "type": "get-resource",
+    "name": "get-resource SERVICE_MODEL",
+    "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n  key='SELECT * from SERVICE_MODEL WHERE service_uuid = $network-topology-operation-input.service-information.onap-model-information.model-uuid'\n  pfx='service-model'>\n\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 3006.7143020629883,
+    "y": 1186.2432470321655,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "c368ca47.7ac378",
+        "c422bd25.160ed"
+      ]
+    ]
+  },
+  {
+    "id": "f0c9c755.52a178",
+    "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 service model found for service UUID ' + $network-topology-operation-input.service-information.onap-model-information.model-uuid`\" />\n",
+    "comments": "",
+    "x": 3453.7976684570312,
+    "y": 1186.2432775497437,
+    "z": "8893d0be.32531",
+    "wires": []
+  },
+  {
+    "id": "c368ca47.7ac378",
+    "type": "not-found",
+    "name": "not-found",
+    "xml": "<outcome value='not-found'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 3255.047748565674,
+    "y": 1181.6004934310913,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "f0c9c755.52a178"
+      ]
+    ]
+  },
+  {
+    "id": "c422bd25.160ed",
+    "type": "failure",
+    "name": "failure",
+    "xml": "<outcome value='failure'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 3248.797748565674,
+    "y": 1214.1004934310913,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "f0c9c755.52a178"
+      ]
+    ]
+  },
+  {
+    "id": "b60ce6b6.6e55c8",
+    "type": "get-resource",
+    "name": "get-resource NETWORK_MODEL",
+    "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n  key='SELECT * from NETWORK_MODEL WHERE customization_uuid = $network-topology-operation-input.network-information.onap-model-information.model-customization-uuid\n  and service_uuid = $service-data.service-information.onap-model-information.model-uuid'\n  pfx='network-model'>\n\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 3000.400505065918,
+    "y": 1122.4007968902588,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "53ee50da.92c",
+        "302de1ee.96625e"
+      ]
+    ]
+  },
+  {
+    "id": "508d66c6.0a5cd8",
+    "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 network model found for customization UUID ' \n    + $network-topology-operation-input.network-information.onap-model-information.model-customization-uuid +\n    ' and model-uuid ' + $network-topology-operation-input.service-information.onap-model-information.model-uuid`\" />\n",
+    "comments": "",
+    "x": 3459.8647079467773,
+    "y": 1113.4482126235962,
+    "z": "8893d0be.32531",
+    "wires": []
+  },
+  {
+    "id": "53ee50da.92c",
+    "type": "not-found",
+    "name": "not-found",
+    "xml": "<outcome value='not-found'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 3261.114719390869,
+    "y": 1106.8054189682007,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "508d66c6.0a5cd8"
+      ]
+    ]
+  },
+  {
+    "id": "302de1ee.96625e",
+    "type": "failure",
+    "name": "failure",
+    "xml": "<outcome value='failure'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 3256.1146965026855,
+    "y": 1138.0554180145264,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "508d66c6.0a5cd8"
+      ]
+    ]
+  },
+  {
+    "id": "3336f7e.5de1408",
+    "type": "get-resource",
+    "name": "get-resource SERVICE_MODEL",
+    "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n  key='SELECT * from SERVICE_MODEL WHERE service_uuid = $service-data.service-information.onap-model-information.model-uuid'\n  pfx='service-model'>",
+    "comments": "",
+    "outputs": 1,
+    "x": 2999.1504287719727,
+    "y": 1047.9654626846313,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "97b21fe.ac0ede",
+        "a706b0a7.379b8"
+      ]
+    ]
+  },
+  {
+    "id": "d796bf5.a742d4",
+    "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 service model found for service UUID ' + $network-topology-operation-input.service-information.onap-model-information.model-uuid`\" />\n",
+    "comments": "",
+    "x": 3449.983856201172,
+    "y": 1045.465600013733,
+    "z": "8893d0be.32531",
+    "wires": []
+  },
+  {
+    "id": "97b21fe.ac0ede",
+    "type": "not-found",
+    "name": "not-found",
+    "xml": "<outcome value='not-found'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 3251.2339363098145,
+    "y": 1040.8228158950806,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "d796bf5.a742d4"
+      ]
+    ]
+  },
+  {
+    "id": "a706b0a7.379b8",
+    "type": "failure",
+    "name": "failure",
+    "xml": "<outcome value='failure'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 3244.9839363098145,
+    "y": 1073.3228158950806,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "d796bf5.a742d4"
+      ]
+    ]
+  },
+  {
+    "id": "620a39e0.d0cdb8",
+    "type": "block",
+    "name": "block : atomic",
+    "xml": "<block atomic=\"true\">",
+    "atomic": "true",
+    "outputs": 1,
+    "x": 2729.1702423095703,
+    "y": 1046.805416584015,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "3336f7e.5de1408",
+        "b60ce6b6.6e55c8"
+      ]
+    ]
+  },
+  {
+    "id": "8a643c02.96779",
+    "type": "block",
+    "name": "block : atomic",
+    "xml": "<block atomic=\"true\">",
+    "atomic": "true",
+    "outputs": 1,
+    "x": 2721.6702423095703,
+    "y": 1185.555419921875,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "4b09caaf.8b4044",
+        "96895c09.a6753"
+      ]
+    ]
+  },
+  {
+    "id": "96152f20.469f",
+    "type": "outcome",
+    "name": "ActivateDCINetworkInstance",
+    "xml": "<outcome value='ActivateDCINetworkInstance'>",
+    "comments": "",
+    "outputs": 1,
+    "x": 1435.6978378295898,
+    "y": 444.99999809265137,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "4b2f8e37.5461c"
+      ]
+    ]
+  },
+  {
+    "id": "b2644153.2a067",
+    "type": "outcome",
+    "name": "DeActivateDCINetworkInstance",
+    "xml": "<outcome value='DeActivateDCINetworkInstance'>",
+    "comments": "",
+    "outputs": 1,
+    "x": 1457.0312118530273,
+    "y": 607.9999980926514,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "31bb2eb9.4b2df2"
+      ]
+    ]
+  },
+  {
+    "id": "6492fa8d.a3f754",
+    "type": "switchNode",
+    "name": "switch onap-model-information.model-invariant-uuid",
+    "xml": "<switch test='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 2308.0313110351562,
+    "y": 744.0000343322754,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "d0898bc.4da8178"
+      ]
+    ]
+  },
+  {
+    "id": "d0898bc.4da8178",
+    "type": "other",
+    "name": "NULL",
+    "xml": "<outcome value=''>",
+    "comments": "",
+    "outputs": 1,
+    "x": 2593.0313720703125,
+    "y": 743.0000286102295,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "1ca0e8c8.26dc17"
+      ]
+    ]
+  },
+  {
+    "id": "1ca0e8c8.26dc17",
+    "type": "returnFailure",
+    "name": "return failure",
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"network-information.onap-model-information.model-invariant-uuid is a required input\" />\n",
+    "comments": "",
+    "x": 2744.4598388671875,
+    "y": 742.0000286102295,
+    "z": "8893d0be.32531",
+    "wires": []
+  },
+  {
+    "id": "158231ee.a3fc1e",
+    "type": "comment",
+    "name": "network-information.onap-model-information block validations",
+    "info": "",
+    "comments": "",
+    "x": 2327.1741943359375,
+    "y": 704.8571147918701,
+    "z": "8893d0be.32531",
+    "wires": []
+  },
+  {
+    "id": "dbf6cbd2.03c8d8",
+    "type": "switchNode",
+    "name": "switch network-information.network-id",
+    "xml": "<switch test='`$network-topology-operation-input.network-information.network-id`'>\n\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 2263.0311737060547,
+    "y": 613.3333549499512,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "6175843f.314bac",
+        "6cf19d4d.69d604"
+      ]
+    ]
+  },
+  {
+    "id": "6175843f.314bac",
+    "type": "other",
+    "name": "Other",
+    "xml": "<outcome value='Other'>",
+    "comments": "",
+    "outputs": 1,
+    "x": 2559.0311241149902,
+    "y": 646.0000667572021,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "c1d6e588.8008f8"
+      ]
+    ]
+  },
+  {
+    "id": "c1d6e588.8008f8",
+    "type": "block",
+    "name": "block",
+    "xml": "<block>\n",
+    "atomic": "false",
+    "comments": "",
+    "outputs": 1,
+    "x": 2693.142379760742,
+    "y": 646.4444713592529,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "71346c27.04b7d4"
+      ]
+    ]
+  },
+  {
+    "id": "71346c27.04b7d4",
+    "type": "switchNode",
+    "name": "switch service-data.networks.network_length",
+    "xml": "<switch test='`$service-data.networks.network_length`'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 2966.856491088867,
+    "y": 648.0158214569092,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "34df5d30.93d862",
+        "b53e3219.4661d"
+      ]
+    ]
+  },
+  {
+    "id": "34df5d30.93d862",
+    "type": "other",
+    "name": "outcome Null",
+    "xml": "<outcome value=''>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 3255.856491088867,
+    "y": 650.0158824920654,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "dd967162.ba1ae"
+      ]
+    ]
+  },
+  {
+    "id": "b53e3219.4661d",
+    "type": "other",
+    "name": "other",
+    "xml": "<outcome value='Other'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 3235.856491088867,
+    "y": 685.0158824920654,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "ad38a9d8.149638"
+      ]
+    ]
+  },
+  {
+    "id": "ad38a9d8.149638",
+    "type": "block",
+    "name": "block : atomic",
+    "xml": "<block atomic=\"true\">",
+    "atomic": "true",
+    "outputs": 1,
+    "x": 3437.126510620117,
+    "y": 686.5704479217529,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "aa0170e3.5679c",
+        "2465dbb6.c0a6e4"
+      ]
+    ]
+  },
+  {
+    "id": "aa0170e3.5679c",
+    "type": "for",
+    "name": "for nidx..service-data.networks.network[]",
+    "xml": "<for index='nidx' start='0' end='`$service-data.networks.network_length`' >\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 3707.142547607422,
+    "y": 685.4444637298584,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "1fbf0f94.4056a"
+      ]
+    ]
+  },
+  {
+    "id": "1fbf0f94.4056a",
+    "type": "switchNode",
+    "name": "switch networkid found",
+    "xml": "<switch test=\"`$service-data.networks.network[$nidx].network-id == $network-topology-operation-input.network-information.network-id`\">\n\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 3997.5710983276367,
+    "y": 684.6945476531982,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "3de6966a.9e173a"
+      ]
+    ]
+  },
+  {
+    "id": "3de6966a.9e173a",
+    "type": "outcomeTrue",
+    "name": "true",
+    "xml": "<outcome value='true'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 4186.523452758789,
+    "y": 685.5872859954834,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "4f5a1354.1233dc"
+      ]
+    ]
+  },
+  {
+    "id": "4acc4fac.09f96",
+    "type": "set",
+    "name": "set tmp.nidx and ctx.network-data",
+    "xml": "<set>\n<parameter name='tmp.nidx' value='`$nidx`' />\n<parameter name='ctx.network-data.' value='`$service-data.networks.network[$nidx].`' />\n",
+    "comments": "",
+    "x": 4630.055221557617,
+    "y": 694.337308883667,
+    "z": "8893d0be.32531",
+    "wires": []
+  },
+  {
+    "id": "2465dbb6.c0a6e4",
+    "type": "switchNode",
+    "name": "switch tmp.nidx ",
+    "xml": "<switch test=\"`$tmp.nidx`\">\n\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 3625.443977355957,
+    "y": 727.4276704788208,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "dea84216.b653a"
+      ]
+    ]
+  },
+  {
+    "id": "ecca41ce.fcb55",
+    "type": "returnFailure",
+    "name": "return failure",
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"network-topology-operation-input.network-request-input.network-id not found in service-data\" />\n",
+    "comments": "",
+    "x": 3978.3009605407715,
+    "y": 723.1419124603271,
+    "z": "8893d0be.32531",
+    "wires": []
+  },
+  {
+    "id": "dea84216.b653a",
+    "type": "outcome",
+    "name": "NULL",
+    "xml": "<outcome value=''>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 3796.872512817383,
+    "y": 725.9990558624268,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "ecca41ce.fcb55"
+      ]
+    ]
+  },
+  {
+    "id": "9ff8451b.0ce6b8",
+    "type": "switchNode",
+    "name": "switch order-status",
+    "xml": "<switch test='`$ctx.network-data.network-data.network-level-oper-status.order-status`'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 4588.475631713867,
+    "y": 731.444486618042,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "1c527fbe.e34b3"
+      ]
+    ]
+  },
+  {
+    "id": "1c527fbe.e34b3",
+    "type": "other",
+    "name": "outcome Created",
+    "xml": "<outcome value='Created'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 4802.475631713867,
+    "y": 731.444486618042,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "1ed56338.a1e19d"
+      ]
+    ]
+  },
+  {
+    "id": "1ed56338.a1e19d",
+    "type": "returnFailure",
+    "name": "return failure",
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Network aready exists in Created state matching network-id ' + $network-topology-operation-input.network-information.network-id`\" />\n",
+    "comments": "",
+    "x": 5006.475631713867,
+    "y": 727.4444713592529,
+    "z": "8893d0be.32531",
+    "wires": []
+  },
+  {
+    "id": "4f5a1354.1233dc",
+    "type": "block",
+    "name": "block : atomic",
+    "xml": "<block atomic=\"true\">",
+    "atomic": "true",
+    "outputs": 1,
+    "x": 4335.141891479492,
+    "y": 685.4444713592529,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "4acc4fac.09f96"
+      ]
+    ]
+  },
+  {
+    "id": "dd967162.ba1ae",
+    "type": "record",
+    "name": "record",
+    "xml": "<record plugin=\"com.att.sdnctl.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"GENERIC-RESOURCE-API.validate-network-input\"/>\n<parameter name=\"field3\" value=\"`$network-topology-operation-input.sdnc-request-header.svc-request-id`\"/>\n<parameter name=\"field4\" value=\"Network id proveded but no network exists that matches\"/>\n<parameter name=\"field5\" value=\"`$network-topology-operation-input.network-information.network-id`\"/>\n\n\n\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 3417.142379760742,
+    "y": 649.4444713592529,
+    "z": "8893d0be.32531",
+    "wires": [
+      []
+    ]
+  },
+  {
+    "id": "de4bc965.10a9a8",
+    "type": "switchNode",
+    "name": "switch network-information.network-id",
+    "xml": "<switch test='`$network-topology-operation-input.network-information.network-id`'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 2261.0310974121094,
+    "y": 566.6666717529297,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "515a1b60.a2b844"
+      ]
+    ]
+  },
+  {
+    "id": "515a1b60.a2b844",
+    "type": "other",
+    "name": "NULL",
+    "xml": "<outcome value=''>",
+    "comments": "",
+    "outputs": 1,
+    "x": 2489.7454223632812,
+    "y": 568.6666717529297,
+    "z": "8893d0be.32531",
+    "wires": [
+      [
+        "5c3c2c39.9ce264"
+      ]
+    ]
+  },
+  {
+    "id": "5c3c2c39.9ce264",
+    "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.network-information.network-id is a required input\" />\n",
+    "comments": "",
+    "x": 2654.174041748047,
+    "y": 566.6666717529297,
+    "z": "8893d0be.32531",
+    "wires": []
+  },
+  {
+    "id": "6cf19d4d.69d604",
+    "type": "other",
+    "name": "NULL",
+    "xml": "<outcome value=''>",
+    "comments": "",
+    "outputs": 1,
+    "x": 2556.6980209350586,
+    "y": 612.9999408721924,
+    "z": "8893d0be.32531",
+    "wires": [
+      []
+    ]
+  },
+  {
+    "id": "4b2f8e37.5461c",
+    "type": "block",
+    "name": "block : atomic",
+    "xml": "<block atomic=\"true\">",
+    "atomic": "true",
+    "comments": "",
+    "outputs": 1,
+    "x": 1662.00390625,
+    "y": 419.00390625,
+    "z": "8893d0be.32531",
+    "wires": [
+      []
+    ]
+  },
+  {
+    "id": "31bb2eb9.4b2df2",
+    "type": "block",
+    "name": "block : atomic",
+    "xml": "<block atomic=\"true\">",
+    "atomic": "true",
+    "comments": "",
+    "outputs": 1,
+    "x": 1713.0312957763672,
+    "y": 597.0312662124634,
+    "z": "8893d0be.32531",
+    "wires": [
+      []
+    ]
+  }
+]