[
{
- "id": "1b413dc8.b9ae22",
+ "id": "aa22e363.5ad9c",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 173.03125,
- "y": 147.99999809265137,
- "z": "ea83c234.74a66",
+ "x": 173,
+ "y": 104,
+ "z": "e63010f0.f0847",
"wires": [
[
- "b9c51506.cb42b8"
+ "3634cf2d.3f674"
]
]
},
{
- "id": "b9c51506.cb42b8",
+ "id": "3634cf2d.3f674",
"type": "service-logic",
- "name": "GENERIC-RESOURCE-API 1.2.0-SNAPSHOT",
+ "name": "GENERIC-RESOURCE-API ${project.version}",
"module": "GENERIC-RESOURCE-API",
- "version": "1.2.0-SNAPSHOT",
+ "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='1.2.0-SNAPSHOT'>",
+ "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.31695556640625,
- "y": 200.23811149597168,
- "z": "ea83c234.74a66",
+ "x": 245.28570556640625,
+ "y": 156.2381134033203,
+ "z": "e63010f0.f0847",
"wires": [
[
- "26567304.810b8c"
+ "dc6b50ac.b14ae"
]
]
},
{
- "id": "26567304.810b8c",
+ "id": "dc6b50ac.b14ae",
"type": "method",
"name": "validate-network-input",
"xml": "<method rpc='validate-network-input' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 245.45987701416016,
- "y": 261.99999809265137,
- "z": "ea83c234.74a66",
+ "x": 245.42862701416016,
+ "y": 218,
+ "z": "e63010f0.f0847",
"wires": [
[
- "c056e8e0.d5aa98"
+ "60705b95.8e4c74"
]
]
},
{
- "id": "c056e8e0.d5aa98",
+ "id": "60705b95.8e4c74",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 258.7812957763672,
- "y": 544.4434928894043,
- "z": "ea83c234.74a66",
+ "x": 258.7500457763672,
+ "y": 500.44349479675293,
+ "z": "e63010f0.f0847",
"wires": [
[
- "f7738247.2ad73",
- "4183fe1d.93134",
- "6e7ed959.ee8ae8",
- "294ce137.4036fe",
- "32c347e7.e10498",
- "40653e81.a79c4"
+ "424a6588.75405c",
+ "41aac9e2.714da8",
+ "34794cd4.bfbb54",
+ "aba5bba0.164998",
+ "763368b.8211298",
+ "72fc5045.064b6"
]
]
},
{
- "id": "f7738247.2ad73",
+ "id": "424a6588.75405c",
"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.1741104125977,
- "y": 270.4285888671875,
- "z": "ea83c234.74a66",
+ "x": 575.1428604125977,
+ "y": 226.42859077453613,
+ "z": "e63010f0.f0847",
"wires": [
[
- "62ae03a5.3e50bc"
+ "3ab28c54.b072c4"
]
]
},
{
- "id": "62ae03a5.3e50bc",
+ "id": "3ab28c54.b072c4",
"type": "other",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 800.8884146554128,
- "y": 270.4285913194926,
- "z": "ea83c234.74a66",
+ "x": 800.8571646554128,
+ "y": 226.42859322684126,
+ "z": "e63010f0.f0847",
"wires": [
[
- "35b6a58f.f29d5a"
+ "8d0406d6.b8ee88"
]
]
},
{
- "id": "35b6a58f.f29d5a",
+ "id": "8d0406d6.b8ee88",
"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.3169806344167,
- "y": 270.428589412144,
- "z": "ea83c234.74a66",
- "wires": []
+ "x": 952.2857306344167,
+ "y": 226.42859131949263,
+ "z": "e63010f0.f0847",
+ "wires": [
+
+ ]
},
{
- "id": "4183fe1d.93134",
+ "id": "41aac9e2.714da8",
"type": "switchNode",
"name": "switch svc-action",
"xml": "<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
"comments": "",
"outputs": 1,
- "x": 563.7454833984375,
- "y": 229.00001907348633,
- "z": "ea83c234.74a66",
+ "x": 563.7142333984375,
+ "y": 185.00002098083496,
+ "z": "e63010f0.f0847",
"wires": [
[
- "5e116676.70e288"
+ "cc6829d4.0c5c98"
]
]
},
{
- "id": "5e116676.70e288",
+ "id": "cc6829d4.0c5c98",
"type": "other",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 799.4598350524902,
- "y": 227.5714168548584,
- "z": "ea83c234.74a66",
+ "x": 799.4285850524902,
+ "y": 183.57141876220703,
+ "z": "e63010f0.f0847",
"wires": [
[
- "21d9a530.c1c2ca"
+ "954a45b4.c4bd48"
]
]
},
{
- "id": "21d9a530.c1c2ca",
+ "id": "954a45b4.c4bd48",
"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.4598083496094,
- "y": 227.57142639160156,
- "z": "ea83c234.74a66",
- "wires": []
+ "x": 949.4285583496094,
+ "y": 183.5714282989502,
+ "z": "e63010f0.f0847",
+ "wires": [
+
+ ]
},
{
- "id": "6e7ed959.ee8ae8",
+ "id": "34794cd4.bfbb54",
"type": "switchNode",
"name": "switch request-action",
"xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
"comments": "",
"outputs": 1,
- "x": 573.7455215454102,
- "y": 313.2857360839844,
- "z": "ea83c234.74a66",
+ "x": 573.7142715454102,
+ "y": 269.285737991333,
+ "z": "e63010f0.f0847",
"wires": [
[
- "fd83a78d.66a948"
+ "e865d69c.ca4628"
]
]
},
{
- "id": "fd83a78d.66a948",
+ "id": "e865d69c.ca4628",
"type": "other",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 800.8884102957591,
- "y": 313.28574507577105,
- "z": "ea83c234.74a66",
+ "x": 800.8571602957591,
+ "y": 269.2857469831197,
+ "z": "e63010f0.f0847",
"wires": [
[
- "886e4c02.7a3e6"
+ "62d97ca4.f50d34"
]
]
},
{
- "id": "886e4c02.7a3e6",
+ "id": "62d97ca4.f50d34",
"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.316976274763,
- "y": 313.2857431684224,
- "z": "ea83c234.74a66",
- "wires": []
+ "x": 952.285726274763,
+ "y": 269.28574507577105,
+ "z": "e63010f0.f0847",
+ "wires": [
+
+ ]
},
{
- "id": "294ce137.4036fe",
+ "id": "aba5bba0.164998",
"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.888427734375,
- "y": 355.99999809265137,
- "z": "ea83c234.74a66",
+ "x": 582.857177734375,
+ "y": 312,
+ "z": "e63010f0.f0847",
"wires": [
[
- "2378998c.934706"
+ "752234db.04545c"
]
]
},
{
- "id": "2378998c.934706",
+ "id": "752234db.04545c",
"type": "other",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 799.3170166015625,
- "y": 356.99999809265137,
- "z": "ea83c234.74a66",
+ "x": 799.2857666015625,
+ "y": 313,
+ "z": "e63010f0.f0847",
"wires": [
[
- "4f908320.d4841c"
+ "adc2cc4f.6110e"
]
]
},
{
- "id": "4f908320.d4841c",
+ "id": "adc2cc4f.6110e",
"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.7455444335938,
- "y": 355.99999809265137,
- "z": "ea83c234.74a66",
- "wires": []
+ "x": 957.7142944335938,
+ "y": 312,
+ "z": "e63010f0.f0847",
+ "wires": [
+
+ ]
},
{
- "id": "7fe681cf.07fdd",
+ "id": "fdca37a9.e0d4a8",
"type": "comment",
"name": "validate-network-input - CHANGELOG",
"info": "12/8: Initial release 1.0.0",
"comments": "",
- "x": 458.03125,
- "y": 111.99999809265137,
- "z": "ea83c234.74a66",
- "wires": []
+ "x": 458,
+ "y": 68,
+ "z": "e63010f0.f0847",
+ "wires": [
+
+ ]
},
{
- "id": "32c347e7.e10498",
+ "id": "763368b.8211298",
"type": "switchNode",
"name": "switch svc-action",
"xml": "<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
"comments": "",
"outputs": 1,
- "x": 560.03125,
- "y": 442.99999809265137,
- "z": "ea83c234.74a66",
+ "x": 560,
+ "y": 399,
+ "z": "e63010f0.f0847",
"wires": [
[
- "fc7d6a84.f93168",
- "7959dc9f.1bdd34",
- "94f36a2f.0904d8",
- "d8141396.7d6f"
+ "edb163d0.0d9bd",
+ "3d4debed.fa8d24",
+ "5911863a.931558",
+ "f57cf7c2.b3c108",
+ "7be255c0.a124ec"
]
]
},
{
- "id": "fc7d6a84.f93168",
+ "id": "edb163d0.0d9bd",
"type": "other",
"name": "assign",
"xml": "<outcome value='assign'>",
"comments": "",
"outputs": 1,
- "x": 792.74560546875,
- "y": 448.57140922546387,
- "z": "ea83c234.74a66",
+ "x": 792.71435546875,
+ "y": 404.5714111328125,
+ "z": "e63010f0.f0847",
"wires": [
[
- "5fad1b65.6cf5f4"
+ "b6d654b8.2b85d8"
]
]
},
{
- "id": "7959dc9f.1bdd34",
+ "id": "3d4debed.fa8d24",
"type": "other",
"name": "activate",
"xml": "<outcome value='activate'>",
"comments": "",
"outputs": 1,
- "x": 788.0313568115234,
- "y": 578.9999885559082,
- "z": "ea83c234.74a66",
+ "x": 784.0000267028809,
+ "y": 554.0000276565552,
+ "z": "e63010f0.f0847",
"wires": [
[
- "ad4e82b5.19db9"
+ "5e9ccb62.4b0f94"
]
]
},
{
- "id": "94f36a2f.0904d8",
+ "id": "5911863a.931558",
"type": "other",
"name": "deactivate",
"xml": "<outcome value='deactivate'>",
"comments": "",
"outputs": 1,
- "x": 791.0313186645508,
- "y": 745.0000114440918,
- "z": "ea83c234.74a66",
+ "x": 778.0001068115234,
+ "y": 807.0000438690186,
+ "z": "e63010f0.f0847",
"wires": [
[
- "c0070c2.94b94f"
+ "c06357f6.b66898"
]
]
},
{
- "id": "5fad1b65.6cf5f4",
+ "id": "b6d654b8.2b85d8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 955.03125,
- "y": 447.99999809265137,
- "z": "ea83c234.74a66",
+ "x": 955,
+ "y": 404,
+ "z": "e63010f0.f0847",
"wires": [
[
- "df6549d7.184d68"
+ "cc667ce6.4817a"
]
]
},
{
- "id": "df6549d7.184d68",
+ "id": "cc667ce6.4817a",
"type": "switchNode",
"name": "switch request-action",
"xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
"comments": "",
"outputs": 1,
- "x": 1175.03125,
- "y": 447.99999809265137,
- "z": "ea83c234.74a66",
+ "x": 1175,
+ "y": 404,
+ "z": "e63010f0.f0847",
"wires": [
[
- "ecdd6aae.5dce98",
- "d4e2188a.cfa358"
+ "7fcba633.e86008",
+ "e47a83a1.2fbbf"
]
]
},
{
- "id": "ecdd6aae.5dce98",
+ "id": "7fcba633.e86008",
"type": "other",
"name": "CreateNetworkInstance",
"xml": "<outcome value='CreateNetworkInstance'>",
"comments": "",
"outputs": 1,
- "x": 1455.03125,
- "y": 412.99999809265137,
- "z": "ea83c234.74a66",
+ "x": 1455,
+ "y": 369,
+ "z": "e63010f0.f0847",
"wires": [
[
- "da59191b.907b08"
+ "90c22def.e3658"
]
]
},
{
- "id": "d4e2188a.cfa358",
+ "id": "e47a83a1.2fbbf",
"type": "other",
"name": "Other",
"xml": "<outcome value='Other'>",
"comments": "",
"outputs": 1,
- "x": 1404.03125,
- "y": 456.99999809265137,
- "z": "ea83c234.74a66",
+ "x": 1404,
+ "y": 413,
+ "z": "e63010f0.f0847",
"wires": [
[
- "5cd6e955.998228"
+ "11259f2c.2c5851"
]
]
},
{
- "id": "5cd6e955.998228",
+ "id": "11259f2c.2c5851",
"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": 1573.03125,
- "y": 456.99999809265137,
- "z": "ea83c234.74a66",
- "wires": []
+ "x": 1573,
+ "y": 413,
+ "z": "e63010f0.f0847",
+ "wires": [
+
+ ]
},
{
- "id": "ad4e82b5.19db9",
+ "id": "5e9ccb62.4b0f94",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 962.0313568115234,
- "y": 578.9999885559082,
- "z": "ea83c234.74a66",
+ "x": 958.0000267028809,
+ "y": 554.0000276565552,
+ "z": "e63010f0.f0847",
"wires": [
[
- "fdddb74f.c28e98"
+ "f4d087e.9b7c778"
]
]
},
{
- "id": "fdddb74f.c28e98",
+ "id": "f4d087e.9b7c778",
"type": "switchNode",
"name": "switch request-action",
"xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
"comments": "",
"outputs": 1,
- "x": 1179.0313568115234,
- "y": 578.9999885559082,
- "z": "ea83c234.74a66",
+ "x": 1175.0000267028809,
+ "y": 554.0000276565552,
+ "z": "e63010f0.f0847",
"wires": [
[
- "67405a30.66b624",
- "f789090b.e09ab8",
- "a629f7e0.27dc18"
+ "8b9f91c2.ef8f",
+ "e76466ea.614998",
+ "e3f71705.e890b8",
+ "3339894b.fbd566"
]
]
},
{
- "id": "67405a30.66b624",
+ "id": "8b9f91c2.ef8f",
"type": "other",
"name": "CreateNetworkInstance",
"xml": "<outcome value='CreateNetworkInstance'>",
"comments": "",
"outputs": 1,
- "x": 1460.0313568115234,
- "y": 579.9999885559082,
- "z": "ea83c234.74a66",
+ "x": 1456.0000267028809,
+ "y": 555.0000276565552,
+ "z": "e63010f0.f0847",
"wires": [
[
- "c1306bc.3cbcc98"
+ "a593db30.0056b8"
]
]
},
{
- "id": "f789090b.e09ab8",
+ "id": "e76466ea.614998",
"type": "other",
"name": "Other",
"xml": "<outcome value='Other'>",
"comments": "",
"outputs": 1,
- "x": 1403.0313568115234,
- "y": 619.9999885559082,
- "z": "ea83c234.74a66",
+ "x": 1399.0000267028809,
+ "y": 595.0000276565552,
+ "z": "e63010f0.f0847",
"wires": [
[
- "5d963b8c.378d74"
+ "e0028710.cdce68"
]
]
},
{
- "id": "5d963b8c.378d74",
+ "id": "e0028710.cdce68",
"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": 1574.8886528015137,
- "y": 621.4285945892334,
- "z": "ea83c234.74a66",
- "wires": []
+ "x": 1557.8573265075684,
+ "y": 594.4286479949951,
+ "z": "e63010f0.f0847",
+ "wires": [
+
+ ]
},
{
- "id": "c0070c2.94b94f",
+ "id": "c06357f6.b66898",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 973.0313186645508,
- "y": 744.0000114440918,
- "z": "ea83c234.74a66",
+ "x": 960.0001068115234,
+ "y": 806.0000438690186,
+ "z": "e63010f0.f0847",
"wires": [
[
- "22f63122.42e05e"
+ "2c559a74.f14f66"
]
]
},
{
- "id": "22f63122.42e05e",
+ "id": "2c559a74.f14f66",
"type": "switchNode",
"name": "switch request-action",
"xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
"comments": "",
"outputs": 1,
- "x": 1190.0313186645508,
- "y": 744.0000114440918,
- "z": "ea83c234.74a66",
+ "x": 1177.0001068115234,
+ "y": 806.0000438690186,
+ "z": "e63010f0.f0847",
"wires": [
[
- "6d2db562.ba9bfc",
- "3b6ddfe1.7bf99",
- "b80bf0eb.dad37"
+ "e1815270.e3769",
+ "8e7d53d0.51ae3",
+ "f6ea82e8.fb9a3",
+ "6f734fad.294d7"
]
]
},
{
- "id": "6d2db562.ba9bfc",
+ "id": "e1815270.e3769",
"type": "other",
"name": "DeleteNetworkInstance",
"xml": "<outcome value='DeleteNetworkInstance'>",
"comments": "",
"outputs": 1,
- "x": 1471.0313186645508,
- "y": 745.0000114440918,
- "z": "ea83c234.74a66",
+ "x": 1458.0001068115234,
+ "y": 807.0000438690186,
+ "z": "e63010f0.f0847",
"wires": [
[
- "998324c.2692bd8"
+ "936b8b06.a15328"
]
]
},
{
- "id": "3b6ddfe1.7bf99",
+ "id": "8e7d53d0.51ae3",
"type": "other",
"name": "Other",
"xml": "<outcome value='Other'>",
"comments": "",
"outputs": 1,
- "x": 1414.0313186645508,
- "y": 785.0000114440918,
- "z": "ea83c234.74a66",
+ "x": 1401.0001068115234,
+ "y": 847.0000438690186,
+ "z": "e63010f0.f0847",
"wires": [
[
- "c74085f9.cc0278"
+ "a2922810.d680c8"
]
]
},
{
- "id": "c74085f9.cc0278",
+ "id": "a2922810.d680c8",
"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": 1583.0313835144043,
- "y": 787.8571729660034,
- "z": "ea83c234.74a66",
- "wires": []
+ "x": 1570.000171661377,
+ "y": 849.8572053909302,
+ "z": "e63010f0.f0847",
+ "wires": [
+
+ ]
},
{
- "id": "d8141396.7d6f",
+ "id": "f57cf7c2.b3c108",
"type": "other",
"name": "unassign",
"xml": "<outcome value='unassign'>",
"comments": "",
"outputs": 1,
- "x": 787.0312881469727,
- "y": 838.9999885559082,
- "z": "ea83c234.74a66",
+ "x": 774.0000762939453,
+ "y": 901.000020980835,
+ "z": "e63010f0.f0847",
"wires": [
[
- "e1d20fe4.24b0a"
+ "e78f3cba.10d64"
]
]
},
{
- "id": "e1d20fe4.24b0a",
+ "id": "e78f3cba.10d64",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 969.0313186645508,
- "y": 835.0000114440918,
- "z": "ea83c234.74a66",
+ "x": 956.0001068115234,
+ "y": 897.0000438690186,
+ "z": "e63010f0.f0847",
"wires": [
[
- "6bf4f4c3.27a5ec"
+ "7511951a.0ec48c"
]
]
},
{
- "id": "6bf4f4c3.27a5ec",
+ "id": "7511951a.0ec48c",
"type": "switchNode",
"name": "switch request-action",
"xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
"comments": "",
"outputs": 1,
- "x": 1186.0313186645508,
- "y": 835.0000114440918,
- "z": "ea83c234.74a66",
+ "x": 1173.0001068115234,
+ "y": 897.0000438690186,
+ "z": "e63010f0.f0847",
"wires": [
[
- "344ada0a.a73ad6",
- "e3edfc03.190b4"
+ "f3c5d913.c4c948",
+ "42b53453.819ecc"
]
]
},
{
- "id": "344ada0a.a73ad6",
+ "id": "f3c5d913.c4c948",
"type": "other",
"name": "DeleteNetworkInstance",
"xml": "<outcome value='DeleteNetworkInstance'>",
"comments": "",
"outputs": 1,
- "x": 1467.0313186645508,
- "y": 836.0000114440918,
- "z": "ea83c234.74a66",
+ "x": 1454.0001068115234,
+ "y": 898.0000438690186,
+ "z": "e63010f0.f0847",
"wires": [
[
- "af6f68e4.16d7c8"
+ "aee90b8e.b2e688"
]
]
},
{
- "id": "e3edfc03.190b4",
+ "id": "42b53453.819ecc",
"type": "other",
"name": "Other",
"xml": "<outcome value='Other'>",
"comments": "",
"outputs": 1,
- "x": 1410.0313186645508,
- "y": 876.0000114440918,
- "z": "ea83c234.74a66",
+ "x": 1397.0001068115234,
+ "y": 938.0000438690186,
+ "z": "e63010f0.f0847",
"wires": [
[
- "2f09eef8.729d22"
+ "ee18c342.b25c6"
]
]
},
{
- "id": "2f09eef8.729d22",
+ "id": "ee18c342.b25c6",
"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": 1579.0313186645508,
- "y": 876.0000114440918,
- "z": "ea83c234.74a66",
- "wires": []
+ "x": 1566.0001068115234,
+ "y": 938.0000438690186,
+ "z": "e63010f0.f0847",
+ "wires": [
+
+ ]
},
{
- "id": "da59191b.907b08",
+ "id": "90c22def.e3658",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1691.03125,
- "y": 411.99999809265137,
- "z": "ea83c234.74a66",
+ "x": 1691,
+ "y": 368,
+ "z": "e63010f0.f0847",
"wires": [
[
- "6e0de85f.52ae38",
- "f1bdb760.a39f58",
- "93644671.27ab38",
- "f574bbf5.e2c0a8",
- "522e4061.48e94",
- "3e035fc2.b3924",
- "3aacf235.e8f50e"
+ "85de231.44f83e",
+ "126ed261.6d016e",
+ "b947049a.5131d8",
+ "670aca33.70fd54",
+ "11f179e3.c70cd6",
+ "2fc8fc6.5a9a904",
+ "7f804ef3.5d76a",
+ "ba42444e.d99888"
]
]
},
{
- "id": "c1306bc.3cbcc98",
+ "id": "a593db30.0056b8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1685.0313568115234,
- "y": 579.9999885559082,
- "z": "ea83c234.74a66",
+ "x": 1681.0000267028809,
+ "y": 555.0000276565552,
+ "z": "e63010f0.f0847",
"wires": [
[
- "6e0de85f.52ae38",
- "f1bdb760.a39f58",
- "93644671.27ab38",
- "f574bbf5.e2c0a8",
- "522e4061.48e94",
- "3e035fc2.b3924",
- "ad0c00ef.1fb7b"
+ "1b080f63.6e5091",
+ "85de231.44f83e",
+ "126ed261.6d016e",
+ "b947049a.5131d8",
+ "670aca33.70fd54",
+ "2fc8fc6.5a9a904",
+ "7f804ef3.5d76a"
]
]
},
{
- "id": "998324c.2692bd8",
+ "id": "936b8b06.a15328",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1727.0313186645508,
- "y": 746.0000114440918,
- "z": "ea83c234.74a66",
+ "x": 1714.0001068115234,
+ "y": 808.0000438690186,
+ "z": "e63010f0.f0847",
"wires": [
[
- "ad0c00ef.1fb7b"
+ "1b080f63.6e5091"
]
]
},
{
- "id": "af6f68e4.16d7c8",
+ "id": "aee90b8e.b2e688",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1726.0313186645508,
- "y": 837.0000114440918,
- "z": "ea83c234.74a66",
+ "x": 1713.0001068115234,
+ "y": 899.0000438690186,
+ "z": "e63010f0.f0847",
"wires": [
[
- "ad0c00ef.1fb7b"
+ "1b080f63.6e5091"
]
]
},
{
- "id": "522e4061.48e94",
+ "id": "7f804ef3.5d76a",
"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.697914123535,
- "y": 1135.9999494552612,
- "z": "ea83c234.74a66",
+ "x": 2280.166816711426,
+ "y": 1175.7499980926514,
+ "z": "e63010f0.f0847",
"wires": [
[
- "acd91e81.cd0da",
- "a6bf8d05.347a4"
+ "9aa6f4b4.608f88",
+ "d32879df.ba1d98"
]
]
},
{
- "id": "99c35b5e.7ad5b8",
+ "id": "1b080f63.6e5091",
+ "type": "switchNode",
+ "name": "switch network-information.network-id",
+ "xml": "<switch test='`$network-topology-operation-input.network-information.network-id`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2291.6665954589844,
+ "y": 342.666729927063,
+ "z": "e63010f0.f0847",
+ "wires": [
+ [
+ "9fba2200.51e6c"
+ ]
+ ]
+ },
+ {
+ "id": "9fba2200.51e6c",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2522.380714416504,
+ "y": 342.6667537689209,
+ "z": "e63010f0.f0847",
+ "wires": [
+ [
+ "22a9013d.6fbafe"
+ ]
+ ]
+ },
+ {
+ "id": "22a9013d.6fbafe",
+ "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": 2683.8095474243164,
+ "y": 344.66674613952637,
+ "z": "e63010f0.f0847",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "1c9e653c.7c448b",
"type": "comment",
"name": "validations - required for all",
"info": "",
"comments": "",
- "x": 591.03125,
- "y": 185.99999809265137,
- "z": "ea83c234.74a66",
- "wires": []
+ "x": 591,
+ "y": 142,
+ "z": "e63010f0.f0847",
+ "wires": [
+
+ ]
},
{
- "id": "bb3aaf61.12982",
+ "id": "d7960cc9.37033",
"type": "comment",
"name": "validations specific per svc-action",
"info": "",
"comments": "",
- "x": 603.03125,
- "y": 400.99999809265137,
- "z": "ea83c234.74a66",
- "wires": []
+ "x": 603,
+ "y": 357,
+ "z": "e63010f0.f0847",
+ "wires": [
+
+ ]
},
{
- "id": "f39e6aa2.09d888",
+ "id": "87ae65e.0ad4198",
"type": "comment",
"name": "network-request-information block validations",
"info": "",
"comments": "",
- "x": 2331.03125,
- "y": 987.9999980926514,
- "z": "ea83c234.74a66",
- "wires": []
+ "x": 2283.5001525878906,
+ "y": 1027.7500467300415,
+ "z": "e63010f0.f0847",
+ "wires": [
+
+ ]
},
{
- "id": "6e0de85f.52ae38",
+ "id": "85de231.44f83e",
"type": "switchNode",
"name": "switch network-request-information.tenant",
"xml": "<switch test='`$network-topology-operation-input.network-request-input.tenant`'>\n",
"comments": "",
"outputs": 1,
- "x": 2328.03125,
- "y": 1037.9999980926514,
- "z": "ea83c234.74a66",
+ "x": 2280.5001525878906,
+ "y": 1077.7500467300415,
+ "z": "e63010f0.f0847",
"wires": [
[
- "4ae37797.bed6c8"
+ "9e25a0c.b03396"
]
]
},
{
- "id": "4ae37797.bed6c8",
+ "id": "9e25a0c.b03396",
"type": "other",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 2569.74560546875,
- "y": 1039.9999980926514,
- "z": "ea83c234.74a66",
+ "x": 2522.2145080566406,
+ "y": 1079.7500467300415,
+ "z": "e63010f0.f0847",
"wires": [
[
- "47dce650.0f6df8"
+ "e6e63c4d.e8316"
]
]
},
{
- "id": "47dce650.0f6df8",
+ "id": "e6e63c4d.e8316",
"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.1741943359375,
- "y": 1037.9999980926514,
- "z": "ea83c234.74a66",
- "wires": []
+ "x": 2673.643096923828,
+ "y": 1077.7500467300415,
+ "z": "e63010f0.f0847",
+ "wires": [
+
+ ]
},
{
- "id": "f1bdb760.a39f58",
+ "id": "126ed261.6d016e",
"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": 2357.03125,
- "y": 1080.9999980926514,
- "z": "ea83c234.74a66",
+ "x": 2309.5001525878906,
+ "y": 1120.7500467300415,
+ "z": "e63010f0.f0847",
"wires": [
[
- "500a2d6f.01c354"
+ "a58f9313.2cb"
]
]
},
{
- "id": "500a2d6f.01c354",
+ "id": "a58f9313.2cb",
"type": "other",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 2618.74560546875,
- "y": 1080.9999980926514,
- "z": "ea83c234.74a66",
+ "x": 2571.2145080566406,
+ "y": 1120.7500467300415,
+ "z": "e63010f0.f0847",
"wires": [
[
- "9ab40c85.dc8f9"
+ "8fa39600.8eb028"
]
]
},
{
- "id": "9ab40c85.dc8f9",
+ "id": "8fa39600.8eb028",
"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": 2783.174072265625,
- "y": 1079.9999980926514,
- "z": "ea83c234.74a66",
- "wires": []
+ "x": 2735.6429748535156,
+ "y": 1119.7500467300415,
+ "z": "e63010f0.f0847",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "b947049a.5131d8",
+ "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": 2322.0001220703125,
+ "y": 851.750057220459,
+ "z": "e63010f0.f0847",
+ "wires": [
+ [
+ "db1531a3.b01d4"
+ ]
+ ]
+ },
+ {
+ "id": "db1531a3.b01d4",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2607.0001831054688,
+ "y": 850.7500514984131,
+ "z": "e63010f0.f0847",
+ "wires": [
+ [
+ "227885fb.36f5fa"
+ ]
+ ]
},
{
- "id": "93644671.27ab38",
+ "id": "227885fb.36f5fa",
+ "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": 2758.4286499023438,
+ "y": 849.7500514984131,
+ "z": "e63010f0.f0847",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "670aca33.70fd54",
"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.1741943359375,
- "y": 907.8571147918701,
- "z": "ea83c234.74a66",
+ "x": 2294.1429138183594,
+ "y": 927.6072015762329,
+ "z": "e63010f0.f0847",
"wires": [
[
- "5adb46d1.78a9b8"
+ "8cf55b72.906388"
]
]
},
{
- "id": "5adb46d1.78a9b8",
+ "id": "8cf55b72.906388",
"type": "other",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 2560.1741943359375,
- "y": 908.8571147918701,
- "z": "ea83c234.74a66",
+ "x": 2535.1430053710938,
+ "y": 928.6071376800537,
+ "z": "e63010f0.f0847",
"wires": [
[
- "b5f06625.cfdca8"
+ "db7c5eac.4b11f"
]
]
},
{
- "id": "b5f06625.cfdca8",
+ "id": "db7c5eac.4b11f",
"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.6026611328125,
- "y": 906.857084274292,
- "z": "ea83c234.74a66",
- "wires": []
+ "x": 2700.5714721679688,
+ "y": 926.6071071624756,
+ "z": "e63010f0.f0847",
+ "wires": [
+
+ ]
},
{
- "id": "f574bbf5.e2c0a8",
+ "id": "c03efce7.798d8",
+ "type": "comment",
+ "name": "network-information.onap-model-information block validations",
+ "info": "",
+ "comments": "",
+ "x": 2341.1432495117188,
+ "y": 811.6071996688843,
+ "z": "e63010f0.f0847",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "2fc8fc6.5a9a904",
"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": 2365.03125,
- "y": 866.9999980926514,
- "z": "ea83c234.74a66",
+ "x": 2340.0000610351562,
+ "y": 886.750020980835,
+ "z": "e63010f0.f0847",
"wires": [
[
- "126e3258.9c32ee"
+ "4023c1f8.6bfd8"
]
]
},
{
- "id": "126e3258.9c32ee",
+ "id": "4023c1f8.6bfd8",
"type": "other",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 2661.03125,
- "y": 867.9999980926514,
- "z": "ea83c234.74a66",
+ "x": 2636.0000610351562,
+ "y": 887.750020980835,
+ "z": "e63010f0.f0847",
"wires": [
[
- "109a29dd.e914a6"
+ "533bebda.091e34"
]
]
},
{
- "id": "109a29dd.e914a6",
+ "id": "533bebda.091e34",
"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.459716796875,
- "y": 867.9999980926514,
- "z": "ea83c234.74a66",
- "wires": []
+ "x": 2783.4285278320312,
+ "y": 887.750020980835,
+ "z": "e63010f0.f0847",
+ "wires": [
+
+ ]
},
{
- "id": "40653e81.a79c4",
+ "id": "72fc5045.064b6",
"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.3883247375488,
- "y": 764.6428327560425,
- "z": "ea83c234.74a66",
- "wires": []
+ "x": 565.3570747375488,
+ "y": 720.6428346633911,
+ "z": "e63010f0.f0847",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "11f179e3.c70cd6",
+ "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": 2324.5001220703125,
+ "y": 648.5835075378418,
+ "z": "e63010f0.f0847",
+ "wires": [
+ [
+ "cdd839e9.ec2698",
+ "1d9acc4e.eabbc4"
+ ]
+ ]
+ },
+ {
+ "id": "cdd839e9.ec2698",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2614.250011444092,
+ "y": 678.7501907348633,
+ "z": "e63010f0.f0847",
+ "wires": [
+ [
+ "c8168426.fb2778"
+ ]
+ ]
+ },
+ {
+ "id": "1d9acc4e.eabbc4",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2611.91690826416,
+ "y": 645.7500648498535,
+ "z": "e63010f0.f0847",
+ "wires": [
+ [
+ "743b2b33.a39434"
+ ]
+ ]
+ },
+ {
+ "id": "743b2b33.a39434",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n<parameter name='' value='' />\n",
+ "comments": "",
+ "x": 2772.2501373291016,
+ "y": 642.7501220703125,
+ "z": "e63010f0.f0847",
+ "wires": [
+
+ ]
},
{
- "id": "84b45f59.b66f9",
+ "id": "3dca2e54.ce69e2",
"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": 3043.2143173217773,
- "y": 1351.1784744262695,
- "z": "ea83c234.74a66",
+ "x": 2988.183319091797,
+ "y": 1423.4285793304443,
+ "z": "e63010f0.f0847",
"wires": [
[
- "a0253c48.a500d",
- "8b8eb621.59ec18"
+ "d78da022.8cc75",
+ "f68bd615.bb51f8"
]
]
},
{
- "id": "c49e6503.c07498",
+ "id": "eab4a5c5.4ed798",
"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.6785202026367,
- "y": 1342.225890159607,
- "z": "ea83c234.74a66",
- "wires": []
+ "x": 3482.6474609375,
+ "y": 1420.7260434627533,
+ "z": "e63010f0.f0847",
+ "wires": [
+
+ ]
},
{
- "id": "a0253c48.a500d",
+ "id": "d78da022.8cc75",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3303.9285316467285,
- "y": 1335.5830965042114,
- "z": "ea83c234.74a66",
+ "x": 3283.897472381592,
+ "y": 1414.0832498073578,
+ "z": "e63010f0.f0847",
"wires": [
[
- "c49e6503.c07498"
+ "eab4a5c5.4ed798"
]
]
},
{
- "id": "8b8eb621.59ec18",
+ "id": "f68bd615.bb51f8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3297.6785316467285,
- "y": 1368.0830965042114,
- "z": "ea83c234.74a66",
+ "x": 3277.647472381592,
+ "y": 1446.5832498073578,
+ "z": "e63010f0.f0847",
"wires": [
[
- "c49e6503.c07498"
+ "eab4a5c5.4ed798"
]
]
},
{
- "id": "acd91e81.cd0da",
+ "id": "3ae0b22b.798afe",
+ "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": 4011.611541748047,
+ "y": 715.9445762634277,
+ "z": "e63010f0.f0847",
+ "wires": [
+ [
+ "4c0b1766.0a1718"
+ ]
+ ]
+ },
+ {
+ "id": "bbac62ee.a9073",
+ "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": 3098.3256912231445,
+ "y": 677.0159721374512,
+ "z": "e63010f0.f0847",
+ "wires": [
+ [
+ "89b19017.0f661",
+ "93771b0c.2e9b98"
+ ]
+ ]
+ },
+ {
+ "id": "89b19017.0f661",
+ "type": "other",
+ "name": "outcome Null",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3463.575469970703,
+ "y": 679.0159454345703,
+ "z": "e63010f0.f0847",
+ "wires": [
+ [
+ "54cf4a3b.259ea4"
+ ]
+ ]
+ },
+ {
+ "id": "93771b0c.2e9b98",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3443.575469970703,
+ "y": 714.0159454345703,
+ "z": "e63010f0.f0847",
+ "wires": [
+ [
+ "e72fab17.7fdb88"
+ ]
+ ]
+ },
+ {
+ "id": "4c0b1766.0a1718",
+ "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": 4459.54020690918,
+ "y": 715.6947593688965,
+ "z": "e63010f0.f0847",
+ "wires": [
+ [
+ "3ff64f2b.a623f"
+ ]
+ ]
+ },
+ {
+ "id": "3ff64f2b.a623f",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4705.99324798584,
+ "y": 716.5876178741455,
+ "z": "e63010f0.f0847",
+ "wires": [
+ [
+ "d394cc8b.d995"
+ ]
+ ]
+ },
+ {
+ "id": "4e382840.fb0f58",
+ "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": 5148.525215148926,
+ "y": 716.3376426696777,
+ "z": "e63010f0.f0847",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "e72fab17.7fdb88",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 3644.845489501953,
+ "y": 715.5705108642578,
+ "z": "e63010f0.f0847",
+ "wires": [
+ [
+ "3ae0b22b.798afe"
+ ]
+ ]
+ },
+ {
+ "id": "c8168426.fb2778",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2748.3612670898438,
+ "y": 679.1945953369141,
+ "z": "e63010f0.f0847",
+ "wires": [
+ [
+ "bbac62ee.a9073"
+ ]
+ ]
+ },
+ {
+ "id": "54cf4a3b.259ea4",
+ "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": 3624.861358642578,
+ "y": 678.4445343017578,
+ "z": "e63010f0.f0847",
+ "wires": [
+ [
+
+ ]
+ ]
+ },
+ {
+ "id": "d394cc8b.d995",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 4854.611686706543,
+ "y": 716.444803237915,
+ "z": "e63010f0.f0847",
+ "wires": [
+ [
+ "4e382840.fb0f58"
+ ]
+ ]
+ },
+ {
+ "id": "9aa6f4b4.608f88",
"type": "other",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 2592.845993041992,
- "y": 1135.5925884246826,
- "z": "ea83c234.74a66",
+ "x": 2545.314895629883,
+ "y": 1175.3426370620728,
+ "z": "e63010f0.f0847",
"wires": [
[
- "b13bfecc.d0f64"
+ "8c6fbcac.fa3a8"
]
]
},
{
- "id": "a6bf8d05.347a4",
+ "id": "d32879df.ba1d98",
"type": "other",
"name": "Other",
"xml": "<outcome value='Other'>",
"comments": "",
"outputs": 1,
- "x": 2599.0959281921387,
- "y": 1274.7591934204102,
- "z": "ea83c234.74a66",
+ "x": 2544.064929962158,
+ "y": 1347.009298324585,
+ "z": "e63010f0.f0847",
"wires": [
[
- "468997da.29ae18"
+ "2edd7ef0.7bc5a2"
]
]
},
{
- "id": "9d1f773f.56bf68",
+ "id": "29d015af.6147aa",
"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": 3045.7143020629883,
- "y": 1274.2432470321655,
- "z": "ea83c234.74a66",
+ "x": 2990.683303833008,
+ "y": 1346.4933519363403,
+ "z": "e63010f0.f0847",
"wires": [
[
- "84dd27a2.97bda8",
- "3c927e02.744bb2"
+ "c56537db.4b5cd8",
+ "f56013eb.5f3c2"
]
]
},
{
- "id": "40f84f26.9dfa6",
+ "id": "e084071b.6ae128",
"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.7976684570312,
- "y": 1274.2432775497437,
- "z": "ea83c234.74a66",
- "wires": []
+ "x": 3472.7666091918945,
+ "y": 1352.74343085289,
+ "z": "e63010f0.f0847",
+ "wires": [
+
+ ]
},
{
- "id": "84dd27a2.97bda8",
+ "id": "c56537db.4b5cd8",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3294.047748565674,
- "y": 1269.6004934310913,
- "z": "ea83c234.74a66",
+ "x": 3274.016689300537,
+ "y": 1348.1006467342377,
+ "z": "e63010f0.f0847",
"wires": [
[
- "40f84f26.9dfa6"
+ "e084071b.6ae128"
]
]
},
{
- "id": "3c927e02.744bb2",
+ "id": "f56013eb.5f3c2",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3287.797748565674,
- "y": 1302.1004934310913,
- "z": "ea83c234.74a66",
+ "x": 3267.766689300537,
+ "y": 1380.6006467342377,
+ "z": "e63010f0.f0847",
"wires": [
[
- "40f84f26.9dfa6"
+ "e084071b.6ae128"
]
]
},
{
- "id": "911ff56e.c82ef8",
+ "id": "74e13aa.554f9c4",
"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": 3039.400505065918,
- "y": 1210.4007968902588,
- "z": "ea83c234.74a66",
+ "x": 2990.8693084716797,
+ "y": 1248.1509647369385,
+ "z": "e63010f0.f0847",
"wires": [
[
- "9b7c8a4e.698078",
- "375e7edf.448442"
+ "3dd73bf.e9feec4",
+ "f85f11b9.2d393"
]
]
},
{
- "id": "cc1f0aec.867828",
+ "id": "2b174be8.841db4",
"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.8647079467773,
- "y": 1201.4482126235962,
- "z": "ea83c234.74a66",
- "wires": []
+ "x": 3486.3335494995117,
+ "y": 1247.4483096599579,
+ "z": "e63010f0.f0847",
+ "wires": [
+
+ ]
},
{
- "id": "9b7c8a4e.698078",
+ "id": "3dd73bf.e9feec4",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3300.114719390869,
- "y": 1194.8054189682007,
- "z": "ea83c234.74a66",
+ "x": 3287.5835609436035,
+ "y": 1240.8055160045624,
+ "z": "e63010f0.f0847",
"wires": [
[
- "cc1f0aec.867828"
+ "2b174be8.841db4"
]
]
},
{
- "id": "375e7edf.448442",
+ "id": "f85f11b9.2d393",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3295.1146965026855,
- "y": 1226.0554180145264,
- "z": "ea83c234.74a66",
+ "x": 3282.58353805542,
+ "y": 1272.055515050888,
+ "z": "e63010f0.f0847",
"wires": [
[
- "cc1f0aec.867828"
+ "2b174be8.841db4"
]
]
},
{
- "id": "6cb11322.a53b0c",
+ "id": "1ce195c2.d12dca",
"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": 3038.1504287719727,
- "y": 1135.9654626846313,
- "z": "ea83c234.74a66",
+ "x": 2989.369338989258,
+ "y": 1174.4655179977417,
+ "z": "e63010f0.f0847",
"wires": [
[
- "4e95e1fd.41641",
- "9df2f9b2.794ca8"
+ "56a0a71d.c5d7c8",
+ "7583b82.c0af148"
]
]
},
{
- "id": "b9ac34e6.4bbe58",
+ "id": "c02f1c0.741dde8",
"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.983856201172,
- "y": 1133.465600013733,
- "z": "ea83c234.74a66",
- "wires": []
+ "x": 3476.4526977539062,
+ "y": 1179.4656970500946,
+ "z": "e63010f0.f0847",
+ "wires": [
+
+ ]
},
{
- "id": "4e95e1fd.41641",
+ "id": "56a0a71d.c5d7c8",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3290.2339363098145,
- "y": 1128.8228158950806,
- "z": "ea83c234.74a66",
+ "x": 3277.702777862549,
+ "y": 1174.8229129314423,
+ "z": "e63010f0.f0847",
"wires": [
[
- "b9ac34e6.4bbe58"
+ "c02f1c0.741dde8"
]
]
},
{
- "id": "9df2f9b2.794ca8",
+ "id": "7583b82.c0af148",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3283.9839363098145,
- "y": 1161.3228158950806,
- "z": "ea83c234.74a66",
+ "x": 3271.452777862549,
+ "y": 1207.3229129314423,
+ "z": "e63010f0.f0847",
"wires": [
[
- "b9ac34e6.4bbe58"
+ "c02f1c0.741dde8"
]
]
},
{
- "id": "b13bfecc.d0f64",
+ "id": "8c6fbcac.fa3a8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2768.1702423095703,
- "y": 1134.805416584015,
- "z": "ea83c234.74a66",
+ "x": 2720.639144897461,
+ "y": 1174.555465221405,
+ "z": "e63010f0.f0847",
"wires": [
[
- "6cb11322.a53b0c",
- "911ff56e.c82ef8"
+ "1ce195c2.d12dca",
+ "74e13aa.554f9c4"
]
]
},
{
- "id": "468997da.29ae18",
+ "id": "2edd7ef0.7bc5a2",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2760.6702423095703,
- "y": 1273.555419921875,
- "z": "ea83c234.74a66",
+ "x": 2705.63924407959,
+ "y": 1345.8055248260498,
+ "z": "e63010f0.f0847",
"wires": [
[
- "9d1f773f.56bf68",
- "84b45f59.b66f9"
+ "29d015af.6147aa",
+ "3dca2e54.ce69e2"
]
]
},
{
- "id": "a629f7e0.27dc18",
- "type": "outcome",
- "name": "ActivateDCINetworkInstance",
- "xml": "<outcome value='ActivateDCINetworkInstance'>",
+ "id": "7be255c0.a124ec",
+ "type": "other",
+ "name": "changeassign",
+ "xml": "<outcome value='changeassign'>",
"comments": "",
"outputs": 1,
- "x": 1474.6978378295898,
- "y": 532.9999980926514,
- "z": "ea83c234.74a66",
+ "x": 799.0000877380371,
+ "y": 675.0000276565552,
+ "z": "e63010f0.f0847",
"wires": [
[
- "ffd7a509.990f28"
+ "42435c10.d44464"
]
]
},
{
- "id": "b80bf0eb.dad37",
- "type": "outcome",
- "name": "DeActivateDCINetworkInstance",
- "xml": "<outcome value='DeActivateDCINetworkInstance'>",
+ "id": "42435c10.d44464",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1496.0312118530273,
- "y": 695.9999980926514,
- "z": "ea83c234.74a66",
+ "x": 984.2857322692871,
+ "y": 674.4286317825317,
+ "z": "e63010f0.f0847",
"wires": [
- []
+ [
+ "713d719b.e94ab"
+ ]
]
},
{
- "id": "3e035fc2.b3924",
+ "id": "713d719b.e94ab",
"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",
+ "name": "switch request-action",
+ "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1176.2856712341309,
+ "y": 674.4286165237427,
+ "z": "e63010f0.f0847",
+ "wires": [
+ [
+ "de2bfa5c.7f8a68",
+ "489c8cd.789c574"
+ ]
+ ]
+ },
+ {
+ "id": "de2bfa5c.7f8a68",
+ "type": "other",
+ "name": "CreateNetworkInstance",
+ "xml": "<outcome value='CreateNetworkInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1456.2856712341309,
+ "y": 639.4286165237427,
+ "z": "e63010f0.f0847",
+ "wires": [
+ [
+ "ad275510.779568"
+ ]
+ ]
+ },
+ {
+ "id": "489c8cd.789c574",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1405.2856712341309,
+ "y": 683.4286165237427,
+ "z": "e63010f0.f0847",
+ "wires": [
+ [
+ "49edc7a6.37b578"
+ ]
+ ]
+ },
+ {
+ "id": "49edc7a6.37b578",
+ "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": 1574.2856712341309,
+ "y": 683.4286165237427,
+ "z": "e63010f0.f0847",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "ad275510.779568",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1692.2856712341309,
+ "y": 638.4286165237427,
+ "z": "e63010f0.f0847",
+ "wires": [
+ [
+ "1b080f63.6e5091",
+ "ceb7d63d.306be8",
+ "b947049a.5131d8",
+ "2fc8fc6.5a9a904",
+ "670aca33.70fd54",
+ "85de231.44f83e",
+ "126ed261.6d016e"
+ ]
+ ]
+ },
+ {
+ "id": "ceb7d63d.306be8",
+ "type": "switchNode",
+ "name": "switch network-information.from-preload",
+ "xml": "<switch test='`$network-topology-operation-input.network-information.from-preload`'>\n",
"comments": "",
"outputs": 1,
- "x": 2347.0313110351562,
- "y": 832.0000343322754,
- "z": "ea83c234.74a66",
+ "x": 2297.91650390625,
+ "y": 393.0000352859497,
+ "z": "e63010f0.f0847",
"wires": [
[
- "83d207ff.7bd648"
+ "d2c0576b.e847f8"
]
]
},
{
- "id": "83d207ff.7bd648",
+ "id": "d2c0576b.e847f8",
"type": "other",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 2632.0313720703125,
- "y": 831.0000286102295,
- "z": "ea83c234.74a66",
+ "x": 2533.630813598633,
+ "y": 393.0000352859497,
+ "z": "e63010f0.f0847",
"wires": [
[
- "f82300ac.a06c3"
+ "ae1d6561.2c5238"
]
]
},
{
- "id": "f82300ac.a06c3",
+ "id": "ae1d6561.2c5238",
"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",
+ "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": 2783.4598388671875,
- "y": 830.0000286102295,
- "z": "ea83c234.74a66",
- "wires": []
+ "x": 2698.0594329833984,
+ "y": 391.0000352859497,
+ "z": "e63010f0.f0847",
+ "wires": [
+
+ ]
},
{
- "id": "97f835cb.91c378",
+ "id": "3626c406.ab791c",
"type": "comment",
- "name": "network-information.onap-model-information block validations",
+ "name": "If service model uuid not passed in input, use from service-data",
"info": "",
"comments": "",
- "x": 2366.1741943359375,
- "y": 792.8571147918701,
- "z": "ea83c234.74a66",
- "wires": []
+ "x": 3086.7462768554688,
+ "y": 1135.2461557388306,
+ "z": "e63010f0.f0847",
+ "wires": [
+
+ ]
},
{
- "id": "3aacf235.e8f50e",
+ "id": "aec34f7.d0bc6b",
+ "type": "comment",
+ "name": "get network and service model using input",
+ "info": "",
+ "comments": "",
+ "x": 3014.246292114258,
+ "y": 1308.9961595535278,
+ "z": "e63010f0.f0847",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "ba42444e.d99888",
"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": 2302.0311737060547,
- "y": 701.3333549499512,
- "z": "ea83c234.74a66",
+ "x": 2301.3358001708984,
+ "y": 446.6692581176758,
+ "z": "e63010f0.f0847",
"wires": [
[
- "9159921b.1a874",
- "e6a3fc73.bccb"
+ "c0f78c23.79ac9",
+ "317f60b4.ace11"
]
]
},
{
- "id": "9159921b.1a874",
+ "id": "c0f78c23.79ac9",
"type": "other",
"name": "Other",
"xml": "<outcome value='Other'>",
"comments": "",
"outputs": 1,
- "x": 2598.0311241149902,
- "y": 734.0000667572021,
- "z": "ea83c234.74a66",
+ "x": 2597.335750579834,
+ "y": 479.33596992492676,
+ "z": "e63010f0.f0847",
"wires": [
[
- "6dac7c4c.02e324"
+ "a36353c9.ec25f"
]
]
},
{
- "id": "6dac7c4c.02e324",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
+ "id": "317f60b4.ace11",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 2732.142379760742,
- "y": 734.4444713592529,
- "z": "ea83c234.74a66",
+ "x": 2595.0026473999023,
+ "y": 446.335844039917,
+ "z": "e63010f0.f0847",
"wires": [
[
- "ad3bc41e.68ce58"
+ "4284928.5f7026c"
]
]
},
{
- "id": "ad3bc41e.68ce58",
- "type": "switchNode",
- "name": "switch service-data.networks.network_length",
- "xml": "<switch test='`$service-data.networks.network_length`'>\n",
+ "id": "4284928.5f7026c",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n<parameter name='' value='' />\n",
"comments": "",
- "outputs": 1,
- "x": 3005.856491088867,
- "y": 736.0158214569092,
- "z": "ea83c234.74a66",
+ "x": 2755.3358764648438,
+ "y": 443.335901260376,
+ "z": "e63010f0.f0847",
"wires": [
- [
- "581b248a.42826c",
- "cc92e437.07d7d8"
- ]
+
]
},
{
- "id": "581b248a.42826c",
- "type": "other",
- "name": "outcome Null",
- "xml": "<outcome value=''>\n",
+ "id": "2d884755.29b488",
+ "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": 3294.856491088867,
- "y": 738.0158824920654,
- "z": "ea83c234.74a66",
+ "x": 3745.4471740722656,
+ "y": 518.780366897583,
+ "z": "e63010f0.f0847",
"wires": [
[
- "488942f3.44f17c"
+ "727643c7.801efc"
]
]
},
{
- "id": "cc92e437.07d7d8",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
+ "id": "5d18ed5a.0f2ca4",
+ "type": "switchNode",
+ "name": "switch service-data.networks.network_length",
+ "xml": "<switch test='`$service-data.networks.network_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 3274.856491088867,
- "y": 773.0158824920654,
- "z": "ea83c234.74a66",
+ "x": 3005.161117553711,
+ "y": 481.3517246246338,
+ "z": "e63010f0.f0847",
"wires": [
[
- "b5588c72.ba5fc"
+ "2dd4f60.cfe780a",
+ "5256a6bb.4d3648"
]
]
},
{
- "id": "b5588c72.ba5fc",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
+ "id": "2dd4f60.cfe780a",
+ "type": "other",
+ "name": "outcome Null",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
"outputs": 1,
- "x": 3476.126510620117,
- "y": 774.5704479217529,
- "z": "ea83c234.74a66",
+ "x": 3294.161117553711,
+ "y": 483.35178565979004,
+ "z": "e63010f0.f0847",
"wires": [
[
- "54588ea6.fb302",
- "8ffdffe5.986cf"
+ "b413fbec.d3cf38"
]
]
},
{
- "id": "54588ea6.fb302",
- "type": "for",
- "name": "for nidx..service-data.networks.network[]",
- "xml": "<for index='nidx' start='0' end='`$service-data.networks.network_length`' >\n",
+ "id": "5256a6bb.4d3648",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 3746.142547607422,
- "y": 773.4444637298584,
- "z": "ea83c234.74a66",
+ "x": 3265.411331176758,
+ "y": 518.8518409729004,
+ "z": "e63010f0.f0847",
"wires": [
[
- "1beda453.597b5c"
+ "d0b9665f.bb1998"
]
]
},
{
- "id": "1beda453.597b5c",
+ "id": "727643c7.801efc",
"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.5710983276367,
- "y": 772.6945476531982,
- "z": "ea83c234.74a66",
+ "x": 4035.8757247924805,
+ "y": 518.0304508209229,
+ "z": "e63010f0.f0847",
"wires": [
[
- "6de598a.75bad68"
+ "629bda8a.bbb3d4"
]
]
},
{
- "id": "6de598a.75bad68",
+ "id": "629bda8a.bbb3d4",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 4225.523452758789,
- "y": 773.5872859954834,
- "z": "ea83c234.74a66",
+ "x": 4224.828079223633,
+ "y": 518.923189163208,
+ "z": "e63010f0.f0847",
"wires": [
[
- "d5f294f4.1bcec8"
+ "9044c700.05da08"
]
]
},
{
- "id": "82ed9efc.d01f3",
+ "id": "e1d58d9f.f500f",
"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",
+ "xml": "<set>\n<parameter name='tmp.nidx' value='`$nidx`' />\n<parameter name='network-data.' value='`$service-data.networks.network[$nidx].`' />\n",
"comments": "",
- "x": 4669.055221557617,
- "y": 782.337308883667,
- "z": "ea83c234.74a66",
- "wires": []
+ "x": 4667.360046386719,
+ "y": 518.6732139587402,
+ "z": "e63010f0.f0847",
+ "wires": [
+
+ ]
},
{
- "id": "8ffdffe5.986cf",
+ "id": "d0b9665f.bb1998",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 3466.681350708008,
+ "y": 520.4064064025879,
+ "z": "e63010f0.f0847",
+ "wires": [
+ [
+ "2d884755.29b488"
+ ]
+ ]
+ },
+ {
+ "id": "312a328b.ffe99e",
"type": "switchNode",
"name": "switch tmp.nidx ",
"xml": "<switch test=\"`$tmp.nidx`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 3664.443977355957,
- "y": 815.4276704788208,
- "z": "ea83c234.74a66",
+ "x": 3663.748748779297,
+ "y": 594.7635736465454,
+ "z": "e63010f0.f0847",
"wires": [
[
- "a08270b4.5a0dc"
+ "e7171c98.50a26"
]
]
},
{
- "id": "7a3310df.c618f",
+ "id": "62544a06.27e584",
"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.3009605407715,
- "y": 811.1419124603271,
- "z": "ea83c234.74a66",
- "wires": []
+ "x": 4018.606025695801,
+ "y": 594.4778385162354,
+ "z": "e63010f0.f0847",
+ "wires": [
+
+ ]
},
{
- "id": "a08270b4.5a0dc",
+ "id": "e7171c98.50a26",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 3835.872512817383,
- "y": 813.9990558624268,
- "z": "ea83c234.74a66",
+ "x": 3835.1772842407227,
+ "y": 593.3349590301514,
+ "z": "e63010f0.f0847",
"wires": [
[
- "7a3310df.c618f"
+ "62544a06.27e584"
]
]
},
{
- "id": "6dea9d77.04a2a4",
- "type": "switchNode",
- "name": "switch order-status",
- "xml": "<switch test='`$ctx.network-data.network-data.network-level-oper-status.order-status`'>\n",
+ "id": "a36353c9.ec25f",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4627.475631713867,
- "y": 819.444486618042,
- "z": "ea83c234.74a66",
+ "x": 2731.447006225586,
+ "y": 479.78037452697754,
+ "z": "e63010f0.f0847",
"wires": [
[
- "47aee516.d8463c"
+ "5d18ed5a.0f2ca4"
]
]
},
{
- "id": "47aee516.d8463c",
- "type": "other",
- "name": "outcome Created",
- "xml": "<outcome value='Created'>\n",
+ "id": "b413fbec.d3cf38",
+ "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": 4841.475631713867,
- "y": 819.444486618042,
- "z": "ea83c234.74a66",
+ "x": 3455.447006225586,
+ "y": 482.78037452697754,
+ "z": "e63010f0.f0847",
"wires": [
[
- "b5ba6fb5.02e0e"
+
]
]
},
{
- "id": "b5ba6fb5.02e0e",
- "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",
+ "id": "9044c700.05da08",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 4373.446517944336,
+ "y": 518.7803745269775,
+ "z": "e63010f0.f0847",
+ "wires": [
+ [
+ "e1d58d9f.f500f"
+ ]
+ ]
+ },
+ {
+ "id": "5596cb1d.c25184",
+ "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": 5045.475631713867,
- "y": 815.4444713592529,
- "z": "ea83c234.74a66",
- "wires": []
+ "x": 3943.3360900878906,
+ "y": 556.3359460830688,
+ "z": "e63010f0.f0847",
+ "wires": [
+
+ ]
},
{
- "id": "d5f294f4.1bcec8",
+ "id": "e3f71705.e890b8",
+ "type": "outcome",
+ "name": "ActivateSOTNConnectivityInstance",
+ "xml": "<outcome value='ActivateSOTNConnectivityInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1483.3333740234375,
+ "y": 482.0000648498535,
+ "z": "e63010f0.f0847",
+ "wires": [
+ [
+ "37eb4d84.5c8452"
+ ]
+ ]
+ },
+ {
+ "id": "37eb4d84.5c8452",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
+ "comments": "",
"outputs": 1,
- "x": 4374.141891479492,
- "y": 773.4444713592529,
- "z": "ea83c234.74a66",
+ "x": 1709.3333435058594,
+ "y": 482.0001106262207,
+ "z": "e63010f0.f0847",
"wires": [
[
- "82ed9efc.d01f3"
+
]
]
},
{
- "id": "488942f3.44f17c",
- "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",
+ "id": "3339894b.fbd566",
+ "type": "outcome",
+ "name": "ActivateDCINetworkInstance",
+ "xml": "<outcome value='ActivateDCINetworkInstance'>",
"comments": "",
"outputs": 1,
- "x": 3456.142379760742,
- "y": 737.4444713592529,
- "z": "ea83c234.74a66",
+ "x": 1471.2497787475586,
+ "y": 517.9960944652557,
+ "z": "e63010f0.f0847",
"wires": [
- []
+ [
+ "e0539f6e.35405"
+ ]
]
},
{
- "id": "ad0c00ef.1fb7b",
- "type": "switchNode",
- "name": "switch network-information.network-id",
- "xml": "<switch test='`$network-topology-operation-input.network-information.network-id`'>\n",
+ "id": "e0539f6e.35405",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2300.0310974121094,
- "y": 654.6666717529297,
- "z": "ea83c234.74a66",
+ "x": 1684.556007385254,
+ "y": 517.0000286102295,
+ "z": "e63010f0.f0847",
"wires": [
[
- "d99ce0de.0aa67"
+
]
]
},
{
- "id": "d99ce0de.0aa67",
- "type": "other",
- "name": "NULL",
- "xml": "<outcome value=''>",
+ "id": "f6ea82e8.fb9a3",
+ "type": "outcome",
+ "name": "DeactivateSOTNConnectivityInstance",
+ "xml": "<outcome value='DeactivateSOTNConnectivityInstance'>",
"comments": "",
"outputs": 1,
- "x": 2528.7454223632812,
- "y": 656.6666717529297,
- "z": "ea83c234.74a66",
+ "x": 1498.333381652832,
+ "y": 731.0000801086426,
+ "z": "e63010f0.f0847",
"wires": [
[
- "68028a81.7e4cf4"
+ "3d5611d2.6ac69e"
]
]
},
{
- "id": "68028a81.7e4cf4",
- "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",
+ "id": "3d5611d2.6ac69e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
"comments": "",
- "x": 2693.174041748047,
- "y": 654.6666717529297,
- "z": "ea83c234.74a66",
- "wires": []
+ "outputs": 1,
+ "x": 1735.333351135254,
+ "y": 731.0001258850098,
+ "z": "e63010f0.f0847",
+ "wires": [
+ [
+
+ ]
+ ]
},
{
- "id": "e6a3fc73.bccb",
- "type": "other",
- "name": "NULL",
- "xml": "<outcome value=''>",
+ "id": "6f734fad.294d7",
+ "type": "outcome",
+ "name": "DeActivateDCINetworkInstance",
+ "xml": "<outcome value='DeActivateDCINetworkInstance'>",
"comments": "",
"outputs": 1,
- "x": 2595.6980209350586,
- "y": 700.9999408721924,
- "z": "ea83c234.74a66",
+ "x": 1480.5832138061523,
+ "y": 768.9960925579071,
+ "z": "e63010f0.f0847",
"wires": [
- []
+ [
+ "8c8034c3.c3e088"
+ ]
]
},
{
- "id": "ffd7a509.990f28",
+ "id": "8c8034c3.c3e088",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1701.00390625,
- "y": 507.00390625,
- "z": "ea83c234.74a66",
+ "x": 1723.5832977294922,
+ "y": 767.0273606777191,
+ "z": "e63010f0.f0847",
"wires": [
- []
+ [
+
+ ]
]
}
]