[
{
- "id":"3562cf58.a10c3",
- "type":"dgstart",
- "name":"DGSTART",
- "outputs":1,
- "x":124.66666412353516,
- "y":56,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "id": "8788b5a2.1dbb88",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 159,
+ "y": 79,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "e0c4e082.c3295"
+ "3ba09ab5.471bb6"
]
]
},
{
- "id":"e0c4e082.c3295",
- "type":"service-logic",
- "name":"GENERIC-RESOURCE-API ${project.version}",
- "module":"GENERIC-RESOURCE-API",
- "version":"${project.version}",
- "comments":"",
- "xml":"<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",
- "outputs":1,
- "x":196.9523696899414,
- "y":108.23811340332031,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "id": "3ba09ab5.471bb6",
+ "type": "service-logic",
+ "name": "GENERIC-RESOURCE-API ${project.version}",
+ "module": "GENERIC-RESOURCE-API",
+ "version": "${project.version}",
+ "comments": "",
+ "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",
+ "outputs": 1,
+ "x": 231.28570556640625,
+ "y": 131.2381134033203,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "74573d69.9fc2d4"
+ "14d14939.627767"
]
]
},
{
- "id":"74573d69.9fc2d4",
- "type":"method",
- "name":"validate-network-input",
- "xml":"<method rpc='validate-network-input' mode='sync'>\n",
- "comments":"",
- "outputs":1,
- "x":197.0952911376953,
- "y":170,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "id": "14d14939.627767",
+ "type": "method",
+ "name": "validate-network-input",
+ "xml": "<method rpc='validate-network-input' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 231.42862701416016,
+ "y": 193,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "38143f74.bd9fb"
+ "b2af2fbc.edaf5"
]
]
},
{
- "id":"38143f74.bd9fb",
- "type":"block",
- "name":"block : atomic",
- "xml":"<block atomic=\"true\">",
- "atomic":"true",
- "outputs":1,
- "x":210.41670989990234,
- "y":452.44349479675293,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "id": "b2af2fbc.edaf5",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 244.7500457763672,
+ "y": 475.44349479675293,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "6a4466c6.034508",
- "a2d77c10.0ac29",
- "a84fadec.2e44e",
- "ffea4923.ca61d8",
- "d893960c.dd4f28",
- "5bf0bd5.e1cf344"
+ "ad851adc.fdf888",
+ "205d6a31.b83f56",
+ "bb69c265.9ec57",
+ "402cb1d.785695",
+ "96d49b08.fa0328",
+ "80d58546.aa7e88"
]
]
},
{
- "id":"6a4466c6.034508",
- "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":526.8095245361328,
- "y":178.42859077453613,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "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": 561.1428604125977,
+ "y": 201.42859077453613,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "2121585b.cc4c88"
+ "33b50e86.044722"
]
]
},
{
- "id":"2121585b.cc4c88",
- "type":"other",
- "name":"NULL",
- "xml":"<outcome value=''>",
- "comments":"",
- "outputs":1,
- "x":752.523828778948,
- "y":178.42859322684126,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "id": "33b50e86.044722",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 786.8571646554128,
+ "y": 201.42859322684126,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "b7fb6dfb.8d24d"
+ "70f295d3.d71adc"
]
]
},
{
- "id":"b7fb6dfb.8d24d",
- "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":903.9523947579519,
- "y":178.42859131949263,
- "z":"9587f32a.6a9aa",
- "wires":[
-
+ "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": 938.2857306344167,
+ "y": 201.42859131949263,
+ "z": "df2e3233.9775f",
+ "wires": []
+ },
+ {
+ "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": 549.7142333984375,
+ "y": 160.00002098083496,
+ "z": "df2e3233.9775f",
+ "wires": [
+ [
+ "b11b9bfa.b83dd8"
+ ]
]
},
{
- "id":"a2d77c10.0ac29",
- "type":"switchNode",
- "name":"switch svc-action",
- "xml":"<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
- "comments":"",
- "outputs":1,
- "x":515.3808975219727,
- "y":137.00002098083496,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "id": "b11b9bfa.b83dd8",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 785.4285850524902,
+ "y": 158.57141876220703,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "b4f2a460.952418"
+ "1d63b726.f05909"
]
]
},
{
- "id":"b4f2a460.952418",
- "type":"other",
- "name":"NULL",
- "xml":"<outcome value=''>",
- "comments":"",
- "outputs":1,
- "x":751.0952491760254,
- "y":135.57141876220703,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "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": 935.4285583496094,
+ "y": 158.5714282989502,
+ "z": "df2e3233.9775f",
+ "wires": []
+ },
+ {
+ "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": 559.7142715454102,
+ "y": 244.285737991333,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "61cade62.7bdae"
+ "23018cf6.3779b4"
]
]
},
{
- "id":"61cade62.7bdae",
- "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":901.0952224731445,
- "y":135.5714282989502,
- "z":"9587f32a.6a9aa",
- "wires":[
-
+ "id": "23018cf6.3779b4",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 786.8571602957591,
+ "y": 244.28574698311968,
+ "z": "df2e3233.9775f",
+ "wires": [
+ [
+ "3d7d65b5.26ffaa"
+ ]
]
},
{
- "id":"a84fadec.2e44e",
- "type":"switchNode",
- "name":"switch request-action",
- "xml":"<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
- "comments":"",
- "outputs":1,
- "x":525.3809356689453,
- "y":221.285737991333,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "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": 938.285726274763,
+ "y": 244.28574507577105,
+ "z": "df2e3233.9775f",
+ "wires": []
+ },
+ {
+ "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": 568.857177734375,
+ "y": 287,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "f530f35d.dff69"
+ "f8fe5d6a.080ae"
]
]
},
{
- "id":"f530f35d.dff69",
- "type":"other",
- "name":"NULL",
- "xml":"<outcome value=''>",
- "comments":"",
- "outputs":1,
- "x":752.5238244192942,
- "y":221.28574698311968,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "id": "f8fe5d6a.080ae",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 785.2857666015625,
+ "y": 288,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "81af5b92.07ad88"
+ "cc71f851.6ba9a8"
]
]
},
{
- "id":"81af5b92.07ad88",
- "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":903.9523903982981,
- "y":221.28574507577105,
- "z":"9587f32a.6a9aa",
- "wires":[
-
+ "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": 943.7142944335938,
+ "y": 287,
+ "z": "df2e3233.9775f",
+ "wires": []
+ },
+ {
+ "id": "e6be7a59.b96b68",
+ "type": "comment",
+ "name": "validate-network-input - CHANGELOG",
+ "info": "12/8: Initial release 1.0.0",
+ "comments": "",
+ "x": 444,
+ "y": 43,
+ "z": "df2e3233.9775f",
+ "wires": []
+ },
+ {
+ "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": 546,
+ "y": 374,
+ "z": "df2e3233.9775f",
+ "wires": [
+ [
+ "3c93b861.36fba8",
+ "88f1d93c.c06f98",
+ "a20067e.94ffe98",
+ "d5a289af.7573e8",
+ "f8a0e353.63b13"
+ ]
]
},
{
- "id":"ffea4923.ca61d8",
- "type":"switchNode",
- "name":"switch service-instance-id",
- "xml":"<switch test='`$network-topology-operation-input.service-information.service-instance-id`'>\n",
- "comments":"",
- "outputs":1,
- "x":534.5238418579102,
- "y":264,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "id": "3c93b861.36fba8",
+ "type": "other",
+ "name": "assign",
+ "xml": "<outcome value='assign'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 778.71435546875,
+ "y": 379.5714111328125,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "f94eed30.1cf1f"
+ "21db76c1.48922a"
]
]
},
{
- "id":"f94eed30.1cf1f",
- "type":"other",
- "name":"NULL",
- "xml":"<outcome value=''>",
- "comments":"",
- "outputs":1,
- "x":750.9524307250977,
- "y":265,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "id": "88f1d93c.c06f98",
+ "type": "other",
+ "name": "activate",
+ "xml": "<outcome value='activate'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 772.0000114440918,
+ "y": 566.0000247955322,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "8de683d9.482d8"
+ "98c549ed.adadc8"
]
]
},
{
- "id":"8de683d9.482d8",
- "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":909.3809585571289,
- "y":264,
- "z":"9587f32a.6a9aa",
- "wires":[
-
+ "id": "a20067e.94ffe98",
+ "type": "other",
+ "name": "deactivate",
+ "xml": "<outcome value='deactivate'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 770.000114440918,
+ "y": 862.0001058578491,
+ "z": "df2e3233.9775f",
+ "wires": [
+ [
+ "99c9746e.0bf598"
+ ]
]
},
{
- "id":"5c67dc8d.8d5404",
- "type":"comment",
- "name":"validate-network-input - CHANGELOG",
- "info":"12/8: Initial release 1.0.0",
- "comments":"",
- "x":409.66666412353516,
- "y":20,
- "z":"9587f32a.6a9aa",
- "wires":[
-
+ "id": "21db76c1.48922a",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 941,
+ "y": 379,
+ "z": "df2e3233.9775f",
+ "wires": [
+ [
+ "272bb5f8.f31cda"
+ ]
]
},
{
- "id":"d893960c.dd4f28",
- "type":"switchNode",
- "name":"switch svc-action",
- "xml":"<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
- "comments":"",
- "outputs":1,
- "x":511.66666412353516,
- "y":351,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "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": 1161,
+ "y": 379,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "bbb03e72.c193c",
- "d561d416.9bde38",
- "6249118d.6483f",
- "3af74b5a.5deb94"
+ "75bb00b.643f9",
+ "de64b013.96b09"
]
]
},
{
- "id":"bbb03e72.c193c",
- "type":"other",
- "name":"assign",
- "xml":"<outcome value='assign'>",
- "comments":"",
- "outputs":1,
- "x":744.3810195922852,
- "y":356.5714111328125,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "id": "75bb00b.643f9",
+ "type": "other",
+ "name": "CreateNetworkInstance",
+ "xml": "<outcome value='CreateNetworkInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1441,
+ "y": 344,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "891109fe.945338"
+ "46e41b99.978564"
]
]
},
{
- "id":"d561d416.9bde38",
- "type":"other",
- "name":"activate",
- "xml":"<outcome value='activate'>",
- "comments":"",
- "outputs":1,
- "x":739.6667709350586,
- "y":486.99999046325684,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "id": "de64b013.96b09",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1390,
+ "y": 388,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "715e1bb3.dc8644"
+ "7d916d38.e514a4"
]
]
},
{
- "id":"6249118d.6483f",
- "type":"other",
- "name":"deactivate",
- "xml":"<outcome value='deactivate'>",
- "comments":"",
- "outputs":1,
- "x":742.6667327880859,
- "y":653.0000133514404,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "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": 1559,
+ "y": 388,
+ "z": "df2e3233.9775f",
+ "wires": []
+ },
+ {
+ "id": "98c549ed.adadc8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 946.0000114440918,
+ "y": 566.0000247955322,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "34bfca22.5765e6"
+ "7cbbeac6.2691d4"
]
]
},
{
- "id":"891109fe.945338",
- "type":"block",
- "name":"block : atomic",
- "xml":"<block atomic=\"true\">",
- "atomic":"true",
- "comments":"",
- "outputs":1,
- "x":906.6666641235352,
- "y":356,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "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": 1163.0000114440918,
+ "y": 566.0000247955322,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "fa6a9864.20de58"
+ "34d0495d.e1b546",
+ "b4c471fa.cde5e",
+ "985ba54f.3974a8",
+ "1c550262.882b2e",
+ "dce79fa4.7fd85"
]
]
},
{
- "id":"fa6a9864.20de58",
- "type":"switchNode",
- "name":"switch request-action",
- "xml":"<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
- "comments":"",
- "outputs":1,
- "x":1126.6666641235352,
- "y":356,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "id": "34d0495d.e1b546",
+ "type": "other",
+ "name": "CreateNetworkInstance",
+ "xml": "<outcome value='CreateNetworkInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1444.0000114440918,
+ "y": 567.0000247955322,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "6cbfdbf5.656f04",
- "e45f32a3.8baec"
+ "c5dc69fd.8115a8"
]
]
},
{
- "id":"6cbfdbf5.656f04",
- "type":"other",
- "name":"CreateNetworkInstance",
- "xml":"<outcome value='CreateNetworkInstance'>",
- "comments":"",
- "outputs":1,
- "x":1406.6666641235352,
- "y":321,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "id": "b4c471fa.cde5e",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1387.0000114440918,
+ "y": 607.0000247955322,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "a3e07e88.c882c"
+ "d8bc1fab.0cb7b"
]
]
},
{
- "id":"e45f32a3.8baec",
- "type":"other",
- "name":"Other",
- "xml":"<outcome value='Other'>",
- "comments":"",
- "outputs":1,
- "x":1355.6666641235352,
- "y":365,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "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": 1545.8573112487793,
+ "y": 606.4286451339722,
+ "z": "df2e3233.9775f",
+ "wires": []
+ },
+ {
+ "id": "99c9746e.0bf598",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 952.000114440918,
+ "y": 861.0001058578491,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "1947914a.274a4f"
+ "2c02914c.ac786e"
]
]
},
{
- "id":"1947914a.274a4f",
- "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":1524.6666641235352,
- "y":365,
- "z":"9587f32a.6a9aa",
- "wires":[
-
+ "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": 1169.000114440918,
+ "y": 861.0001058578491,
+ "z": "df2e3233.9775f",
+ "wires": [
+ [
+ "e6f9cf57.ba236",
+ "95775b49.fc2318",
+ "a630529b.bc37b",
+ "4893ca1b.86d634",
+ "10d3655a.b8cb0b"
+ ]
]
},
{
- "id":"715e1bb3.dc8644",
- "type":"block",
- "name":"block : atomic",
- "xml":"<block atomic=\"true\">",
- "atomic":"true",
- "outputs":1,
- "x":913.6667709350586,
- "y":486.99999046325684,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "id": "e6f9cf57.ba236",
+ "type": "other",
+ "name": "DeleteNetworkInstance",
+ "xml": "<outcome value='DeleteNetworkInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1450.000114440918,
+ "y": 862.0001058578491,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "61933e36.32ebf"
+ "397759af.0b93f6"
]
]
},
{
- "id":"61933e36.32ebf",
- "type":"switchNode",
- "name":"switch request-action",
- "xml":"<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
- "comments":"",
- "outputs":1,
- "x":1130.6667709350586,
- "y":486.99999046325684,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "id": "95775b49.fc2318",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1393.000114440918,
+ "y": 902.0001058578491,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "d2032cc2.899d9",
- "99d34aaa.d04488",
- "44919742.aa0cd8"
+ "41fdec9e.e8a644"
]
]
},
{
- "id":"d2032cc2.899d9",
- "type":"other",
- "name":"CreateNetworkInstance",
- "xml":"<outcome value='CreateNetworkInstance'>",
- "comments":"",
- "outputs":1,
- "x":1411.6667709350586,
- "y":487.99999046325684,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "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": 1562.0001792907715,
+ "y": 904.8572673797607,
+ "z": "df2e3233.9775f",
+ "wires": []
+ },
+ {
+ "id": "d5a289af.7573e8",
+ "type": "other",
+ "name": "unassign",
+ "xml": "<outcome value='unassign'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 766.0000839233398,
+ "y": 956.0000829696655,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "71f64cf9.079ef4"
+ "390e2b39.6c4854"
]
]
},
{
- "id":"99d34aaa.d04488",
- "type":"other",
- "name":"Other",
- "xml":"<outcome value='Other'>",
- "comments":"",
- "outputs":1,
- "x":1354.6667709350586,
- "y":527.9999904632568,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "id": "390e2b39.6c4854",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 948.000114440918,
+ "y": 952.0001058578491,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "b7f6be61.4073c"
+ "106acf9d.333d5"
]
]
},
{
- "id":"b7f6be61.4073c",
- "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":1526.5240669250488,
- "y":529.428596496582,
- "z":"9587f32a.6a9aa",
- "wires":[
-
+ "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": 1165.000114440918,
+ "y": 952.0001058578491,
+ "z": "df2e3233.9775f",
+ "wires": [
+ [
+ "7360ef3d.9811b",
+ "6d03b112.dfc4"
+ ]
]
},
{
- "id":"34bfca22.5765e6",
- "type":"block",
- "name":"block : atomic",
- "xml":"<block atomic=\"true\">",
- "atomic":"true",
- "outputs":1,
- "x":924.6667327880859,
- "y":652.0000133514404,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "id": "7360ef3d.9811b",
+ "type": "other",
+ "name": "DeleteNetworkInstance",
+ "xml": "<outcome value='DeleteNetworkInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1446.000114440918,
+ "y": 953.0001058578491,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "d7eb74bd.890dc8"
+ "c8e6a8bb.defab8"
]
]
},
{
- "id":"d7eb74bd.890dc8",
- "type":"switchNode",
- "name":"switch request-action",
- "xml":"<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
- "comments":"",
- "outputs":1,
- "x":1141.666732788086,
- "y":652.0000133514404,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "id": "6d03b112.dfc4",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1389.000114440918,
+ "y": 993.0001058578491,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "16268a9c.1f62a5",
- "baf47ce9.50dcc",
- "1bec30c1.fe7d2f"
+ "7dd14282.06273c"
]
]
},
{
- "id":"16268a9c.1f62a5",
- "type":"other",
- "name":"DeleteNetworkInstance",
- "xml":"<outcome value='DeleteNetworkInstance'>",
- "comments":"",
- "outputs":1,
- "x":1422.666732788086,
- "y":653.0000133514404,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "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": 1558.000114440918,
+ "y": 993.0001058578491,
+ "z": "df2e3233.9775f",
+ "wires": []
+ },
+ {
+ "id": "46e41b99.978564",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1677,
+ "y": 343,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "66edda2e.adbdb4"
+ "7e651b21.c50284",
+ "6b264531.de0afc",
+ "87ae2dd3.c6822",
+ "77cf2c9e.63a064",
+ "e62c59c8.088828",
+ "d8c0a4b6.4a38d8",
+ "6f3ed145.89e1a",
+ "81763a92.4e5c78"
]
]
},
{
- "id":"baf47ce9.50dcc",
- "type":"other",
- "name":"Other",
- "xml":"<outcome value='Other'>",
- "comments":"",
- "outputs":1,
- "x":1365.666732788086,
- "y":693.0000133514404,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "id": "c5dc69fd.8115a8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1669.0000114440918,
+ "y": 567.0000247955322,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "a51db5f8.e4cd38"
+ "dc0c345f.272208",
+ "7e651b21.c50284",
+ "6b264531.de0afc",
+ "87ae2dd3.c6822",
+ "77cf2c9e.63a064",
+ "d8c0a4b6.4a38d8",
+ "6f3ed145.89e1a"
]
]
},
{
- "id":"a51db5f8.e4cd38",
- "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":1534.6667976379395,
- "y":695.857174873352,
- "z":"9587f32a.6a9aa",
- "wires":[
-
+ "id": "397759af.0b93f6",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1706.000114440918,
+ "y": 863.0001058578491,
+ "z": "df2e3233.9775f",
+ "wires": [
+ [
+ "dc0c345f.272208"
+ ]
]
},
{
- "id":"3af74b5a.5deb94",
- "type":"other",
- "name":"unassign",
- "xml":"<outcome value='unassign'>",
- "comments":"",
- "outputs":1,
- "x":738.6667022705078,
- "y":746.9999904632568,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "id": "c8e6a8bb.defab8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1705.000114440918,
+ "y": 954.0001058578491,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "fc12acc9.e5517"
+ "dc0c345f.272208"
]
]
},
{
- "id":"fc12acc9.e5517",
- "type":"block",
- "name":"block : atomic",
- "xml":"<block atomic=\"true\">",
- "atomic":"true",
- "outputs":1,
- "x":920.6667327880859,
- "y":743.0000133514404,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "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": 2266.166816711426,
+ "y": 1150.7499980926514,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "521c12e4.61495c"
+ "6ba35582.02a89c",
+ "8d6ac32a.9037"
]
]
},
{
- "id":"521c12e4.61495c",
- "type":"switchNode",
- "name":"switch request-action",
- "xml":"<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
- "comments":"",
- "outputs":1,
- "x":1137.666732788086,
- "y":743.0000133514404,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "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": [
[
- "74f5e24d.62b7fc",
- "5f7ef187.e1747"
+ "320cd589.df0dea"
]
]
},
{
- "id":"74f5e24d.62b7fc",
- "type":"other",
- "name":"DeleteNetworkInstance",
- "xml":"<outcome value='DeleteNetworkInstance'>",
- "comments":"",
- "outputs":1,
- "x":1418.666732788086,
- "y":744.0000133514404,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "id": "320cd589.df0dea",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2508.380714416504,
+ "y": 317.6667537689209,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "7f6850df.2b87e"
+ "a1d040a8.b6d41"
]
]
},
{
- "id":"5f7ef187.e1747",
- "type":"other",
- "name":"Other",
- "xml":"<outcome value='Other'>",
- "comments":"",
- "outputs":1,
- "x":1361.666732788086,
- "y":784.0000133514404,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "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": 577,
+ "y": 117,
+ "z": "df2e3233.9775f",
+ "wires": []
+ },
+ {
+ "id": "19e922fc.da104d",
+ "type": "comment",
+ "name": "validations specific per svc-action",
+ "info": "",
+ "comments": "",
+ "x": 589,
+ "y": 332,
+ "z": "df2e3233.9775f",
+ "wires": []
+ },
+ {
+ "id": "c5d98990.732158",
+ "type": "comment",
+ "name": "network-request-information block validations",
+ "info": "",
+ "comments": "",
+ "x": 2269.5001525878906,
+ "y": 1002.7500467300415,
+ "z": "df2e3233.9775f",
+ "wires": []
+ },
+ {
+ "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": 2266.5001525878906,
+ "y": 1052.7500467300415,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "c7092fc3.cd677"
+ "b8f089fb.d935a8"
]
]
},
{
- "id":"c7092fc3.cd677",
- "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":1530.666732788086,
- "y":784.0000133514404,
- "z":"9587f32a.6a9aa",
- "wires":[
-
+ "id": "b8f089fb.d935a8",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2508.2145080566406,
+ "y": 1054.7500467300415,
+ "z": "df2e3233.9775f",
+ "wires": [
+ [
+ "3d496a0d.53e9c6"
+ ]
]
},
{
- "id":"a3e07e88.c882c",
- "type":"block",
- "name":"block : atomic",
- "xml":"<block atomic=\"true\">",
- "atomic":"true",
- "comments":"",
- "outputs":1,
- "x":1642.6666641235352,
- "y":320,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "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": 2659.643096923828,
+ "y": 1052.7500467300415,
+ "z": "df2e3233.9775f",
+ "wires": []
+ },
+ {
+ "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": 2295.5001525878906,
+ "y": 1095.7500467300415,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "43839f1a.168f2",
- "50cf5531.098c6c",
- "7341b7e.9ac2b48",
- "a0f0d3d5.a87ab",
- "88002920.134a48",
- "6d91f416.826f2c",
- "9a5aad4a.6e681"
+ "615cc864.89ade8"
]
]
},
{
- "id":"71f64cf9.079ef4",
- "type":"block",
- "name":"block : atomic",
- "xml":"<block atomic=\"true\">",
- "atomic":"true",
- "comments":"",
- "outputs":1,
- "x":1636.6667709350586,
- "y":487.99999046325684,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "id": "615cc864.89ade8",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2557.2145080566406,
+ "y": 1095.7500467300415,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "43839f1a.168f2",
- "50cf5531.098c6c",
- "7341b7e.9ac2b48",
- "a0f0d3d5.a87ab",
- "88002920.134a48",
- "6d91f416.826f2c",
- "b67ae856.729b08"
+ "b53a0b88.3c7958"
]
]
},
{
- "id":"66edda2e.adbdb4",
- "type":"block",
- "name":"block : atomic",
- "xml":"<block atomic=\"true\">",
- "atomic":"true",
- "comments":"",
- "outputs":1,
- "x":1678.666732788086,
- "y":654.0000133514404,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "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": 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": [
[
- "b67ae856.729b08"
+ "cc6685f6.058958"
]
]
},
{
- "id":"7f6850df.2b87e",
- "type":"block",
- "name":"block : atomic",
- "xml":"<block atomic=\"true\">",
- "atomic":"true",
- "comments":"",
- "outputs":1,
- "x":1677.666732788086,
- "y":745.0000133514404,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "id": "cc6685f6.058958",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2593.0001831054688,
+ "y": 825.7500514984131,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "b67ae856.729b08"
+ "582d90a3.b7998"
]
]
},
{
- "id":"88002920.134a48",
- "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":2279.3333282470703,
- "y":1043.9999513626099,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "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": 2280.1429138183594,
+ "y": 902.6072015762329,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "1d5cf7df.d6b918",
- "9241a417.ce32a8"
+ "4f68a79d.3bf918"
]
]
},
{
- "id":"424069b0.42ea38",
- "type":"comment",
- "name":"validations - required for all",
- "info":"",
- "comments":"",
- "x":542.6666641235352,
- "y":94,
- "z":"9587f32a.6a9aa",
- "wires":[
-
+ "id": "4f68a79d.3bf918",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2521.1430053710938,
+ "y": 903.6071376800537,
+ "z": "df2e3233.9775f",
+ "wires": [
+ [
+ "7690e5c.85ea81c"
+ ]
]
},
{
- "id":"67177f2d.d0dfb",
- "type":"comment",
- "name":"validations specific per svc-action",
- "info":"",
- "comments":"",
- "x":554.6666641235352,
- "y":309,
- "z":"9587f32a.6a9aa",
- "wires":[
-
+ "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": 2686.5714721679688,
+ "y": 901.6071071624756,
+ "z": "df2e3233.9775f",
+ "wires": []
+ },
+ {
+ "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": 2326.0000610351562,
+ "y": 861.750020980835,
+ "z": "df2e3233.9775f",
+ "wires": [
+ [
+ "a2943e5e.6f374"
+ ]
]
},
{
- "id":"b6492325.12cf4",
- "type":"comment",
- "name":"network-request-information block validations",
- "info":"",
- "comments":"",
- "x":2282.666664123535,
- "y":896,
- "z":"9587f32a.6a9aa",
- "wires":[
-
+ "id": "a2943e5e.6f374",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2622.0000610351562,
+ "y": 862.750020980835,
+ "z": "df2e3233.9775f",
+ "wires": [
+ [
+ "c180f18b.aebfe"
+ ]
]
},
{
- "id":"43839f1a.168f2",
- "type":"switchNode",
- "name":"switch network-request-information.tenant",
- "xml":"<switch test='`$network-topology-operation-input.network-request-input.tenant`'>\n",
- "comments":"",
- "outputs":1,
- "x":2279.666664123535,
- "y":946,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "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": 2769.4285278320312,
+ "y": 862.750020980835,
+ "z": "df2e3233.9775f",
+ "wires": []
+ },
+ {
+ "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": 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": [
[
- "f579222c.d4325"
+ "5b95f49.d609d0c",
+ "d09003b.e23f4"
]
]
},
{
- "id":"f579222c.d4325",
- "type":"other",
- "name":"NULL",
- "xml":"<outcome value=''>",
- "comments":"",
- "outputs":1,
- "x":2521.381019592285,
- "y":948,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "id": "5b95f49.d609d0c",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2600.250011444092,
+ "y": 653.7501907348633,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "ad98280c.f99968"
+ "1d7d3883.7d3737"
]
]
},
{
- "id":"ad98280c.f99968",
- "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":2672.8096084594727,
- "y":946,
- "z":"9587f32a.6a9aa",
- "wires":[
-
+ "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":"50cf5531.098c6c",
- "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":2308.666664123535,
- "y":989,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "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": 2974.183319091797,
+ "y": 1398.4285793304443,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "d057fdf3.d010e"
+ "e762e9e8.c9a108",
+ "e2455f53.fb44"
]
]
},
{
- "id":"d057fdf3.d010e",
- "type":"other",
- "name":"NULL",
- "xml":"<outcome value=''>",
- "comments":"",
- "outputs":1,
- "x":2570.381019592285,
- "y":989,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "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": 3468.6474609375,
+ "y": 1395.7260434627533,
+ "z": "df2e3233.9775f",
+ "wires": []
+ },
+ {
+ "id": "e762e9e8.c9a108",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3269.897472381592,
+ "y": 1389.0832498073578,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "3c313792.39c5f8"
+ "2bd9bcfc.f16724"
]
]
},
{
- "id":"3c313792.39c5f8",
- "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":2734.80948638916,
- "y":988,
- "z":"9587f32a.6a9aa",
- "wires":[
-
+ "id": "e2455f53.fb44",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3263.647472381592,
+ "y": 1421.5832498073578,
+ "z": "df2e3233.9775f",
+ "wires": [
+ [
+ "2bd9bcfc.f16724"
+ ]
]
},
{
- "id":"7341b7e.9ac2b48",
- "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":2271.8096084594727,
- "y":815.8571166992188,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "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": [
[
- "76f250fe.8ad13"
+ "eac562d9.de601"
]
]
},
{
- "id":"76f250fe.8ad13",
- "type":"other",
- "name":"NULL",
- "xml":"<outcome value=''>",
- "comments":"",
- "outputs":1,
- "x":2511.8096084594727,
- "y":816.8571166992188,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "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": [
[
- "5f0fb81f.eafbb8"
+ "501babe3.5319c4",
+ "e1e773cb.e5cf6"
]
]
},
{
- "id":"5f0fb81f.eafbb8",
- "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":2677.2380752563477,
- "y":814.8570861816406,
- "z":"9587f32a.6a9aa",
- "wires":[
-
+ "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":"a0f0d3d5.a87ab",
- "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":2316.666664123535,
- "y":775,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "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": [
[
- "b58e5e29.9b188"
+ "3ab76fb1.f7b22"
]
]
},
{
- "id":"b58e5e29.9b188",
- "type":"other",
- "name":"NULL",
- "xml":"<outcome value=''>",
- "comments":"",
- "outputs":1,
- "x":2612.666664123535,
- "y":776,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "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": [
[
- "d1292b85.45d678"
+ "7a0eb4db.f8074c"
]
]
},
{
- "id":"d1292b85.45d678",
- "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":2760.09513092041,
- "y":776,
- "z":"9587f32a.6a9aa",
- "wires":[
-
+ "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":"5bf0bd5.e1cf344",
- "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":517.023738861084,
- "y":672.6428346633911,
- "z":"9587f32a.6a9aa",
- "wires":[
-
+ "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":"a1c80246.e678",
- "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":2994.8497314453125,
- "y":1259.1784763336182,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "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": [
[
- "89788b78.0fbba8",
- "fe14df05.e082"
+ "4f2fd133.4305b"
]
]
},
{
- "id":"925507bc.719978",
- "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":3454.313934326172,
- "y":1250.2258920669556,
- "z":"9587f32a.6a9aa",
- "wires":[
-
+ "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":"89788b78.0fbba8",
- "type":"not-found",
- "name":"not-found",
- "xml":"<outcome value='not-found'>\n",
- "comments":"",
- "outputs":1,
- "x":3255.5639457702637,
- "y":1243.58309841156,
- "z":"9587f32a.6a9aa",
- "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": [
[
- "925507bc.719978"
+ "598b024c.d866dc"
]
]
},
{
- "id":"fe14df05.e082",
- "type":"failure",
- "name":"failure",
- "xml":"<outcome value='failure'>\n",
- "comments":"",
- "outputs":1,
- "x":3249.3139457702637,
- "y":1276.08309841156,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "id": "6ba35582.02a89c",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2531.314895629883,
+ "y": 1150.3426370620728,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "925507bc.719978"
+ "1cfe1346.d805fd"
]
]
},
{
- "id":"1d5cf7df.d6b918",
- "type":"other",
- "name":"NULL",
- "xml":"<outcome value=''>",
- "comments":"",
- "outputs":1,
- "x":2544.4814071655273,
- "y":1043.5925903320312,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "id": "8d6ac32a.9037",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2530.064929962158,
+ "y": 1322.009298324585,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "b9cf48d2.24de78"
+ "423b56dc.d5ebb8"
]
]
},
{
- "id":"9241a417.ce32a8",
- "type":"other",
- "name":"Other",
- "xml":"<outcome value='Other'>",
- "comments":"",
- "outputs":1,
- "x":2550.731342315674,
- "y":1182.7591953277588,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "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": 2976.683303833008,
+ "y": 1321.4933519363403,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "c5c99455.9c06d8"
+ "79c59913.159718",
+ "efb4080a.682628"
]
]
},
{
- "id":"dd80fff3.bf7d7",
- "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":2997.3497161865234,
- "y":1182.2432489395142,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "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": 3458.7666091918945,
+ "y": 1327.74343085289,
+ "z": "df2e3233.9775f",
+ "wires": []
+ },
+ {
+ "id": "79c59913.159718",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3260.016689300537,
+ "y": 1323.1006467342377,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "6a57274e.5355b8",
- "7bb62a10.e078e4"
+ "860b68fa.33ca88"
]
]
},
{
- "id":"fb19a79a.af3d48",
- "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":3444.4330825805664,
- "y":1182.2432794570923,
- "z":"9587f32a.6a9aa",
- "wires":[
-
+ "id": "efb4080a.682628",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3253.766689300537,
+ "y": 1355.6006467342377,
+ "z": "df2e3233.9775f",
+ "wires": [
+ [
+ "860b68fa.33ca88"
+ ]
]
},
{
- "id":"6a57274e.5355b8",
- "type":"not-found",
- "name":"not-found",
- "xml":"<outcome value='not-found'>\n",
- "comments":"",
- "outputs":1,
- "x":3245.683162689209,
- "y":1177.60049533844,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "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": 2976.8693084716797,
+ "y": 1223.1509647369385,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "fb19a79a.af3d48"
+ "910f20d1.bdd36",
+ "e2e9e038.3cb1b"
]
]
},
{
- "id":"7bb62a10.e078e4",
- "type":"failure",
- "name":"failure",
- "xml":"<outcome value='failure'>\n",
- "comments":"",
- "outputs":1,
- "x":3239.433162689209,
- "y":1210.10049533844,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "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": 3472.3335494995117,
+ "y": 1222.4483096599579,
+ "z": "df2e3233.9775f",
+ "wires": []
+ },
+ {
+ "id": "910f20d1.bdd36",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3273.5835609436035,
+ "y": 1215.8055160045624,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "fb19a79a.af3d48"
+ "31c32b50.6432e4"
]
]
},
{
- "id":"56d4c353.92e90c",
- "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":2991.035919189453,
- "y":1118.4007987976074,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "id": "e2e9e038.3cb1b",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3268.58353805542,
+ "y": 1247.055515050888,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "415be4e2.5955dc",
- "5521a407.7c24fc"
+ "31c32b50.6432e4"
]
]
},
{
- "id":"e4108457.428de8",
- "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":3450.5001220703125,
- "y":1109.4482145309448,
- "z":"9587f32a.6a9aa",
- "wires":[
-
+ "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": 2975.369338989258,
+ "y": 1149.4655179977417,
+ "z": "df2e3233.9775f",
+ "wires": [
+ [
+ "ad32be5d.fc0d2",
+ "726e59ae.b41088"
+ ]
]
},
{
- "id":"415be4e2.5955dc",
- "type":"not-found",
- "name":"not-found",
- "xml":"<outcome value='not-found'>\n",
- "comments":"",
- "outputs":1,
- "x":3251.7501335144043,
- "y":1102.8054208755493,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "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": 3462.4526977539062,
+ "y": 1154.4656970500946,
+ "z": "df2e3233.9775f",
+ "wires": []
+ },
+ {
+ "id": "ad32be5d.fc0d2",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3263.702777862549,
+ "y": 1149.8229129314423,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "e4108457.428de8"
+ "263ae4cc.79bc1c"
]
]
},
{
- "id":"5521a407.7c24fc",
- "type":"failure",
- "name":"failure",
- "xml":"<outcome value='failure'>\n",
- "comments":"",
- "outputs":1,
- "x":3246.7501106262207,
- "y":1134.055419921875,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "id": "726e59ae.b41088",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3257.452777862549,
+ "y": 1182.3229129314423,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "e4108457.428de8"
+ "263ae4cc.79bc1c"
]
]
},
{
- "id":"b5ccaabe.a03018",
- "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":2989.785842895508,
- "y":1043.96546459198,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "id": "1cfe1346.d805fd",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 2706.639144897461,
+ "y": 1149.555465221405,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "7521044.4b449fc",
- "4aa1c6c1.dc1288"
+ "a5b9cb21.07e728",
+ "366d9d85.e9d9b2"
]
]
},
{
- "id":"5c9d87d7.566af8",
- "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":3440.619270324707,
- "y":1041.4656019210815,
- "z":"9587f32a.6a9aa",
- "wires":[
-
+ "id": "423b56dc.d5ebb8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 2691.63924407959,
+ "y": 1320.8055248260498,
+ "z": "df2e3233.9775f",
+ "wires": [
+ [
+ "921bbed8.0d111",
+ "3269563e.6fec5a"
+ ]
]
},
{
- "id":"7521044.4b449fc",
- "type":"not-found",
- "name":"not-found",
- "xml":"<outcome value='not-found'>\n",
- "comments":"",
- "outputs":1,
- "x":3241.8693504333496,
- "y":1036.8228178024292,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "id": "f8a0e353.63b13",
+ "type": "other",
+ "name": "changeassign",
+ "xml": "<outcome value='changeassign'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 787.000072479248,
+ "y": 687.0000247955322,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "5c9d87d7.566af8"
+ "4a52d531.9fe30c"
]
]
},
{
- "id":"4aa1c6c1.dc1288",
- "type":"failure",
- "name":"failure",
- "xml":"<outcome value='failure'>\n",
- "comments":"",
- "outputs":1,
- "x":3235.6193504333496,
- "y":1069.3228178024292,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "id": "4a52d531.9fe30c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 972.285717010498,
+ "y": 686.4286289215088,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "5c9d87d7.566af8"
+ "60aa05f5.c569dc"
]
]
},
{
- "id":"b9cf48d2.24de78",
- "type":"block",
- "name":"block : atomic",
- "xml":"<block atomic=\"true\">",
- "atomic":"true",
- "outputs":1,
- "x":2719.8056564331055,
- "y":1042.8054184913635,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "id": "60aa05f5.c569dc",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1164.2856559753418,
+ "y": 686.4286136627197,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "b5ccaabe.a03018",
- "56d4c353.92e90c"
+ "88893f96.826cb",
+ "b859c6e0.2898e8"
]
]
},
{
- "id":"c5c99455.9c06d8",
- "type":"block",
- "name":"block : atomic",
- "xml":"<block atomic=\"true\">",
- "atomic":"true",
- "outputs":1,
- "x":2712.3056564331055,
- "y":1181.5554218292236,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "id": "88893f96.826cb",
+ "type": "other",
+ "name": "CreateNetworkInstance",
+ "xml": "<outcome value='CreateNetworkInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1444.2856559753418,
+ "y": 651.4286136627197,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "dd80fff3.bf7d7",
- "a1c80246.e678"
+ "9c8d3fa9.f4234"
]
]
},
{
- "id":"44919742.aa0cd8",
- "type":"outcome",
- "name":"ActivateDCINetworkInstance",
- "xml":"<outcome value='ActivateDCINetworkInstance'>",
- "comments":"",
- "outputs":1,
- "x":1426.333251953125,
- "y":441,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "id": "b859c6e0.2898e8",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1393.2856559753418,
+ "y": 695.4286136627197,
+ "z": "df2e3233.9775f",
+ "wires": [
[
-
+ "73e64f7b.3bc52"
]
]
},
{
- "id":"1bec30c1.fe7d2f",
- "type":"outcome",
- "name":"DeActivateDCINetworkInstance",
- "xml":"<outcome value='DeActivateDCINetworkInstance'>",
- "comments":"",
- "outputs":1,
- "x":1447.6666259765625,
- "y":604,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "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": "",
+ "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":"6d91f416.826f2c",
- "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":2298.6667251586914,
- "y":740.000036239624,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "id": "12953ca4.f4d643",
+ "type": "switchNode",
+ "name": "switch network-information.from-preload",
+ "xml": "<switch test='`$network-topology-operation-input.network-information.from-preload`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2283.91650390625,
+ "y": 368.0000352859497,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "429b261e.09c5a8"
+ "eb76cae7.f61f78"
]
]
},
{
- "id":"429b261e.09c5a8",
- "type":"other",
- "name":"NULL",
- "xml":"<outcome value=''>",
- "comments":"",
- "outputs":1,
- "x":2583.6667861938477,
- "y":739.0000305175781,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "id": "eb76cae7.f61f78",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2519.630813598633,
+ "y": 368.0000352859497,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "defe665.bee1098"
+ "6e925a8f.fb9974"
]
]
},
{
- "id":"defe665.bee1098",
- "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":2735.0952529907227,
- "y":738.0000305175781,
- "z":"9587f32a.6a9aa",
- "wires":[
-
- ]
+ "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":"f11122f.6d0b4e",
- "type":"comment",
- "name":"network-information.onap-model-information block validations",
- "info":"",
- "comments":"",
- "x":2317.8096084594727,
- "y":700.8571166992188,
- "z":"9587f32a.6a9aa",
- "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": 2287.3358001708984,
+ "y": 421.6692581176758,
+ "z": "df2e3233.9775f",
+ "wires": [
+ [
+ "c5a63b51.87b4f8",
+ "1214f71.156fe09"
+ ]
]
},
{
- "id":"9a5aad4a.6e681",
- "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":2253.66658782959,
- "y":609.3333568572998,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "id": "c5a63b51.87b4f8",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2583.335750579834,
+ "y": 454.33596992492676,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "35c914cb.fa2c7c",
- "f70379ac.e82478"
+ "e775f46b.5160e8"
]
]
},
{
- "id":"35c914cb.fa2c7c",
- "type":"other",
- "name":"Other",
- "xml":"<outcome value='Other'>",
- "comments":"",
- "outputs":1,
- "x":2549.6665382385254,
- "y":642.0000686645508,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "id": "1214f71.156fe09",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2581.0026473999023,
+ "y": 421.335844039917,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "f6b8e9bf.429b88"
+ "ac694b16.08b998"
]
]
},
{
- "id":"f6b8e9bf.429b88",
- "type":"block",
- "name":"block",
- "xml":"<block>\n",
- "atomic":"false",
- "comments":"",
- "outputs":1,
- "x":2683.7777938842773,
- "y":642.4444732666016,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "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": 3731.4471740722656,
+ "y": 493.780366897583,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "124f1a13.d4f066"
+ "d0382bb1.c7c318"
]
]
},
{
- "id":"124f1a13.d4f066",
- "type":"switchNode",
- "name":"switch service-data.networks.network_length",
- "xml":"<switch test='`$service-data.networks.network_length`'>\n",
- "comments":"",
- "outputs":1,
- "x":2957.4919052124023,
- "y":644.0158233642578,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "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": 2991.161117553711,
+ "y": 456.3517246246338,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "92655d33.ed6d7",
- "9ed4f2.56f8bb1"
+ "1846ce0f.dd2142",
+ "3dcca8e2.fa0cf8"
]
]
},
{
- "id":"92655d33.ed6d7",
- "type":"other",
- "name":"outcome Null",
- "xml":"<outcome value=''>\n",
- "comments":"",
- "outputs":1,
- "x":3246.4919052124023,
- "y":646.0158843994141,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "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": [
[
- "1dc93ca8.c6ca53"
+ "6705bd82.d03014"
]
]
},
{
- "id":"9ed4f2.56f8bb1",
- "type":"other",
- "name":"other",
- "xml":"<outcome value='Other'>\n",
- "comments":"",
- "outputs":1,
- "x":3226.4919052124023,
- "y":681.0158843994141,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "id": "3dcca8e2.fa0cf8",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3251.411331176758,
+ "y": 493.8518409729004,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "8f8d810b.3f421"
+ "76bdfc6d.a268b4"
]
]
},
{
- "id":"8f8d810b.3f421",
- "type":"block",
- "name":"block : atomic",
- "xml":"<block atomic=\"true\">",
- "atomic":"true",
- "outputs":1,
- "x":3427.7619247436523,
- "y":682.5704498291016,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "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": 4021.8757247924805,
+ "y": 493.03045082092285,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "1f53b4b0.227ebb",
- "ff0f33a8.2a294"
+ "799fd9f5.297828"
]
]
},
{
- "id":"1f53b4b0.227ebb",
- "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":3697.777961730957,
- "y":681.444465637207,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "id": "799fd9f5.297828",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4210.828079223633,
+ "y": 493.923189163208,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "8351ac5.ac1f25"
+ "fa602e9.58fa5d"
]
]
},
{
- "id":"8351ac5.ac1f25",
- "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":3988.206512451172,
- "y":680.6945495605469,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "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='network-data.' value='`$service-data.networks.network[$nidx].`' />\n",
+ "comments": "",
+ "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": [
[
- "9138e8c9.7ab098"
+ "d81e00e0.1ff27"
]
]
},
{
- "id":"9138e8c9.7ab098",
- "type":"outcomeTrue",
- "name":"true",
- "xml":"<outcome value='true'>\n",
- "comments":"",
- "outputs":1,
- "x":4177.158866882324,
- "y":681.587287902832,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "id": "a4c75003.79847",
+ "type": "switchNode",
+ "name": "switch tmp.nidx ",
+ "xml": "<switch test=\"`$tmp.nidx`\">\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3649.748748779297,
+ "y": 569.7635736465454,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "8476406f.ea8ad"
+ "46de02ac.b16e8c"
]
]
},
{
- "id":"a2e4da11.fec288",
- "type":"set",
- "name":"set tmp.nidx and ctx.network-data",
- "xml":"<set>\n<parameter name='tmp.nidx' value='`$nidx`' />\n<parameter name='ctx.network-data.' value='`$service-data.networks.network[$nidx].`' />\n",
- "comments":"",
- "x":4620.690635681152,
- "y":690.3373107910156,
- "z":"9587f32a.6a9aa",
- "wires":[
-
+ "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": 4004.606025695801,
+ "y": 569.4778385162354,
+ "z": "df2e3233.9775f",
+ "wires": []
+ },
+ {
+ "id": "46de02ac.b16e8c",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3821.1772842407227,
+ "y": 568.3349590301514,
+ "z": "df2e3233.9775f",
+ "wires": [
+ [
+ "97b52b4a.465218"
+ ]
]
},
{
- "id":"ff0f33a8.2a294",
- "type":"switchNode",
- "name":"switch tmp.nidx ",
- "xml":"<switch test=\"`$tmp.nidx`\">\n\n",
- "comments":"",
- "outputs":1,
- "x":3616.079391479492,
- "y":723.4276723861694,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "id": "e775f46b.5160e8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2717.447006225586,
+ "y": 454.78037452697754,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "8aba4dc7.d9aff"
+ "6aa40d73.069df4"
]
]
},
{
- "id":"74581001.a829d",
- "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":3968.9363746643066,
- "y":719.1419143676758,
- "z":"9587f32a.6a9aa",
- "wires":[
-
+ "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": 3441.447006225586,
+ "y": 457.78037452697754,
+ "z": "df2e3233.9775f",
+ "wires": [
+ []
]
},
{
- "id":"8aba4dc7.d9aff",
- "type":"outcome",
- "name":"NULL",
- "xml":"<outcome value=''>\n",
- "comments":"",
- "outputs":1,
- "x":3787.507926940918,
- "y":721.9990577697754,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "id": "fa602e9.58fa5d",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 4359.446517944336,
+ "y": 493.78037452697754,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "74581001.a829d"
+ "b9b1e9e8.4baa78"
]
]
},
{
- "id":"2ea1516d.a319ae",
- "type":"switchNode",
- "name":"switch order-status",
- "xml":"<switch test='`$ctx.network-data.network-data.network-level-oper-status.order-status`'>\n",
- "comments":"",
- "outputs":1,
- "x":4579.111045837402,
- "y":727.4444885253906,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "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": 1471.3333587646484,
+ "y": 494.00006198883057,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "8688e510.ad7d88"
+ "694acc9b.b69aa4"
]
]
},
{
- "id":"8688e510.ad7d88",
- "type":"other",
- "name":"outcome Created",
- "xml":"<outcome value='Created'>\n",
- "comments":"",
- "outputs":1,
- "x":4793.111045837402,
- "y":727.4444885253906,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "id": "694acc9b.b69aa4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1697.3333282470703,
+ "y": 494.00010776519775,
+ "z": "df2e3233.9775f",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1c550262.882b2e",
+ "type": "outcome",
+ "name": "ActivateDCINetworkInstance",
+ "xml": "<outcome value='ActivateDCINetworkInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1459.2497634887695,
+ "y": 529.9960916042328,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "55924408.41735c"
+ "15320fb4.9014c"
]
]
},
{
- "id":"55924408.41735c",
- "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":4997.111045837402,
- "y":723.4444732666016,
- "z":"9587f32a.6a9aa",
- "wires":[
-
+ "id": "15320fb4.9014c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1672.5559921264648,
+ "y": 529.0000257492065,
+ "z": "df2e3233.9775f",
+ "wires": [
+ []
]
},
{
- "id":"8476406f.ea8ad",
- "type":"block",
- "name":"block : atomic",
- "xml":"<block atomic=\"true\">",
- "atomic":"true",
- "outputs":1,
- "x":4325.777305603027,
- "y":681.4444732666016,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "id": "a630529b.bc37b",
+ "type": "outcome",
+ "name": "DeactivateSOTNConnectivityInstance",
+ "xml": "<outcome value='DeactivateSOTNConnectivityInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1490.3333892822266,
+ "y": 786.0001420974731,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "a2e4da11.fec288"
+ "ffb9085d.d34018"
]
]
},
{
- "id":"1dc93ca8.c6ca53",
- "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":3407.7777938842773,
- "y":645.4444732666016,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "id": "ffb9085d.d34018",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "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":"b67ae856.729b08",
- "type":"switchNode",
- "name":"switch network-information.network-id",
- "xml":"<switch test='`$network-topology-operation-input.network-information.network-id`'>\n",
- "comments":"",
- "outputs":1,
- "x":2251.6665115356445,
- "y":562.6666736602783,
- "z":"9587f32a.6a9aa",
- "wires":[
- [
- "9dba4815.084fc8"
- ]
+ "id": "fce22d6a.e8a6b",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1715.5833053588867,
+ "y": 822.0274226665497,
+ "z": "df2e3233.9775f",
+ "wires": [
+ []
]
},
{
- "id":"9dba4815.084fc8",
- "type":"other",
- "name":"NULL",
- "xml":"<outcome value=''>",
- "comments":"",
- "outputs":1,
- "x":2480.3808364868164,
- "y":564.6666736602783,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "id": "dce79fa4.7fd85",
+ "type": "outcome",
+ "name": "ActivateSDWANConnectivityInstance",
+ "xml": "<outcome value='ActivateSDWANConnectivityInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1476.003890991211,
+ "y": 454.7539072036743,
+ "z": "df2e3233.9775f",
+ "wires": [
[
- "cae9bfb4.2d442"
+ "a3491976.6ffbc8"
]
]
},
{
- "id":"cae9bfb4.2d442",
- "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":2644.809455871582,
- "y":562.6666736602783,
- "z":"9587f32a.6a9aa",
- "wires":[
-
+ "id": "a3491976.6ffbc8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1712.004020690918,
+ "y": 453.7539072036743,
+ "z": "df2e3233.9775f",
+ "wires": [
+ []
]
},
{
- "id":"f70379ac.e82478",
- "type":"other",
- "name":"NULL",
- "xml":"<outcome value=''>",
- "comments":"",
- "outputs":1,
- "x":2547.3334350585938,
- "y":608.999942779541,
- "z":"9587f32a.6a9aa",
- "wires":[
+ "id": "10d3655a.b8cb0b",
+ "type": "outcome",
+ "name": "DeactivateSDWANConnectivityInstance",
+ "xml": "<outcome value='DeactivateSDWANConnectivityInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1496.00390625,
+ "y": 745.75390625,
+ "z": "df2e3233.9775f",
+ "wires": [
[
-
+ "4660a007.84d7d"
]
]
+ },
+ {
+ "id": "4660a007.84d7d",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1747.00390625,
+ "y": 743.75390625,
+ "z": "df2e3233.9775f",
+ "wires": [
+ []
+ ]
}
]