diff options
author | Skip Wonnell <kw5258@att.com> | 2017-08-15 21:18:04 -0500 |
---|---|---|
committer | Patrick Brady <pb071s@att.com> | 2017-08-18 05:46:40 +0000 |
commit | cf4b15ab00249af6f4d05afd75d16bec689f3241 (patch) | |
tree | 14468fef53aecf04700eab421acca88fc8e853d4 /appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/Appc-API_2.0.0.0_method_VSCP_HealthCheck.json | |
parent | ab6c2c0cd441cf40723016e9a82aeeeb933fec7e (diff) |
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 <kw5258@att.com>
Diffstat (limited to 'appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/Appc-API_2.0.0.0_method_VSCP_HealthCheck.json')
-rw-r--r-- | appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/Appc-API_2.0.0.0_method_VSCP_HealthCheck.json | 325 |
1 files changed, 325 insertions, 0 deletions
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/Appc-API_2.0.0.0_method_VSCP_HealthCheck.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/Appc-API_2.0.0.0_method_VSCP_HealthCheck.json new file mode 100644 index 000000000..d232fbbb0 --- /dev/null +++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/Appc-API_2.0.0.0_method_VSCP_HealthCheck.json @@ -0,0 +1,325 @@ +/*- + * ============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": "9fdda929.817f18", + "type": "execute", + "name": "execute: flatAndAddToContext", + "xml": "<execute plugin='org.openecomp.appc.dg.common.JsonDgUtil' method='flatAndAddToContext' >\n<parameter name=\"payload\" value=\"`$input.payload`\" />", + "comments": "", + "outputs": 1, + "x": 335.75, + "y": 198, + "z": "d59c8e6f.e6d1", + "wires": [["d2011202.234fc", + "f4646626.6d10f8"]] +}, + { + "id": "4b5f0d0b.654314", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 93.75, + "y": 49, + "z": "d59c8e6f.e6d1", + "wires": [["e8f79554.affab8"]] + }, + { + "id": "e8f79554.affab8", + "type": "service-logic", + "name": "Appc-API 2.0.0.0", + "module": "Appc-API", + "version": "2.0.0.0", + "comments": "", + "xml": "<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='Appc-API' version='2.0.0.0'>", + "outputs": 1, + "x": 192.75, + "y": 98, + "z": "d59c8e6f.e6d1", + "wires": [["32140628.22792a"]] + }, + { + "id": "32140628.22792a", + "type": "method", + "name": "VSCP_HealthCheck", + "xml": "<method rpc='VSCP_HealthCheck' mode='sync'>\n", + "comments": "", + "outputs": 1, + "x": 269.75, + "y": 146, + "z": "d59c8e6f.e6d1", + "wires": [["9fdda929.817f18"]] + }, + { + "id": "581fe014.8acd7", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='`$error-message`' />\n<parameter name='output.status.code' value='401'/>\n", + "comments": "", + "x": 1841.5189590454102, + "y": 328.46160793304443, + "z": "d59c8e6f.e6d1", + "wires": [] + }, + { + "id": "af383d0c.3970d", + "type": "returnSuccess", + "name": "return success", + "xml": "<return status='success'>\n<parameter name='error-code' value='400' />\n", + "comments": "", + "x": 1262.7498168945312, + "y": 586.0000305175781, + "z": "d59c8e6f.e6d1", + "wires": [] + }, + { + "id": "3ccf5e6c.e15652", + "type": "execute", + "name": "execute: handleErrorToDCAE", + "xml": "<execute plugin='org.openecomp.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"org.openecomp.appc.dg.error\" value=\"`$org.openecomp.appc.dg.error`\" />\n<parameter name='output.status.message' value=\"`$error-message`\"/>\n", + "comments": "", + "outputs": 1, + "x": 1499.2882461547852, + "y": 327.61541652679443, + "z": "d59c8e6f.e6d1", + "wires": [["de153cb7.0f1db"]] + }, + { + "id": "fb5b14.140314f", + "type": "execute", + "name": "execute: retrieveConnectionDetails", + "xml": "<execute plugin='org.openecomp.appc.dg.ssh.SshDBPlugin' method='retrieveConnectionDetails' >\n<parameter name=\"vnf-host-ip-address\" value=\"`$vnf-host-ip-address`\" />\n<parameter name='vnf-type' value=\"`$aai.input.data.vnf-type`\" />\n", + "comments": "", + "outputs": 1, + "x": 857.7498779296875, + "y": 427.0000305175781, + "z": "d59c8e6f.e6d1", + "wires": [["94a1a9e3.305a48", + "cb8b27ea.275788"]] + }, + { + "id": "cb8b27ea.275788", + "type": "other", + "name": "other", + "xml": "<outcome value='Other'>\n", + "comments": "", + "outputs": 1, + "x": 1097.7498474121094, + "y": 427.0000305175781, + "z": "d59c8e6f.e6d1", + "wires": [["f82f2d66.fbc2d"]] + }, + { + "id": "725be398.327c2c", + "type": "set", + "name": "set", + "xml": "<set>\n<parameter name='error-message' value='Failed to retrieve SSH credentials' />\n", + "comments": "", + "x": 1427.7497940063477, + "y": 242.00006008148193, + "z": "d59c8e6f.e6d1", + "wires": [] + }, + { + "id": "94a1a9e3.305a48", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 1105.7498168945312, + "y": 471.0000305175781, + "z": "d59c8e6f.e6d1", + "wires": [["bcfe699a.fbac68"]] + }, + { + "id": "7e68246c.ade0ec", + "type": "other", + "name": "other", + "xml": "<outcome value='Other'>\n", + "comments": "", + "outputs": 1, + "x": 1100.7498168945312, + "y": 542.0000305175781, + "z": "d59c8e6f.e6d1", + "wires": [["cdb71eae.de0b6"]] + }, + { + "id": "1fb23591.978aca", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 1101.7498168945312, + "y": 587.0000305175781, + "z": "d59c8e6f.e6d1", + "wires": [["af383d0c.3970d"]] + }, + { + "id": "93204e17.d82ec", + "type": "set", + "name": "set", + "xml": "<set>\n<parameter name='error-message' value='SSH command execution failure' />\n", + "comments": "", + "x": 1427.4420547485352, + "y": 284.0001211166382, + "z": "d59c8e6f.e6d1", + "wires": [] + }, + { + "id": "bcfe699a.fbac68", + "type": "execute", + "name": "executeTest", + "xml": "<execute plugin='com.att.appc.dg.vSCP.v3_5_5.VSCPDGUtils' method='executeTest'>\n<parameter name=\"connection-details\" value=\"`$connection-details`\" />", + "comments": "", + "outputs": 1, + "x": 940.7498474121094, + "y": 543.0000305175781, + "z": "d59c8e6f.e6d1", + "wires": [["7e68246c.ade0ec", + "1fb23591.978aca"]] + }, + { + "id": "f82f2d66.fbc2d", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1233.9805603027344, + "y": 425.8462219238281, + "z": "d59c8e6f.e6d1", + "wires": [["725be398.327c2c", + "3ccf5e6c.e15652"]] + }, + { + "id": "cdb71eae.de0b6", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1229.2882080078125, + "y": 542.615478515625, + "z": "d59c8e6f.e6d1", + "wires": [["93204e17.d82ec", + "3ccf5e6c.e15652"]] + }, + { + "id": "d2011202.234fc", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 566.7498779296875, + "y": 217, + "z": "d59c8e6f.e6d1", + "wires": [["32c2c94.c91df36"]] + }, + { + "id": "f4646626.6d10f8", + "type": "other", + "name": "other", + "xml": "<outcome value='Other'>\n", + "comments": "", + "outputs": 1, + "x": 561.7498779296875, + "y": 171, + "z": "d59c8e6f.e6d1", + "wires": [["3ccf5e6c.e15652"]] + }, + { + "id": "d8b9aa6d.465a98", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 758.083251953125, + "y": 343.66668701171875, + "z": "d59c8e6f.e6d1", + "wires": [["fb5b14.140314f"]] + }, + { + "id": "a3588880.9675d8", + "type": "other", + "name": "other", + "xml": "<outcome value='Other'>\n", + "comments": "", + "outputs": 1, + "x": 747.083251953125, + "y": 298.6667175292969, + "z": "d59c8e6f.e6d1", + "wires": [["3ccf5e6c.e15652"]] + }, + { + "id": "32c2c94.c91df36", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 313.0832824707031, + "y": 264.666748046875, + "z": "d59c8e6f.e6d1", + "wires": [["643ff002.2addb", + "ec1d66f4.142a18"]] + }, + { + "id": "643ff002.2addb", + "type": "set", + "name": "set", + "xml": "<set>\n\t<parameter name='aai.vnfID' value='`$input.action-identifiers.vnf-id`' />\n\t<parameter name='aai.prefix' value='aai.input.data' />\t", + "comments": "", + "x": 495.083251953125, + "y": 273.666748046875, + "z": "d59c8e6f.e6d1", + "wires": [] + }, + { + "id": "ec1d66f4.142a18", + "type": "execute", + "name": "execute: getVNFData", + "xml": "<execute plugin='org.openecomp.appc.dg.aai.AAIPlugin' method='getGenericVnfData' >", + "comments": "", + "outputs": 1, + "x": 534.0831298828125, + "y": 327.6667785644531, + "z": "d59c8e6f.e6d1", + "wires": [["a3588880.9675d8", + "d8b9aa6d.465a98"]] + }, + { + "id": "de153cb7.0f1db", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 1698.7500381469727, + "y": 328.9999990463257, + "z": "d59c8e6f.e6d1", + "wires": [["581fe014.8acd7"]] + }] |