+++ /dev/null
-[
- {
- "id": "1910b882.988187",
- "type": "dgstart",
- "name": "DGSTART",
- "outputs": 1,
- "x": 112,
- "y": 39,
- "z": "b7e352e3.19bee",
- "wires": [
- [
- "6daa18ee.bd9b48"
- ]
- ]
- },
- {
- "id": "6daa18ee.bd9b48",
- "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": 250.00001525878906,
- "y": 99.99999809265137,
- "z": "b7e352e3.19bee",
- "wires": [
- [
- "d306af00.202b5"
- ]
- ]
- },
- {
- "id": "d306af00.202b5",
- "type": "method",
- "name": "connection-attachment-topology-operation",
- "xml": "<method rpc='connection-attachment-topology-operation' mode='sync'>\n",
- "comments": "",
- "outputs": 1,
- "x": 285.0000305175781,
- "y": 148.00002670288086,
- "z": "b7e352e3.19bee",
- "wires": [
- [
- "439aa3bc.b5c89c"
- ]
- ]
- },
- {
- "id": "439aa3bc.b5c89c",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 210,
- "y": 225.99999237060547,
- "z": "b7e352e3.19bee",
- "wires": [
- [
- "b2ae5e0b.e62c8",
- "9d2c0f9b.d86bc",
- "66d180fd.aa86b",
- "ebb56880.bc5f78"
- ]
- ]
- },
- {
- "id": "b2ae5e0b.e62c8",
- "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": 424.36917877197266,
- "y": 838.8428673744202,
- "z": "b7e352e3.19bee",
- "wires": []
- },
- {
- "id": "9d2c0f9b.d86bc",
- "type": "switchNode",
- "name": "switch svc-action",
- "xml": "<switch test='`$connection-attachment-topology-operation-input.sdnc-request-header.svc-action`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 430.9999237060547,
- "y": 385.41371059417725,
- "z": "b7e352e3.19bee",
- "wires": [
- [
- "e1ae6e39.aa27a",
- "9414f9d2.dce2f8",
- "6fb0447c.d97d9c",
- "128f118b.699cee",
- "e0bc6e7e.914ba"
- ]
- ]
- },
- {
- "id": "66d180fd.aa86b",
- "type": "call",
- "name": "call GENERIC-RESOURCE-API:validate-connection-attachment-input",
- "xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-connection-attachment-input' mode='sync' >\n",
- "comments": "",
- "outputs": 1,
- "x": 622.5714416503906,
- "y": 205.98515129089355,
- "z": "b7e352e3.19bee",
- "wires": [
- []
- ]
- },
- {
- "id": "e1ae6e39.aa27a",
- "type": "other",
- "name": "activate",
- "xml": "<outcome value='activate'>\n",
- "comments": "",
- "outputs": 1,
- "x": 646.2856674194336,
- "y": 394.55659008026123,
- "z": "b7e352e3.19bee",
- "wires": [
- [
- "4c362fcf.8e944"
- ]
- ]
- },
- {
- "id": "9414f9d2.dce2f8",
- "type": "other",
- "name": "delete",
- "xml": "<outcome value='delete'>\n",
- "comments": "",
- "outputs": 1,
- "x": 656.2857284545898,
- "y": 675.5567531585693,
- "z": "b7e352e3.19bee",
- "wires": [
- [
- "c5b8be14.e07f9"
- ]
- ]
- },
- {
- "id": "6fb0447c.d97d9c",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 645.6190376281738,
- "y": 760.8901767730713,
- "z": "b7e352e3.19bee",
- "wires": [
- [
- "1be7b37b.418c6d"
- ]
- ]
- },
- {
- "id": "1be7b37b.418c6d",
- "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 invalid\" />\n",
- "comments": "",
- "x": 827.6190338134766,
- "y": 759.8901863098145,
- "z": "b7e352e3.19bee",
- "wires": []
- },
- {
- "id": "ebb56880.bc5f78",
- "type": "set",
- "name": "Set final indicator to Y",
- "xml": "<set>\n<parameter name=\"ack-final\" value=\"Y\"/>",
- "comments": "",
- "x": 443.3968734741211,
- "y": 798.0012059211731,
- "z": "b7e352e3.19bee",
- "wires": []
- },
- {
- "id": "128f118b.699cee",
- "type": "other",
- "name": "create",
- "xml": "<outcome value='create'>\n",
- "comments": "",
- "outputs": 1,
- "x": 645.5263633728027,
- "y": 259.16132259368896,
- "z": "b7e352e3.19bee",
- "wires": [
- [
- "41c94f6b.204e9"
- ]
- ]
- },
- {
- "id": "e0bc6e7e.914ba",
- "type": "other",
- "name": "deactivate",
- "xml": "<outcome value='deactivate'>\n",
- "comments": "",
- "outputs": 1,
- "x": 650.8597145080566,
- "y": 535.8281259536743,
- "z": "b7e352e3.19bee",
- "wires": [
- [
- "da1fc201.3680b"
- ]
- ]
- },
- {
- "id": "66c39149.70506",
- "type": "call",
- "name": "call GENERIC-RESOURCE-API:sotn-attachment-topology-operation-create",
- "xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-attachment-topology-operation-create' mode='sync' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1540.0863037109375,
- "y": 210.54078483581543,
- "z": "b7e352e3.19bee",
- "wires": [
- []
- ]
- },
- {
- "id": "41c94f6b.204e9",
- "type": "switchNode",
- "name": "switch request-action",
- "xml": "<switch test='`$connection-attachment-topology-operation-input.request-information.request-action`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 836.5000534057617,
- "y": 258.0000066757202,
- "z": "b7e352e3.19bee",
- "wires": [
- [
- "ce5a6c0e.e9e7",
- "ae9fa049.744a2",
- "5e6d0e37.67471"
- ]
- ]
- },
- {
- "id": "ce5a6c0e.e9e7",
- "type": "outcome",
- "name": "CreateSOTNAttachmentInstance",
- "xml": "<outcome value='CreateSOTNAttachmentInstance'>",
- "comments": "",
- "outputs": 1,
- "x": 1091.833267211914,
- "y": 209.99981307983398,
- "z": "b7e352e3.19bee",
- "wires": [
- [
- "66c39149.70506"
- ]
- ]
- },
- {
- "id": "ae9fa049.744a2",
- "type": "outcome",
- "name": "other",
- "xml": "<outcome value='other'>",
- "comments": "",
- "outputs": 1,
- "x": 1021.8333740234375,
- "y": 301.66654205322266,
- "z": "b7e352e3.19bee",
- "wires": [
- [
- "93d62769.1835a8"
- ]
- ]
- },
- {
- "id": "93d62769.1835a8",
- "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=\"`'Provided request-action=' + $connection-attachment-topology-operation-input.request-information.request-action + ' is not supported.'`\" />\n",
- "comments": "",
- "x": 1187.5000381469727,
- "y": 302.00000762939453,
- "z": "b7e352e3.19bee",
- "wires": []
- },
- {
- "id": "a98c29b2.451c58",
- "type": "call",
- "name": "call GENERIC-RESOURCE-API:sotn-attachment-topology-operation-activate",
- "xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-attachment-topology-operation-activate' mode='sync' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1549.5000457763672,
- "y": 345.00000953674316,
- "z": "b7e352e3.19bee",
- "wires": [
- []
- ]
- },
- {
- "id": "761c903c.218d4",
- "type": "outcome",
- "name": "ActivateSOTNAttachmentInstance",
- "xml": "<outcome value='ActivateSOTNAttachmentInstance'>",
- "comments": "",
- "outputs": 1,
- "x": 1099.247085571289,
- "y": 347.4590435028076,
- "z": "b7e352e3.19bee",
- "wires": [
- [
- "a98c29b2.451c58"
- ]
- ]
- },
- {
- "id": "3bbb5d04.5bf752",
- "type": "outcome",
- "name": "other",
- "xml": "<outcome value='other'>",
- "comments": "",
- "outputs": 1,
- "x": 1029.2471923828125,
- "y": 439.1257724761963,
- "z": "b7e352e3.19bee",
- "wires": [
- [
- "ca8f3243.2c298"
- ]
- ]
- },
- {
- "id": "a90cbc0f.e63d",
- "type": "outcome",
- "name": "DeactivateSOTNAttachmentInstance",
- "xml": "<outcome value='DeactivateSOTNAttachmentInstance'>",
- "comments": "",
- "outputs": 1,
- "x": 1118.8332977294922,
- "y": 485.9998302459717,
- "z": "b7e352e3.19bee",
- "wires": [
- [
- "a6371009.ee111"
- ]
- ]
- },
- {
- "id": "4fe9f748.8c5d78",
- "type": "outcome",
- "name": "other",
- "xml": "<outcome value='other'>",
- "comments": "",
- "outputs": 1,
- "x": 1033.8333206176758,
- "y": 577.6665353775024,
- "z": "b7e352e3.19bee",
- "wires": [
- [
- "ccf57f8f.ea1c9"
- ]
- ]
- },
- {
- "id": "a6371009.ee111",
- "type": "call",
- "name": "call GENERIC-RESOURCE-API:sotn-attachment-topology-operation-deactivate",
- "xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-attachment-topology-operation-deactivate' mode='sync' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1577.5001220703125,
- "y": 486.00001335144043,
- "z": "b7e352e3.19bee",
- "wires": [
- []
- ]
- },
- {
- "id": "feaf8aad.a6d7b8",
- "type": "outcome",
- "name": "DeleteSOTNAttachmentInstance",
- "xml": "<outcome value='DeleteSOTNAttachmentInstance'>",
- "comments": "",
- "outputs": 1,
- "x": 1107.8332138061523,
- "y": 626.9998064041138,
- "z": "b7e352e3.19bee",
- "wires": [
- [
- "702bb124.73afe"
- ]
- ]
- },
- {
- "id": "fcb130cd.5ae4",
- "type": "outcome",
- "name": "other",
- "xml": "<outcome value='other'>",
- "comments": "",
- "outputs": 1,
- "x": 1037.8333206176758,
- "y": 718.6665353775024,
- "z": "b7e352e3.19bee",
- "wires": [
- [
- "4b648692.1bee28"
- ]
- ]
- },
- {
- "id": "702bb124.73afe",
- "type": "call",
- "name": "call GENERIC-RESOURCE-API:sotn-attachment-topology-operation-delete",
- "xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-attachment-topology-operation-delete' mode='sync' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1563.5000915527344,
- "y": 628.0000171661377,
- "z": "b7e352e3.19bee",
- "wires": [
- []
- ]
- },
- {
- "id": "4c362fcf.8e944",
- "type": "switchNode",
- "name": "switch request-action",
- "xml": "<switch test='`$connection-attachment-topology-operation-input.request-information.request-action`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 834.0000610351562,
- "y": 399.00001335144043,
- "z": "b7e352e3.19bee",
- "wires": [
- [
- "761c903c.218d4",
- "3bbb5d04.5bf752",
- "2147e065.6d692"
- ]
- ]
- },
- {
- "id": "da1fc201.3680b",
- "type": "switchNode",
- "name": "switch request-action",
- "xml": "<switch test='`$connection-attachment-topology-operation-input.request-information.request-action`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 848,
- "y": 540,
- "z": "b7e352e3.19bee",
- "wires": [
- [
- "a90cbc0f.e63d",
- "4fe9f748.8c5d78",
- "9e313cc8.d833b"
- ]
- ]
- },
- {
- "id": "c5b8be14.e07f9",
- "type": "switchNode",
- "name": "switch request-action",
- "xml": "<switch test='`$connection-attachment-topology-operation-input.request-information.request-action`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 851,
- "y": 675,
- "z": "b7e352e3.19bee",
- "wires": [
- [
- "feaf8aad.a6d7b8",
- "fcb130cd.5ae4",
- "5e1720ff.4caf2"
- ]
- ]
- },
- {
- "id": "ca8f3243.2c298",
- "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=\"`'Provided request-action=' + $connection-attachment-topology-operation-input.request-information.request-action + ' is not supported.'`\" />\n",
- "comments": "",
- "x": 1193,
- "y": 439,
- "z": "b7e352e3.19bee",
- "wires": []
- },
- {
- "id": "ccf57f8f.ea1c9",
- "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=\"`'Provided request-action=' + $connection-attachment-topology-operation-input.request-information.request-action + ' is not supported.'`\" />\n",
- "comments": "",
- "x": 1201,
- "y": 579,
- "z": "b7e352e3.19bee",
- "wires": []
- },
- {
- "id": "4b648692.1bee28",
- "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=\"`'Provided request-action=' + $connection-attachment-topology-operation-input.request-information.request-action + ' is not supported.'`\" />\n",
- "comments": "",
- "x": 1206,
- "y": 718,
- "z": "b7e352e3.19bee",
- "wires": []
- },
- {
- "id": "5e6d0e37.67471",
- "type": "outcome",
- "name": "CreateSDWANAttachmentInstance",
- "xml": "<outcome value='CreateSDWANAttachmentInstance'>",
- "comments": "",
- "outputs": 1,
- "x": 1116.02734375,
- "y": 257.0312509536743,
- "z": "b7e352e3.19bee",
- "wires": [
- [
- "4d854610.f2a218"
- ]
- ]
- },
- {
- "id": "4d854610.f2a218",
- "type": "call",
- "name": "call GENERIC-RESOURCE-API:sdwan-attachment-topology-operation-create",
- "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-attachment-topology-operation-create' mode='sync' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1564.2803802490234,
- "y": 257.57222270965576,
- "z": "b7e352e3.19bee",
- "wires": [
- []
- ]
- },
- {
- "id": "2147e065.6d692",
- "type": "outcome",
- "name": "ActivateSDWANAttachmentInstance",
- "xml": "<outcome value='ActivateSDWANAttachmentInstance'>",
- "comments": "",
- "outputs": 1,
- "x": 1111.02734375,
- "y": 394.0312509536743,
- "z": "b7e352e3.19bee",
- "wires": [
- [
- "5d4d92f5.76ca5c"
- ]
- ]
- },
- {
- "id": "5d4d92f5.76ca5c",
- "type": "call",
- "name": "call GENERIC-RESOURCE-API:sdwan-attachment-topology-operation-activate",
- "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-attachment-topology-operation-activate' mode='sync' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1561.2803039550781,
- "y": 391.57221698760986,
- "z": "b7e352e3.19bee",
- "wires": [
- []
- ]
- },
- {
- "id": "9e313cc8.d833b",
- "type": "outcome",
- "name": "DeactivateSDWANAttachmentInstance",
- "xml": "<outcome value='DeactivateSDWANAttachmentInstance'>",
- "comments": "",
- "outputs": 1,
- "x": 1128.02734375,
- "y": 535.0312509536743,
- "z": "b7e352e3.19bee",
- "wires": [
- [
- "79636f75.2b02a"
- ]
- ]
- },
- {
- "id": "79636f75.2b02a",
- "type": "call",
- "name": "call GENERIC-RESOURCE-API:sdwan-attachment-topology-operation-deactivate",
- "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-attachment-topology-operation-deactivate' mode='sync' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1586.6941680908203,
- "y": 535.0314340591431,
- "z": "b7e352e3.19bee",
- "wires": [
- []
- ]
- },
- {
- "id": "5e1720ff.4caf2",
- "type": "outcome",
- "name": "DeleteSDWANAttachmentInstance",
- "xml": "<outcome value='DeleteSDWANAttachmentInstance'>",
- "comments": "",
- "outputs": 1,
- "x": 1116.02734375,
- "y": 673.0312509536743,
- "z": "b7e352e3.19bee",
- "wires": [
- [
- "fc63a050.4fcca"
- ]
- ]
- },
- {
- "id": "fc63a050.4fcca",
- "type": "call",
- "name": "call GENERIC-RESOURCE-API:sdwan-attachment-topology-operation-delete",
- "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-attachment-topology-operation-delete' mode='sync' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1571.694221496582,
- "y": 674.0314617156982,
- "z": "b7e352e3.19bee",
- "wires": [
- []
- ]
- }
-]