Generic resource API DG catch up
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_validate-network-input.json
index 11ad704..7d32080 100644 (file)
@@ -1,1857 +1 @@
-[
-  {
-    "id": "d10892d8.d1d04",
-    "type": "dgstart",
-    "name": "DGSTART",
-    "outputs": 1,
-    "x": 119.00390625,
-    "y": 89.9999988079071,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "cc6fb669.27adb8"
-      ]
-    ]
-  },
-  {
-    "id": "cc6fb669.27adb8",
-    "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": 191.28961181640625,
-    "y": 142.23811221122742,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "5c46313a.cc52b"
-      ]
-    ]
-  },
-  {
-    "id": "5c46313a.cc52b",
-    "type": "method",
-    "name": "validate-network-input",
-    "xml": "<method rpc='validate-network-input' mode='sync'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 191.43253326416016,
-    "y": 203.9999988079071,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "589f6d93.3cb684"
-      ]
-    ]
-  },
-  {
-    "id": "589f6d93.3cb684",
-    "type": "block",
-    "name": "block : atomic",
-    "xml": "<block atomic=\"true\">",
-    "atomic": "true",
-    "outputs": 1,
-    "x": 204.7539520263672,
-    "y": 486.44349360466003,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "63545e47.56cdf",
-        "3b9c61c8.ee403e",
-        "38cd8ee0.dfeaa2",
-        "e55ef36.fecc71",
-        "ab9b3245.3b163",
-        "cf4a32b5.6699"
-      ]
-    ]
-  },
-  {
-    "id": "63545e47.56cdf",
-    "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": 521.1467666625977,
-    "y": 212.42858958244324,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "e01f3b58.5084b8"
-      ]
-    ]
-  },
-  {
-    "id": "e01f3b58.5084b8",
-    "type": "other",
-    "name": "NULL",
-    "xml": "<outcome value=''>",
-    "comments": "",
-    "outputs": 1,
-    "x": 746.8610709054128,
-    "y": 212.42859203474836,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "fe964aff.bb00b8"
-      ]
-    ]
-  },
-  {
-    "id": "fe964aff.bb00b8",
-    "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": 898.2896368844167,
-    "y": 212.42859012739973,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      
-    ]
-  },
-  {
-    "id": "3b9c61c8.ee403e",
-    "type": "switchNode",
-    "name": "switch svc-action",
-    "xml": "<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 509.7181396484375,
-    "y": 171.00001978874207,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "438a3c10.6a7244"
-      ]
-    ]
-  },
-  {
-    "id": "438a3c10.6a7244",
-    "type": "other",
-    "name": "NULL",
-    "xml": "<outcome value=''>",
-    "comments": "",
-    "outputs": 1,
-    "x": 745.4324913024902,
-    "y": 169.57141757011414,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "eafc9a3d.67efc8"
-      ]
-    ]
-  },
-  {
-    "id": "eafc9a3d.67efc8",
-    "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": 895.4324645996094,
-    "y": 169.5714271068573,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      
-    ]
-  },
-  {
-    "id": "38cd8ee0.dfeaa2",
-    "type": "switchNode",
-    "name": "switch request-action",
-    "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 519.7181777954102,
-    "y": 255.2857367992401,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "4c7ee001.df1f4"
-      ]
-    ]
-  },
-  {
-    "id": "4c7ee001.df1f4",
-    "type": "other",
-    "name": "NULL",
-    "xml": "<outcome value=''>",
-    "comments": "",
-    "outputs": 1,
-    "x": 746.8610665457591,
-    "y": 255.28574579102678,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "c0c0e1df.937f8"
-      ]
-    ]
-  },
-  {
-    "id": "c0c0e1df.937f8",
-    "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": 898.289632524763,
-    "y": 255.28574388367815,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      
-    ]
-  },
-  {
-    "id": "e55ef36.fecc71",
-    "type": "switchNode",
-    "name": "switch service-instance-id",
-    "xml": "<switch test='`$network-topology-operation-input.service-information.service-instance-id`'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 520.8610992431641,
-    "y": 312.00001406669617,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "41b98218.67710c"
-      ]
-    ]
-  },
-  {
-    "id": "41b98218.67710c",
-    "type": "other",
-    "name": "NULL",
-    "xml": "<outcome value=''>",
-    "comments": "",
-    "outputs": 1,
-    "x": 745.2896728515625,
-    "y": 298.9999988079071,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "4a5f94d4.e9a16c"
-      ]
-    ]
-  },
-  {
-    "id": "4a5f94d4.e9a16c",
-    "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": 903.7182006835938,
-    "y": 297.9999988079071,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      
-    ]
-  },
-  {
-    "id": "577e7fa3.209ba",
-    "type": "comment",
-    "name": "validate-network-input - CHANGELOG",
-    "info": "12/8: Initial release 1.0.0",
-    "comments": "",
-    "x": 404.00390625,
-    "y": 53.999998807907104,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      
-    ]
-  },
-  {
-    "id": "ab9b3245.3b163",
-    "type": "switchNode",
-    "name": "switch svc-action",
-    "xml": "<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 478.00392150878906,
-    "y": 486.0000159740448,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "c25cbef0.24b67",
-        "ffa0841e.8dfeb8",
-        "ec8a549d.c2d768",
-        "79b3c9cf.7c9a88"
-      ]
-    ]
-  },
-  {
-    "id": "c25cbef0.24b67",
-    "type": "other",
-    "name": "assign",
-    "xml": "<outcome value='assign'>",
-    "comments": "",
-    "outputs": 1,
-    "x": 738.71826171875,
-    "y": 390.5714099407196,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "4f0ebdbc.56efe4"
-      ]
-    ]
-  },
-  {
-    "id": "ffa0841e.8dfeb8",
-    "type": "other",
-    "name": "activate",
-    "xml": "<outcome value='activate'>",
-    "comments": "",
-    "outputs": 1,
-    "x": 734.0040130615234,
-    "y": 520.9999892711639,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "5ebeaa8b.6f2ad4"
-      ]
-    ]
-  },
-  {
-    "id": "ec8a549d.c2d768",
-    "type": "other",
-    "name": "deactivate",
-    "xml": "<outcome value='deactivate'>",
-    "comments": "",
-    "outputs": 1,
-    "x": 737.0039749145508,
-    "y": 687.0000121593475,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "bb3fcaae.e4ad38"
-      ]
-    ]
-  },
-  {
-    "id": "4f0ebdbc.56efe4",
-    "type": "block",
-    "name": "block : atomic",
-    "xml": "<block atomic=\"true\">",
-    "atomic": "true",
-    "comments": "",
-    "outputs": 1,
-    "x": 901.00390625,
-    "y": 389.9999988079071,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "74260e08.eb326"
-      ]
-    ]
-  },
-  {
-    "id": "74260e08.eb326",
-    "type": "switchNode",
-    "name": "switch request-action",
-    "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1121.00390625,
-    "y": 389.9999988079071,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "8fe022cd.91c96",
-        "dea0b675.d14408"
-      ]
-    ]
-  },
-  {
-    "id": "8fe022cd.91c96",
-    "type": "other",
-    "name": "CreateNetworkInstance",
-    "xml": "<outcome value='CreateNetworkInstance'>",
-    "comments": "",
-    "outputs": 1,
-    "x": 1401.00390625,
-    "y": 354.9999988079071,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "c969e857.f1a468"
-      ]
-    ]
-  },
-  {
-    "id": "dea0b675.d14408",
-    "type": "other",
-    "name": "Other",
-    "xml": "<outcome value='Other'>",
-    "comments": "",
-    "outputs": 1,
-    "x": 1350.00390625,
-    "y": 398.9999988079071,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "75ab9633.6c0538"
-      ]
-    ]
-  },
-  {
-    "id": "75ab9633.6c0538",
-    "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": 1519.00390625,
-    "y": 398.9999988079071,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      
-    ]
-  },
-  {
-    "id": "5ebeaa8b.6f2ad4",
-    "type": "block",
-    "name": "block : atomic",
-    "xml": "<block atomic=\"true\">",
-    "atomic": "true",
-    "outputs": 1,
-    "x": 908.0040130615234,
-    "y": 520.9999892711639,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "eeee19ec.1dddd8"
-      ]
-    ]
-  },
-  {
-    "id": "eeee19ec.1dddd8",
-    "type": "switchNode",
-    "name": "switch request-action",
-    "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1125.0040130615234,
-    "y": 520.9999892711639,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "19ab9af4.959125",
-        "267e33ff.fa91ec",
-        "3c8e6628.d91a7a",
-        "631913c6.522e9c"
-      ]
-    ]
-  },
-  {
-    "id": "19ab9af4.959125",
-    "type": "other",
-    "name": "CreateNetworkInstance",
-    "xml": "<outcome value='CreateNetworkInstance'>",
-    "comments": "",
-    "outputs": 1,
-    "x": 1406.0040130615234,
-    "y": 521.9999892711639,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "5bbb66dc.aa9cd8"
-      ]
-    ]
-  },
-  {
-    "id": "267e33ff.fa91ec",
-    "type": "other",
-    "name": "Other",
-    "xml": "<outcome value='Other'>",
-    "comments": "",
-    "outputs": 1,
-    "x": 1349.0040130615234,
-    "y": 561.9999892711639,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "bc137916.f46628"
-      ]
-    ]
-  },
-  {
-    "id": "bc137916.f46628",
-    "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": 1520.8613090515137,
-    "y": 563.4285953044891,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      
-    ]
-  },
-  {
-    "id": "bb3fcaae.e4ad38",
-    "type": "block",
-    "name": "block : atomic",
-    "xml": "<block atomic=\"true\">",
-    "atomic": "true",
-    "outputs": 1,
-    "x": 919.0039749145508,
-    "y": 686.0000121593475,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "55160352.39b04c"
-      ]
-    ]
-  },
-  {
-    "id": "55160352.39b04c",
-    "type": "switchNode",
-    "name": "switch request-action",
-    "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1136.0039749145508,
-    "y": 686.0000121593475,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "5cc0d485.64c92c",
-        "7d1ae710.c4ae68",
-        "6fed75a2.decf0c",
-        "1da958a1.745b77"
-      ]
-    ]
-  },
-  {
-    "id": "5cc0d485.64c92c",
-    "type": "other",
-    "name": "DeleteNetworkInstance",
-    "xml": "<outcome value='DeleteNetworkInstance'>",
-    "comments": "",
-    "outputs": 1,
-    "x": 1417.0039749145508,
-    "y": 687.0000121593475,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "109f2b9.d4078d4"
-      ]
-    ]
-  },
-  {
-    "id": "7d1ae710.c4ae68",
-    "type": "other",
-    "name": "Other",
-    "xml": "<outcome value='Other'>",
-    "comments": "",
-    "outputs": 1,
-    "x": 1360.0039749145508,
-    "y": 727.0000121593475,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "20482a05.f565a6"
-      ]
-    ]
-  },
-  {
-    "id": "20482a05.f565a6",
-    "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": 1529.0040397644043,
-    "y": 729.8571736812592,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      
-    ]
-  },
-  {
-    "id": "79b3c9cf.7c9a88",
-    "type": "other",
-    "name": "unassign",
-    "xml": "<outcome value='unassign'>",
-    "comments": "",
-    "outputs": 1,
-    "x": 733.0039443969727,
-    "y": 780.9999892711639,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "45974a1d.441444"
-      ]
-    ]
-  },
-  {
-    "id": "45974a1d.441444",
-    "type": "block",
-    "name": "block : atomic",
-    "xml": "<block atomic=\"true\">",
-    "atomic": "true",
-    "outputs": 1,
-    "x": 915.0039749145508,
-    "y": 777.0000121593475,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "e8367231.5b793"
-      ]
-    ]
-  },
-  {
-    "id": "e8367231.5b793",
-    "type": "switchNode",
-    "name": "switch request-action",
-    "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1132.0039749145508,
-    "y": 777.0000121593475,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "2783d45.3ac4c2c",
-        "dc9b366d.05d508"
-      ]
-    ]
-  },
-  {
-    "id": "2783d45.3ac4c2c",
-    "type": "other",
-    "name": "DeleteNetworkInstance",
-    "xml": "<outcome value='DeleteNetworkInstance'>",
-    "comments": "",
-    "outputs": 1,
-    "x": 1413.0039749145508,
-    "y": 778.0000121593475,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "5f15529a.e2031c"
-      ]
-    ]
-  },
-  {
-    "id": "dc9b366d.05d508",
-    "type": "other",
-    "name": "Other",
-    "xml": "<outcome value='Other'>",
-    "comments": "",
-    "outputs": 1,
-    "x": 1356.0039749145508,
-    "y": 818.0000121593475,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "d903000c.e9d17"
-      ]
-    ]
-  },
-  {
-    "id": "d903000c.e9d17",
-    "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": 1525.0039749145508,
-    "y": 818.0000121593475,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      
-    ]
-  },
-  {
-    "id": "c969e857.f1a468",
-    "type": "block",
-    "name": "block : atomic",
-    "xml": "<block atomic=\"true\">",
-    "atomic": "true",
-    "comments": "",
-    "outputs": 1,
-    "x": 1637.00390625,
-    "y": 353.9999988079071,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "c9238c13.c3f79",
-        "a449f5ae.312af8",
-        "fd80c464.68ff68",
-        "416cb672.740808",
-        "c16bbddb.dcdad",
-        "f8366874.128af8",
-        "d7a16e1b.af209"
-      ]
-    ]
-  },
-  {
-    "id": "5bbb66dc.aa9cd8",
-    "type": "block",
-    "name": "block : atomic",
-    "xml": "<block atomic=\"true\">",
-    "atomic": "true",
-    "comments": "",
-    "outputs": 1,
-    "x": 1631.0040130615234,
-    "y": 521.9999892711639,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "c9238c13.c3f79",
-        "a449f5ae.312af8",
-        "fd80c464.68ff68",
-        "416cb672.740808",
-        "c16bbddb.dcdad",
-        "f8366874.128af8",
-        "56dfe279.93c1fc"
-      ]
-    ]
-  },
-  {
-    "id": "109f2b9.d4078d4",
-    "type": "block",
-    "name": "block : atomic",
-    "xml": "<block atomic=\"true\">",
-    "atomic": "true",
-    "comments": "",
-    "outputs": 1,
-    "x": 1673.0039749145508,
-    "y": 688.0000121593475,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "56dfe279.93c1fc"
-      ]
-    ]
-  },
-  {
-    "id": "5f15529a.e2031c",
-    "type": "block",
-    "name": "block : atomic",
-    "xml": "<block atomic=\"true\">",
-    "atomic": "true",
-    "comments": "",
-    "outputs": 1,
-    "x": 1672.0039749145508,
-    "y": 779.0000121593475,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "56dfe279.93c1fc"
-      ]
-    ]
-  },
-  {
-    "id": "c16bbddb.dcdad",
-    "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": 2273.670570373535,
-    "y": 1077.999950170517,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "78f46224.bc9d9c",
-        "178e4db8.c59b02"
-      ]
-    ]
-  },
-  {
-    "id": "5358502c.4d84d",
-    "type": "comment",
-    "name": "validations - required for all",
-    "info": "",
-    "comments": "",
-    "x": 537.00390625,
-    "y": 127.9999988079071,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      
-    ]
-  },
-  {
-    "id": "e29df723.fb6ab8",
-    "type": "comment",
-    "name": "validations specific per svc-action",
-    "info": "",
-    "comments": "",
-    "x": 549.00390625,
-    "y": 342.9999988079071,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      
-    ]
-  },
-  {
-    "id": "be93f819.8db9c8",
-    "type": "comment",
-    "name": "network-request-information block validations",
-    "info": "",
-    "comments": "",
-    "x": 2277.00390625,
-    "y": 929.9999988079071,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      
-    ]
-  },
-  {
-    "id": "c9238c13.c3f79",
-    "type": "switchNode",
-    "name": "switch network-request-information.tenant",
-    "xml": "<switch test='`$network-topology-operation-input.network-request-input.tenant`'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 2274.00390625,
-    "y": 979.9999988079071,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "6b327341.d34c9c"
-      ]
-    ]
-  },
-  {
-    "id": "6b327341.d34c9c",
-    "type": "other",
-    "name": "NULL",
-    "xml": "<outcome value=''>",
-    "comments": "",
-    "outputs": 1,
-    "x": 2515.71826171875,
-    "y": 981.9999988079071,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "f7cc75bc.fb7508"
-      ]
-    ]
-  },
-  {
-    "id": "f7cc75bc.fb7508",
-    "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": 2667.1468505859375,
-    "y": 979.9999988079071,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      
-    ]
-  },
-  {
-    "id": "a449f5ae.312af8",
-    "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": 2303.00390625,
-    "y": 1022.9999988079071,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "12e07938.eebd67"
-      ]
-    ]
-  },
-  {
-    "id": "12e07938.eebd67",
-    "type": "other",
-    "name": "NULL",
-    "xml": "<outcome value=''>",
-    "comments": "",
-    "outputs": 1,
-    "x": 2564.71826171875,
-    "y": 1022.9999988079071,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "411017cd.e8e7d8"
-      ]
-    ]
-  },
-  {
-    "id": "411017cd.e8e7d8",
-    "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": 2729.146728515625,
-    "y": 1021.9999988079071,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      
-    ]
-  },
-  {
-    "id": "fd80c464.68ff68",
-    "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": 2266.1468505859375,
-    "y": 849.8571155071259,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "bf2b8802.529248"
-      ]
-    ]
-  },
-  {
-    "id": "bf2b8802.529248",
-    "type": "other",
-    "name": "NULL",
-    "xml": "<outcome value=''>",
-    "comments": "",
-    "outputs": 1,
-    "x": 2506.1468505859375,
-    "y": 850.8571155071259,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "c8b441e9.e2bc9"
-      ]
-    ]
-  },
-  {
-    "id": "c8b441e9.e2bc9",
-    "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": 2671.5753173828125,
-    "y": 848.8570849895477,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      
-    ]
-  },
-  {
-    "id": "416cb672.740808",
-    "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": 2311.00390625,
-    "y": 808.9999988079071,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "d6b8ccdf.da70c"
-      ]
-    ]
-  },
-  {
-    "id": "d6b8ccdf.da70c",
-    "type": "other",
-    "name": "NULL",
-    "xml": "<outcome value=''>",
-    "comments": "",
-    "outputs": 1,
-    "x": 2607.00390625,
-    "y": 809.9999988079071,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "1c49c6e.f874e39"
-      ]
-    ]
-  },
-  {
-    "id": "1c49c6e.f874e39",
-    "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": 2754.432373046875,
-    "y": 809.9999988079071,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      
-    ]
-  },
-  {
-    "id": "cf4a32b5.6699",
-    "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": 511.3609809875488,
-    "y": 706.6428334712982,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      
-    ]
-  },
-  {
-    "id": "e96a8642.305778",
-    "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": 2989.1869735717773,
-    "y": 1293.1784751415253,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "f00cd782.2f4528",
-        "833d5e59.8da03"
-      ]
-    ]
-  },
-  {
-    "id": "99436cff.71a52",
-    "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": 3448.6511764526367,
-    "y": 1284.2258908748627,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      
-    ]
-  },
-  {
-    "id": "f00cd782.2f4528",
-    "type": "not-found",
-    "name": "not-found",
-    "xml": "<outcome value='not-found'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 3249.9011878967285,
-    "y": 1277.5830972194672,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "99436cff.71a52"
-      ]
-    ]
-  },
-  {
-    "id": "833d5e59.8da03",
-    "type": "failure",
-    "name": "failure",
-    "xml": "<outcome value='failure'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 3243.6511878967285,
-    "y": 1310.0830972194672,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "99436cff.71a52"
-      ]
-    ]
-  },
-  {
-    "id": "78f46224.bc9d9c",
-    "type": "other",
-    "name": "NULL",
-    "xml": "<outcome value=''>",
-    "comments": "",
-    "outputs": 1,
-    "x": 2538.818649291992,
-    "y": 1077.5925891399384,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "2dfa7f78.06543"
-      ]
-    ]
-  },
-  {
-    "id": "178e4db8.c59b02",
-    "type": "other",
-    "name": "Other",
-    "xml": "<outcome value='Other'>",
-    "comments": "",
-    "outputs": 1,
-    "x": 2545.0685844421387,
-    "y": 1216.759194135666,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "7c0ea99f.5a1678"
-      ]
-    ]
-  },
-  {
-    "id": "fe208cbc.dc6fa",
-    "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": 2991.6869583129883,
-    "y": 1216.2432477474213,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "1c40e946.8c8157",
-        "793372b8.fc938c"
-      ]
-    ]
-  },
-  {
-    "id": "789a1cde.2f3584",
-    "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": 3438.7703247070312,
-    "y": 1216.2432782649994,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      
-    ]
-  },
-  {
-    "id": "1c40e946.8c8157",
-    "type": "not-found",
-    "name": "not-found",
-    "xml": "<outcome value='not-found'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 3240.020404815674,
-    "y": 1211.600494146347,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "789a1cde.2f3584"
-      ]
-    ]
-  },
-  {
-    "id": "793372b8.fc938c",
-    "type": "failure",
-    "name": "failure",
-    "xml": "<outcome value='failure'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 3233.770404815674,
-    "y": 1244.100494146347,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "789a1cde.2f3584"
-      ]
-    ]
-  },
-  {
-    "id": "2f9cf39c.ecdeac",
-    "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": 2985.373161315918,
-    "y": 1152.4007976055145,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "de12035b.bf10a",
-        "d50a76bd.bc3228"
-      ]
-    ]
-  },
-  {
-    "id": "67a5ef63.346e1",
-    "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": 3444.8373641967773,
-    "y": 1143.448213338852,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      
-    ]
-  },
-  {
-    "id": "de12035b.bf10a",
-    "type": "not-found",
-    "name": "not-found",
-    "xml": "<outcome value='not-found'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 3246.087375640869,
-    "y": 1136.8054196834564,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "67a5ef63.346e1"
-      ]
-    ]
-  },
-  {
-    "id": "d50a76bd.bc3228",
-    "type": "failure",
-    "name": "failure",
-    "xml": "<outcome value='failure'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 3241.0873527526855,
-    "y": 1168.055418729782,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "67a5ef63.346e1"
-      ]
-    ]
-  },
-  {
-    "id": "bc655191.0e724",
-    "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": 2984.1230850219727,
-    "y": 1077.965463399887,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "8e2d24f5.121c68",
-        "7c889074.1b565"
-      ]
-    ]
-  },
-  {
-    "id": "d18ba133.1177",
-    "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": 3434.956512451172,
-    "y": 1075.4656007289886,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      
-    ]
-  },
-  {
-    "id": "8e2d24f5.121c68",
-    "type": "not-found",
-    "name": "not-found",
-    "xml": "<outcome value='not-found'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 3236.2065925598145,
-    "y": 1070.8228166103363,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "d18ba133.1177"
-      ]
-    ]
-  },
-  {
-    "id": "7c889074.1b565",
-    "type": "failure",
-    "name": "failure",
-    "xml": "<outcome value='failure'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 3229.9565925598145,
-    "y": 1103.3228166103363,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "d18ba133.1177"
-      ]
-    ]
-  },
-  {
-    "id": "2dfa7f78.06543",
-    "type": "block",
-    "name": "block : atomic",
-    "xml": "<block atomic=\"true\">",
-    "atomic": "true",
-    "outputs": 1,
-    "x": 2714.1428985595703,
-    "y": 1076.8054172992706,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "bc655191.0e724",
-        "2f9cf39c.ecdeac"
-      ]
-    ]
-  },
-  {
-    "id": "7c0ea99f.5a1678",
-    "type": "block",
-    "name": "block : atomic",
-    "xml": "<block atomic=\"true\">",
-    "atomic": "true",
-    "outputs": 1,
-    "x": 2706.6428985595703,
-    "y": 1215.5554206371307,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "fe208cbc.dc6fa",
-        "e96a8642.305778"
-      ]
-    ]
-  },
-  {
-    "id": "3c8e6628.d91a7a",
-    "type": "outcome",
-    "name": "ActivateDCINetworkInstance",
-    "xml": "<outcome value='ActivateDCINetworkInstance'>",
-    "comments": "",
-    "outputs": 1,
-    "x": 1420.6704940795898,
-    "y": 474.9999988079071,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "875e8d68.e9af6"
-      ]
-    ]
-  },
-  {
-    "id": "6fed75a2.decf0c",
-    "type": "outcome",
-    "name": "DeActivateDCINetworkInstance",
-    "xml": "<outcome value='DeActivateDCINetworkInstance'>",
-    "comments": "",
-    "outputs": 1,
-    "x": 1442.0038681030273,
-    "y": 637.9999988079071,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "104b7f33.e975b1"
-      ]
-    ]
-  },
-  {
-    "id": "f8366874.128af8",
-    "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": 2293.0039672851562,
-    "y": 774.0000350475311,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "a9b08bc9.314328"
-      ]
-    ]
-  },
-  {
-    "id": "a9b08bc9.314328",
-    "type": "other",
-    "name": "NULL",
-    "xml": "<outcome value=''>",
-    "comments": "",
-    "outputs": 1,
-    "x": 2578.0040283203125,
-    "y": 773.0000293254852,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "660b21a9.185aa"
-      ]
-    ]
-  },
-  {
-    "id": "660b21a9.185aa",
-    "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": 2729.4324951171875,
-    "y": 772.0000293254852,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      
-    ]
-  },
-  {
-    "id": "2a04f924.bc59c6",
-    "type": "comment",
-    "name": "network-information.onap-model-information block validations",
-    "info": "",
-    "comments": "",
-    "x": 2312.1468505859375,
-    "y": 734.8571155071259,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      
-    ]
-  },
-  {
-    "id": "d7a16e1b.af209",
-    "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": 2248.0038299560547,
-    "y": 643.3333556652069,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "539f2742.e1fa38",
-        "cf298caa.2064f"
-      ]
-    ]
-  },
-  {
-    "id": "539f2742.e1fa38",
-    "type": "other",
-    "name": "Other",
-    "xml": "<outcome value='Other'>",
-    "comments": "",
-    "outputs": 1,
-    "x": 2544.0037803649902,
-    "y": 676.0000674724579,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "efbdc310.4df6b"
-      ]
-    ]
-  },
-  {
-    "id": "efbdc310.4df6b",
-    "type": "block",
-    "name": "block",
-    "xml": "<block>\n",
-    "atomic": "false",
-    "comments": "",
-    "outputs": 1,
-    "x": 2678.115036010742,
-    "y": 676.4444720745087,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "aa96a81e.338e18"
-      ]
-    ]
-  },
-  {
-    "id": "aa96a81e.338e18",
-    "type": "switchNode",
-    "name": "switch service-data.networks.network_length",
-    "xml": "<switch test='`$service-data.networks.network_length`'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 2951.829147338867,
-    "y": 678.0158221721649,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "a6924a9.366acb8",
-        "d67b8110.cf084"
-      ]
-    ]
-  },
-  {
-    "id": "a6924a9.366acb8",
-    "type": "other",
-    "name": "outcome Null",
-    "xml": "<outcome value=''>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 3240.829147338867,
-    "y": 680.0158832073212,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "38331b12.104364"
-      ]
-    ]
-  },
-  {
-    "id": "d67b8110.cf084",
-    "type": "other",
-    "name": "other",
-    "xml": "<outcome value='Other'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 3220.829147338867,
-    "y": 715.0158832073212,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "27a40eb8.35dc12"
-      ]
-    ]
-  },
-  {
-    "id": "27a40eb8.35dc12",
-    "type": "block",
-    "name": "block : atomic",
-    "xml": "<block atomic=\"true\">",
-    "atomic": "true",
-    "outputs": 1,
-    "x": 3422.099166870117,
-    "y": 716.5704486370087,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "c4349cea.5f846",
-        "ceec98b4.2ffb48"
-      ]
-    ]
-  },
-  {
-    "id": "c4349cea.5f846",
-    "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": 3692.115203857422,
-    "y": 715.4444644451141,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "3a558d2e.ab0422"
-      ]
-    ]
-  },
-  {
-    "id": "3a558d2e.ab0422",
-    "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": 3982.5437545776367,
-    "y": 714.694548368454,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "5c767e8.1709a8"
-      ]
-    ]
-  },
-  {
-    "id": "5c767e8.1709a8",
-    "type": "outcomeTrue",
-    "name": "true",
-    "xml": "<outcome value='true'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 4171.496109008789,
-    "y": 715.5872867107391,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "24b6b776.af3398"
-      ]
-    ]
-  },
-  {
-    "id": "399ed923.ac8ab6",
-    "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": 4615.027877807617,
-    "y": 724.3373095989227,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      
-    ]
-  },
-  {
-    "id": "ceec98b4.2ffb48",
-    "type": "switchNode",
-    "name": "switch tmp.nidx ",
-    "xml": "<switch test=\"`$tmp.nidx`\">\n\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 3610.416633605957,
-    "y": 757.4276711940765,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "96827960.07e628"
-      ]
-    ]
-  },
-  {
-    "id": "d3abbc81.d91ab",
-    "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": 3963.2736167907715,
-    "y": 753.1419131755829,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      
-    ]
-  },
-  {
-    "id": "96827960.07e628",
-    "type": "outcome",
-    "name": "NULL",
-    "xml": "<outcome value=''>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 3781.845169067383,
-    "y": 755.9990565776825,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "d3abbc81.d91ab"
-      ]
-    ]
-  },
-  {
-    "id": "976eb0b3.3ee26",
-    "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": 4573.448287963867,
-    "y": 761.4444873332977,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "894b90cf.4a9a"
-      ]
-    ]
-  },
-  {
-    "id": "894b90cf.4a9a",
-    "type": "other",
-    "name": "outcome Created",
-    "xml": "<outcome value='Created'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 4787.448287963867,
-    "y": 761.4444873332977,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "6704e2e0.e6d2ac"
-      ]
-    ]
-  },
-  {
-    "id": "6704e2e0.e6d2ac",
-    "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": 4991.448287963867,
-    "y": 757.4444720745087,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      
-    ]
-  },
-  {
-    "id": "24b6b776.af3398",
-    "type": "block",
-    "name": "block : atomic",
-    "xml": "<block atomic=\"true\">",
-    "atomic": "true",
-    "outputs": 1,
-    "x": 4320.114547729492,
-    "y": 715.4444720745087,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "399ed923.ac8ab6"
-      ]
-    ]
-  },
-  {
-    "id": "38331b12.104364",
-    "type": "record",
-    "name": "record",
-    "xml": "<record plugin=\"org.onap.ccsdk.sli.core.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": 3402.115036010742,
-    "y": 679.4444720745087,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        
-      ]
-    ]
-  },
-  {
-    "id": "56dfe279.93c1fc",
-    "type": "switchNode",
-    "name": "switch network-information.network-id",
-    "xml": "<switch test='`$network-topology-operation-input.network-information.network-id`'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 2246.0037536621094,
-    "y": 596.6666724681854,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "d731fd6c.5f66a"
-      ]
-    ]
-  },
-  {
-    "id": "d731fd6c.5f66a",
-    "type": "other",
-    "name": "NULL",
-    "xml": "<outcome value=''>",
-    "comments": "",
-    "outputs": 1,
-    "x": 2474.7180786132812,
-    "y": 598.6666724681854,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "f8512ef0.9e14e"
-      ]
-    ]
-  },
-  {
-    "id": "f8512ef0.9e14e",
-    "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": 2639.146697998047,
-    "y": 596.6666724681854,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      
-    ]
-  },
-  {
-    "id": "cf298caa.2064f",
-    "type": "other",
-    "name": "NULL",
-    "xml": "<outcome value=''>",
-    "comments": "",
-    "outputs": 1,
-    "x": 2541.6706771850586,
-    "y": 642.9999415874481,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        
-      ]
-    ]
-  },
-  {
-    "id": "875e8d68.e9af6",
-    "type": "block",
-    "name": "block : atomic",
-    "xml": "<block atomic=\"true\">",
-    "atomic": "true",
-    "comments": "",
-    "outputs": 1,
-    "x": 1646.9765625,
-    "y": 449.00390696525574,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        
-      ]
-    ]
-  },
-  {
-    "id": "104b7f33.e975b1",
-    "type": "block",
-    "name": "block : atomic",
-    "xml": "<block atomic=\"true\">",
-    "atomic": "true",
-    "comments": "",
-    "outputs": 1,
-    "x": 1698.0039520263672,
-    "y": 627.0312669277191,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        
-      ]
-    ]
-  },
-  {
-    "id": "631913c6.522e9c",
-    "type": "outcome",
-    "name": "ActivateSOTNConnectivityInstance",
-    "xml": "<outcome value='ActivateSOTNConnectivityInstance'>",
-    "comments": "",
-    "outputs": 1,
-    "x": 1250.7539672851562,
-    "y": 441.00390434265137,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "eee16eb3.ee727"
-      ]
-    ]
-  },
-  {
-    "id": "eee16eb3.ee727",
-    "type": "block",
-    "name": "block : atomic",
-    "xml": "<block atomic=\"true\">",
-    "atomic": "true",
-    "comments": "",
-    "outputs": 1,
-    "x": 1476.7539367675781,
-    "y": 441.00395011901855,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        
-      ]
-    ]
-  },
-  {
-    "id": "1da958a1.745b77",
-    "type": "outcome",
-    "name": "DeactivateSOTNConnectivityInstance",
-    "xml": "<outcome value='DeactivateSOTNConnectivityInstance'>",
-    "comments": "",
-    "outputs": 1,
-    "x": 1307.75390625,
-    "y": 599.00390625,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        "9eaa2ade.3cbb68"
-      ]
-    ]
-  },
-  {
-    "id": "9eaa2ade.3cbb68",
-    "type": "block",
-    "name": "block : atomic",
-    "xml": "<block atomic=\"true\">",
-    "atomic": "true",
-    "comments": "",
-    "outputs": 1,
-    "x": 1533.7538757324219,
-    "y": 599.0039520263672,
-    "z": "cd5e1606.c0dcc8",
-    "wires": [
-      [
-        
-      ]
-    ]
-  }
-]
+[{"id":"a575a9c4.d386a8","type":"dgstart","name":"DGSTART","outputs":1,"x":195.00390625,"y":130.00390625,"z":"4b761587.bcd5cc","wires":[["78ce8bb5.3ca064"]]},{"id":"78ce8bb5.3ca064","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":267.28961181640625,"y":182.2420196533203,"z":"4b761587.bcd5cc","wires":[["80fe6ca3.90344"]]},{"id":"80fe6ca3.90344","type":"method","name":"validate-network-input","xml":"<method rpc='validate-network-input' mode='sync'>\n","comments":"","outputs":1,"x":267.43253326416016,"y":244.00390625,"z":"4b761587.bcd5cc","wires":[["933a60e0.2f57"]]},{"id":"933a60e0.2f57","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":280.7539520263672,"y":526.4474010467529,"z":"4b761587.bcd5cc","wires":[["16dc9200.e7ae8e","8d5f5ba0.e9ed18","78b8111a.f3016","a7f24ca4.b41d5","6496f9af.ef02c8","af3a5ed9.dde35"]]},{"id":"16dc9200.e7ae8e","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":597.1467666625977,"y":252.43249702453613,"z":"4b761587.bcd5cc","wires":[["e094c8c2.63f878"]]},{"id":"e094c8c2.63f878","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":822.8610709054128,"y":252.43249947684126,"z":"4b761587.bcd5cc","wires":[["b99fd027.7865b"]]},{"id":"b99fd027.7865b","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":974.2896368844167,"y":252.43249756949263,"z":"4b761587.bcd5cc","wires":[]},{"id":"8d5f5ba0.e9ed18","type":"switchNode","name":"switch svc-action","xml":"<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n","comments":"","outputs":1,"x":585.7181396484375,"y":211.00392723083496,"z":"4b761587.bcd5cc","wires":[["e97de125.9275d"]]},{"id":"e97de125.9275d","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":821.4324913024902,"y":209.57532501220703,"z":"4b761587.bcd5cc","wires":[["f81ddcb0.227e8"]]},{"id":"f81ddcb0.227e8","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":971.4324645996094,"y":209.5753345489502,"z":"4b761587.bcd5cc","wires":[]},{"id":"78b8111a.f3016","type":"switchNode","name":"switch request-action","xml":"<switch test='`$network-topology-operation-input.request-information.request-action`'>\n","comments":"","outputs":1,"x":595.7181777954102,"y":295.289644241333,"z":"4b761587.bcd5cc","wires":[["216008bf.088b78"]]},{"id":"216008bf.088b78","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":822.8610665457591,"y":295.2896532331197,"z":"4b761587.bcd5cc","wires":[["782e0756.309be8"]]},{"id":"782e0756.309be8","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":974.289632524763,"y":295.28965132577105,"z":"4b761587.bcd5cc","wires":[]},{"id":"a7f24ca4.b41d5","type":"switchNode","name":"switch service-instance-id","xml":"<switch test='`$network-topology-operation-input.service-information.service-instance-id`'>\n","comments":"","outputs":1,"x":604.861083984375,"y":338.00390625,"z":"4b761587.bcd5cc","wires":[["c30c9ee5.ea58"]]},{"id":"c30c9ee5.ea58","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":821.2896728515625,"y":339.00390625,"z":"4b761587.bcd5cc","wires":[["e20b6f76.38f0e"]]},{"id":"e20b6f76.38f0e","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":979.7182006835938,"y":338.00390625,"z":"4b761587.bcd5cc","wires":[]},{"id":"6afee272.ecf31c","type":"comment","name":"validate-network-input - CHANGELOG","info":"12/8: Initial release 1.0.0","comments":"","x":480.00390625,"y":94.00390625,"z":"4b761587.bcd5cc","wires":[]},{"id":"6496f9af.ef02c8","type":"switchNode","name":"switch svc-action","xml":"<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n","comments":"","outputs":1,"x":582.00390625,"y":425.00390625,"z":"4b761587.bcd5cc","wires":[["62ca6cb8.0e6c14","eeec5ba1.a4cfd8","bfed0059.9a24d","5cc31e70.e63f4","fe63e819.199838"]]},{"id":"62ca6cb8.0e6c14","type":"other","name":"assign","xml":"<outcome value='assign'>","comments":"","outputs":1,"x":814.71826171875,"y":430.5753173828125,"z":"4b761587.bcd5cc","wires":[["b1998b37.606ca8"]]},{"id":"eeec5ba1.a4cfd8","type":"other","name":"activate","xml":"<outcome value='activate'>","comments":"","outputs":1,"x":820.00390625,"y":488.00390625,"z":"4b761587.bcd5cc","wires":[["4c3c9c08.6503f4"]]},{"id":"bfed0059.9a24d","type":"other","name":"deactivate","xml":"<outcome value='deactivate'>","comments":"","outputs":1,"x":826.0039367675781,"y":670.00390625,"z":"4b761587.bcd5cc","wires":[["98cf52b1.8e595"]]},{"id":"b1998b37.606ca8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":977.00390625,"y":430.00390625,"z":"4b761587.bcd5cc","wires":[["5dff0a4c.ffd994"]]},{"id":"5dff0a4c.ffd994","type":"switchNode","name":"switch request-action","xml":"<switch test='`$network-topology-operation-input.request-information.request-action`'>\n","comments":"","outputs":1,"x":1197.00390625,"y":430.00390625,"z":"4b761587.bcd5cc","wires":[["442e6fae.b1604","230c2083.66128"]]},{"id":"442e6fae.b1604","type":"other","name":"CreateNetworkInstance","xml":"<outcome value='CreateNetworkInstance'>","comments":"","outputs":1,"x":1477.00390625,"y":395.00390625,"z":"4b761587.bcd5cc","wires":[["ccdeebd9.e7de18"]]},{"id":"230c2083.66128","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1426.00390625,"y":439.00390625,"z":"4b761587.bcd5cc","wires":[["9097d31d.3dbdc"]]},{"id":"9097d31d.3dbdc","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":1595.00390625,"y":439.00390625,"z":"4b761587.bcd5cc","wires":[]},{"id":"4c3c9c08.6503f4","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":994.00390625,"y":488.00390625,"z":"4b761587.bcd5cc","wires":[["a78c441f.4c74f8"]]},{"id":"a78c441f.4c74f8","type":"switchNode","name":"switch request-action","xml":"<switch test='`$network-topology-operation-input.request-information.request-action`'>\n","comments":"","outputs":1,"x":1211.00390625,"y":488.00390625,"z":"4b761587.bcd5cc","wires":[["a87f4a60.d57e78","188ac60b.54f75a"]]},{"id":"a87f4a60.d57e78","type":"other","name":"CreateNetworkInstance","xml":"<outcome value='CreateNetworkInstance'>","comments":"","outputs":1,"x":1492.00390625,"y":489.00390625,"z":"4b761587.bcd5cc","wires":[["fa1ba922.8fcf38"]]},{"id":"188ac60b.54f75a","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1435.00390625,"y":529.00390625,"z":"4b761587.bcd5cc","wires":[["e977befe.5e4e7"]]},{"id":"e977befe.5e4e7","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":1593.8612060546875,"y":528.4325265884399,"z":"4b761587.bcd5cc","wires":[]},{"id":"98cf52b1.8e595","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1008.0039367675781,"y":669.00390625,"z":"4b761587.bcd5cc","wires":[["118b2f7.0969dd1"]]},{"id":"118b2f7.0969dd1","type":"switchNode","name":"switch request-action","xml":"<switch test='`$network-topology-operation-input.request-information.request-action`'>\n","comments":"","outputs":1,"x":1225.0039367675781,"y":669.00390625,"z":"4b761587.bcd5cc","wires":[["b89a7f5f.04c67","a53dd945.4f8148"]]},{"id":"b89a7f5f.04c67","type":"other","name":"DeleteNetworkInstance","xml":"<outcome value='DeleteNetworkInstance'>","comments":"","outputs":1,"x":1506.0039367675781,"y":670.00390625,"z":"4b761587.bcd5cc","wires":[["6d65178b.629968"]]},{"id":"a53dd945.4f8148","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1449.0039367675781,"y":710.00390625,"z":"4b761587.bcd5cc","wires":[["34091f71.54518"]]},{"id":"34091f71.54518","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":1618.0040016174316,"y":712.8610677719116,"z":"4b761587.bcd5cc","wires":[]},{"id":"5cc31e70.e63f4","type":"other","name":"unassign","xml":"<outcome value='unassign'>","comments":"","outputs":1,"x":822.00390625,"y":764.0038833618164,"z":"4b761587.bcd5cc","wires":[["5cbecfd9.c1a88"]]},{"id":"5cbecfd9.c1a88","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1004.0039367675781,"y":760.00390625,"z":"4b761587.bcd5cc","wires":[["f5752367.6fda3"]]},{"id":"f5752367.6fda3","type":"switchNode","name":"switch request-action","xml":"<switch test='`$network-topology-operation-input.request-information.request-action`'>\n","comments":"","outputs":1,"x":1221.0039367675781,"y":760.00390625,"z":"4b761587.bcd5cc","wires":[["43a3233a.5a8f7c","64855dd3.5b6584"]]},{"id":"43a3233a.5a8f7c","type":"other","name":"DeleteNetworkInstance","xml":"<outcome value='DeleteNetworkInstance'>","comments":"","outputs":1,"x":1502.0039367675781,"y":761.00390625,"z":"4b761587.bcd5cc","wires":[["76985808.90bf68"]]},{"id":"64855dd3.5b6584","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1445.0039367675781,"y":801.00390625,"z":"4b761587.bcd5cc","wires":[["61cea17f.1716d"]]},{"id":"61cea17f.1716d","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":1614.0039367675781,"y":801.00390625,"z":"4b761587.bcd5cc","wires":[]},{"id":"ccdeebd9.e7de18","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1713.00390625,"y":394.00390625,"z":"4b761587.bcd5cc","wires":[["66782d09.f4ad54","30af6b4d.2b4524","48232f31.a7802","6289cff0.f55e5","f0bb7cd0.da95f","64256824.d847c8","118b4a39.c7d006","ff9ede0b.4057d"]]},{"id":"fa1ba922.8fcf38","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1717.00390625,"y":489.00390625,"z":"4b761587.bcd5cc","wires":[["df3a697d.32edd8","66782d09.f4ad54","30af6b4d.2b4524","48232f31.a7802","6289cff0.f55e5","64256824.d847c8","118b4a39.c7d006"]]},{"id":"6d65178b.629968","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1762.0039367675781,"y":671.00390625,"z":"4b761587.bcd5cc","wires":[["df3a697d.32edd8"]]},{"id":"76985808.90bf68","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1761.0039367675781,"y":762.00390625,"z":"4b761587.bcd5cc","wires":[["df3a697d.32edd8"]]},{"id":"118b4a39.c7d006","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":2302.170722961426,"y":1201.7539043426514,"z":"4b761587.bcd5cc","wires":[["73adb89.8153848","498ce4bd.76976c"]]},{"id":"df3a697d.32edd8","type":"switchNode","name":"switch network-information.network-id","xml":"<switch test='`$network-topology-operation-input.network-information.network-id`'>\n","comments":"","outputs":1,"x":2313.6705017089844,"y":368.670636177063,"z":"4b761587.bcd5cc","wires":[["13f55f7e.2f7e91"]]},{"id":"13f55f7e.2f7e91","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2544.384620666504,"y":368.6706600189209,"z":"4b761587.bcd5cc","wires":[["a40048df.8d3098"]]},{"id":"a40048df.8d3098","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":2705.8134536743164,"y":370.67065238952637,"z":"4b761587.bcd5cc","wires":[]},{"id":"d8afd46b.5089b8","type":"comment","name":"validations - required for all","info":"","comments":"","x":613.00390625,"y":168.00390625,"z":"4b761587.bcd5cc","wires":[]},{"id":"f249596c.e50498","type":"comment","name":"validations specific per svc-action","info":"","comments":"","x":625.00390625,"y":383.00390625,"z":"4b761587.bcd5cc","wires":[]},{"id":"9ffc22e8.9d37d","type":"comment","name":"network-request-information block validations","info":"","comments":"","x":2305.5040588378906,"y":1053.7539529800415,"z":"4b761587.bcd5cc","wires":[]},{"id":"66782d09.f4ad54","type":"switchNode","name":"switch network-request-information.tenant","xml":"<switch test='`$network-topology-operation-input.network-request-input.tenant`'>\n","comments":"","outputs":1,"x":2302.5040588378906,"y":1103.7539529800415,"z":"4b761587.bcd5cc","wires":[["1f3d5eac.dfe181"]]},{"id":"1f3d5eac.dfe181","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2544.2184143066406,"y":1105.7539529800415,"z":"4b761587.bcd5cc","wires":[["f9a01d6f.99ad2"]]},{"id":"f9a01d6f.99ad2","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":2695.647003173828,"y":1103.7539529800415,"z":"4b761587.bcd5cc","wires":[]},{"id":"30af6b4d.2b4524","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":2331.5040588378906,"y":1146.7539529800415,"z":"4b761587.bcd5cc","wires":[["efd07b0.1bff288"]]},{"id":"efd07b0.1bff288","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2593.2184143066406,"y":1146.7539529800415,"z":"4b761587.bcd5cc","wires":[["321c5b8f.d40d44"]]},{"id":"321c5b8f.d40d44","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":2757.6468811035156,"y":1145.7539529800415,"z":"4b761587.bcd5cc","wires":[]},{"id":"48232f31.a7802","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":2344.0040283203125,"y":877.753963470459,"z":"4b761587.bcd5cc","wires":[["e63ef562.799ef8"]]},{"id":"e63ef562.799ef8","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2629.0040893554688,"y":876.7539577484131,"z":"4b761587.bcd5cc","wires":[["53c13129.be47f"]]},{"id":"53c13129.be47f","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":2780.4325561523438,"y":875.7539577484131,"z":"4b761587.bcd5cc","wires":[]},{"id":"6289cff0.f55e5","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":2316.1468200683594,"y":953.6111078262329,"z":"4b761587.bcd5cc","wires":[["8e68950c.ad4328"]]},{"id":"8e68950c.ad4328","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2557.1469116210938,"y":954.6110439300537,"z":"4b761587.bcd5cc","wires":[["b7375f23.a9e72"]]},{"id":"b7375f23.a9e72","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":2722.5753784179688,"y":952.6110134124756,"z":"4b761587.bcd5cc","wires":[]},{"id":"d03404c6.587bf8","type":"comment","name":"network-information.onap-model-information block validations","info":"","comments":"","x":2363.1471557617188,"y":837.6111059188843,"z":"4b761587.bcd5cc","wires":[]},{"id":"64256824.d847c8","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":2362.0039672851562,"y":912.753927230835,"z":"4b761587.bcd5cc","wires":[["f71efea5.c9c5c"]]},{"id":"f71efea5.c9c5c","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2658.0039672851562,"y":913.753927230835,"z":"4b761587.bcd5cc","wires":[["d2985d77.8ad17"]]},{"id":"d2985d77.8ad17","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":2805.4324340820312,"y":913.753927230835,"z":"4b761587.bcd5cc","wires":[]},{"id":"af3a5ed9.dde35","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":587.3609809875488,"y":746.6467409133911,"z":"4b761587.bcd5cc","wires":[]},{"id":"f0bb7cd0.da95f","type":"switchNode","name":"switch network-information.network-instance-group-id","xml":"<switch test='`$network-topology-operation-input.network-information.network-instance-group-id`'>\n\n","comments":"","outputs":1,"x":2346.5040283203125,"y":674.5874137878418,"z":"4b761587.bcd5cc","wires":[["662c9d71.079304","d0f5f52f.375f18"]]},{"id":"662c9d71.079304","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":2636.253917694092,"y":704.7540969848633,"z":"4b761587.bcd5cc","wires":[["25ac7c89.8ac374"]]},{"id":"d0f5f52f.375f18","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2633.92081451416,"y":671.7539710998535,"z":"4b761587.bcd5cc","wires":[["2ab9ef88.04d4d"]]},{"id":"2ab9ef88.04d4d","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='' value='' />\n","comments":"","x":2794.2540435791016,"y":668.7540283203125,"z":"4b761587.bcd5cc","wires":[]},{"id":"555a87f8.e8b208","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":3010.187225341797,"y":1449.4324855804443,"z":"4b761587.bcd5cc","wires":[["dae1ad8.3e15b5","23ea44a6.b4860c"]]},{"id":"b99278a2.2a4fa8","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":3504.6513671875,"y":1446.7299497127533,"z":"4b761587.bcd5cc","wires":[]},{"id":"dae1ad8.3e15b5","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":3305.901378631592,"y":1440.0871560573578,"z":"4b761587.bcd5cc","wires":[["b99278a2.2a4fa8"]]},{"id":"23ea44a6.b4860c","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":3299.651378631592,"y":1472.5871560573578,"z":"4b761587.bcd5cc","wires":[["b99278a2.2a4fa8"]]},{"id":"1cb5cc50.1f1354","type":"for","name":"for ngidx..service-data.network-instance-groups.network-instance-group[]","xml":"<for index='ngidx' start='0' end='`$service-data.network-instance-groups.network-instance-_length`' >\n","comments":"","outputs":1,"x":4033.615447998047,"y":741.9484825134277,"z":"4b761587.bcd5cc","wires":[["6633224f.bb357c"]]},{"id":"529c6dcd.5923d4","type":"switchNode","name":"service-data.network-instance-groups.network-instance-group_length","xml":"<switch test='`$service-data.network-instance-groups.network-instance-group_length`'>\n","comments":"","outputs":1,"x":3120.3295974731445,"y":703.0198783874512,"z":"4b761587.bcd5cc","wires":[["d3dcb543.d2a348","20a9db4c.d3d484"]]},{"id":"d3dcb543.d2a348","type":"other","name":"outcome Null","xml":"<outcome value=''>\n","comments":"","outputs":1,"x":3485.579376220703,"y":705.0198516845703,"z":"4b761587.bcd5cc","wires":[["3a5960b6.10bb4"]]},{"id":"20a9db4c.d3d484","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":3465.579376220703,"y":740.0198516845703,"z":"4b761587.bcd5cc","wires":[["f3e77f59.0aa6b"]]},{"id":"6633224f.bb357c","type":"switchNode","name":"switch network-instance-group-id found","xml":"<switch test=\"`$service-data.network-instance-groups.network-instance-group[$nidx].network-instance-group-id == $network-topology-operation-input.network-information.network-instance-group-id`\">\n\n","comments":"","outputs":1,"x":4481.54411315918,"y":741.6986656188965,"z":"4b761587.bcd5cc","wires":[["9641e6d8.090418"]]},{"id":"9641e6d8.090418","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":4727.99715423584,"y":742.5915241241455,"z":"4b761587.bcd5cc","wires":[["198f8718.01b009"]]},{"id":"9f5bddf0.3d56a","type":"set","name":"set tmp.ngidx and ctx.network-instance-group-data","xml":"<set>\n<parameter name='tmp.ngidx' value='`$ngidx`' />\n<parameter name='ctx.network-instance-group-data.' value='`$service-data.network-instance-groups.network-instance-group[$ngidx].`' />\n","comments":"","x":5170.529121398926,"y":742.3415489196777,"z":"4b761587.bcd5cc","wires":[]},{"id":"f3e77f59.0aa6b","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":3666.849395751953,"y":741.5744171142578,"z":"4b761587.bcd5cc","wires":[["1cb5cc50.1f1354"]]},{"id":"25ac7c89.8ac374","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":2770.3651733398438,"y":705.1985015869141,"z":"4b761587.bcd5cc","wires":[["529c6dcd.5923d4"]]},{"id":"3a5960b6.10bb4","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 instance group id proveded but no network instance group exists that matches\"/>\n<parameter name=\"field5\" value=\"`$network-topology-operation-input.network-information.network-instance-group-id`\"/>\n\n\n\n","comments":"","outputs":1,"x":3646.865264892578,"y":704.4484405517578,"z":"4b761587.bcd5cc","wires":[[]]},{"id":"198f8718.01b009","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":4876.615592956543,"y":742.448709487915,"z":"4b761587.bcd5cc","wires":[["9f5bddf0.3d56a"]]},{"id":"73adb89.8153848","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2567.318801879883,"y":1201.3465433120728,"z":"4b761587.bcd5cc","wires":[["cc905fa7.0179e"]]},{"id":"498ce4bd.76976c","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":2566.068836212158,"y":1373.013204574585,"z":"4b761587.bcd5cc","wires":[["e65bfc3.1eaa5"]]},{"id":"6df7a370.240b1c","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":3012.687210083008,"y":1372.4972581863403,"z":"4b761587.bcd5cc","wires":[["dd24c761.da4db8","32523dd1.040262"]]},{"id":"1fcfe42.4448d1c","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":3494.7705154418945,"y":1378.74733710289,"z":"4b761587.bcd5cc","wires":[]},{"id":"dd24c761.da4db8","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":3296.020595550537,"y":1374.1045529842377,"z":"4b761587.bcd5cc","wires":[["1fcfe42.4448d1c"]]},{"id":"32523dd1.040262","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":3289.770595550537,"y":1406.6045529842377,"z":"4b761587.bcd5cc","wires":[["1fcfe42.4448d1c"]]},{"id":"f7fe85c3.693f98","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":3012.8732147216797,"y":1274.1548709869385,"z":"4b761587.bcd5cc","wires":[["ff530ff9.b82d1","d026e041.c8ad5"]]},{"id":"113e1d67.3f5fb3","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":3508.3374557495117,"y":1273.4522159099579,"z":"4b761587.bcd5cc","wires":[]},{"id":"ff530ff9.b82d1","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":3309.5874671936035,"y":1266.8094222545624,"z":"4b761587.bcd5cc","wires":[["113e1d67.3f5fb3"]]},{"id":"d026e041.c8ad5","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":3304.58744430542,"y":1298.059421300888,"z":"4b761587.bcd5cc","wires":[["113e1d67.3f5fb3"]]},{"id":"5528e6e9.e48998","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":3011.373245239258,"y":1200.4694242477417,"z":"4b761587.bcd5cc","wires":[["fa9735e2.86a0c8","99632634.dfe8b8"]]},{"id":"43fb1181.88123","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":3498.4566040039062,"y":1205.4696033000946,"z":"4b761587.bcd5cc","wires":[]},{"id":"fa9735e2.86a0c8","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":3299.706684112549,"y":1200.8268191814423,"z":"4b761587.bcd5cc","wires":[["43fb1181.88123"]]},{"id":"99632634.dfe8b8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":3293.456684112549,"y":1233.3268191814423,"z":"4b761587.bcd5cc","wires":[["43fb1181.88123"]]},{"id":"cc905fa7.0179e","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":2742.643051147461,"y":1200.559371471405,"z":"4b761587.bcd5cc","wires":[["5528e6e9.e48998","f7fe85c3.693f98"]]},{"id":"e65bfc3.1eaa5","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":2727.64315032959,"y":1371.8094310760498,"z":"4b761587.bcd5cc","wires":[["6df7a370.240b1c","555a87f8.e8b208"]]},{"id":"fe63e819.199838","type":"other","name":"changeassign","xml":"<outcome value='changeassign'>","comments":"","outputs":1,"x":835.0039672851562,"y":609.00390625,"z":"4b761587.bcd5cc","wires":[["c5091125.669bd"]]},{"id":"c5091125.669bd","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1020.2896118164062,"y":608.4325103759766,"z":"4b761587.bcd5cc","wires":[["a84f67a.efc5a98"]]},{"id":"a84f67a.efc5a98","type":"switchNode","name":"switch request-action","xml":"<switch test='`$network-topology-operation-input.request-information.request-action`'>\n","comments":"","outputs":1,"x":1212.28955078125,"y":608.4324951171875,"z":"4b761587.bcd5cc","wires":[["418aa1fe.77858","441b97df.8981e8"]]},{"id":"418aa1fe.77858","type":"other","name":"CreateNetworkInstance","xml":"<outcome value='CreateNetworkInstance'>","comments":"","outputs":1,"x":1492.28955078125,"y":573.4324951171875,"z":"4b761587.bcd5cc","wires":[["f845b8f.2f46748"]]},{"id":"441b97df.8981e8","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1441.28955078125,"y":617.4324951171875,"z":"4b761587.bcd5cc","wires":[["5d6a1028.d64d7"]]},{"id":"5d6a1028.d64d7","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=changeassign\" />\n","comments":"","x":1610.28955078125,"y":617.4324951171875,"z":"4b761587.bcd5cc","wires":[]},{"id":"f845b8f.2f46748","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1728.28955078125,"y":572.4324951171875,"z":"4b761587.bcd5cc","wires":[["df3a697d.32edd8","46719c95.4e3af4","48232f31.a7802","64256824.d847c8","6289cff0.f55e5","66782d09.f4ad54","30af6b4d.2b4524"]]},{"id":"46719c95.4e3af4","type":"switchNode","name":"switch network-information.from-preload","xml":"<switch test='`$network-topology-operation-input.network-information.from-preload`'>\n","comments":"","outputs":1,"x":2319.92041015625,"y":419.0039415359497,"z":"4b761587.bcd5cc","wires":[["902df62f.21c5b8"]]},{"id":"902df62f.21c5b8","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2555.634719848633,"y":419.0039415359497,"z":"4b761587.bcd5cc","wires":[["931d936c.133fa"]]},{"id":"931d936c.133fa","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.from-preload is a required input\" />\n","comments":"","x":2720.0633392333984,"y":417.0039415359497,"z":"4b761587.bcd5cc","wires":[]},{"id":"dab6ec6c.eee4a","type":"comment","name":"If service model uuid not passed in input, use from service-data","info":"","comments":"","x":3108.7501831054688,"y":1161.2500619888306,"z":"4b761587.bcd5cc","wires":[]},{"id":"2625936e.a0b20c","type":"comment","name":"get network and service model using input","info":"","comments":"","x":3036.250198364258,"y":1335.0000658035278,"z":"4b761587.bcd5cc","wires":[]},{"id":"ff9ede0b.4057d","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":2323.3397064208984,"y":472.6731643676758,"z":"4b761587.bcd5cc","wires":[["c18b5326.8b0e2","574d21aa.f4822"]]},{"id":"c18b5326.8b0e2","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":2619.339656829834,"y":505.33987617492676,"z":"4b761587.bcd5cc","wires":[["95db26ad.3d98a8"]]},{"id":"574d21aa.f4822","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2617.0065536499023,"y":472.339750289917,"z":"4b761587.bcd5cc","wires":[["50e6c68c.d82018"]]},{"id":"50e6c68c.d82018","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='' value='' />\n","comments":"","x":2777.3397827148438,"y":469.339807510376,"z":"4b761587.bcd5cc","wires":[]},{"id":"3a8a6f8b.689e","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":3767.4510803222656,"y":544.784273147583,"z":"4b761587.bcd5cc","wires":[["60a1cc9b.30be54"]]},{"id":"7a6837aa.36e728","type":"switchNode","name":"switch service-data.networks.network_length","xml":"<switch test='`$service-data.networks.network_length`'>\n","comments":"","outputs":1,"x":3027.165023803711,"y":507.3556308746338,"z":"4b761587.bcd5cc","wires":[["f6c1026.77f49","2afbf728.727d08"]]},{"id":"f6c1026.77f49","type":"other","name":"outcome Null","xml":"<outcome value=''>\n","comments":"","outputs":1,"x":3316.165023803711,"y":509.35569190979004,"z":"4b761587.bcd5cc","wires":[["7ca1c1c4.b6cb"]]},{"id":"2afbf728.727d08","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":3287.415237426758,"y":544.8557472229004,"z":"4b761587.bcd5cc","wires":[["83cea7a3.463298"]]},{"id":"60a1cc9b.30be54","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":4057.8796310424805,"y":544.0343570709229,"z":"4b761587.bcd5cc","wires":[["33437dfd.673f12"]]},{"id":"33437dfd.673f12","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":4246.831985473633,"y":544.927095413208,"z":"4b761587.bcd5cc","wires":[["a1e01eb3.375fc"]]},{"id":"8500cc55.cbbd4","type":"set","name":"set tmp.nidx and ctx.network-data","xml":"<set>\n<parameter name='tmp.nidx' value='`$nidx`' />\n<parameter name='network-data.' value='`$service-data.networks.network[$nidx].`' />\n","comments":"","x":4689.363952636719,"y":544.6771202087402,"z":"4b761587.bcd5cc","wires":[]},{"id":"83cea7a3.463298","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":3488.685256958008,"y":546.4103126525879,"z":"4b761587.bcd5cc","wires":[["3a8a6f8b.689e"]]},{"id":"ac4a28ac.0b5f78","type":"switchNode","name":"switch tmp.nidx ","xml":"<switch test=\"`$tmp.nidx`\">\n\n","comments":"","outputs":1,"x":3685.752655029297,"y":620.7674798965454,"z":"4b761587.bcd5cc","wires":[["f71b42ba.2c3d5"]]},{"id":"fcd105b3.f1f4e8","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":4040.609931945801,"y":620.4817447662354,"z":"4b761587.bcd5cc","wires":[]},{"id":"f71b42ba.2c3d5","type":"outcome","name":"NULL","xml":"<outcome value=''>\n","comments":"","outputs":1,"x":3857.1811904907227,"y":619.3388652801514,"z":"4b761587.bcd5cc","wires":[["fcd105b3.f1f4e8"]]},{"id":"95db26ad.3d98a8","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":2753.450912475586,"y":505.78428077697754,"z":"4b761587.bcd5cc","wires":[["7a6837aa.36e728"]]},{"id":"7ca1c1c4.b6cb","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":3477.450912475586,"y":508.78428077697754,"z":"4b761587.bcd5cc","wires":[[]]},{"id":"a1e01eb3.375fc","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":4395.450424194336,"y":544.7842807769775,"z":"4b761587.bcd5cc","wires":[["8500cc55.cbbd4"]]},{"id":"bcde6b54.161698","type":"comment","name":"1806: Removed logic that requires service data to have network if network id is passed from mso on assign","info":"","comments":"","x":3965.3399963378906,"y":582.3398523330688,"z":"4b761587.bcd5cc","wires":[]}]
\ No newline at end of file