From cf4b15ab00249af6f4d05afd75d16bec689f3241 Mon Sep 17 00:00:00 2001 From: Skip Wonnell Date: Tue, 15 Aug 2017 21:18:04 -0500 Subject: Initial add of appc-directed-graph bundles Directed Graph library Additional JIRA Issues: APPC-66, APPC-71, APPC-74 Issue-ID: APPC-65 Change-Id: I1bd643f7675dec19e562e99db65bafa0dcda6ef4 Signed-off-by: Skip Wonnell --- .../Dispatcher-DG/APPC_2.0.0_VSRX_GetConfig.json | 818 +++++++++++++++++++++ 1 file changed, 818 insertions(+) create mode 100644 appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_2.0.0_VSRX_GetConfig.json (limited to 'appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_2.0.0_VSRX_GetConfig.json') diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_2.0.0_VSRX_GetConfig.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_2.0.0_VSRX_GetConfig.json new file mode 100644 index 000000000..6923f1ef2 --- /dev/null +++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_2.0.0_VSRX_GetConfig.json @@ -0,0 +1,818 @@ +/*- + * ============LICENSE_START======================================================= + * ONAP : APP-C + * ================================================================================ + * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + * ================================================================================ + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============LICENSE_END========================================================= + */ + +[ + { + "id": "f7fa8fff.f2db5", + "type": "method", + "name": "VSRX_GetConfig", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 106, + "y": 183, + "z": "39664169.9c031e", + "wires": [ + [ + "848e0abf.ad4068" + ] + ] + }, + { + "id": "a5b12ccd.9b5d2", + "type": "service-logic", + "name": "APPC 2.0.0", + "module": "APPC", + "version": "2.0.0", + "comments": "", + "xml": "", + "outputs": 1, + "x": 98.5, + "y": 106, + "z": "39664169.9c031e", + "wires": [ + [ + "f7fa8fff.f2db5" + ] + ] + }, + { + "id": "acf8d85c.a64e78", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 78.5, + "y": 23, + "z": "39664169.9c031e", + "wires": [ + [ + "a5b12ccd.9b5d2" + ] + ] + }, + { + "id": "d4b59933.d26998", + "type": "execute", + "name": "execute_getVNF_Hierarchy", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 362.5, + "y": 514, + "z": "39664169.9c031e", + "wires": [ + [ + "5c563fba.47402", + "8266b647.8b0a88" + ] + ] + }, + { + "id": "5c563fba.47402", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 368.5, + "y": 599, + "z": "39664169.9c031e", + "wires": [ + [ + "46cc0481.73e78c" + ] + ] + }, + { + "id": "2a0a328f.13910e", + "type": "block", + "name": "block : atomic", + "xml": "\n", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 543.5, + "y": 811, + "z": "39664169.9c031e", + "wires": [ + [ + "2daebecc.b36232" + ] + ] + }, + { + "id": "2daebecc.b36232", + "type": "for", + "name": "for_each_VMs", + "xml": "", + "comments": "", + "outputs": 1, + "x": 729.5, + "y": 812, + "z": "39664169.9c031e", + "wires": [ + [ + "c06a4341.ec82f" + ] + ] + }, + { + "id": "c06a4341.ec82f", + "type": "block", + "name": "block : atomic", + "xml": "\n", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 727.5, + "y": 903, + "z": "39664169.9c031e", + "wires": [ + [ + "2c2a06fe.98ddba" + ] + ] + }, + { + "id": "2c2a06fe.98ddba", + "type": "execute", + "name": "retrieveVMSSHConfiguration", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 738.5, + "y": 993, + "z": "39664169.9c031e", + "wires": [ + [ + "498ff39f.be3cfc", + "7c4f9f57.eb4e4" + ] + ] + }, + { + "id": "498ff39f.be3cfc", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 831.5, + "y": 1078, + "z": "39664169.9c031e", + "wires": [ + [ + "558c56db.194258" + ] + ] + }, + { + "id": "9d84d01f.ffef4", + "type": "returnSuccess", + "name": "return success", + "xml": "\n", + "comments": "", + "x": 103.5, + "y": 522, + "z": "39664169.9c031e", + "wires": [] + }, + { + "id": "8266b647.8b0a88", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1294.5, + "y": 524, + "z": "39664169.9c031e", + "wires": [ + [ + "8ba9ec90.9c794" + ] + ] + }, + { + "id": "d7069cc8.15349", + "type": "returnFailure", + "name": "return failure", + "xml": "\n", + "comments": "", + "x": 1853.5, + "y": 966, + "z": "39664169.9c031e", + "wires": [] + }, + { + "id": "7c4f9f57.eb4e4", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1298.5, + "y": 992, + "z": "39664169.9c031e", + "wires": [ + [ + "8ba9ec90.9c794" + ] + ] + }, + { + "id": "46cc0481.73e78c", + "type": "switchNode", + "name": "switch", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 386.5, + "y": 723, + "z": "39664169.9c031e", + "wires": [ + [ + "1e28c6f9.bbc059", + "18cc64bd.c146cb" + ] + ] + }, + { + "id": "1e28c6f9.bbc059", + "type": "other", + "name": "outcome_0", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1296.5, + "y": 782, + "z": "39664169.9c031e", + "wires": [ + [ + "8ba9ec90.9c794" + ] + ] + }, + { + "id": "18cc64bd.c146cb", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 377.5, + "y": 805, + "z": "39664169.9c031e", + "wires": [ + [ + "2a0a328f.13910e" + ] + ] + }, + { + "id": "8ba9ec90.9c794", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1668.5, + "y": 909, + "z": "39664169.9c031e", + "wires": [ + [ + "d7069cc8.15349", + "1342848b.10b68b" + ] + ] + }, + { + "id": "1342848b.10b68b", + "type": "execute", + "name": "execute_DCAEReporterPlugin", + "xml": "\n\n\n", + "comments": "", + "outputs": 1, + "x": 1843.5, + "y": 780, + "z": "39664169.9c031e", + "wires": [ + [ + "c7d75190.228fd" + ] + ] + }, + { + "id": "504bb6d6.3bc128", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2360.5, + "y": 776, + "z": "39664169.9c031e", + "wires": [ + [] + ] + }, + { + "id": "7b04e7f0.163648", + "type": "execute", + "name": "get_Configuration", + "xml": "\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 777.5, + "y": 1309, + "z": "39664169.9c031e", + "wires": [ + [ + "1d012da5.7898b2", + "e0e065cf.da6938" + ] + ] + }, + { + "id": "d3f8ad27.db631", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 970.5, + "y": 112, + "z": "39664169.9c031e", + "wires": [ + [ + "e21b57a4.5ea998" + ] + ] + }, + { + "id": "bfab5b6b.b57008", + "type": "outcome", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1292.5, + "y": 386, + "z": "39664169.9c031e", + "wires": [ + [ + "8ba9ec90.9c794" + ] + ] + }, + { + "id": "558c56db.194258", + "type": "switchNode", + "name": "switch", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 775.5, + "y": 1161, + "z": "39664169.9c031e", + "wires": [ + [ + "3416bac7.a684e6", + "8be5c519.3532f8" + ] + ] + }, + { + "id": "3416bac7.a684e6", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 775.5, + "y": 1250, + "z": "39664169.9c031e", + "wires": [ + [ + "7b04e7f0.163648" + ] + ] + }, + { + "id": "8be5c519.3532f8", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1288.5, + "y": 1096, + "z": "39664169.9c031e", + "wires": [ + [ + "8ba9ec90.9c794" + ] + ] + }, + { + "id": "e21b57a4.5ea998", + "type": "switchNode", + "name": "switch", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1124.5, + "y": 120, + "z": "39664169.9c031e", + "wires": [ + [ + "cce84fd0.a0f22", + "c2e06562.032b08" + ] + ] + }, + { + "id": "cce84fd0.a0f22", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1269.5, + "y": 61, + "z": "39664169.9c031e", + "wires": [ + [ + "c8e36592.453328" + ] + ] + }, + { + "id": "c2e06562.032b08", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1282.5, + "y": 202, + "z": "39664169.9c031e", + "wires": [ + [ + "8ba9ec90.9c794" + ] + ] + }, + { + "id": "82e0381.f53dac8", + "type": "execute", + "name": "registerPayload", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1599, + "y": 61, + "z": "39664169.9c031e", + "wires": [ + [ + "7e05eae7.3d7694" + ] + ] + }, + { + "id": "7e05eae7.3d7694", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1789, + "y": 132, + "z": "39664169.9c031e", + "wires": [ + [] + ] + }, + { + "id": "b81740d5.22bfe", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 118, + "y": 428, + "z": "39664169.9c031e", + "wires": [ + [ + "9d84d01f.ffef4" + ] + ] + }, + { + "id": "c8e36592.453328", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1442, + "y": 66, + "z": "39664169.9c031e", + "wires": [ + [ + "82e0381.f53dac8" + ] + ] + }, + { + "id": "72ff50ec.62143", + "type": "switchNode", + "name": "switch", + "xml": "", + "comments": "", + "outputs": 1, + "x": 323.5, + "y": 216, + "z": "39664169.9c031e", + "wires": [ + [ + "d42cb172.bd7b8", + "d8b98ebe.3e41" + ] + ] + }, + { + "id": "d42cb172.bd7b8", + "type": "outcome", + "name": "outcome_current", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 471.5, + "y": 366, + "z": "39664169.9c031e", + "wires": [ + [ + "d4b59933.d26998" + ] + ] + }, + { + "id": "d8b98ebe.3e41", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 481.5, + "y": 187, + "z": "39664169.9c031e", + "wires": [ + [ + "3b2964a3.c85eac" + ] + ] + }, + { + "id": "3b2964a3.c85eac", + "type": "execute", + "name": "getConfiguration", + "xml": "\n\n\n", + "comments": "", + "outputs": 1, + "x": 696.5, + "y": 189, + "z": "39664169.9c031e", + "wires": [ + [ + "bfab5b6b.b57008", + "d3f8ad27.db631" + ] + ] + }, + { + "id": "848e0abf.ad4068", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 110, + "y": 270, + "z": "39664169.9c031e", + "wires": [ + [ + "72ff50ec.62143", + "f10ec3da.6e759" + ] + ] + }, + { + "id": "f10ec3da.6e759", + "type": "execute", + "name": "ctxCleanup", + "xml": "\n\n\n", + "comments": "", + "outputs": 1, + "x": 143, + "y": 365, + "z": "39664169.9c031e", + "wires": [ + [ + "b81740d5.22bfe" + ] + ] + }, + { + "id": "50e44062.8a63f", + "type": "comment", + "name": "Fetch all VMs and VNFCs from AA&I for given VNF_ID", + "info": "", + "comments": "", + "x": 587.5, + "y": 480, + "z": "39664169.9c031e", + "wires": [] + }, + { + "id": "1d012da5.7898b2", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1036.5, + "y": 1364, + "z": "39664169.9c031e", + "wires": [ + [ + "bde7e151.2a23e" + ] + ] + }, + { + "id": "bde7e151.2a23e", + "type": "switchNode", + "name": "switch", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1268.5, + "y": 1446, + "z": "39664169.9c031e", + "wires": [ + [ + "735df4fd.90402c", + "f02c82b2.f3509" + ] + ] + }, + { + "id": "735df4fd.90402c", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1424.5, + "y": 1487, + "z": "39664169.9c031e", + "wires": [ + [ + "a55afee1.a9ca1" + ] + ] + }, + { + "id": "f02c82b2.f3509", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1397.5, + "y": 1390, + "z": "39664169.9c031e", + "wires": [ + [ + "8ba9ec90.9c794" + ] + ] + }, + { + "id": "fcbe0c1c.11c7d", + "type": "execute", + "name": "registerPayload", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1855, + "y": 1448, + "z": "39664169.9c031e", + "wires": [ + [ + "b0e981e3.4f6fb" + ] + ] + }, + { + "id": "b0e981e3.4f6fb", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2018, + "y": 1446, + "z": "39664169.9c031e", + "wires": [ + [] + ] + }, + { + "id": "a55afee1.a9ca1", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1680, + "y": 1445, + "z": "39664169.9c031e", + "wires": [ + [ + "fcbe0c1c.11c7d" + ] + ] + }, + { + "id": "e0e065cf.da6938", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1302.5, + "y": 1221, + "z": "39664169.9c031e", + "wires": [ + [ + "8ba9ec90.9c794" + ] + ] + }, + { + "id": "c7d75190.228fd", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2049.5, + "y": 779, + "z": "39664169.9c031e", + "wires": [ + [ + "f0554fe0.4816e" + ] + ] + }, + { + "id": "f0554fe0.4816e", + "type": "execute", + "name": "ctxCleanup", + "xml": "\n\n\n", + "comments": "", + "outputs": 1, + "x": 2199.5, + "y": 778, + "z": "39664169.9c031e", + "wires": [ + [ + "504bb6d6.3bc128" + ] + ] + } +] -- cgit 1.2.3-korg