aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_connection-attachment-topology-operation.json
diff options
context:
space:
mode:
authorgaurav <gaurav.agrawal@huawei.com>2018-07-20 22:40:12 +0530
committerGaurav Agrawal <gaurav.agrawal@huawei.com>2018-07-23 17:42:21 +0000
commitb7309202993efcbd19d0b7cca268d4f473083889 (patch)
tree541e3733210562a69ecbea75f6464fd14026feed /platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_connection-attachment-topology-operation.json
parenta5304e219bd29c881ab6c50be7a5a6463ef7afa8 (diff)
Adding connectivity attachment Resource DG
Initial implementation of create DG for connectivity attachment resource. Change-Id: Ibba56e5ec4af9da3565041085f83f7f01bafd201 Issue-ID: SDNC-356 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com> Former-commit-id: 91d3ed86e4bb4596dc2a42095fb3a941117f9a27
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_connection-attachment-topology-operation.json')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_connection-attachment-topology-operation.json536
1 files changed, 536 insertions, 0 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_connection-attachment-topology-operation.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_connection-attachment-topology-operation.json
new file mode 100644
index 00000000..77d885af
--- /dev/null
+++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_connection-attachment-topology-operation.json
@@ -0,0 +1,536 @@
+[
+ {
+ "id": "b2143086.a417",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 109.03125,
+ "y": 37.03125,
+ "z": "efb71132.eba6e",
+ "wires": [
+ [
+ "7e88a37a.69419c"
+ ]
+ ]
+ },
+ {
+ "id": "7e88a37a.69419c",
+ "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": 247.03126525878906,
+ "y": 98.03124809265137,
+ "z": "efb71132.eba6e",
+ "wires": [
+ [
+ "90bc847a.1e90f8"
+ ]
+ ]
+ },
+ {
+ "id": "90bc847a.1e90f8",
+ "type": "method",
+ "name": "connection-attachment-topology-operation",
+ "xml": "<method rpc='connection-attachment-topology-operation' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 282.0312805175781,
+ "y": 146.03127670288086,
+ "z": "efb71132.eba6e",
+ "wires": [
+ [
+ "bf0dea50.c6f6f8"
+ ]
+ ]
+ },
+ {
+ "id": "bf0dea50.c6f6f8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 207.03125,
+ "y": 224.03124237060547,
+ "z": "efb71132.eba6e",
+ "wires": [
+ [
+ "4b652dbe.7deec4",
+ "976e09a7.a23c78",
+ "d692689.8b14098",
+ "f2e8c4be.f6edf8"
+ ]
+ ]
+ },
+ {
+ "id": "4b652dbe.7deec4",
+ "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": 421.40042877197266,
+ "y": 836.8741173744202,
+ "z": "efb71132.eba6e",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "976e09a7.a23c78",
+ "type": "switchNode",
+ "name": "switch svc-action",
+ "xml": "<switch test='`$connection-attachment-topology-operation-input.sdnc-request-header.svc-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 428.0311737060547,
+ "y": 383.44496059417725,
+ "z": "efb71132.eba6e",
+ "wires": [
+ [
+ "7df40438.8d552c",
+ "854b6002.a361e",
+ "d0a5f285.16e91",
+ "a7c210e.8aeb8f",
+ "d7a3669.7308f98"
+ ]
+ ]
+ },
+ {
+ "id": "d692689.8b14098",
+ "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": 619.6026916503906,
+ "y": 204.01640129089355,
+ "z": "efb71132.eba6e",
+ "wires": [
+ [
+
+ ]
+ ]
+ },
+ {
+ "id": "7df40438.8d552c",
+ "type": "other",
+ "name": "activate",
+ "xml": "<outcome value='activate'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 643.3169174194336,
+ "y": 392.58784008026123,
+ "z": "efb71132.eba6e",
+ "wires": [
+ [
+ "c747bb59.396bf8"
+ ]
+ ]
+ },
+ {
+ "id": "854b6002.a361e",
+ "type": "other",
+ "name": "deactivate",
+ "xml": "<outcome value='deactivate'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 653.3169784545898,
+ "y": 673.5880031585693,
+ "z": "efb71132.eba6e",
+ "wires": [
+ [
+ "5f2c7e54.e5319"
+ ]
+ ]
+ },
+ {
+ "id": "d0a5f285.16e91",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 642.6502876281738,
+ "y": 758.9214267730713,
+ "z": "efb71132.eba6e",
+ "wires": [
+ [
+ "63b93e5c.700f6"
+ ]
+ ]
+ },
+ {
+ "id": "63b93e5c.700f6",
+ "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": 824.6502838134766,
+ "y": 757.9214363098145,
+ "z": "efb71132.eba6e",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "f2e8c4be.f6edf8",
+ "type": "set",
+ "name": "Set final indicator to Y",
+ "xml": "<set>\n<parameter name=\"ack-final\" value=\"Y\"/>",
+ "comments": "",
+ "x": 440.4281234741211,
+ "y": 796.0324559211731,
+ "z": "efb71132.eba6e",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "a7c210e.8aeb8f",
+ "type": "other",
+ "name": "create",
+ "xml": "<outcome value='create'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 642.5576133728027,
+ "y": 257.19257259368896,
+ "z": "efb71132.eba6e",
+ "wires": [
+ [
+ "8d1575e7.3d39d8"
+ ]
+ ]
+ },
+ {
+ "id": "d7a3669.7308f98",
+ "type": "other",
+ "name": "delete",
+ "xml": "<outcome value='delete'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 647.8909645080566,
+ "y": 533.8593759536743,
+ "z": "efb71132.eba6e",
+ "wires": [
+ [
+ "347f7912.887506"
+ ]
+ ]
+ },
+ {
+ "id": "380d46d2.a08ada",
+ "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": 1537.1175537109375,
+ "y": 208.57203483581543,
+ "z": "efb71132.eba6e",
+ "wires": [
+ [
+
+ ]
+ ]
+ },
+ {
+ "id": "8d1575e7.3d39d8",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$connection-attachment-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 833.5313034057617,
+ "y": 256.0312566757202,
+ "z": "efb71132.eba6e",
+ "wires": [
+ [
+ "b4498aac.7cb2b8",
+ "ed77a730.056558"
+ ]
+ ]
+ },
+ {
+ "id": "b4498aac.7cb2b8",
+ "type": "outcome",
+ "name": "CreateSOTNAttachmentInstance",
+ "xml": "<outcome value='CreateSOTNAttachmentInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1088.864517211914,
+ "y": 208.03106307983398,
+ "z": "efb71132.eba6e",
+ "wires": [
+ [
+ "380d46d2.a08ada"
+ ]
+ ]
+ },
+ {
+ "id": "ed77a730.056558",
+ "type": "outcome",
+ "name": "other",
+ "xml": "<outcome value='other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1018.8646240234375,
+ "y": 299.69779205322266,
+ "z": "efb71132.eba6e",
+ "wires": [
+ [
+ "1b79383c.71b538"
+ ]
+ ]
+ },
+ {
+ "id": "1b79383c.71b538",
+ "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": 1184.5312881469727,
+ "y": 300.03125762939453,
+ "z": "efb71132.eba6e",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "b97ace55.086d3",
+ "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": 1546.5312957763672,
+ "y": 343.03125953674316,
+ "z": "efb71132.eba6e",
+ "wires": [
+ [
+
+ ]
+ ]
+ },
+ {
+ "id": "a6785aab.86f948",
+ "type": "outcome",
+ "name": "ActivateSOTNAttachmentInstance",
+ "xml": "<outcome value='ActivateSOTNAttachmentInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1096.278335571289,
+ "y": 345.4902935028076,
+ "z": "efb71132.eba6e",
+ "wires": [
+ [
+ "b97ace55.086d3"
+ ]
+ ]
+ },
+ {
+ "id": "d100865f.7e59f8",
+ "type": "outcome",
+ "name": "other",
+ "xml": "<outcome value='other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1026.2784423828125,
+ "y": 437.1570224761963,
+ "z": "efb71132.eba6e",
+ "wires": [
+ [
+ "19062ead.ade691"
+ ]
+ ]
+ },
+ {
+ "id": "bbd40a3d.52a218",
+ "type": "outcome",
+ "name": "DeactivateSOTNAttachmentInstance",
+ "xml": "<outcome value='DeactivateSOTNAttachmentInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1115.8645477294922,
+ "y": 484.0310802459717,
+ "z": "efb71132.eba6e",
+ "wires": [
+ [
+ "cdb50b2f.8ff328"
+ ]
+ ]
+ },
+ {
+ "id": "6647d681.d75a78",
+ "type": "outcome",
+ "name": "other",
+ "xml": "<outcome value='other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1030.8645706176758,
+ "y": 575.6977853775024,
+ "z": "efb71132.eba6e",
+ "wires": [
+ [
+ "dab4a1b3.5c9b3"
+ ]
+ ]
+ },
+ {
+ "id": "cdb50b2f.8ff328",
+ "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": 1574.5313720703125,
+ "y": 484.03126335144043,
+ "z": "efb71132.eba6e",
+ "wires": [
+ [
+
+ ]
+ ]
+ },
+ {
+ "id": "8c01d720.070a78",
+ "type": "outcome",
+ "name": "DeleteSOTNAttachmentInstance",
+ "xml": "<outcome value='DeleteSOTNAttachmentInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1104.8644638061523,
+ "y": 625.0310564041138,
+ "z": "efb71132.eba6e",
+ "wires": [
+ [
+ "58c79286.6e607c"
+ ]
+ ]
+ },
+ {
+ "id": "aa83e7c.d9f1218",
+ "type": "outcome",
+ "name": "other",
+ "xml": "<outcome value='other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1034.8645706176758,
+ "y": 716.6977853775024,
+ "z": "efb71132.eba6e",
+ "wires": [
+ [
+ "4e0c491c.1e9da8"
+ ]
+ ]
+ },
+ {
+ "id": "58c79286.6e607c",
+ "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": 1560.5313415527344,
+ "y": 626.0312671661377,
+ "z": "efb71132.eba6e",
+ "wires": [
+ [
+
+ ]
+ ]
+ },
+ {
+ "id": "c747bb59.396bf8",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$connection-attachment-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 831.0313110351562,
+ "y": 397.03126335144043,
+ "z": "efb71132.eba6e",
+ "wires": [
+ [
+ "a6785aab.86f948",
+ "d100865f.7e59f8"
+ ]
+ ]
+ },
+ {
+ "id": "347f7912.887506",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$connection-attachment-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 845.03125,
+ "y": 538.03125,
+ "z": "efb71132.eba6e",
+ "wires": [
+ [
+ "bbd40a3d.52a218",
+ "6647d681.d75a78"
+ ]
+ ]
+ },
+ {
+ "id": "5f2c7e54.e5319",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$connection-attachment-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 848.03125,
+ "y": 673.03125,
+ "z": "efb71132.eba6e",
+ "wires": [
+ [
+ "8c01d720.070a78",
+ "aa83e7c.d9f1218"
+ ]
+ ]
+ },
+ {
+ "id": "19062ead.ade691",
+ "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": 1190.03125,
+ "y": 437.03125,
+ "z": "efb71132.eba6e",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "dab4a1b3.5c9b3",
+ "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": 1198.03125,
+ "y": 577.03125,
+ "z": "efb71132.eba6e",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "4e0c491c.1e9da8",
+ "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": 1203.03125,
+ "y": 716.03125,
+ "z": "efb71132.eba6e",
+ "wires": [
+
+ ]
+ }
+] \ No newline at end of file