From bb17c401f713e29f652ac49ff8633b829604c40b Mon Sep 17 00:00:00 2001 From: gaurav Date: Wed, 25 Jul 2018 16:14:34 +0530 Subject: Adding site Resource DG Initial implementation of site resource DG. Change-Id: I65b6a7e335b4053f3133b731849badec7240ec1b Issue-ID: SDNC-356 Signed-off-by: Gaurav Agrawal Former-commit-id: f1ad68601c2616b39756cb6f516d6dad5237f0c0 --- ...ENERIC-RESOURCE-API_vnf-topology-operation.json | 946 +++++++++++++++------ 1 file changed, 677 insertions(+), 269 deletions(-) (limited to 'platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vnf-topology-operation.json') diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vnf-topology-operation.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vnf-topology-operation.json index bfb38e5c..dcdfbec8 100644 --- a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vnf-topology-operation.json +++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vnf-topology-operation.json @@ -1,271 +1,679 @@ [ - { - "id": "7fb1a187.9549f", - "type": "dgstart", - "name": "DGSTART", - "outputs": 1, - "x": 96.66666412353516, - "y": 86.66666412353516, - "z": "dcb795e3.12ddb8", - "wires": [ - [ - "c2b8a7b8.a5e428" - ] - ] - }, - { - "id": "c2b8a7b8.a5e428", - "type": "service-logic", - "name": "GENERIC-RESOURCE-API ${project.version}", - "module": "GENERIC-RESOURCE-API", - "version": "${project.version}", - "comments": "", - "xml": "", - "outputs": 1, - "x": 171.9523696899414, - "y": 126.90477561950684, - "z": "dcb795e3.12ddb8", - "wires": [ - [ - "89a5ce6c.8a947" - ] - ] - }, - { - "id": "89a5ce6c.8a947", - "type": "method", - "name": "method vnf-topology-operation", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 165.0952911376953, - "y": 166.66665840148926, - "z": "dcb795e3.12ddb8", - "wires": [ - [ - "baea3ff6.bd225" - ] - ] - }, - { - "id": "435f3efd.64ab3", - "type": "comment", - "name": "vnf-topology-operation", - "info": "", - "comments": "", - "x": 491.0115203857422, - "y": 34.253007888793945, - "z": "dcb795e3.12ddb8", - "wires": [] - }, - { - "id": "baea3ff6.bd225", - "type": "block", - "name": "block : atomic", - "xml": "", - "atomic": "true", - "outputs": 1, - "x": 177.8333740234375, - "y": 334.36017417907715, - "z": "dcb795e3.12ddb8", - "wires": [ - [ - "f2687cfc.01d4c", - "b4265d07.b24f2", - "b14b13c7.baa14" - ] - ] - }, - { - "id": "f2687cfc.01d4c", - "type": "returnSuccess", - "name": "return success", - "xml": "\n\n\n\n", - "comments": "", - "x": 470.3333282470703, - "y": 484.52420711517334, - "z": "dcb795e3.12ddb8", - "wires": [] - }, - { - "id": "b4265d07.b24f2", - "type": "switchNode", - "name": "switch svc-action", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 473.23804473876953, - "y": 332.5714178085327, - "z": "dcb795e3.12ddb8", - "wires": [ - [ - "76164f7d.903b1", - "117347a9.8b7218", - "e07500fb.cff53", - "9b91fc07.60be4", - "bc77aaba.4aabe8" - ] - ] - }, - { - "id": "76164f7d.903b1", - "type": "outcome", - "name": "assign", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 672.0475540161133, - "y": 265.1905632019043, - "z": "dcb795e3.12ddb8", - "wires": [ - [ - "5ec13553.7c0efc" - ] - ] - }, - { - "id": "117347a9.8b7218", - "type": "outcome", - "name": "unassign", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 676.0951766967773, - "y": 395.38128662109375, - "z": "dcb795e3.12ddb8", - "wires": [ - [ - "9d96816e.64ca5" - ] - ] - }, - { - "id": "9b91fc07.60be4", - "type": "other", - "name": "other", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 670.8094024658203, - "y": 439.57136249542236, - "z": "dcb795e3.12ddb8", - "wires": [ - [ - "2717cc4c.7bccc4" - ] - ] - }, - { - "id": "2717cc4c.7bccc4", - "type": "returnFailure", - "name": "return failure", - "xml": "\n\t\n\t\n \n", - "comments": "", - "x": 856.9998474121094, - "y": 439.5714273452759, - "z": "dcb795e3.12ddb8", - "wires": [] - }, - { - "id": "b14b13c7.baa14", - "type": "call", - "name": "call GENERIC-RESOURCE-API:validate-vnf-input", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 579.0832977294922, - "y": 224.04770278930664, - "z": "dcb795e3.12ddb8", - "wires": [ - [] - ] - }, - { - "id": "5ec13553.7c0efc", - "type": "call", - "name": "call GENERIC-RESOURCE-API:vnf-topology-operation-assign", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 1014.1904067993164, - "y": 264.76202392578125, - "z": "dcb795e3.12ddb8", - "wires": [ - [] - ] - }, - { - "id": "3e660d10.204032", - "type": "call", - "name": "call GENERIC-RESOURCE-API:vnf-topology-operation-deactivate", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 1025.5236740112305, - "y": 349.0953722000122, - "z": "dcb795e3.12ddb8", - "wires": [ - [] - ] - }, - { - "id": "9d96816e.64ca5", - "type": "call", - "name": "call GENERIC-RESOURCE-API:vnf-topology-operation-unassign", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 1021.1902732849121, - "y": 395.0954179763794, - "z": "dcb795e3.12ddb8", - "wires": [ - [] - ] - }, - { - "id": "e07500fb.cff53", - "type": "outcome", - "name": "deactivate", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 681.190315246582, - "y": 349.76204776763916, - "z": "dcb795e3.12ddb8", - "wires": [ - [ - "3e660d10.204032" - ] - ] - }, - { - "id": "1d805763.8f6c79", - "type": "call", - "name": "call GENERIC-RESOURCE-API:vnf-topology-operation-activate", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 1018.333251953125, - "y": 306.6666555404663, - "z": "dcb795e3.12ddb8", - "wires": [ - [] - ] - }, - { - "id": "bc77aaba.4aabe8", - "type": "outcome", - "name": "activate", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 674.9998931884766, - "y": 307.33333110809326, - "z": "dcb795e3.12ddb8", - "wires": [ - [ - "1d805763.8f6c79" - ] - ] - } + { + "id": "1b5f4355.88b3ed", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 136, + "y": 81.41365623474121, + "z": "c9c2af7b.65cd3", + "wires": [ + [ + "92410749.e30c28" + ] + ] + }, + { + "id": "92410749.e30c28", + "type": "service-logic", + "name": "GENERIC-RESOURCE-API ${project.version}", + "module": "GENERIC-RESOURCE-API", + "version": "${project.version}", + "comments": "", + "xml": "", + "outputs": 1, + "x": 211.28570556640625, + "y": 121.65176773071289, + "z": "c9c2af7b.65cd3", + "wires": [ + [ + "de7a7cf0.2991d" + ] + ] + }, + { + "id": "de7a7cf0.2991d", + "type": "method", + "name": "method vnf-topology-operation", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 204.42862701416016, + "y": 161.4136505126953, + "z": "c9c2af7b.65cd3", + "wires": [ + [ + "867be286.94ccc" + ] + ] + }, + { + "id": "281a9dd6.337dd2", + "type": "comment", + "name": "vnf-topology-operation", + "info": "", + "comments": "", + "x": 530.344856262207, + "y": 29, + "z": "c9c2af7b.65cd3", + "wires": [ + + ] + }, + { + "id": "867be286.94ccc", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 220.16676330566406, + "y": 348.10718727111816, + "z": "c9c2af7b.65cd3", + "wires": [ + [ + "fe43f540.d09078", + "15193abc.c22c05", + "fc3ae627.2d5b18" + ] + ] + }, + { + "id": "fe43f540.d09078", + "type": "returnSuccess", + "name": "return success", + "xml": "\n\n\n\n", + "comments": "", + "x": 512.6667175292969, + "y": 498.27122020721436, + "z": "c9c2af7b.65cd3", + "wires": [ + + ] + }, + { + "id": "15193abc.c22c05", + "type": "switchNode", + "name": "switch svc-action", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 515.5714340209961, + "y": 346.31843090057373, + "z": "c9c2af7b.65cd3", + "wires": [ + [ + "a43184a6.086e28", + "7b06cbd3.e89e84", + "dae5d288.e7a92", + "7acf72d2.60660c", + "2e7ef9bc.356346", + "d945d7c6.11f878", + "bd3763ee.b90e6" + ] + ] + }, + { + "id": "a43184a6.086e28", + "type": "outcome", + "name": "assign", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 927.3809661865234, + "y": 56.937567710876465, + "z": "c9c2af7b.65cd3", + "wires": [ + [ + "19bbb0d.1420e4f" + ] + ] + }, + { + "id": "7b06cbd3.e89e84", + "type": "outcome", + "name": "unassign", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 943.4286308288574, + "y": 487.12828254699707, + "z": "c9c2af7b.65cd3", + "wires": [ + [ + "c0267b56.9f8598" + ] + ] + }, + { + "id": "7acf72d2.60660c", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 932.1428680419922, + "y": 867.3183660507202, + "z": "c9c2af7b.65cd3", + "wires": [ + [ + "7fb1d50a.a61dfc" + ] + ] + }, + { + "id": "7fb1d50a.a61dfc", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1165.3332977294922, + "y": 867.3184270858765, + "z": "c9c2af7b.65cd3", + "wires": [ + + ] + }, + { + "id": "fc3ae627.2d5b18", + "type": "call", + "name": "call GENERIC-RESOURCE-API:validate-vnf-input", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 621.4166870117188, + "y": 237.79471588134766, + "z": "c9c2af7b.65cd3", + "wires": [ + [ + + ] + ] + }, + { + "id": "19bbb0d.1420e4f", + "type": "call", + "name": "call GENERIC-RESOURCE-API:vnf-topology-operation-assign", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1269.5238189697266, + "y": 56.50902843475342, + "z": "c9c2af7b.65cd3", + "wires": [ + [ + + ] + ] + }, + { + "id": "989adce1.617b6", + "type": "call", + "name": "call GENERIC-RESOURCE-API:vnf-topology-operation-deactivate", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1750.8571319580078, + "y": 399.84235858917236, + "z": "c9c2af7b.65cd3", + "wires": [ + [ + + ] + ] + }, + { + "id": "c0267b56.9f8598", + "type": "call", + "name": "call GENERIC-RESOURCE-API:vnf-topology-operation-unassign", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1288.5237274169922, + "y": 486.8424139022827, + "z": "c9c2af7b.65cd3", + "wires": [ + [ + + ] + ] + }, + { + "id": "dae5d288.e7a92", + "type": "outcome", + "name": "deactivate", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 950.5237579345703, + "y": 342.5090456008911, + "z": "c9c2af7b.65cd3", + "wires": [ + [ + "d35c6654.dff7f8" + ] + ] + }, + { + "id": "b233aed1.7cc8b", + "type": "call", + "name": "call GENERIC-RESOURCE-API:vnf-topology-operation-activate", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1692.6665802001953, + "y": 221.41364765167236, + "z": "c9c2af7b.65cd3", + "wires": [ + [ + + ] + ] + }, + { + "id": "2e7ef9bc.356346", + "type": "outcome", + "name": "activate", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 930.3333053588867, + "y": 148.08033561706543, + "z": "c9c2af7b.65cd3", + "wires": [ + [ + "b8b2367a.dc9308" + ] + ] + }, + { + "id": "d945d7c6.11f878", + "type": "outcome", + "name": "create", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 945.0001182556152, + "y": 587.5000038146973, + "z": "c9c2af7b.65cd3", + "wires": [ + [ + "11cfb10a.0c9b2f" + ] + ] + }, + { + "id": "bd3763ee.b90e6", + "type": "outcome", + "name": "delete", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 943.0001068115234, + "y": 730.5000066757202, + "z": "c9c2af7b.65cd3", + "wires": [ + [ + "b6227308.758fb" + ] + ] + }, + { + "id": "3b079f6f.6575e", + "type": "switchNode", + "name": "switch request-action", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1172.0000762939453, + "y": 198.5000123977661, + "z": "c9c2af7b.65cd3", + "wires": [ + [ + "91e1f35b.e83e1", + "9ab20bbe.72bfe8" + ] + ] + }, + { + "id": "9ab20bbe.72bfe8", + "type": "outcome", + "name": "ActivateSiteInstance", + "xml": "", + "comments": "", + "outputs": 1, + "x": 1385.4762725830078, + "y": 129.979229927063, + "z": "c9c2af7b.65cd3", + "wires": [ + [ + "cc08e8cd.1386a8" + ] + ] + }, + { + "id": "91e1f35b.e83e1", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1354.381004333496, + "y": 221.3572244644165, + "z": "c9c2af7b.65cd3", + "wires": [ + [ + "b233aed1.7cc8b" + ] + ] + }, + { + "id": "b8b2367a.dc9308", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 1111.0000762939453, + "y": 143.5000123977661, + "z": "c9c2af7b.65cd3", + "wires": [ + [ + "3b079f6f.6575e" + ] + ] + }, + { + "id": "cc08e8cd.1386a8", + "type": "call", + "name": "call GENERIC-RESOURCE-API:sotn-vnf-topology-operation-activate", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1759.0000762939453, + "y": 128.5000123977661, + "z": "c9c2af7b.65cd3", + "wires": [ + [ + + ] + ] + }, + { + "id": "c5b71763.802b68", + "type": "switchNode", + "name": "switch request-action", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1213.0000762939453, + "y": 375.5000123977661, + "z": "c9c2af7b.65cd3", + "wires": [ + [ + "68410e70.ad006", + "bb394983.2aedd8" + ] + ] + }, + { + "id": "bb394983.2aedd8", + "type": "outcome", + "name": "DeActivateSiteInstance", + "xml": "", + "comments": "", + "outputs": 1, + "x": 1426.4762725830078, + "y": 306.979229927063, + "z": "c9c2af7b.65cd3", + "wires": [ + [ + "91176b7.7e10a98" + ] + ] + }, + { + "id": "68410e70.ad006", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1395.381004333496, + "y": 398.3572244644165, + "z": "c9c2af7b.65cd3", + "wires": [ + [ + "989adce1.617b6" + ] + ] + }, + { + "id": "d35c6654.dff7f8", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 1152.0000762939453, + "y": 320.5000123977661, + "z": "c9c2af7b.65cd3", + "wires": [ + [ + "c5b71763.802b68" + ] + ] + }, + { + "id": "91176b7.7e10a98", + "type": "call", + "name": "call GENERIC-RESOURCE-API:sotn-vnf-topology-operation-deactivate", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1796.0000762939453, + "y": 304.5000123977661, + "z": "c9c2af7b.65cd3", + "wires": [ + [ + + ] + ] + }, + { + "id": "2493a0e1.8557e", + "type": "switchNode", + "name": "switch request-action", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1188.3336029052734, + "y": 640.086371421814, + "z": "c9c2af7b.65cd3", + "wires": [ + [ + "83563263.c6fd7", + "db1508ed.23aba8" + ] + ] + }, + { + "id": "db1508ed.23aba8", + "type": "outcome", + "name": "CreateSiteInstance", + "xml": "", + "comments": "", + "outputs": 1, + "x": 1401.809799194336, + "y": 571.5655889511108, + "z": "c9c2af7b.65cd3", + "wires": [ + [ + "614f2a06.d13b14" + ] + ] + }, + { + "id": "83563263.c6fd7", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1370.7145309448242, + "y": 662.9435834884644, + "z": "c9c2af7b.65cd3", + "wires": [ + [ + "b50447b1.828c48" + ] + ] + }, + { + "id": "11cfb10a.0c9b2f", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 1127.3336029052734, + "y": 585.086371421814, + "z": "c9c2af7b.65cd3", + "wires": [ + [ + "2493a0e1.8557e" + ] + ] + }, + { + "id": "614f2a06.d13b14", + "type": "call", + "name": "call GENERIC-RESOURCE-API:sotn-vnf-topology-operation-create", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1775.3336029052734, + "y": 570.086371421814, + "z": "c9c2af7b.65cd3", + "wires": [ + [ + + ] + ] + }, + { + "id": "b50447b1.828c48", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1511.0001068115234, + "y": 664.0000066757202, + "z": "c9c2af7b.65cd3", + "wires": [ + [ + + ] + ] + }, + { + "id": "ae568733.43d4f8", + "type": "switchNode", + "name": "switch request-action", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1189.0001068115234, + "y": 783.0000066757202, + "z": "c9c2af7b.65cd3", + "wires": [ + [ + "7dcf461f.f62e18", + "3e92266c.ac902a" + ] + ] + }, + { + "id": "3e92266c.ac902a", + "type": "outcome", + "name": "DeleteSiteInstance", + "xml": "", + "comments": "", + "outputs": 1, + "x": 1402.476303100586, + "y": 714.4792242050171, + "z": "c9c2af7b.65cd3", + "wires": [ + [ + "bb58fef3.31757" + ] + ] + }, + { + "id": "7dcf461f.f62e18", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1371.3810348510742, + "y": 805.8572187423706, + "z": "c9c2af7b.65cd3", + "wires": [ + [ + "efc8c613.2b0088" + ] + ] + }, + { + "id": "b6227308.758fb", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 1128.0001068115234, + "y": 728.0000066757202, + "z": "c9c2af7b.65cd3", + "wires": [ + [ + "ae568733.43d4f8" + ] + ] + }, + { + "id": "bb58fef3.31757", + "type": "call", + "name": "call GENERIC-RESOURCE-API:sotn-vnf-topology-operation-delete", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1776.0001068115234, + "y": 713.0000066757202, + "z": "c9c2af7b.65cd3", + "wires": [ + [ + + ] + ] + }, + { + "id": "efc8c613.2b0088", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1511.6666107177734, + "y": 806.9136419296265, + "z": "c9c2af7b.65cd3", + "wires": [ + [ + + ] + ] + } ] -- cgit 1.2.3-korg