[
{
- "id": "d10892d8.d1d04",
+ "id": "8788b5a2.1dbb88",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 119.00390625,
- "y": 89.9999988079071,
- "z": "cd5e1606.c0dcc8",
+ "x": 159,
+ "y": 79,
+ "z": "df2e3233.9775f",
"wires": [
[
- "cc6fb669.27adb8"
+ "3ba09ab5.471bb6"
]
]
},
{
- "id": "cc6fb669.27adb8",
+ "id": "3ba09ab5.471bb6",
"type": "service-logic",
"name": "GENERIC-RESOURCE-API ${project.version}",
"module": "GENERIC-RESOURCE-API",
"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",
+ "x": 231.28570556640625,
+ "y": 131.2381134033203,
+ "z": "df2e3233.9775f",
"wires": [
[
- "5c46313a.cc52b"
+ "14d14939.627767"
]
]
},
{
- "id": "5c46313a.cc52b",
+ "id": "14d14939.627767",
"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",
+ "x": 231.42862701416016,
+ "y": 193,
+ "z": "df2e3233.9775f",
"wires": [
[
- "589f6d93.3cb684"
+ "b2af2fbc.edaf5"
]
]
},
{
- "id": "589f6d93.3cb684",
+ "id": "b2af2fbc.edaf5",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 204.7539520263672,
- "y": 486.44349360466003,
- "z": "cd5e1606.c0dcc8",
+ "x": 244.7500457763672,
+ "y": 475.44349479675293,
+ "z": "df2e3233.9775f",
"wires": [
[
- "63545e47.56cdf",
- "3b9c61c8.ee403e",
- "38cd8ee0.dfeaa2",
- "e55ef36.fecc71",
- "ab9b3245.3b163",
- "cf4a32b5.6699"
+ "ad851adc.fdf888",
+ "205d6a31.b83f56",
+ "bb69c265.9ec57",
+ "402cb1d.785695",
+ "96d49b08.fa0328",
+ "80d58546.aa7e88"
]
]
},
{
- "id": "63545e47.56cdf",
+ "id": "ad851adc.fdf888",
"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",
+ "x": 561.1428604125977,
+ "y": 201.42859077453613,
+ "z": "df2e3233.9775f",
"wires": [
[
- "e01f3b58.5084b8"
+ "33b50e86.044722"
]
]
},
{
- "id": "e01f3b58.5084b8",
+ "id": "33b50e86.044722",
"type": "other",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 746.8610709054128,
- "y": 212.42859203474836,
- "z": "cd5e1606.c0dcc8",
+ "x": 786.8571646554128,
+ "y": 201.42859322684126,
+ "z": "df2e3233.9775f",
"wires": [
[
- "fe964aff.bb00b8"
+ "70f295d3.d71adc"
]
]
},
{
- "id": "fe964aff.bb00b8",
+ "id": "70f295d3.d71adc",
"type": "returnFailure",
"name": "return failure",
"xml": "<return 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": [
-
- ]
+ "x": 938.2857306344167,
+ "y": 201.42859131949263,
+ "z": "df2e3233.9775f",
+ "wires": []
},
{
- "id": "3b9c61c8.ee403e",
+ "id": "205d6a31.b83f56",
"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",
+ "x": 549.7142333984375,
+ "y": 160.00002098083496,
+ "z": "df2e3233.9775f",
"wires": [
[
- "438a3c10.6a7244"
+ "b11b9bfa.b83dd8"
]
]
},
{
- "id": "438a3c10.6a7244",
+ "id": "b11b9bfa.b83dd8",
"type": "other",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 745.4324913024902,
- "y": 169.57141757011414,
- "z": "cd5e1606.c0dcc8",
+ "x": 785.4285850524902,
+ "y": 158.57141876220703,
+ "z": "df2e3233.9775f",
"wires": [
[
- "eafc9a3d.67efc8"
+ "1d63b726.f05909"
]
]
},
{
- "id": "eafc9a3d.67efc8",
+ "id": "1d63b726.f05909",
"type": "returnFailure",
"name": "return failure",
"xml": "<return 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": [
-
- ]
+ "x": 935.4285583496094,
+ "y": 158.5714282989502,
+ "z": "df2e3233.9775f",
+ "wires": []
},
{
- "id": "38cd8ee0.dfeaa2",
+ "id": "bb69c265.9ec57",
"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",
+ "x": 559.7142715454102,
+ "y": 244.285737991333,
+ "z": "df2e3233.9775f",
"wires": [
[
- "4c7ee001.df1f4"
+ "23018cf6.3779b4"
]
]
},
{
- "id": "4c7ee001.df1f4",
+ "id": "23018cf6.3779b4",
"type": "other",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 746.8610665457591,
- "y": 255.28574579102678,
- "z": "cd5e1606.c0dcc8",
+ "x": 786.8571602957591,
+ "y": 244.28574698311968,
+ "z": "df2e3233.9775f",
"wires": [
[
- "c0c0e1df.937f8"
+ "3d7d65b5.26ffaa"
]
]
},
{
- "id": "c0c0e1df.937f8",
+ "id": "3d7d65b5.26ffaa",
"type": "returnFailure",
"name": "return failure",
"xml": "<return 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": [
-
- ]
+ "x": 938.285726274763,
+ "y": 244.28574507577105,
+ "z": "df2e3233.9775f",
+ "wires": []
},
{
- "id": "e55ef36.fecc71",
+ "id": "402cb1d.785695",
"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",
+ "x": 568.857177734375,
+ "y": 287,
+ "z": "df2e3233.9775f",
"wires": [
[
- "41b98218.67710c"
+ "f8fe5d6a.080ae"
]
]
},
{
- "id": "41b98218.67710c",
+ "id": "f8fe5d6a.080ae",
"type": "other",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 745.2896728515625,
- "y": 298.9999988079071,
- "z": "cd5e1606.c0dcc8",
+ "x": 785.2857666015625,
+ "y": 288,
+ "z": "df2e3233.9775f",
"wires": [
[
- "4a5f94d4.e9a16c"
+ "cc71f851.6ba9a8"
]
]
},
{
- "id": "4a5f94d4.e9a16c",
+ "id": "cc71f851.6ba9a8",
"type": "returnFailure",
"name": "return failure",
"xml": "<return 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": [
-
- ]
+ "x": 943.7142944335938,
+ "y": 287,
+ "z": "df2e3233.9775f",
+ "wires": []
},
{
- "id": "577e7fa3.209ba",
+ "id": "e6be7a59.b96b68",
"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": [
-
- ]
+ "x": 444,
+ "y": 43,
+ "z": "df2e3233.9775f",
+ "wires": []
},
{
- "id": "ab9b3245.3b163",
+ "id": "96d49b08.fa0328",
"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",
+ "x": 546,
+ "y": 374,
+ "z": "df2e3233.9775f",
"wires": [
[
- "c25cbef0.24b67",
- "ffa0841e.8dfeb8",
- "ec8a549d.c2d768",
- "79b3c9cf.7c9a88"
+ "3c93b861.36fba8",
+ "88f1d93c.c06f98",
+ "a20067e.94ffe98",
+ "d5a289af.7573e8",
+ "f8a0e353.63b13"
]
]
},
{
- "id": "c25cbef0.24b67",
+ "id": "3c93b861.36fba8",
"type": "other",
"name": "assign",
"xml": "<outcome value='assign'>",
"comments": "",
"outputs": 1,
- "x": 738.71826171875,
- "y": 390.5714099407196,
- "z": "cd5e1606.c0dcc8",
+ "x": 778.71435546875,
+ "y": 379.5714111328125,
+ "z": "df2e3233.9775f",
"wires": [
[
- "4f0ebdbc.56efe4"
+ "21db76c1.48922a"
]
]
},
{
- "id": "ffa0841e.8dfeb8",
+ "id": "88f1d93c.c06f98",
"type": "other",
"name": "activate",
"xml": "<outcome value='activate'>",
"comments": "",
"outputs": 1,
- "x": 734.0040130615234,
- "y": 520.9999892711639,
- "z": "cd5e1606.c0dcc8",
+ "x": 772.0000114440918,
+ "y": 566.0000247955322,
+ "z": "df2e3233.9775f",
"wires": [
[
- "5ebeaa8b.6f2ad4"
+ "98c549ed.adadc8"
]
]
},
{
- "id": "ec8a549d.c2d768",
+ "id": "a20067e.94ffe98",
"type": "other",
"name": "deactivate",
"xml": "<outcome value='deactivate'>",
"comments": "",
"outputs": 1,
- "x": 737.0039749145508,
- "y": 687.0000121593475,
- "z": "cd5e1606.c0dcc8",
+ "x": 770.000114440918,
+ "y": 862.0001058578491,
+ "z": "df2e3233.9775f",
"wires": [
[
- "bb3fcaae.e4ad38"
+ "99c9746e.0bf598"
]
]
},
{
- "id": "4f0ebdbc.56efe4",
+ "id": "21db76c1.48922a",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 901.00390625,
- "y": 389.9999988079071,
- "z": "cd5e1606.c0dcc8",
+ "x": 941,
+ "y": 379,
+ "z": "df2e3233.9775f",
"wires": [
[
- "74260e08.eb326"
+ "272bb5f8.f31cda"
]
]
},
{
- "id": "74260e08.eb326",
+ "id": "272bb5f8.f31cda",
"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",
+ "x": 1161,
+ "y": 379,
+ "z": "df2e3233.9775f",
"wires": [
[
- "8fe022cd.91c96",
- "dea0b675.d14408"
+ "75bb00b.643f9",
+ "de64b013.96b09"
]
]
},
{
- "id": "8fe022cd.91c96",
+ "id": "75bb00b.643f9",
"type": "other",
"name": "CreateNetworkInstance",
"xml": "<outcome value='CreateNetworkInstance'>",
"comments": "",
"outputs": 1,
- "x": 1401.00390625,
- "y": 354.9999988079071,
- "z": "cd5e1606.c0dcc8",
+ "x": 1441,
+ "y": 344,
+ "z": "df2e3233.9775f",
"wires": [
[
- "c969e857.f1a468"
+ "46e41b99.978564"
]
]
},
{
- "id": "dea0b675.d14408",
+ "id": "de64b013.96b09",
"type": "other",
"name": "Other",
"xml": "<outcome value='Other'>",
"comments": "",
"outputs": 1,
- "x": 1350.00390625,
- "y": 398.9999988079071,
- "z": "cd5e1606.c0dcc8",
+ "x": 1390,
+ "y": 388,
+ "z": "df2e3233.9775f",
"wires": [
[
- "75ab9633.6c0538"
+ "7d916d38.e514a4"
]
]
},
{
- "id": "75ab9633.6c0538",
+ "id": "7d916d38.e514a4",
"type": "returnFailure",
"name": "return failure",
"xml": "<return 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": [
-
- ]
+ "x": 1559,
+ "y": 388,
+ "z": "df2e3233.9775f",
+ "wires": []
},
{
- "id": "5ebeaa8b.6f2ad4",
+ "id": "98c549ed.adadc8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 908.0040130615234,
- "y": 520.9999892711639,
- "z": "cd5e1606.c0dcc8",
+ "x": 946.0000114440918,
+ "y": 566.0000247955322,
+ "z": "df2e3233.9775f",
"wires": [
[
- "eeee19ec.1dddd8"
+ "7cbbeac6.2691d4"
]
]
},
{
- "id": "eeee19ec.1dddd8",
+ "id": "7cbbeac6.2691d4",
"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",
+ "x": 1163.0000114440918,
+ "y": 566.0000247955322,
+ "z": "df2e3233.9775f",
"wires": [
[
- "19ab9af4.959125",
- "267e33ff.fa91ec",
- "3c8e6628.d91a7a",
- "631913c6.522e9c"
+ "34d0495d.e1b546",
+ "b4c471fa.cde5e",
+ "985ba54f.3974a8",
+ "1c550262.882b2e",
+ "dce79fa4.7fd85"
]
]
},
{
- "id": "19ab9af4.959125",
+ "id": "34d0495d.e1b546",
"type": "other",
"name": "CreateNetworkInstance",
"xml": "<outcome value='CreateNetworkInstance'>",
"comments": "",
"outputs": 1,
- "x": 1406.0040130615234,
- "y": 521.9999892711639,
- "z": "cd5e1606.c0dcc8",
+ "x": 1444.0000114440918,
+ "y": 567.0000247955322,
+ "z": "df2e3233.9775f",
"wires": [
[
- "5bbb66dc.aa9cd8"
+ "c5dc69fd.8115a8"
]
]
},
{
- "id": "267e33ff.fa91ec",
+ "id": "b4c471fa.cde5e",
"type": "other",
"name": "Other",
"xml": "<outcome value='Other'>",
"comments": "",
"outputs": 1,
- "x": 1349.0040130615234,
- "y": 561.9999892711639,
- "z": "cd5e1606.c0dcc8",
+ "x": 1387.0000114440918,
+ "y": 607.0000247955322,
+ "z": "df2e3233.9775f",
"wires": [
[
- "bc137916.f46628"
+ "d8bc1fab.0cb7b"
]
]
},
{
- "id": "bc137916.f46628",
+ "id": "d8bc1fab.0cb7b",
"type": "returnFailure",
"name": "return failure",
"xml": "<return 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": [
-
- ]
+ "x": 1545.8573112487793,
+ "y": 606.4286451339722,
+ "z": "df2e3233.9775f",
+ "wires": []
},
{
- "id": "bb3fcaae.e4ad38",
+ "id": "99c9746e.0bf598",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 919.0039749145508,
- "y": 686.0000121593475,
- "z": "cd5e1606.c0dcc8",
+ "x": 952.000114440918,
+ "y": 861.0001058578491,
+ "z": "df2e3233.9775f",
"wires": [
[
- "55160352.39b04c"
+ "2c02914c.ac786e"
]
]
},
{
- "id": "55160352.39b04c",
+ "id": "2c02914c.ac786e",
"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",
+ "x": 1169.000114440918,
+ "y": 861.0001058578491,
+ "z": "df2e3233.9775f",
"wires": [
[
- "5cc0d485.64c92c",
- "7d1ae710.c4ae68",
- "6fed75a2.decf0c",
- "1da958a1.745b77"
+ "e6f9cf57.ba236",
+ "95775b49.fc2318",
+ "a630529b.bc37b",
+ "4893ca1b.86d634",
+ "10d3655a.b8cb0b"
]
]
},
{
- "id": "5cc0d485.64c92c",
+ "id": "e6f9cf57.ba236",
"type": "other",
"name": "DeleteNetworkInstance",
"xml": "<outcome value='DeleteNetworkInstance'>",
"comments": "",
"outputs": 1,
- "x": 1417.0039749145508,
- "y": 687.0000121593475,
- "z": "cd5e1606.c0dcc8",
+ "x": 1450.000114440918,
+ "y": 862.0001058578491,
+ "z": "df2e3233.9775f",
"wires": [
[
- "109f2b9.d4078d4"
+ "397759af.0b93f6"
]
]
},
{
- "id": "7d1ae710.c4ae68",
+ "id": "95775b49.fc2318",
"type": "other",
"name": "Other",
"xml": "<outcome value='Other'>",
"comments": "",
"outputs": 1,
- "x": 1360.0039749145508,
- "y": 727.0000121593475,
- "z": "cd5e1606.c0dcc8",
+ "x": 1393.000114440918,
+ "y": 902.0001058578491,
+ "z": "df2e3233.9775f",
"wires": [
[
- "20482a05.f565a6"
+ "41fdec9e.e8a644"
]
]
},
{
- "id": "20482a05.f565a6",
+ "id": "41fdec9e.e8a644",
"type": "returnFailure",
"name": "return failure",
"xml": "<return 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": [
-
- ]
+ "x": 1562.0001792907715,
+ "y": 904.8572673797607,
+ "z": "df2e3233.9775f",
+ "wires": []
},
{
- "id": "79b3c9cf.7c9a88",
+ "id": "d5a289af.7573e8",
"type": "other",
"name": "unassign",
"xml": "<outcome value='unassign'>",
"comments": "",
"outputs": 1,
- "x": 733.0039443969727,
- "y": 780.9999892711639,
- "z": "cd5e1606.c0dcc8",
+ "x": 766.0000839233398,
+ "y": 956.0000829696655,
+ "z": "df2e3233.9775f",
"wires": [
[
- "45974a1d.441444"
+ "390e2b39.6c4854"
]
]
},
{
- "id": "45974a1d.441444",
+ "id": "390e2b39.6c4854",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 915.0039749145508,
- "y": 777.0000121593475,
- "z": "cd5e1606.c0dcc8",
+ "x": 948.000114440918,
+ "y": 952.0001058578491,
+ "z": "df2e3233.9775f",
"wires": [
[
- "e8367231.5b793"
+ "106acf9d.333d5"
]
]
},
{
- "id": "e8367231.5b793",
+ "id": "106acf9d.333d5",
"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",
+ "x": 1165.000114440918,
+ "y": 952.0001058578491,
+ "z": "df2e3233.9775f",
"wires": [
[
- "2783d45.3ac4c2c",
- "dc9b366d.05d508"
+ "7360ef3d.9811b",
+ "6d03b112.dfc4"
]
]
},
{
- "id": "2783d45.3ac4c2c",
+ "id": "7360ef3d.9811b",
"type": "other",
"name": "DeleteNetworkInstance",
"xml": "<outcome value='DeleteNetworkInstance'>",
"comments": "",
"outputs": 1,
- "x": 1413.0039749145508,
- "y": 778.0000121593475,
- "z": "cd5e1606.c0dcc8",
+ "x": 1446.000114440918,
+ "y": 953.0001058578491,
+ "z": "df2e3233.9775f",
"wires": [
[
- "5f15529a.e2031c"
+ "c8e6a8bb.defab8"
]
]
},
{
- "id": "dc9b366d.05d508",
+ "id": "6d03b112.dfc4",
"type": "other",
"name": "Other",
"xml": "<outcome value='Other'>",
"comments": "",
"outputs": 1,
- "x": 1356.0039749145508,
- "y": 818.0000121593475,
- "z": "cd5e1606.c0dcc8",
+ "x": 1389.000114440918,
+ "y": 993.0001058578491,
+ "z": "df2e3233.9775f",
"wires": [
[
- "d903000c.e9d17"
+ "7dd14282.06273c"
]
]
},
{
- "id": "d903000c.e9d17",
+ "id": "7dd14282.06273c",
"type": "returnFailure",
"name": "return failure",
"xml": "<return 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": [
-
- ]
+ "x": 1558.000114440918,
+ "y": 993.0001058578491,
+ "z": "df2e3233.9775f",
+ "wires": []
},
{
- "id": "c969e857.f1a468",
+ "id": "46e41b99.978564",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1637.00390625,
- "y": 353.9999988079071,
- "z": "cd5e1606.c0dcc8",
+ "x": 1677,
+ "y": 343,
+ "z": "df2e3233.9775f",
"wires": [
[
- "c9238c13.c3f79",
- "a449f5ae.312af8",
- "fd80c464.68ff68",
- "416cb672.740808",
- "c16bbddb.dcdad",
- "f8366874.128af8",
- "d7a16e1b.af209"
+ "7e651b21.c50284",
+ "6b264531.de0afc",
+ "87ae2dd3.c6822",
+ "77cf2c9e.63a064",
+ "e62c59c8.088828",
+ "d8c0a4b6.4a38d8",
+ "6f3ed145.89e1a",
+ "81763a92.4e5c78"
]
]
},
{
- "id": "5bbb66dc.aa9cd8",
+ "id": "c5dc69fd.8115a8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1631.0040130615234,
- "y": 521.9999892711639,
- "z": "cd5e1606.c0dcc8",
+ "x": 1669.0000114440918,
+ "y": 567.0000247955322,
+ "z": "df2e3233.9775f",
"wires": [
[
- "c9238c13.c3f79",
- "a449f5ae.312af8",
- "fd80c464.68ff68",
- "416cb672.740808",
- "c16bbddb.dcdad",
- "f8366874.128af8",
- "56dfe279.93c1fc"
+ "dc0c345f.272208",
+ "7e651b21.c50284",
+ "6b264531.de0afc",
+ "87ae2dd3.c6822",
+ "77cf2c9e.63a064",
+ "d8c0a4b6.4a38d8",
+ "6f3ed145.89e1a"
]
]
},
{
- "id": "109f2b9.d4078d4",
+ "id": "397759af.0b93f6",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1673.0039749145508,
- "y": 688.0000121593475,
- "z": "cd5e1606.c0dcc8",
+ "x": 1706.000114440918,
+ "y": 863.0001058578491,
+ "z": "df2e3233.9775f",
"wires": [
[
- "56dfe279.93c1fc"
+ "dc0c345f.272208"
]
]
},
{
- "id": "5f15529a.e2031c",
+ "id": "c8e6a8bb.defab8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1672.0039749145508,
- "y": 779.0000121593475,
- "z": "cd5e1606.c0dcc8",
+ "x": 1705.000114440918,
+ "y": 954.0001058578491,
+ "z": "df2e3233.9775f",
"wires": [
[
- "56dfe279.93c1fc"
+ "dc0c345f.272208"
]
]
},
{
- "id": "c16bbddb.dcdad",
+ "id": "6f3ed145.89e1a",
"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",
+ "x": 2266.166816711426,
+ "y": 1150.7499980926514,
+ "z": "df2e3233.9775f",
+ "wires": [
+ [
+ "6ba35582.02a89c",
+ "8d6ac32a.9037"
+ ]
+ ]
+ },
+ {
+ "id": "dc0c345f.272208",
+ "type": "switchNode",
+ "name": "switch network-information.network-id",
+ "xml": "<switch test='`$network-topology-operation-input.network-information.network-id`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2277.6665954589844,
+ "y": 317.666729927063,
+ "z": "df2e3233.9775f",
+ "wires": [
+ [
+ "320cd589.df0dea"
+ ]
+ ]
+ },
+ {
+ "id": "320cd589.df0dea",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2508.380714416504,
+ "y": 317.6667537689209,
+ "z": "df2e3233.9775f",
"wires": [
[
- "78f46224.bc9d9c",
- "178e4db8.c59b02"
+ "a1d040a8.b6d41"
]
]
},
{
- "id": "5358502c.4d84d",
+ "id": "a1d040a8.b6d41",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return 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": 2669.8095474243164,
+ "y": 319.66674613952637,
+ "z": "df2e3233.9775f",
+ "wires": []
+ },
+ {
+ "id": "3e5905e9.f5a48a",
"type": "comment",
"name": "validations - required for all",
"info": "",
"comments": "",
- "x": 537.00390625,
- "y": 127.9999988079071,
- "z": "cd5e1606.c0dcc8",
- "wires": [
-
- ]
+ "x": 577,
+ "y": 117,
+ "z": "df2e3233.9775f",
+ "wires": []
},
{
- "id": "e29df723.fb6ab8",
+ "id": "19e922fc.da104d",
"type": "comment",
"name": "validations specific per svc-action",
"info": "",
"comments": "",
- "x": 549.00390625,
- "y": 342.9999988079071,
- "z": "cd5e1606.c0dcc8",
- "wires": [
-
- ]
+ "x": 589,
+ "y": 332,
+ "z": "df2e3233.9775f",
+ "wires": []
},
{
- "id": "be93f819.8db9c8",
+ "id": "c5d98990.732158",
"type": "comment",
"name": "network-request-information block validations",
"info": "",
"comments": "",
- "x": 2277.00390625,
- "y": 929.9999988079071,
- "z": "cd5e1606.c0dcc8",
- "wires": [
-
- ]
+ "x": 2269.5001525878906,
+ "y": 1002.7500467300415,
+ "z": "df2e3233.9775f",
+ "wires": []
},
{
- "id": "c9238c13.c3f79",
+ "id": "7e651b21.c50284",
"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",
+ "x": 2266.5001525878906,
+ "y": 1052.7500467300415,
+ "z": "df2e3233.9775f",
"wires": [
[
- "6b327341.d34c9c"
+ "b8f089fb.d935a8"
]
]
},
{
- "id": "6b327341.d34c9c",
+ "id": "b8f089fb.d935a8",
"type": "other",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 2515.71826171875,
- "y": 981.9999988079071,
- "z": "cd5e1606.c0dcc8",
+ "x": 2508.2145080566406,
+ "y": 1054.7500467300415,
+ "z": "df2e3233.9775f",
"wires": [
[
- "f7cc75bc.fb7508"
+ "3d496a0d.53e9c6"
]
]
},
{
- "id": "f7cc75bc.fb7508",
+ "id": "3d496a0d.53e9c6",
"type": "returnFailure",
"name": "return failure",
"xml": "<return 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": [
-
- ]
+ "x": 2659.643096923828,
+ "y": 1052.7500467300415,
+ "z": "df2e3233.9775f",
+ "wires": []
},
{
- "id": "a449f5ae.312af8",
+ "id": "6b264531.de0afc",
"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",
+ "x": 2295.5001525878906,
+ "y": 1095.7500467300415,
+ "z": "df2e3233.9775f",
"wires": [
[
- "12e07938.eebd67"
+ "615cc864.89ade8"
]
]
},
{
- "id": "12e07938.eebd67",
+ "id": "615cc864.89ade8",
"type": "other",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 2564.71826171875,
- "y": 1022.9999988079071,
- "z": "cd5e1606.c0dcc8",
+ "x": 2557.2145080566406,
+ "y": 1095.7500467300415,
+ "z": "df2e3233.9775f",
"wires": [
[
- "411017cd.e8e7d8"
+ "b53a0b88.3c7958"
]
]
},
{
- "id": "411017cd.e8e7d8",
+ "id": "b53a0b88.3c7958",
"type": "returnFailure",
"name": "return failure",
"xml": "<return 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",
+ "x": 2721.6429748535156,
+ "y": 1094.7500467300415,
+ "z": "df2e3233.9775f",
+ "wires": []
+ },
+ {
+ "id": "87ae2dd3.c6822",
+ "type": "switchNode",
+ "name": "switch onap-model-information.model-invariant-uuid",
+ "xml": "<switch test='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2308.0001220703125,
+ "y": 826.750057220459,
+ "z": "df2e3233.9775f",
+ "wires": [
+ [
+ "cc6685f6.058958"
+ ]
+ ]
+ },
+ {
+ "id": "cc6685f6.058958",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2593.0001831054688,
+ "y": 825.7500514984131,
+ "z": "df2e3233.9775f",
"wires": [
-
+ [
+ "582d90a3.b7998"
+ ]
]
},
{
- "id": "fd80c464.68ff68",
+ "id": "582d90a3.b7998",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"network-information.onap-model-information.model-invariant-uuid is a required input\" />\n",
+ "comments": "",
+ "x": 2744.4286499023438,
+ "y": 824.7500514984131,
+ "z": "df2e3233.9775f",
+ "wires": []
+ },
+ {
+ "id": "77cf2c9e.63a064",
"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",
+ "x": 2280.1429138183594,
+ "y": 902.6072015762329,
+ "z": "df2e3233.9775f",
"wires": [
[
- "bf2b8802.529248"
+ "4f68a79d.3bf918"
]
]
},
{
- "id": "bf2b8802.529248",
+ "id": "4f68a79d.3bf918",
"type": "other",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 2506.1468505859375,
- "y": 850.8571155071259,
- "z": "cd5e1606.c0dcc8",
+ "x": 2521.1430053710938,
+ "y": 903.6071376800537,
+ "z": "df2e3233.9775f",
"wires": [
[
- "c8b441e9.e2bc9"
+ "7690e5c.85ea81c"
]
]
},
{
- "id": "c8b441e9.e2bc9",
+ "id": "7690e5c.85ea81c",
"type": "returnFailure",
"name": "return failure",
"xml": "<return 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": [
-
- ]
+ "x": 2686.5714721679688,
+ "y": 901.6071071624756,
+ "z": "df2e3233.9775f",
+ "wires": []
},
{
- "id": "416cb672.740808",
+ "id": "68ca38a1.08f0d8",
+ "type": "comment",
+ "name": "network-information.onap-model-information block validations",
+ "info": "",
+ "comments": "",
+ "x": 2327.1432495117188,
+ "y": 786.6071996688843,
+ "z": "df2e3233.9775f",
+ "wires": []
+ },
+ {
+ "id": "d8c0a4b6.4a38d8",
"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",
+ "x": 2326.0000610351562,
+ "y": 861.750020980835,
+ "z": "df2e3233.9775f",
"wires": [
[
- "d6b8ccdf.da70c"
+ "a2943e5e.6f374"
]
]
},
{
- "id": "d6b8ccdf.da70c",
+ "id": "a2943e5e.6f374",
"type": "other",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 2607.00390625,
- "y": 809.9999988079071,
- "z": "cd5e1606.c0dcc8",
+ "x": 2622.0000610351562,
+ "y": 862.750020980835,
+ "z": "df2e3233.9775f",
"wires": [
[
- "1c49c6e.f874e39"
+ "c180f18b.aebfe"
]
]
},
{
- "id": "1c49c6e.f874e39",
+ "id": "c180f18b.aebfe",
"type": "returnFailure",
"name": "return failure",
"xml": "<return 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": [
-
- ]
+ "x": 2769.4285278320312,
+ "y": 862.750020980835,
+ "z": "df2e3233.9775f",
+ "wires": []
},
{
- "id": "cf4a32b5.6699",
+ "id": "80d58546.aa7e88",
"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",
+ "x": 551.3570747375488,
+ "y": 695.6428346633911,
+ "z": "df2e3233.9775f",
+ "wires": []
+ },
+ {
+ "id": "e62c59c8.088828",
+ "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": 2310.5001220703125,
+ "y": 623.5835075378418,
+ "z": "df2e3233.9775f",
"wires": [
-
+ [
+ "5b95f49.d609d0c",
+ "d09003b.e23f4"
+ ]
]
},
{
- "id": "e96a8642.305778",
+ "id": "5b95f49.d609d0c",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2600.250011444092,
+ "y": 653.7501907348633,
+ "z": "df2e3233.9775f",
+ "wires": [
+ [
+ "1d7d3883.7d3737"
+ ]
+ ]
+ },
+ {
+ "id": "d09003b.e23f4",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2597.91690826416,
+ "y": 620.7500648498535,
+ "z": "df2e3233.9775f",
+ "wires": [
+ [
+ "738908db.7d8f28"
+ ]
+ ]
+ },
+ {
+ "id": "738908db.7d8f28",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n<parameter name='' value='' />\n",
+ "comments": "",
+ "x": 2758.2501373291016,
+ "y": 617.7501220703125,
+ "z": "df2e3233.9775f",
+ "wires": []
+ },
+ {
+ "id": "3269563e.6fec5a",
"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",
+ "x": 2974.183319091797,
+ "y": 1398.4285793304443,
+ "z": "df2e3233.9775f",
"wires": [
[
- "f00cd782.2f4528",
- "833d5e59.8da03"
+ "e762e9e8.c9a108",
+ "e2455f53.fb44"
]
]
},
{
- "id": "99436cff.71a52",
+ "id": "2bd9bcfc.f16724",
"type": "returnFailure",
"name": "return failure",
"xml": "<return 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": [
-
- ]
+ "x": 3468.6474609375,
+ "y": 1395.7260434627533,
+ "z": "df2e3233.9775f",
+ "wires": []
},
{
- "id": "f00cd782.2f4528",
+ "id": "e762e9e8.c9a108",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3249.9011878967285,
- "y": 1277.5830972194672,
- "z": "cd5e1606.c0dcc8",
+ "x": 3269.897472381592,
+ "y": 1389.0832498073578,
+ "z": "df2e3233.9775f",
"wires": [
[
- "99436cff.71a52"
+ "2bd9bcfc.f16724"
]
]
},
{
- "id": "833d5e59.8da03",
+ "id": "e2455f53.fb44",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3243.6511878967285,
- "y": 1310.0830972194672,
- "z": "cd5e1606.c0dcc8",
+ "x": 3263.647472381592,
+ "y": 1421.5832498073578,
+ "z": "df2e3233.9775f",
+ "wires": [
+ [
+ "2bd9bcfc.f16724"
+ ]
+ ]
+ },
+ {
+ "id": "ede139e4.89a198",
+ "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": 3997.611541748047,
+ "y": 690.9445762634277,
+ "z": "df2e3233.9775f",
"wires": [
[
- "99436cff.71a52"
+ "eac562d9.de601"
]
]
},
{
- "id": "78f46224.bc9d9c",
+ "id": "4f2fd133.4305b",
+ "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": 3084.3256912231445,
+ "y": 652.0159721374512,
+ "z": "df2e3233.9775f",
+ "wires": [
+ [
+ "501babe3.5319c4",
+ "e1e773cb.e5cf6"
+ ]
+ ]
+ },
+ {
+ "id": "501babe3.5319c4",
+ "type": "other",
+ "name": "outcome Null",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3449.575469970703,
+ "y": 654.0159454345703,
+ "z": "df2e3233.9775f",
+ "wires": [
+ [
+ "87a76e41.abe4d"
+ ]
+ ]
+ },
+ {
+ "id": "e1e773cb.e5cf6",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3429.575469970703,
+ "y": 689.0159454345703,
+ "z": "df2e3233.9775f",
+ "wires": [
+ [
+ "3ab76fb1.f7b22"
+ ]
+ ]
+ },
+ {
+ "id": "eac562d9.de601",
+ "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": 4445.54020690918,
+ "y": 690.6947593688965,
+ "z": "df2e3233.9775f",
+ "wires": [
+ [
+ "7a0eb4db.f8074c"
+ ]
+ ]
+ },
+ {
+ "id": "7a0eb4db.f8074c",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4691.99324798584,
+ "y": 691.5876178741455,
+ "z": "df2e3233.9775f",
+ "wires": [
+ [
+ "363a104e.3bd6b"
+ ]
+ ]
+ },
+ {
+ "id": "598b024c.d866dc",
+ "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": 5134.525215148926,
+ "y": 691.3376426696777,
+ "z": "df2e3233.9775f",
+ "wires": []
+ },
+ {
+ "id": "3ab76fb1.f7b22",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 3630.845489501953,
+ "y": 690.5705108642578,
+ "z": "df2e3233.9775f",
+ "wires": [
+ [
+ "ede139e4.89a198"
+ ]
+ ]
+ },
+ {
+ "id": "1d7d3883.7d3737",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2734.3612670898438,
+ "y": 654.1945953369141,
+ "z": "df2e3233.9775f",
+ "wires": [
+ [
+ "4f2fd133.4305b"
+ ]
+ ]
+ },
+ {
+ "id": "87a76e41.abe4d",
+ "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": 3610.861358642578,
+ "y": 653.4445343017578,
+ "z": "df2e3233.9775f",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "363a104e.3bd6b",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 4840.611686706543,
+ "y": 691.444803237915,
+ "z": "df2e3233.9775f",
+ "wires": [
+ [
+ "598b024c.d866dc"
+ ]
+ ]
+ },
+ {
+ "id": "6ba35582.02a89c",
"type": "other",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 2538.818649291992,
- "y": 1077.5925891399384,
- "z": "cd5e1606.c0dcc8",
+ "x": 2531.314895629883,
+ "y": 1150.3426370620728,
+ "z": "df2e3233.9775f",
"wires": [
[
- "2dfa7f78.06543"
+ "1cfe1346.d805fd"
]
]
},
{
- "id": "178e4db8.c59b02",
+ "id": "8d6ac32a.9037",
"type": "other",
"name": "Other",
"xml": "<outcome value='Other'>",
"comments": "",
"outputs": 1,
- "x": 2545.0685844421387,
- "y": 1216.759194135666,
- "z": "cd5e1606.c0dcc8",
+ "x": 2530.064929962158,
+ "y": 1322.009298324585,
+ "z": "df2e3233.9775f",
"wires": [
[
- "7c0ea99f.5a1678"
+ "423b56dc.d5ebb8"
]
]
},
{
- "id": "fe208cbc.dc6fa",
+ "id": "921bbed8.0d111",
"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",
+ "x": 2976.683303833008,
+ "y": 1321.4933519363403,
+ "z": "df2e3233.9775f",
"wires": [
[
- "1c40e946.8c8157",
- "793372b8.fc938c"
+ "79c59913.159718",
+ "efb4080a.682628"
]
]
},
{
- "id": "789a1cde.2f3584",
+ "id": "860b68fa.33ca88",
"type": "returnFailure",
"name": "return failure",
"xml": "<return 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": [
-
- ]
+ "x": 3458.7666091918945,
+ "y": 1327.74343085289,
+ "z": "df2e3233.9775f",
+ "wires": []
},
{
- "id": "1c40e946.8c8157",
+ "id": "79c59913.159718",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3240.020404815674,
- "y": 1211.600494146347,
- "z": "cd5e1606.c0dcc8",
+ "x": 3260.016689300537,
+ "y": 1323.1006467342377,
+ "z": "df2e3233.9775f",
"wires": [
[
- "789a1cde.2f3584"
+ "860b68fa.33ca88"
]
]
},
{
- "id": "793372b8.fc938c",
+ "id": "efb4080a.682628",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3233.770404815674,
- "y": 1244.100494146347,
- "z": "cd5e1606.c0dcc8",
+ "x": 3253.766689300537,
+ "y": 1355.6006467342377,
+ "z": "df2e3233.9775f",
"wires": [
[
- "789a1cde.2f3584"
+ "860b68fa.33ca88"
]
]
},
{
- "id": "2f9cf39c.ecdeac",
+ "id": "366d9d85.e9d9b2",
"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",
+ "x": 2976.8693084716797,
+ "y": 1223.1509647369385,
+ "z": "df2e3233.9775f",
"wires": [
[
- "de12035b.bf10a",
- "d50a76bd.bc3228"
+ "910f20d1.bdd36",
+ "e2e9e038.3cb1b"
]
]
},
{
- "id": "67a5ef63.346e1",
+ "id": "31c32b50.6432e4",
"type": "returnFailure",
"name": "return failure",
"xml": "<return 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": [
-
- ]
+ "x": 3472.3335494995117,
+ "y": 1222.4483096599579,
+ "z": "df2e3233.9775f",
+ "wires": []
},
{
- "id": "de12035b.bf10a",
+ "id": "910f20d1.bdd36",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3246.087375640869,
- "y": 1136.8054196834564,
- "z": "cd5e1606.c0dcc8",
+ "x": 3273.5835609436035,
+ "y": 1215.8055160045624,
+ "z": "df2e3233.9775f",
"wires": [
[
- "67a5ef63.346e1"
+ "31c32b50.6432e4"
]
]
},
{
- "id": "d50a76bd.bc3228",
+ "id": "e2e9e038.3cb1b",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3241.0873527526855,
- "y": 1168.055418729782,
- "z": "cd5e1606.c0dcc8",
+ "x": 3268.58353805542,
+ "y": 1247.055515050888,
+ "z": "df2e3233.9775f",
"wires": [
[
- "67a5ef63.346e1"
+ "31c32b50.6432e4"
]
]
},
{
- "id": "bc655191.0e724",
+ "id": "a5b9cb21.07e728",
"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",
+ "x": 2975.369338989258,
+ "y": 1149.4655179977417,
+ "z": "df2e3233.9775f",
"wires": [
[
- "8e2d24f5.121c68",
- "7c889074.1b565"
+ "ad32be5d.fc0d2",
+ "726e59ae.b41088"
]
]
},
{
- "id": "d18ba133.1177",
+ "id": "263ae4cc.79bc1c",
"type": "returnFailure",
"name": "return failure",
"xml": "<return 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": [
-
- ]
+ "x": 3462.4526977539062,
+ "y": 1154.4656970500946,
+ "z": "df2e3233.9775f",
+ "wires": []
},
{
- "id": "8e2d24f5.121c68",
+ "id": "ad32be5d.fc0d2",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3236.2065925598145,
- "y": 1070.8228166103363,
- "z": "cd5e1606.c0dcc8",
+ "x": 3263.702777862549,
+ "y": 1149.8229129314423,
+ "z": "df2e3233.9775f",
"wires": [
[
- "d18ba133.1177"
+ "263ae4cc.79bc1c"
]
]
},
{
- "id": "7c889074.1b565",
+ "id": "726e59ae.b41088",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3229.9565925598145,
- "y": 1103.3228166103363,
- "z": "cd5e1606.c0dcc8",
+ "x": 3257.452777862549,
+ "y": 1182.3229129314423,
+ "z": "df2e3233.9775f",
"wires": [
[
- "d18ba133.1177"
+ "263ae4cc.79bc1c"
]
]
},
{
- "id": "2dfa7f78.06543",
+ "id": "1cfe1346.d805fd",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2714.1428985595703,
- "y": 1076.8054172992706,
- "z": "cd5e1606.c0dcc8",
+ "x": 2706.639144897461,
+ "y": 1149.555465221405,
+ "z": "df2e3233.9775f",
"wires": [
[
- "bc655191.0e724",
- "2f9cf39c.ecdeac"
+ "a5b9cb21.07e728",
+ "366d9d85.e9d9b2"
]
]
},
{
- "id": "7c0ea99f.5a1678",
+ "id": "423b56dc.d5ebb8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2706.6428985595703,
- "y": 1215.5554206371307,
- "z": "cd5e1606.c0dcc8",
+ "x": 2691.63924407959,
+ "y": 1320.8055248260498,
+ "z": "df2e3233.9775f",
"wires": [
[
- "fe208cbc.dc6fa",
- "e96a8642.305778"
+ "921bbed8.0d111",
+ "3269563e.6fec5a"
]
]
},
{
- "id": "3c8e6628.d91a7a",
- "type": "outcome",
- "name": "ActivateDCINetworkInstance",
- "xml": "<outcome value='ActivateDCINetworkInstance'>",
+ "id": "f8a0e353.63b13",
+ "type": "other",
+ "name": "changeassign",
+ "xml": "<outcome value='changeassign'>",
"comments": "",
"outputs": 1,
- "x": 1420.6704940795898,
- "y": 474.9999988079071,
- "z": "cd5e1606.c0dcc8",
+ "x": 787.000072479248,
+ "y": 687.0000247955322,
+ "z": "df2e3233.9775f",
"wires": [
[
- "875e8d68.e9af6"
+ "4a52d531.9fe30c"
]
]
},
{
- "id": "6fed75a2.decf0c",
- "type": "outcome",
- "name": "DeActivateDCINetworkInstance",
- "xml": "<outcome value='DeActivateDCINetworkInstance'>",
+ "id": "4a52d531.9fe30c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1442.0038681030273,
- "y": 637.9999988079071,
- "z": "cd5e1606.c0dcc8",
+ "x": 972.285717010498,
+ "y": 686.4286289215088,
+ "z": "df2e3233.9775f",
"wires": [
[
- "104b7f33.e975b1"
+ "60aa05f5.c569dc"
]
]
},
{
- "id": "f8366874.128af8",
+ "id": "60aa05f5.c569dc",
"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": 2293.0039672851562,
- "y": 774.0000350475311,
- "z": "cd5e1606.c0dcc8",
+ "x": 1164.2856559753418,
+ "y": 686.4286136627197,
+ "z": "df2e3233.9775f",
"wires": [
[
- "a9b08bc9.314328"
+ "88893f96.826cb",
+ "b859c6e0.2898e8"
]
]
},
{
- "id": "a9b08bc9.314328",
+ "id": "88893f96.826cb",
"type": "other",
- "name": "NULL",
- "xml": "<outcome value=''>",
+ "name": "CreateNetworkInstance",
+ "xml": "<outcome value='CreateNetworkInstance'>",
"comments": "",
"outputs": 1,
- "x": 2578.0040283203125,
- "y": 773.0000293254852,
- "z": "cd5e1606.c0dcc8",
+ "x": 1444.2856559753418,
+ "y": 651.4286136627197,
+ "z": "df2e3233.9775f",
"wires": [
[
- "660b21a9.185aa"
+ "9c8d3fa9.f4234"
]
]
},
{
- "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",
+ "id": "b859c6e0.2898e8",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
"comments": "",
- "x": 2729.4324951171875,
- "y": 772.0000293254852,
- "z": "cd5e1606.c0dcc8",
+ "outputs": 1,
+ "x": 1393.2856559753418,
+ "y": 695.4286136627197,
+ "z": "df2e3233.9775f",
"wires": [
-
+ [
+ "73e64f7b.3bc52"
+ ]
]
},
{
- "id": "2a04f924.bc59c6",
- "type": "comment",
- "name": "network-information.onap-model-information block validations",
- "info": "",
+ "id": "73e64f7b.3bc52",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return 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": 1562.2856559753418,
+ "y": 695.4286136627197,
+ "z": "df2e3233.9775f",
+ "wires": []
+ },
+ {
+ "id": "9c8d3fa9.f4234",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
"comments": "",
- "x": 2312.1468505859375,
- "y": 734.8571155071259,
- "z": "cd5e1606.c0dcc8",
+ "outputs": 1,
+ "x": 1680.2856559753418,
+ "y": 650.4286136627197,
+ "z": "df2e3233.9775f",
"wires": [
-
+ [
+ "dc0c345f.272208",
+ "12953ca4.f4d643",
+ "87ae2dd3.c6822",
+ "d8c0a4b6.4a38d8",
+ "77cf2c9e.63a064",
+ "7e651b21.c50284",
+ "6b264531.de0afc"
+ ]
]
},
{
- "id": "d7a16e1b.af209",
+ "id": "12953ca4.f4d643",
"type": "switchNode",
- "name": "switch network-information.network-id",
- "xml": "<switch test='`$network-topology-operation-input.network-information.network-id`'>\n\n",
+ "name": "switch network-information.from-preload",
+ "xml": "<switch test='`$network-topology-operation-input.network-information.from-preload`'>\n",
"comments": "",
"outputs": 1,
- "x": 2248.0038299560547,
- "y": 643.3333556652069,
- "z": "cd5e1606.c0dcc8",
+ "x": 2283.91650390625,
+ "y": 368.0000352859497,
+ "z": "df2e3233.9775f",
"wires": [
[
- "539f2742.e1fa38",
- "cf298caa.2064f"
+ "eb76cae7.f61f78"
]
]
},
{
- "id": "539f2742.e1fa38",
+ "id": "eb76cae7.f61f78",
"type": "other",
- "name": "Other",
- "xml": "<outcome value='Other'>",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 2544.0037803649902,
- "y": 676.0000674724579,
- "z": "cd5e1606.c0dcc8",
+ "x": 2519.630813598633,
+ "y": 368.0000352859497,
+ "z": "df2e3233.9775f",
"wires": [
[
- "efbdc310.4df6b"
+ "6e925a8f.fb9974"
]
]
},
{
- "id": "efbdc310.4df6b",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
+ "id": "6e925a8f.fb9974",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return 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": 2684.0594329833984,
+ "y": 366.0000352859497,
+ "z": "df2e3233.9775f",
+ "wires": []
+ },
+ {
+ "id": "2c777ab3.486276",
+ "type": "comment",
+ "name": "If service model uuid not passed in input, use from service-data",
+ "info": "",
+ "comments": "",
+ "x": 3072.7462768554688,
+ "y": 1110.2461557388306,
+ "z": "df2e3233.9775f",
+ "wires": []
+ },
+ {
+ "id": "14815eb6.fd5c91",
+ "type": "comment",
+ "name": "get network and service model using input",
+ "info": "",
+ "comments": "",
+ "x": 3000.246292114258,
+ "y": 1283.9961595535278,
+ "z": "df2e3233.9775f",
+ "wires": []
+ },
+ {
+ "id": "81763a92.4e5c78",
+ "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": 2678.115036010742,
- "y": 676.4444720745087,
- "z": "cd5e1606.c0dcc8",
+ "x": 2287.3358001708984,
+ "y": 421.6692581176758,
+ "z": "df2e3233.9775f",
"wires": [
[
- "aa96a81e.338e18"
+ "c5a63b51.87b4f8",
+ "1214f71.156fe09"
]
]
},
{
- "id": "aa96a81e.338e18",
- "type": "switchNode",
- "name": "switch service-data.networks.network_length",
- "xml": "<switch test='`$service-data.networks.network_length`'>\n",
+ "id": "c5a63b51.87b4f8",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
"comments": "",
"outputs": 1,
- "x": 2951.829147338867,
- "y": 678.0158221721649,
- "z": "cd5e1606.c0dcc8",
+ "x": 2583.335750579834,
+ "y": 454.33596992492676,
+ "z": "df2e3233.9775f",
"wires": [
[
- "a6924a9.366acb8",
- "d67b8110.cf084"
+ "e775f46b.5160e8"
]
]
},
{
- "id": "a6924a9.366acb8",
+ "id": "1214f71.156fe09",
"type": "other",
- "name": "outcome Null",
- "xml": "<outcome value=''>\n",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 3240.829147338867,
- "y": 680.0158832073212,
- "z": "cd5e1606.c0dcc8",
+ "x": 2581.0026473999023,
+ "y": 421.335844039917,
+ "z": "df2e3233.9775f",
"wires": [
[
- "38331b12.104364"
+ "ac694b16.08b998"
]
]
},
{
- "id": "d67b8110.cf084",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
+ "id": "ac694b16.08b998",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n<parameter name='' value='' />\n",
+ "comments": "",
+ "x": 2741.3358764648438,
+ "y": 418.335901260376,
+ "z": "df2e3233.9775f",
+ "wires": []
+ },
+ {
+ "id": "d81e00e0.1ff27",
+ "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": 3220.829147338867,
- "y": 715.0158832073212,
- "z": "cd5e1606.c0dcc8",
+ "x": 3731.4471740722656,
+ "y": 493.780366897583,
+ "z": "df2e3233.9775f",
"wires": [
[
- "27a40eb8.35dc12"
+ "d0382bb1.c7c318"
]
]
},
{
- "id": "27a40eb8.35dc12",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
+ "id": "6aa40d73.069df4",
+ "type": "switchNode",
+ "name": "switch service-data.networks.network_length",
+ "xml": "<switch test='`$service-data.networks.network_length`'>\n",
+ "comments": "",
"outputs": 1,
- "x": 3422.099166870117,
- "y": 716.5704486370087,
- "z": "cd5e1606.c0dcc8",
+ "x": 2991.161117553711,
+ "y": 456.3517246246338,
+ "z": "df2e3233.9775f",
"wires": [
[
- "c4349cea.5f846",
- "ceec98b4.2ffb48"
+ "1846ce0f.dd2142",
+ "3dcca8e2.fa0cf8"
]
]
},
{
- "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",
+ "id": "1846ce0f.dd2142",
+ "type": "other",
+ "name": "outcome Null",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3280.161117553711,
+ "y": 458.35178565979004,
+ "z": "df2e3233.9775f",
+ "wires": [
+ [
+ "6705bd82.d03014"
+ ]
+ ]
+ },
+ {
+ "id": "3dcca8e2.fa0cf8",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 3692.115203857422,
- "y": 715.4444644451141,
- "z": "cd5e1606.c0dcc8",
+ "x": 3251.411331176758,
+ "y": 493.8518409729004,
+ "z": "df2e3233.9775f",
"wires": [
[
- "3a558d2e.ab0422"
+ "76bdfc6d.a268b4"
]
]
},
{
- "id": "3a558d2e.ab0422",
+ "id": "d0382bb1.c7c318",
"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",
+ "x": 4021.8757247924805,
+ "y": 493.03045082092285,
+ "z": "df2e3233.9775f",
"wires": [
[
- "5c767e8.1709a8"
+ "799fd9f5.297828"
]
]
},
{
- "id": "5c767e8.1709a8",
+ "id": "799fd9f5.297828",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 4171.496109008789,
- "y": 715.5872867107391,
- "z": "cd5e1606.c0dcc8",
+ "x": 4210.828079223633,
+ "y": 493.923189163208,
+ "z": "df2e3233.9775f",
"wires": [
[
- "24b6b776.af3398"
+ "fa602e9.58fa5d"
]
]
},
{
- "id": "399ed923.ac8ab6",
+ "id": "b9b1e9e8.4baa78",
"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": 4615.027877807617,
- "y": 724.3373095989227,
- "z": "cd5e1606.c0dcc8",
+ "x": 4653.360046386719,
+ "y": 493.67321395874023,
+ "z": "df2e3233.9775f",
+ "wires": []
+ },
+ {
+ "id": "76bdfc6d.a268b4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 3452.681350708008,
+ "y": 495.4064064025879,
+ "z": "df2e3233.9775f",
"wires": [
-
+ [
+ "d81e00e0.1ff27"
+ ]
]
},
{
- "id": "ceec98b4.2ffb48",
+ "id": "a4c75003.79847",
"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",
+ "x": 3649.748748779297,
+ "y": 569.7635736465454,
+ "z": "df2e3233.9775f",
"wires": [
[
- "96827960.07e628"
+ "46de02ac.b16e8c"
]
]
},
{
- "id": "d3abbc81.d91ab",
+ "id": "97b52b4a.465218",
"type": "returnFailure",
"name": "return failure",
"xml": "<return 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": [
-
- ]
+ "x": 4004.606025695801,
+ "y": 569.4778385162354,
+ "z": "df2e3233.9775f",
+ "wires": []
},
{
- "id": "96827960.07e628",
+ "id": "46de02ac.b16e8c",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 3781.845169067383,
- "y": 755.9990565776825,
- "z": "cd5e1606.c0dcc8",
+ "x": 3821.1772842407227,
+ "y": 568.3349590301514,
+ "z": "df2e3233.9775f",
"wires": [
[
- "d3abbc81.d91ab"
+ "97b52b4a.465218"
]
]
},
{
- "id": "976eb0b3.3ee26",
- "type": "switchNode",
- "name": "switch order-status",
- "xml": "<switch test='`$ctx.network-data.network-data.network-level-oper-status.order-status`'>\n",
+ "id": "e775f46b.5160e8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4573.448287963867,
- "y": 761.4444873332977,
- "z": "cd5e1606.c0dcc8",
+ "x": 2717.447006225586,
+ "y": 454.78037452697754,
+ "z": "df2e3233.9775f",
"wires": [
[
- "894b90cf.4a9a"
+ "6aa40d73.069df4"
]
]
},
{
- "id": "894b90cf.4a9a",
- "type": "other",
- "name": "outcome Created",
- "xml": "<outcome value='Created'>\n",
+ "id": "6705bd82.d03014",
+ "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": 4787.448287963867,
- "y": 761.4444873332977,
- "z": "cd5e1606.c0dcc8",
+ "x": 3441.447006225586,
+ "y": 457.78037452697754,
+ "z": "df2e3233.9775f",
"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",
+ "id": "fa602e9.58fa5d",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4320.114547729492,
- "y": 715.4444720745087,
- "z": "cd5e1606.c0dcc8",
+ "x": 4359.446517944336,
+ "y": 493.78037452697754,
+ "z": "df2e3233.9775f",
"wires": [
[
- "399ed923.ac8ab6"
+ "b9b1e9e8.4baa78"
]
]
},
{
- "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",
+ "id": "f899095f.339638",
+ "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": 3929.3360900878906,
+ "y": 531.3359460830688,
+ "z": "df2e3233.9775f",
+ "wires": []
+ },
+ {
+ "id": "985ba54f.3974a8",
+ "type": "outcome",
+ "name": "ActivateSOTNConnectivityInstance",
+ "xml": "<outcome value='ActivateSOTNConnectivityInstance'>",
"comments": "",
"outputs": 1,
- "x": 3402.115036010742,
- "y": 679.4444720745087,
- "z": "cd5e1606.c0dcc8",
+ "x": 1471.3333587646484,
+ "y": 494.00006198883057,
+ "z": "df2e3233.9775f",
"wires": [
[
-
+ "694acc9b.b69aa4"
]
]
},
{
- "id": "56dfe279.93c1fc",
- "type": "switchNode",
- "name": "switch network-information.network-id",
- "xml": "<switch test='`$network-topology-operation-input.network-information.network-id`'>\n",
+ "id": "694acc9b.b69aa4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2246.0037536621094,
- "y": 596.6666724681854,
- "z": "cd5e1606.c0dcc8",
+ "x": 1697.3333282470703,
+ "y": 494.00010776519775,
+ "z": "df2e3233.9775f",
"wires": [
- [
- "d731fd6c.5f66a"
- ]
+ []
]
},
{
- "id": "d731fd6c.5f66a",
- "type": "other",
- "name": "NULL",
- "xml": "<outcome value=''>",
+ "id": "1c550262.882b2e",
+ "type": "outcome",
+ "name": "ActivateDCINetworkInstance",
+ "xml": "<outcome value='ActivateDCINetworkInstance'>",
"comments": "",
"outputs": 1,
- "x": 2474.7180786132812,
- "y": 598.6666724681854,
- "z": "cd5e1606.c0dcc8",
+ "x": 1459.2497634887695,
+ "y": 529.9960916042328,
+ "z": "df2e3233.9775f",
"wires": [
[
- "f8512ef0.9e14e"
+ "15320fb4.9014c"
]
]
},
{
- "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",
+ "id": "15320fb4.9014c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
"comments": "",
- "x": 2639.146697998047,
- "y": 596.6666724681854,
- "z": "cd5e1606.c0dcc8",
+ "outputs": 1,
+ "x": 1672.5559921264648,
+ "y": 529.0000257492065,
+ "z": "df2e3233.9775f",
"wires": [
-
+ []
]
},
{
- "id": "cf298caa.2064f",
- "type": "other",
- "name": "NULL",
- "xml": "<outcome value=''>",
+ "id": "a630529b.bc37b",
+ "type": "outcome",
+ "name": "DeactivateSOTNConnectivityInstance",
+ "xml": "<outcome value='DeactivateSOTNConnectivityInstance'>",
"comments": "",
"outputs": 1,
- "x": 2541.6706771850586,
- "y": 642.9999415874481,
- "z": "cd5e1606.c0dcc8",
+ "x": 1490.3333892822266,
+ "y": 786.0001420974731,
+ "z": "df2e3233.9775f",
"wires": [
[
-
+ "ffb9085d.d34018"
]
]
},
{
- "id": "875e8d68.e9af6",
+ "id": "ffb9085d.d34018",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1646.9765625,
- "y": 449.00390696525574,
- "z": "cd5e1606.c0dcc8",
+ "x": 1727.3333587646484,
+ "y": 786.0001878738403,
+ "z": "df2e3233.9775f",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4893ca1b.86d634",
+ "type": "outcome",
+ "name": "DeActivateDCINetworkInstance",
+ "xml": "<outcome value='DeActivateDCINetworkInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1472.5832214355469,
+ "y": 823.9961545467377,
+ "z": "df2e3233.9775f",
"wires": [
[
-
+ "fce22d6a.e8a6b"
]
]
},
{
- "id": "104b7f33.e975b1",
+ "id": "fce22d6a.e8a6b",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1698.0039520263672,
- "y": 627.0312669277191,
- "z": "cd5e1606.c0dcc8",
+ "x": 1715.5833053588867,
+ "y": 822.0274226665497,
+ "z": "df2e3233.9775f",
"wires": [
- [
-
- ]
+ []
]
},
{
- "id": "631913c6.522e9c",
+ "id": "dce79fa4.7fd85",
"type": "outcome",
- "name": "ActivateSOTNConnectivityInstance",
- "xml": "<outcome value='ActivateSOTNConnectivityInstance'>",
+ "name": "ActivateSDWANConnectivityInstance",
+ "xml": "<outcome value='ActivateSDWANConnectivityInstance'>",
"comments": "",
"outputs": 1,
- "x": 1250.7539672851562,
- "y": 441.00390434265137,
- "z": "cd5e1606.c0dcc8",
+ "x": 1476.003890991211,
+ "y": 454.7539072036743,
+ "z": "df2e3233.9775f",
"wires": [
[
- "eee16eb3.ee727"
+ "a3491976.6ffbc8"
]
]
},
{
- "id": "eee16eb3.ee727",
+ "id": "a3491976.6ffbc8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1476.7539367675781,
- "y": 441.00395011901855,
- "z": "cd5e1606.c0dcc8",
+ "x": 1712.004020690918,
+ "y": 453.7539072036743,
+ "z": "df2e3233.9775f",
"wires": [
- [
-
- ]
+ []
]
},
{
- "id": "1da958a1.745b77",
+ "id": "10d3655a.b8cb0b",
"type": "outcome",
- "name": "DeactivateSOTNConnectivityInstance",
- "xml": "<outcome value='DeactivateSOTNConnectivityInstance'>",
+ "name": "DeactivateSDWANConnectivityInstance",
+ "xml": "<outcome value='DeactivateSDWANConnectivityInstance'>",
"comments": "",
"outputs": 1,
- "x": 1307.75390625,
- "y": 599.00390625,
- "z": "cd5e1606.c0dcc8",
+ "x": 1496.00390625,
+ "y": 745.75390625,
+ "z": "df2e3233.9775f",
"wires": [
[
- "9eaa2ade.3cbb68"
+ "4660a007.84d7d"
]
]
},
{
- "id": "9eaa2ade.3cbb68",
+ "id": "4660a007.84d7d",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1533.7538757324219,
- "y": 599.0039520263672,
- "z": "cd5e1606.c0dcc8",
+ "x": 1747.00390625,
+ "y": 743.75390625,
+ "z": "df2e3233.9775f",
"wires": [
- [
-
- ]
+ []
]
}
]