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 --- .../json/Dispatcher-DG/APPC_Stop_VM_2.0.0.json | 647 +++++++++++++++++++++ 1 file changed, 647 insertions(+) create mode 100644 appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_Stop_VM_2.0.0.json (limited to 'appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_Stop_VM_2.0.0.json') diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_Stop_VM_2.0.0.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_Stop_VM_2.0.0.json new file mode 100644 index 000000000..4985c1327 --- /dev/null +++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_Stop_VM_2.0.0.json @@ -0,0 +1,647 @@ +/*- + * ============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": "4a37fdf2.6a2504", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 114, + "y": 144, + "z": "bff4e0f.991972", + "wires": [ + [ + "24ca19d3.fe69f6" + ] + ] + }, + { + "id": "24ca19d3.fe69f6", + "type": "service-logic", + "name": "APPC 2.0.0", + "module": "APPC", + "version": "2.0.0", + "comments": "", + "xml": "", + "outputs": 1, + "x": 261, + "y": 144, + "z": "bff4e0f.991972", + "wires": [ + [ + "68e5e092.be1d4" + ] + ] + }, + { + "id": "68e5e092.be1d4", + "type": "method", + "name": "Stop_VM", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 413.5, + "y": 144, + "z": "bff4e0f.991972", + "wires": [ + [ + "79ce376b.14ba38" + ] + ] + }, + { + "id": "546085a8.48136c", + "type": "execute", + "name": "Resolve Stop Application DG", + "xml": "\n\n \n\n\n", + "comments": "", + "outputs": 1, + "x": 315.5, + "y": 364, + "z": "bff4e0f.991972", + "wires": [ + [ + "af254db7.09d53", + "27344cac.0eda34" + ] + ] + }, + { + "id": "af254db7.09d53", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 546, + "y": 444, + "z": "bff4e0f.991972", + "wires": [ + [ + "b3421a0a.ab34d8" + ] + ] + }, + { + "id": "4a4711ec.83e88", + "type": "call", + "name": "Call Stop Application DG", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 742, + "y": 364, + "z": "bff4e0f.991972", + "wires": [ + [ + "5b84fc8a.59ac94", + "c108322b.df0e7", + "3efda8ab.632bf8" + ] + ] + }, + { + "id": "5b84fc8a.59ac94", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 990, + "y": 364, + "z": "bff4e0f.991972", + "wires": [ + [ + "3c46d78d.4277c8" + ] + ] + }, + { + "id": "7892211.d99b2e", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1146, + "y": 244, + "z": "bff4e0f.991972", + "wires": [ + [ + "b3421a0a.ab34d8", + "2013c4a3.b2f33c", + "f600a7ce.f7f418" + ] + ] + }, + { + "id": "b3421a0a.ab34d8", + "type": "call", + "name": "Call StopVM_VM", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1398, + "y": 444, + "z": "bff4e0f.991972", + "wires": [ + [ + "823575c7.9529b8", + "403b9a.8f504468", + "ff7db04.0cfe85" + ] + ] + }, + { + "id": "823575c7.9529b8", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1646, + "y": 304, + "z": "bff4e0f.991972", + "wires": [ + [ + "f628fc33.96856" + ] + ] + }, + { + "id": "403b9a.8f504468", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1650, + "y": 444, + "z": "bff4e0f.991972", + "wires": [ + [ + "ea7f288e.c58648" + ] + ] + }, + { + "id": "27344cac.0eda34", + "type": "other", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 546, + "y": 364, + "z": "bff4e0f.991972", + "wires": [ + [ + "4a4711ec.83e88" + ] + ] + }, + { + "id": "c108322b.df0e7", + "type": "other", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 986, + "y": 244, + "z": "bff4e0f.991972", + "wires": [ + [ + "7892211.d99b2e" + ] + ] + }, + { + "id": "3efda8ab.632bf8", + "type": "not-found", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 995, + "y": 144, + "z": "bff4e0f.991972", + "wires": [ + [ + "191e02b6.f79f4d" + ] + ] + }, + { + "id": "191e02b6.f79f4d", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1806, + "y": 144, + "z": "bff4e0f.991972", + "wires": [ + [ + "8812042b.ba9358", + "f628fc33.96856" + ] + ] + }, + { + "id": "8812042b.ba9358", + "type": "set", + "name": "Set event message", + "xml": "\n\n\n\n", + "comments": "", + "x": 2085.5, + "y": 144, + "z": "bff4e0f.991972", + "wires": [] + }, + { + "id": "59b9a03e.8323b", + "type": "set", + "name": "init", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 246, + "y": 244, + "z": "bff4e0f.991972", + "wires": [ + [] + ] + }, + { + "id": "79ce376b.14ba38", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 106, + "y": 244, + "z": "bff4e0f.991972", + "wires": [ + [ + "59b9a03e.8323b", + "546085a8.48136c" + ] + ] + }, + { + "id": "ea7f288e.c58648", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1806, + "y": 444, + "z": "bff4e0f.991972", + "wires": [ + [ + "d59b6aa1.c91618", + "b8335fae.52296" + ] + ] + }, + { + "id": "3c46d78d.4277c8", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1146, + "y": 364, + "z": "bff4e0f.991972", + "wires": [ + [ + "b3421a0a.ab34d8", + "b8335fae.52296" + ] + ] + }, + { + "id": "2013c4a3.b2f33c", + "type": "set", + "name": "Set Stop Application Failed", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 1429.5, + "y": 204, + "z": "bff4e0f.991972", + "wires": [ + [] + ] + }, + { + "id": "d59b6aa1.c91618", + "type": "switchNode", + "name": "Switch Stop Application Failed", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2035.5, + "y": 471, + "z": "bff4e0f.991972", + "wires": [ + [ + "b987da03.0dc0f8", + "8fa7fbb8.8355c8" + ] + ] + }, + { + "id": "b987da03.0dc0f8", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2266, + "y": 444, + "z": "bff4e0f.991972", + "wires": [ + [ + "98412d6e.2237" + ] + ] + }, + { + "id": "98412d6e.2237", + "type": "returnFailure", + "name": "return failure", + "xml": "\n", + "comments": "", + "x": 2465, + "y": 444, + "z": "bff4e0f.991972", + "wires": [] + }, + { + "id": "fffd4e3c.8b204", + "type": "returnSuccess", + "name": "return success", + "xml": "\n", + "comments": "", + "x": 2471, + "y": 504, + "z": "bff4e0f.991972", + "wires": [] + }, + { + "id": "8fa7fbb8.8355c8", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2266, + "y": 504, + "z": "bff4e0f.991972", + "wires": [ + [ + "fffd4e3c.8b204" + ] + ] + }, + { + "id": "ff7db04.0cfe85", + "type": "not-found", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1655, + "y": 204, + "z": "bff4e0f.991972", + "wires": [ + [ + "c640b015.2be11" + ] + ] + }, + { + "id": "1dffaf3f.e12151", + "type": "execute", + "name": "OutputMessageBuilder", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 2509, + "y": 122, + "z": "bff4e0f.991972", + "wires": [ + [] + ] + }, + { + "id": "f628fc33.96856", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 2046, + "y": 304, + "z": "bff4e0f.991972", + "wires": [ + [ + "f600a7ce.f7f418", + "cf5c9d26.942c4" + ] + ] + }, + { + "id": "c41ea253.33c72", + "type": "set", + "name": "Set event message", + "xml": "\n\n\n\n", + "comments": "", + "x": 2085.5, + "y": 204, + "z": "bff4e0f.991972", + "wires": [] + }, + { + "id": "2186d059.4b82f", + "type": "record", + "name": "Log error", + "xml": "\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 2465, + "y": 71, + "z": "bff4e0f.991972", + "wires": [ + [] + ] + }, + { + "id": "cf5c9d26.942c4", + "type": "returnFailure", + "name": "return failure", + "xml": "\n", + "comments": "", + "x": 2465, + "y": 304, + "z": "bff4e0f.991972", + "wires": [] + }, + { + "id": "c640b015.2be11", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1806, + "y": 204, + "z": "bff4e0f.991972", + "wires": [ + [ + "c41ea253.33c72", + "f628fc33.96856" + ] + ] + }, + { + "id": "5fb32110.cadf8", + "type": "execute", + "name": "Report Error", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2478, + "y": 176, + "z": "bff4e0f.991972", + "wires": [ + [] + ] + }, + { + "id": "f600a7ce.f7f418", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 2266, + "y": 244, + "z": "bff4e0f.991972", + "wires": [ + [ + "2186d059.4b82f", + "1dffaf3f.e12151", + "5fb32110.cadf8", + "a2ebc53c.230e08" + ] + ] + }, + { + "id": "b8335fae.52296", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 2446, + "y": 364, + "z": "bff4e0f.991972", + "wires": [ + [ + "72a691f7.431cd", + "2b14f2c8.13f01e", + "292317f2.1be5c8" + ] + ] + }, + { + "id": "2b14f2c8.13f01e", + "type": "execute", + "name": "Report Success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2684.5, + "y": 358, + "z": "bff4e0f.991972", + "wires": [ + [] + ] + }, + { + "id": "72a691f7.431cd", + "type": "record", + "name": "Log success", + "xml": "\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 2674, + "y": 300, + "z": "bff4e0f.991972", + "wires": [ + [] + ] + }, + { + "id": "a2ebc53c.230e08", + "type": "set", + "name": "Set failure code and message", + "xml": "\n\n\n", + "comments": "", + "outputs": 1, + "x": 2531, + "y": 229, + "z": "bff4e0f.991972", + "wires": [ + [] + ] + }, + { + "id": "292317f2.1be5c8", + "type": "set", + "name": "Set success code and message", + "xml": "\n\n\n", + "comments": "", + "outputs": 1, + "x": 2737, + "y": 412, + "z": "bff4e0f.991972", + "wires": [ + [] + ] + } +] -- cgit 1.2.3-korg