summaryrefslogtreecommitdiffstats
path: root/appc-directed-graph/appc-dgraph/provider/src/main
diff options
context:
space:
mode:
authorGeorge, Lina (lg941u) <lg941u@att.com>2018-03-28 14:51:22 -0400
committerRanda Maher <rx196w@att.com>2018-03-28 22:54:02 +0000
commit664d0394bd7ed81970b6c01766a624336255f5cb (patch)
treec682f99552bf92080fea7f1c0ddb293352cd189c /appc-directed-graph/appc-dgraph/provider/src/main
parentb145ba39e4e902f5152016009f7e073b685fa106 (diff)
Fix healthcheck rest and ansible to set the paylod
Issue-ID: APPC-805 Change-Id: I0c4a8181149a8326d88bec7a4bc45f5323b9e5cd Signed-off-by: George, Lina (lg941u) <lg941u@att.com>
Diffstat (limited to 'appc-directed-graph/appc-dgraph/provider/src/main')
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DGOrchestrator.json1450
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_Generic_AnsibleDG.json346
2 files changed, 898 insertions, 898 deletions
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DGOrchestrator.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DGOrchestrator.json
index 34118c4a1..7a22ddfa2 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DGOrchestrator.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DGOrchestrator.json
@@ -1,726 +1,726 @@
-[
- {
- "id": "b24646ee.b28ae8",
- "type": "dgstart",
- "name": "DGSTART",
- "outputs": 1,
- "x": 164.75,
- "y": 66.75,
- "z": "d44ce577.125ec8",
- "wires": [
- [
- "2b03bae1.35b0c6"
- ]
- ]
- },
- {
- "id": "2b03bae1.35b0c6",
- "type": "service-logic",
- "name": "APPC 4.0.0",
- "module": "APPC",
- "version": "4.0.0",
- "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='APPC' version='4.0.0'>",
- "outputs": 1,
- "x": 322.09282302856445,
- "y": 66.73572540283203,
- "z": "d44ce577.125ec8",
- "wires": [
- [
- "ff5378d6.e233e"
- ]
- ]
- },
- {
- "id": "ff5378d6.e233e",
- "type": "method",
- "name": "method DGOrchestrator",
- "xml": "<method rpc='DGOrchestrator' mode='sync'>\n",
- "comments": "",
- "outputs": 1,
- "x": 526.6404647827148,
- "y": 56.23572540283203,
- "z": "d44ce577.125ec8",
- "wires": [
- [
- "642ab4f1.20f90c"
- ]
- ]
- },
- {
- "id": "642ab4f1.20f90c",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 132.90634155273438,
- "y": 189.93809700012207,
- "z": "d44ce577.125ec8",
- "wires": [
- [
- "b0b1d9c5.c1f34",
- "20251bec.f0f3ac",
- "d8ffc32a.5a176",
- "b2170187.510fb8"
- ]
- ]
- },
- {
- "id": "b2170187.510fb8",
- "type": "call",
- "name": "call: setInputParams",
- "xml": "<call module=\"APPC\" rpc=\"setInputParams\" mode=\"sync\">",
- "comments": "",
- "outputs": 1,
- "x": 667.6642913818359,
- "y": 106.23572635650635,
- "z": "d44ce577.125ec8",
- "wires": [
- [
- "10a70eaa.f90671",
- "5a2a6552.aa959c",
- "8cada029.8e7bf8"
- ]
- ]
- },
- {
- "id": "d6b49825.e2c99",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2280.414306640625,
- "y": 412.6523742675781,
- "z": "d44ce577.125ec8",
- "wires": [
- [
- "7e71c4fc.4eeaac"
- ]
- ]
- },
- {
- "id": "68e7d29c.925c04",
- "type": "execute",
- "name": "execute get and executeFlowSequence",
- "xml": "<execute plugin=\"org.onap.appc.flow.controller.node.FlowControlNode\" method=\"processFlow\">\n<parameter name=\"messageType\" value=\"response\" />\n<parameter name=\"message\" value=\"`$tmp.message`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.flowControl\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 2121.5411376953125,
- "y": 467.9658203125,
- "z": "d44ce577.125ec8",
- "wires": [
- [
- "d6b49825.e2c99",
- "c6bce202.87c7f8"
- ]
- ]
- },
- {
- "id": "7e71c4fc.4eeaac",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2418.4619140625,
- "y": 414.1761779785156,
- "z": "d44ce577.125ec8",
- "wires": [
- [
- "d011a4db.98e728"
- ]
- ]
- },
- {
- "id": "c7c2bb2d.939168",
- "type": "set",
- "name": "set error-code 400 and message",
- "xml": "<set>\n<parameter name='error-code' value='400' />\n<parameter name='error-message' value=\"SUCCESS - request has been processed successfully\" />\n<parameter name='output-payload' value=\"`'state : ' + $output.payload.state` \" />\n",
- "comments": "",
- "x": 2401.93798828125,
- "y": 652.7356567382812,
- "z": "d44ce577.125ec8",
- "wires": []
- },
- {
- "id": "c6bce202.87c7f8",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2399.295166015625,
- "y": 493.3190002441406,
- "z": "d44ce577.125ec8",
- "wires": [
- [
- "962e39f1.dcfdd"
- ]
- ]
- },
- {
- "id": "962e39f1.dcfdd",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2431.176025390625,
- "y": 543.9737548828125,
- "z": "d44ce577.125ec8",
- "wires": [
- [
- "c7c2bb2d.939168"
- ]
- ]
- },
- {
- "id": "d011a4db.98e728",
- "type": "set",
- "name": "set error-code 401 and message",
- "xml": "<set>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"`$tmp.flowControl.status-message`\" />\n<parameter name='output-payload' value=\"\" />\n",
- "comments": "",
- "x": 2500.74755859375,
- "y": 341.1166076660156,
- "z": "d44ce577.125ec8",
- "wires": []
- },
- {
- "id": "20251bec.f0f3ac",
- "type": "execute",
- "name": "execute saveTxLog",
- "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"response\" />\n<parameter name=\"message\" value=\"`$tmp.message`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 332.2475776672363,
- "y": 907.7912883758545,
- "z": "d44ce577.125ec8",
- "wires": [
- [
- "e0751050.629e18"
- ]
- ]
- },
- {
- "id": "e0751050.629e18",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 533.6919479370117,
- "y": 908.707914352417,
- "z": "d44ce577.125ec8",
- "wires": [
- [
- "c79c66af.41dcf8"
- ]
- ]
- },
- {
- "id": "c79c66af.41dcf8",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 709.1643218994141,
- "y": 910.2912473678589,
- "z": "d44ce577.125ec8",
- "wires": [
- []
- ]
- },
- {
- "id": "b0b1d9c5.c1f34",
- "type": "set",
- "name": "set tmp.message",
- "xml": "<set>\n<parameter name=\"tmp.message\" value=\"`$error-code + ':' + $error-message`\"/>\n",
- "comments": "",
- "x": 351.0253677368164,
- "y": 819.9857015609741,
- "z": "d44ce577.125ec8",
- "wires": []
- },
- {
- "id": "10a70eaa.f90671",
- "type": "not-found",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 883.164306640625,
- "y": 65.40238761901855,
- "z": "d44ce577.125ec8",
- "wires": [
- [
- "9d8747ec.4b74e8"
- ]
- ]
- },
- {
- "id": "5a2a6552.aa959c",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 877.664306640625,
- "y": 104.40238952636719,
- "z": "d44ce577.125ec8",
- "wires": [
- [
- "9d8747ec.4b74e8"
- ]
- ]
- },
- {
- "id": "9d8747ec.4b74e8",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">\n\n",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1050.414306640625,
- "y": 85.90241241455078,
- "z": "d44ce577.125ec8",
- "wires": [
- []
- ]
- },
- {
- "id": "d8ffc32a.5a176",
- "type": "switchNode",
- "name": "switch error-code",
- "xml": "<switch test='`$error-code`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 355.8309631347656,
- "y": 761.6524333953857,
- "z": "d44ce577.125ec8",
- "wires": [
- [
- "104f332b.7fe32d",
- "c31a7601.21114"
- ]
- ]
- },
- {
- "id": "104f332b.7fe32d",
- "type": "success",
- "name": "outcome: 400",
- "xml": "<outcome value=\"400\">",
- "comments": "",
- "outputs": 1,
- "x": 620.4975891113281,
- "y": 713.9857139587402,
- "z": "d44ce577.125ec8",
- "wires": [
- [
- "1a67f81c.55efd"
- ]
- ]
- },
- {
- "id": "c31a7601.21114",
- "type": "success",
- "name": "outcome: Other",
- "xml": "<outcome value=\"Other\">",
- "comments": "",
- "outputs": 1,
- "x": 620.414249420166,
- "y": 813.985746383667,
- "z": "d44ce577.125ec8",
- "wires": [
- [
- "26a9da95.37865e"
- ]
- ]
- },
- {
- "id": "1a67f81c.55efd",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 831.7476348876953,
- "y": 716.6524209976196,
- "z": "d44ce577.125ec8",
- "wires": [
- [
- "3bf3629c.aa6146"
- ]
- ]
- },
- {
- "id": "26a9da95.37865e",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 813.7474899291992,
- "y": 815.235746383667,
- "z": "d44ce577.125ec8",
- "wires": [
- [
- "63a4df2c.36b148"
- ]
- ]
- },
- {
- "id": "3bf3629c.aa6146",
- "type": "set",
- "name": "set Status for dispatcher",
- "xml": "<set>\n<parameter name='SvcLogic.status' value='success' />\n<parameter name='output.status.code' value='`$error-code`' />\n<parameter name='output.status.message' value='`$error-message`' />",
- "comments": "",
- "x": 1081.4143371582031,
- "y": 714.8190479278564,
- "z": "d44ce577.125ec8",
- "wires": []
- },
- {
- "id": "63a4df2c.36b148",
- "type": "set",
- "name": "set Status for dispatcher",
- "xml": "<set>\n<parameter name='SvcLogic.status' value='failure' />\n<parameter name='output.status.code' value='`$error-code`' />\n<parameter name='output.status.message' value='`$error-message`' />\n",
- "comments": "",
- "x": 1050.9142837524414,
- "y": 814.1523923873901,
- "z": "d44ce577.125ec8",
- "wires": []
- },
- {
- "id": "5a79a689.536538",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 877.914306640625,
- "y": 205.56903076171875,
- "z": "d44ce577.125ec8",
- "wires": [
- [
- "f594ffbb.f912b8"
- ]
- ]
- },
- {
- "id": "8cada029.8e7bf8",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 873.497615814209,
- "y": 144.23571968078613,
- "z": "d44ce577.125ec8",
- "wires": [
- [
- "5a79a689.536538"
- ]
- ]
- },
- {
- "id": "f594ffbb.f912b8",
- "type": "execute",
- "name": "execute getCapability",
- "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getCapability\">\n<parameter name=\"caplevel\" value=\"`$action-level`\" />\n<parameter name=\"checkCapability\" value=\"`$request-action`\" />\n<parameter name=\"vServerId\" value=\"`$vserver-id`\"/>\n<parameter name=\"vnf-type\" value=\"`$vnf-type`\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 875.6644897460938,
- "y": 310.65234375,
- "z": "d44ce577.125ec8",
- "wires": [
- [
- "5f2bdf29.228bb",
- "4ec63560.2078bc"
- ]
- ]
- },
- {
- "id": "55493d49.7567ac",
- "type": "switchNode",
- "name": "switch capability-result",
- "xml": "<switch test=\"`$capabilities`\">\n",
- "comments": "",
- "outputs": 1,
- "x": 1179.454574584961,
- "y": 451.3952317237854,
- "z": "d44ce577.125ec8",
- "wires": [
- [
- "c0aa0b56.52de8",
- "c6d97329.a088d8",
- "ee014032.84a888"
- ]
- ]
- },
- {
- "id": "c0aa0b56.52de8",
- "type": "success",
- "name": "outcome: Not-Supported",
- "xml": "<outcome value=\"Not-Supported\">",
- "comments": "",
- "outputs": 1,
- "x": 1418.6644439697266,
- "y": 577.9856586456299,
- "z": "d44ce577.125ec8",
- "wires": [
- [
- "455b8a0b.eedddc"
- ]
- ]
- },
- {
- "id": "c6d97329.a088d8",
- "type": "success",
- "name": "outcome: Supported",
- "xml": "<outcome value=\"Supported\">",
- "comments": "",
- "outputs": 1,
- "x": 1419.5810546875,
- "y": 508.31903076171875,
- "z": "d44ce577.125ec8",
- "wires": [
- [
- "c92406bc.5f6e3"
- ]
- ]
- },
- {
- "id": "5f2bdf29.228bb",
- "type": "failure",
- "name": "Other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1150.7594909667969,
- "y": 311.8428611755371,
- "z": "d44ce577.125ec8",
- "wires": [
- [
- "d5744539.8762c"
- ]
- ]
- },
- {
- "id": "4ec63560.2078bc",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1135.2119979858398,
- "y": 368.65238761901855,
- "z": "d44ce577.125ec8",
- "wires": [
- [
- "75ad149f.944b04"
- ]
- ]
- },
- {
- "id": "455b8a0b.eedddc",
- "type": "set",
- "name": "set error-code 450 and message",
- "xml": "<set>\n<parameter name='error-code' value='450' />\n<parameter name='error-message' value=\"Request not supported\" />\n<parameter name='output-payload' value=\"\" />",
- "comments": "",
- "x": 1708.997543334961,
- "y": 579.6523866653442,
- "z": "d44ce577.125ec8",
- "wires": []
- },
- {
- "id": "c92406bc.5f6e3",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1633.99755859375,
- "y": 507.31903076171875,
- "z": "d44ce577.125ec8",
- "wires": [
- [
- "cd8ec825.44db4"
- ]
- ]
- },
- {
- "id": "ee014032.84a888",
- "type": "other",
- "name": "Other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1356.3310661315918,
- "y": 439.98571491241455,
- "z": "d44ce577.125ec8",
- "wires": [
- [
- "c92406bc.5f6e3"
- ]
- ]
- },
- {
- "id": "85dace0d.a239",
- "type": "set",
- "name": "set error code 401",
- "xml": "<set>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"Cannot Determine Capabilities\" />\n<parameter name='output-payload' value=\"\" />\n",
- "comments": "",
- "x": 1500.6641845703125,
- "y": 300.2357177734375,
- "z": "d44ce577.125ec8",
- "wires": []
- },
- {
- "id": "75ad149f.944b04",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">\n\n",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 980.0492706298828,
- "y": 451.8094539642334,
- "z": "d44ce577.125ec8",
- "wires": [
- [
- "55493d49.7567ac"
- ]
- ]
- },
- {
- "id": "d9736db6.f70958",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"` 'Capabilities results will be - '+$capabilities`\" />",
- "comments": "",
- "outputs": 1,
- "x": 1465.072998046875,
- "y": 348.452392578125,
- "z": "d44ce577.125ec8",
- "wires": [
- []
- ]
- },
- {
- "id": "d5744539.8762c",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">\n\n",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1303.99755859375,
- "y": 310.90234375,
- "z": "d44ce577.125ec8",
- "wires": [
- [
- "85dace0d.a239",
- "d9736db6.f70958"
- ]
- ]
- },
- {
- "id": "1a24fd28.172f5b",
- "type": "set",
- "name": "set aai-vnf-type, vnf-type",
- "xml": "<set>\n<parameter name='aai-vnf-type' value='`$vnf-type`' />\n<parameter name='vnf-type' value='' />\n",
- "comments": "",
- "x": 2181.75,
- "y": 305.75,
- "z": "d44ce577.125ec8",
- "wires": []
- },
- {
- "id": "cd8ec825.44db4",
- "type": "switchNode",
- "name": "switch action-level",
- "xml": "<switch test='`$action-level`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1840.75,
- "y": 505.75,
- "z": "d44ce577.125ec8",
- "wires": [
- [
- "eb1f9644.21f76",
- "145954d1.e86f93"
- ]
- ]
- },
- {
- "id": "eb1f9644.21f76",
- "type": "success",
- "name": "outcome: Other",
- "xml": "<outcome value='Other'>",
- "comments": "",
- "outputs": 1,
- "x": 2043.1666259765625,
- "y": 571.1666259765625,
- "z": "d44ce577.125ec8",
- "wires": [
- [
- "68e7d29c.925c04"
- ]
- ]
- },
- {
- "id": "145954d1.e86f93",
- "type": "success",
- "name": "outcome: vm",
- "xml": "<outcome value='vm'>",
- "comments": "",
- "outputs": 1,
- "x": 1781.1666259765625,
- "y": 364.83331298828125,
- "z": "d44ce577.125ec8",
- "wires": [
- [
- "4c84b99c.0edd5"
- ]
- ]
- },
- {
- "id": "4c84b99c.0edd5",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1983,
- "y": 365.75,
- "z": "d44ce577.125ec8",
- "wires": [
- [
- "1a24fd28.172f5b",
- "68e7d29c.925c04"
- ]
- ]
- },
- {
- "id": "9fa68267.0afa28",
- "type": "comment",
- "name": "vnf-type is set to nul here to enable VM level commands to select correct RPC ",
- "info": "",
- "comments": "",
- "x": 1970.75,
- "y": 250.75,
- "z": "d44ce577.125ec8",
- "wires": []
- }
+[
+ {
+ "id": "d612d431.f004b",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 124,
+ "y": 73,
+ "z": "5f45af23.e79db",
+ "wires": [
+ [
+ "27677f05.b61658"
+ ]
+ ]
+ },
+ {
+ "id": "27677f05.b61658",
+ "type": "service-logic",
+ "name": "APPC 4.0.0",
+ "module": "APPC",
+ "version": "4.0.0",
+ "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='APPC' version='4.0.0'>",
+ "outputs": 1,
+ "x": 281.34282302856445,
+ "y": 72.98572540283203,
+ "z": "5f45af23.e79db",
+ "wires": [
+ [
+ "6a1ab2e2.eb373c"
+ ]
+ ]
+ },
+ {
+ "id": "6a1ab2e2.eb373c",
+ "type": "method",
+ "name": "method DGOrchestrator",
+ "xml": "<method rpc='DGOrchestrator' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 485.89046478271484,
+ "y": 62.48572540283203,
+ "z": "5f45af23.e79db",
+ "wires": [
+ [
+ "c562cff4.4a1f8"
+ ]
+ ]
+ },
+ {
+ "id": "c562cff4.4a1f8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 92.15634155273438,
+ "y": 196.18809700012207,
+ "z": "5f45af23.e79db",
+ "wires": [
+ [
+ "9d146ec7.329fe8",
+ "30b584d7.801d14",
+ "725bb048.cdd648",
+ "e9e57d16.81971"
+ ]
+ ]
+ },
+ {
+ "id": "e9e57d16.81971",
+ "type": "call",
+ "name": "call: setInputParams",
+ "xml": "<call module=\"APPC\" rpc=\"setInputParams\" mode=\"sync\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 626.9142913818359,
+ "y": 112.48572635650635,
+ "z": "5f45af23.e79db",
+ "wires": [
+ [
+ "46bf7501.f1691c",
+ "2d8e3173.9404fe",
+ "5bb535fe.49be94"
+ ]
+ ]
+ },
+ {
+ "id": "1d477f57.aca241",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2239.664306640625,
+ "y": 418.9023742675781,
+ "z": "5f45af23.e79db",
+ "wires": [
+ [
+ "b2c90da.f6b237"
+ ]
+ ]
+ },
+ {
+ "id": "ae40264f.019cf",
+ "type": "execute",
+ "name": "execute get and executeFlowSequence",
+ "xml": "<execute plugin=\"org.onap.appc.flow.controller.node.FlowControlNode\" method=\"processFlow\">\n<parameter name=\"messageType\" value=\"response\" />\n<parameter name=\"message\" value=\"`$tmp.message`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.flowControl\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2080.7911376953125,
+ "y": 474.2158203125,
+ "z": "5f45af23.e79db",
+ "wires": [
+ [
+ "1d477f57.aca241",
+ "93fc3192.f7b4d8"
+ ]
+ ]
+ },
+ {
+ "id": "b2c90da.f6b237",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2377.7119140625,
+ "y": 420.4261779785156,
+ "z": "5f45af23.e79db",
+ "wires": [
+ [
+ "ca5807aa.f436"
+ ]
+ ]
+ },
+ {
+ "id": "39177eed.de201a",
+ "type": "set",
+ "name": "set error-code 400 and message",
+ "xml": "<set>\n<parameter name='error-code' value='400' />\n<parameter name='error-message' value=\"SUCCESS - request has been processed successfully\" />\n<parameter name='output-payload' value='`$output-payload`' />\n",
+ "comments": "",
+ "x": 2361.18798828125,
+ "y": 658.9856567382812,
+ "z": "5f45af23.e79db",
+ "wires": []
+ },
+ {
+ "id": "93fc3192.f7b4d8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2358.545166015625,
+ "y": 499.5690002441406,
+ "z": "5f45af23.e79db",
+ "wires": [
+ [
+ "1339624d.f4d55e"
+ ]
+ ]
+ },
+ {
+ "id": "1339624d.f4d55e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2390.426025390625,
+ "y": 550.2237548828125,
+ "z": "5f45af23.e79db",
+ "wires": [
+ [
+ "39177eed.de201a"
+ ]
+ ]
+ },
+ {
+ "id": "ca5807aa.f436",
+ "type": "set",
+ "name": "set error-code 401 and message",
+ "xml": "<set>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"`$tmp.flowControl.status-message`\" />\n<parameter name='output-payload' value=\"\" />\n",
+ "comments": "",
+ "x": 2459.99755859375,
+ "y": 347.3666076660156,
+ "z": "5f45af23.e79db",
+ "wires": []
+ },
+ {
+ "id": "30b584d7.801d14",
+ "type": "execute",
+ "name": "execute saveTxLog",
+ "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"response\" />\n<parameter name=\"message\" value=\"`$tmp.message`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 291.4975776672363,
+ "y": 914.0412883758545,
+ "z": "5f45af23.e79db",
+ "wires": [
+ [
+ "b16b27b0.0da4b8"
+ ]
+ ]
+ },
+ {
+ "id": "b16b27b0.0da4b8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 492.9419479370117,
+ "y": 914.957914352417,
+ "z": "5f45af23.e79db",
+ "wires": [
+ [
+ "53998dfc.e0bdec"
+ ]
+ ]
+ },
+ {
+ "id": "53998dfc.e0bdec",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 668.4143218994141,
+ "y": 916.5412473678589,
+ "z": "5f45af23.e79db",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9d146ec7.329fe8",
+ "type": "set",
+ "name": "set tmp.message",
+ "xml": "<set>\n<parameter name=\"tmp.message\" value=\"`$error-code + ':' + $error-message`\"/>\n",
+ "comments": "",
+ "x": 310.2753677368164,
+ "y": 826.2357015609741,
+ "z": "5f45af23.e79db",
+ "wires": []
+ },
+ {
+ "id": "46bf7501.f1691c",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 842.414306640625,
+ "y": 71.65238761901855,
+ "z": "5f45af23.e79db",
+ "wires": [
+ [
+ "68730b05.41093c"
+ ]
+ ]
+ },
+ {
+ "id": "2d8e3173.9404fe",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 836.914306640625,
+ "y": 110.65238952636719,
+ "z": "5f45af23.e79db",
+ "wires": [
+ [
+ "68730b05.41093c"
+ ]
+ ]
+ },
+ {
+ "id": "68730b05.41093c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">\n\n",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1009.664306640625,
+ "y": 92.15241241455078,
+ "z": "5f45af23.e79db",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "725bb048.cdd648",
+ "type": "switchNode",
+ "name": "switch error-code",
+ "xml": "<switch test='`$error-code`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 315.0809631347656,
+ "y": 767.9024333953857,
+ "z": "5f45af23.e79db",
+ "wires": [
+ [
+ "8090c154.a1d3d",
+ "e85d8952.de489"
+ ]
+ ]
+ },
+ {
+ "id": "8090c154.a1d3d",
+ "type": "success",
+ "name": "outcome: 400",
+ "xml": "<outcome value=\"400\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 579.7475891113281,
+ "y": 720.2357139587402,
+ "z": "5f45af23.e79db",
+ "wires": [
+ [
+ "ce3b516.494c33"
+ ]
+ ]
+ },
+ {
+ "id": "e85d8952.de489",
+ "type": "success",
+ "name": "outcome: Other",
+ "xml": "<outcome value=\"Other\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 579.664249420166,
+ "y": 820.235746383667,
+ "z": "5f45af23.e79db",
+ "wires": [
+ [
+ "7e12114c.692c8"
+ ]
+ ]
+ },
+ {
+ "id": "ce3b516.494c33",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 790.9976348876953,
+ "y": 722.9024209976196,
+ "z": "5f45af23.e79db",
+ "wires": [
+ [
+ "e5979afa.9a7fd8"
+ ]
+ ]
+ },
+ {
+ "id": "7e12114c.692c8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 772.9974899291992,
+ "y": 821.485746383667,
+ "z": "5f45af23.e79db",
+ "wires": [
+ [
+ "c13e27d2.798e68"
+ ]
+ ]
+ },
+ {
+ "id": "e5979afa.9a7fd8",
+ "type": "set",
+ "name": "set Status for dispatcher",
+ "xml": "<set>\n<parameter name='SvcLogic.status' value='success' />\n<parameter name='output.status.code' value='`$error-code`' />\n<parameter name='output.status.message' value='`$error-message`' />\n<parameter name='output.payload' value='`$output-payload`'/>",
+ "comments": "",
+ "x": 1040.6643371582031,
+ "y": 721.0690479278564,
+ "z": "5f45af23.e79db",
+ "wires": []
+ },
+ {
+ "id": "c13e27d2.798e68",
+ "type": "set",
+ "name": "set Status for dispatcher",
+ "xml": "<set>\n<parameter name='SvcLogic.status' value='failure' />\n<parameter name='output.status.code' value='`$error-code`' />\n<parameter name='output.status.message' value='`$error-message`' />\n<parameter name='output.payload' value='`$output-payload`'/>\n",
+ "comments": "",
+ "x": 1010.1642837524414,
+ "y": 820.4023923873901,
+ "z": "5f45af23.e79db",
+ "wires": []
+ },
+ {
+ "id": "5563256b.e56974",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 837.164306640625,
+ "y": 211.81903076171875,
+ "z": "5f45af23.e79db",
+ "wires": [
+ [
+ "ba06fede.6a65b"
+ ]
+ ]
+ },
+ {
+ "id": "5bb535fe.49be94",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 832.747615814209,
+ "y": 150.48571968078613,
+ "z": "5f45af23.e79db",
+ "wires": [
+ [
+ "5563256b.e56974"
+ ]
+ ]
+ },
+ {
+ "id": "ba06fede.6a65b",
+ "type": "execute",
+ "name": "execute getCapability",
+ "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getCapability\">\n<parameter name=\"caplevel\" value=\"`$action-level`\" />\n<parameter name=\"checkCapability\" value=\"`$request-action`\" />\n<parameter name=\"vServerId\" value=\"`$vserver-id`\"/>\n<parameter name=\"vnf-type\" value=\"`$vnf-type`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 834.9144897460938,
+ "y": 316.90234375,
+ "z": "5f45af23.e79db",
+ "wires": [
+ [
+ "dbbaf6b.8538e08",
+ "13fbac68.432c14"
+ ]
+ ]
+ },
+ {
+ "id": "61a509a2.681de8",
+ "type": "switchNode",
+ "name": "switch capability-result",
+ "xml": "<switch test=\"`$capabilities`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1138.704574584961,
+ "y": 457.6452317237854,
+ "z": "5f45af23.e79db",
+ "wires": [
+ [
+ "7acdc640.1fe91",
+ "65a418dc.42d498",
+ "ea32fdd6.dc1648"
+ ]
+ ]
+ },
+ {
+ "id": "7acdc640.1fe91",
+ "type": "success",
+ "name": "outcome: Not-Supported",
+ "xml": "<outcome value=\"Not-Supported\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 1377.9144439697266,
+ "y": 584.2356586456299,
+ "z": "5f45af23.e79db",
+ "wires": [
+ [
+ "dad89777.86f9b"
+ ]
+ ]
+ },
+ {
+ "id": "65a418dc.42d498",
+ "type": "success",
+ "name": "outcome: Supported",
+ "xml": "<outcome value=\"Supported\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 1378.8310546875,
+ "y": 514.5690307617188,
+ "z": "5f45af23.e79db",
+ "wires": [
+ [
+ "8b8232d3.c97758"
+ ]
+ ]
+ },
+ {
+ "id": "dbbaf6b.8538e08",
+ "type": "failure",
+ "name": "Other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1110.0094909667969,
+ "y": 318.0928611755371,
+ "z": "5f45af23.e79db",
+ "wires": [
+ [
+ "aef30176.6772f"
+ ]
+ ]
+ },
+ {
+ "id": "13fbac68.432c14",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1094.4619979858398,
+ "y": 374.90238761901855,
+ "z": "5f45af23.e79db",
+ "wires": [
+ [
+ "11cc4e86.30dbb9"
+ ]
+ ]
+ },
+ {
+ "id": "dad89777.86f9b",
+ "type": "set",
+ "name": "set error-code 450 and message",
+ "xml": "<set>\n<parameter name='error-code' value='450' />\n<parameter name='error-message' value=\"Request not supported\" />\n<parameter name='output-payload' value=\"\" />",
+ "comments": "",
+ "x": 1668.247543334961,
+ "y": 585.9023866653442,
+ "z": "5f45af23.e79db",
+ "wires": []
+ },
+ {
+ "id": "8b8232d3.c97758",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1593.24755859375,
+ "y": 513.5690307617188,
+ "z": "5f45af23.e79db",
+ "wires": [
+ [
+ "ecdb4d49.5fd018"
+ ]
+ ]
+ },
+ {
+ "id": "ea32fdd6.dc1648",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1315.5810661315918,
+ "y": 446.23571491241455,
+ "z": "5f45af23.e79db",
+ "wires": [
+ [
+ "8b8232d3.c97758"
+ ]
+ ]
+ },
+ {
+ "id": "d9441e75.6c25e",
+ "type": "set",
+ "name": "set error code 401",
+ "xml": "<set>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"Cannot Determine Capabilities\" />\n<parameter name='output-payload' value=\"\" />\n",
+ "comments": "",
+ "x": 1459.9141845703125,
+ "y": 306.4857177734375,
+ "z": "5f45af23.e79db",
+ "wires": []
+ },
+ {
+ "id": "11cc4e86.30dbb9",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">\n\n",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 939.2992706298828,
+ "y": 458.0594539642334,
+ "z": "5f45af23.e79db",
+ "wires": [
+ [
+ "61a509a2.681de8"
+ ]
+ ]
+ },
+ {
+ "id": "fbfa55bf.6086b",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"` 'Capabilities results will be - '+$capabilities`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1424.322998046875,
+ "y": 354.702392578125,
+ "z": "5f45af23.e79db",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "aef30176.6772f",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">\n\n",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1263.24755859375,
+ "y": 317.15234375,
+ "z": "5f45af23.e79db",
+ "wires": [
+ [
+ "d9441e75.6c25e",
+ "fbfa55bf.6086b"
+ ]
+ ]
+ },
+ {
+ "id": "d24feafb.19922",
+ "type": "set",
+ "name": "set aai-vnf-type, vnf-type",
+ "xml": "<set>\n<parameter name='aai-vnf-type' value='`$vnf-type`' />\n<parameter name='vnf-type' value='' />\n",
+ "comments": "",
+ "x": 2141,
+ "y": 312,
+ "z": "5f45af23.e79db",
+ "wires": []
+ },
+ {
+ "id": "ecdb4d49.5fd018",
+ "type": "switchNode",
+ "name": "switch action-level",
+ "xml": "<switch test='`$action-level`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1800,
+ "y": 512,
+ "z": "5f45af23.e79db",
+ "wires": [
+ [
+ "94a8dfb7.3f2ca8",
+ "c0d1df2.56de32"
+ ]
+ ]
+ },
+ {
+ "id": "94a8dfb7.3f2ca8",
+ "type": "success",
+ "name": "outcome: Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2002.4166259765625,
+ "y": 577.4166259765625,
+ "z": "5f45af23.e79db",
+ "wires": [
+ [
+ "ae40264f.019cf"
+ ]
+ ]
+ },
+ {
+ "id": "c0d1df2.56de32",
+ "type": "success",
+ "name": "outcome: vm",
+ "xml": "<outcome value='vm'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1740.4166259765625,
+ "y": 371.08331298828125,
+ "z": "5f45af23.e79db",
+ "wires": [
+ [
+ "d5476b30.41f1b"
+ ]
+ ]
+ },
+ {
+ "id": "d5476b30.41f1b",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1942.25,
+ "y": 372,
+ "z": "5f45af23.e79db",
+ "wires": [
+ [
+ "d24feafb.19922",
+ "ae40264f.019cf"
+ ]
+ ]
+ },
+ {
+ "id": "71377d69.4cdbc4",
+ "type": "comment",
+ "name": "vnf-type is set to nul here to enable VM level commands to select correct RPC ",
+ "info": "",
+ "comments": "",
+ "x": 1930,
+ "y": 257,
+ "z": "5f45af23.e79db",
+ "wires": []
+ }
] \ No newline at end of file
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_Generic_AnsibleDG.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_Generic_AnsibleDG.json
index bc6d030ba..05e733f86 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_Generic_AnsibleDG.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_Generic_AnsibleDG.json
@@ -1,20 +1,20 @@
[
{
- "id": "b5695572.e1f768",
+ "id": "6c3ba22c.f9189c",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 246.75,
- "y": 188.38194274902344,
- "z": "e0baaa9e.9241d8",
+ "x": 173,
+ "y": 93,
+ "z": "23466936.d3b346",
"wires": [
[
- "188edda2.26da82"
+ "6441e1c2.6c0268"
]
]
},
{
- "id": "188edda2.26da82",
+ "id": "6441e1c2.6c0268",
"type": "service-logic",
"name": "APPC 4.0.0",
"module": "APPC",
@@ -22,470 +22,470 @@
"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='APPC' version='4.0.0'>",
"outputs": 1,
- "x": 324.2152862548828,
- "y": 138,
- "z": "e0baaa9e.9241d8",
+ "x": 250.4652862548828,
+ "y": 42.61805725097656,
+ "z": "23466936.d3b346",
"wires": [
[
- "a8cc7c7b.a911c"
+ "8b013654.37fd9"
]
]
},
{
- "id": "a8cc7c7b.a911c",
+ "id": "8b013654.37fd9",
"type": "method",
"name": "method Generic_AnsibleDG",
"xml": "<method rpc='Generic_AnsibleDG' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 575.7777862548828,
- "y": 138,
- "z": "e0baaa9e.9241d8",
+ "x": 502.0277862548828,
+ "y": 42.61805725097656,
+ "z": "23466936.d3b346",
"wires": [
[
- "42d7ac6f.bd3da4"
+ "6137b378.656594"
]
]
},
{
- "id": "e00096a6.7888c8",
+ "id": "74fb795.4f68e08",
"type": "call",
"name": "call: ansible-adapter-1.0",
"xml": "<call module=\"APPC\" rpc=\"ansible-adapter-1.0\" mode=\"sync\">",
"comments": "",
"outputs": 1,
- "x": 415.1322479248047,
- "y": 789.0123748779297,
- "z": "e0baaa9e.9241d8",
+ "x": 341.3822479248047,
+ "y": 693.6304321289062,
+ "z": "23466936.d3b346",
"wires": [
[
- "dd503c7d.4cc9c",
- "515c4830.7e8bf",
- "8dc86977.b38688"
+ "a5b6f5fd.9563",
+ "2cd7cfcd.3765a",
+ "168ffa9e.43c14d"
]
]
},
{
- "id": "784c8fbc.57a35",
+ "id": "a07a1ffd.68cae",
"type": "execute",
"name": "execute params",
"xml": " <execute plugin=\"org.onap.appc.encryptiontool.wrapper.EncryptionToolDGWrapper\" method =\"getProperty\">\n <parameter name=\"prefix\" value =\"property\"/>\n\n \n ",
"comments": "",
"outputs": 1,
- "x": 635.5484161376953,
- "y": 411.40953063964844,
- "z": "e0baaa9e.9241d8",
+ "x": 561.7984161376953,
+ "y": 316.027587890625,
+ "z": "23466936.d3b346",
"wires": [
[
- "36822bdd.3c9f4c",
- "14c5365c.bf1ae2"
+ "c9d30c5a.682988",
+ "8aa0688b.226ae8"
]
]
},
{
- "id": "6282ba56.52f5dc",
+ "id": "4eb8ef57.7bc8b",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value=\"401\" />\n<parameter name='error-message' value=\"`$property.error-message`\" />\n",
"comments": "",
- "x": 1270.5695495605469,
- "y": 705.9290771484375,
- "z": "e0baaa9e.9241d8",
+ "x": 1196.8195495605469,
+ "y": 610.5471343994141,
+ "z": "23466936.d3b346",
"wires": []
},
{
- "id": "4bbf0c97.541b6c",
+ "id": "acaef25c.218b28",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1101.840202331543,
- "y": 706.1082782745361,
- "z": "e0baaa9e.9241d8",
+ "x": 1028.090202331543,
+ "y": 610.7263355255127,
+ "z": "23466936.d3b346",
"wires": [
[
- "6282ba56.52f5dc"
+ "4eb8ef57.7bc8b"
]
]
},
{
- "id": "14c5365c.bf1ae2",
+ "id": "8aa0688b.226ae8",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 903.7777557373047,
- "y": 703.7290954589844,
- "z": "e0baaa9e.9241d8",
+ "x": 830.0277557373047,
+ "y": 608.3471527099609,
+ "z": "23466936.d3b346",
"wires": [
[
- "4bbf0c97.541b6c"
+ "acaef25c.218b28"
]
]
},
{
- "id": "36822bdd.3c9f4c",
+ "id": "c9d30c5a.682988",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 884.7904510498047,
- "y": 637.5832824707031,
- "z": "e0baaa9e.9241d8",
+ "x": 811.0404510498047,
+ "y": 542.2013397216797,
+ "z": "23466936.d3b346",
"wires": [
[
- "4bbf0c97.541b6c"
+ "acaef25c.218b28"
]
]
},
{
- "id": "712b83f9.f9d13c",
+ "id": "92d97097.efde08",
"type": "execute",
"name": "execute Convert payload to DG Context ",
"xml": "<execute plugin=\"org.onap.sdnc.config.generator.convert.ConvertNode\" method=\"convertJson2DGContext\">\n<parameter name=\"jsonData\" value=\"`$tmp.merge.mergedData`\" />\n<parameter name=\"isEscaped\" value=\"Y\" />\n<parameter name=\"blockKeys\" value=\"EnvParameters,PlaybookName,Timeout,NodeList\" />\n<parameter name=\"responsePrefix\" value=\"tmp.convertnode\" />",
"comments": "",
"outputs": 1,
- "x": 686.3645477294922,
- "y": 227.9910430908203,
- "z": "e0baaa9e.9241d8",
+ "x": 612.6145477294922,
+ "y": 132.60910034179688,
+ "z": "23466936.d3b346",
"wires": [
[
- "59d56560.86430c",
- "b723b3b5.45f6e8"
+ "81d05948.54ba98",
+ "6b6b762d.10648"
]
]
},
{
- "id": "2addd9a1.c88c26",
+ "id": "b26ef86f.518fa8",
"type": "set",
"name": "set Payload params ",
"xml": "<set>\n<parameter name='PlaybookName' value='`$PlaybookName`' />\n<parameter name='NodeList' value='`$NodeList`'/>\n<parameter name='vnf_id' value='`$vnf-id`' />\n<parameter name='AgentUrl' value='`$url`'/>\n <parameter name='User' value='`$user`'/>\n <parameter name='Password' value='`$password`'/>\n <parameter name='EnvParameters' value='`$EnvParameters`'/>\n <parameter name='Timeout' value='`$Timeout`'/>\n\n\n\n",
"comments": "",
- "x": 537.6720733642578,
- "y": 687.3932952880859,
- "z": "e0baaa9e.9241d8",
+ "x": 463.9220733642578,
+ "y": 592.0113525390625,
+ "z": "23466936.d3b346",
"wires": []
},
{
- "id": "b723b3b5.45f6e8",
+ "id": "6b6b762d.10648",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 969.6027374267578,
- "y": 259.64585876464844,
- "z": "e0baaa9e.9241d8",
+ "x": 895.8527374267578,
+ "y": 164.263916015625,
+ "z": "23466936.d3b346",
"wires": [
[
- "8dccb387.ae749"
+ "17a92ef.8e2a351"
]
]
},
{
- "id": "59d56560.86430c",
+ "id": "81d05948.54ba98",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 965.4360504150391,
- "y": 317.92918395996094,
- "z": "e0baaa9e.9241d8",
+ "x": 891.6860504150391,
+ "y": 222.5472412109375,
+ "z": "23466936.d3b346",
"wires": [
[
- "63752d22.117204"
+ "db05d5b7.dbcfe"
]
]
},
{
- "id": "8dccb387.ae749",
+ "id": "17a92ef.8e2a351",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1092.2694854736328,
- "y": 263.81248474121094,
- "z": "e0baaa9e.9241d8",
+ "x": 1018.5194854736328,
+ "y": 168.4305419921875,
+ "z": "23466936.d3b346",
"wires": [
[
- "a7ab8921.136fd"
+ "8a22f79.d24bd88"
]
]
},
{
- "id": "63752d22.117204",
+ "id": "db05d5b7.dbcfe",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1091.6026763916016,
- "y": 325.29576110839844,
- "z": "e0baaa9e.9241d8",
+ "x": 1017.8526763916016,
+ "y": 229.913818359375,
+ "z": "23466936.d3b346",
"wires": [
[
- "904c921.5af1af"
+ "60ca360b.c4498"
]
]
},
{
- "id": "904c921.5af1af",
+ "id": "60ca360b.c4498",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"Unable to process convert payload to context.\"/>\n\t\n",
"comments": "",
- "x": 1240.8026275634766,
- "y": 327.4791717529297,
- "z": "e0baaa9e.9241d8",
+ "x": 1167.0526275634766,
+ "y": 232.09722900390625,
+ "z": "23466936.d3b346",
"wires": []
},
{
- "id": "42d7ac6f.bd3da4",
+ "id": "6137b378.656594",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 371.869384765625,
- "y": 250.5791015625,
- "z": "e0baaa9e.9241d8",
+ "x": 298.119384765625,
+ "y": 155.19715881347656,
+ "z": "23466936.d3b346",
"wires": [
[
- "712b83f9.f9d13c",
- "784c8fbc.57a35",
- "e00096a6.7888c8",
- "2addd9a1.c88c26",
- "ba353d30.9cba68",
- "d73c3e3f.a0265",
- "e3e0839e.5ac55",
- "2c49a4ef.2b4054",
- "bbcf695c.7db238"
+ "92d97097.efde08",
+ "a07a1ffd.68cae",
+ "74fb795.4f68e08",
+ "b26ef86f.518fa8",
+ "833c47f4.4e765",
+ "3ea33ebc.934832",
+ "396dca00.c135de",
+ "1a649673.55382a",
+ "9f424e11.57d15"
]
]
},
{
- "id": "a7ab8921.136fd",
+ "id": "8a22f79.d24bd88",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$tmp.convertnode.error-message`\"/>\n\t\n\t",
"comments": "",
- "x": 1234.835952758789,
- "y": 261.2124481201172,
- "z": "e0baaa9e.9241d8",
+ "x": 1161.085952758789,
+ "y": 165.83050537109375,
+ "z": "23466936.d3b346",
"wires": []
},
{
- "id": "f3ff11af.e308e",
+ "id": "fb756701.8cc94",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status=\"failure\">\n<parameter name='error-code' value=\"401\" />\n<parameter name='error-message' value='`$org.onap.appc.adapter.ansible.message`'/>",
"comments": "",
- "x": 1124.7217254638672,
- "y": 857.5862731933594,
- "z": "e0baaa9e.9241d8",
+ "x": 1050.9717254638672,
+ "y": 762.2043304443359,
+ "z": "23466936.d3b346",
"wires": []
},
{
- "id": "dd503c7d.4cc9c",
+ "id": "a5b6f5fd.9563",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 838.5193634033203,
- "y": 839.1625366210938,
- "z": "e0baaa9e.9241d8",
+ "x": 764.7693634033203,
+ "y": 743.7805938720703,
+ "z": "23466936.d3b346",
"wires": [
[
- "f3ff11af.e308e"
+ "fb756701.8cc94"
]
]
},
{
- "id": "515c4830.7e8bf",
+ "id": "2cd7cfcd.3765a",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 814.7194366455078,
- "y": 921.7124633789062,
- "z": "e0baaa9e.9241d8",
+ "x": 740.9694366455078,
+ "y": 826.3305206298828,
+ "z": "23466936.d3b346",
"wires": [
[
- "5de54d.eecbb2b4"
+ "3aa5b2e4.4b57a6"
]
]
},
{
- "id": "ba353d30.9cba68",
+ "id": "833c47f4.4e765",
"type": "set",
"name": "set Payload params ",
"xml": "<set>\n<parameter name='PlaybookName' value='`$block_PlaybookName`' />\n<parameter name='NodeList' value ='`$block_NodeList`'/>\n<parameter name='vnf_id' value='`$vnf-id`' />\n<parameter name='EnvParameters' value='`$block_EnvParameters`'/>\n<parameter name='Timeout' value='`$block_Timeout`'/>\n\n\n\n",
"comments": "",
- "x": 686.1944732666016,
- "y": 284.6041717529297,
- "z": "e0baaa9e.9241d8",
+ "x": 612.4444732666016,
+ "y": 189.22222900390625,
+ "z": "23466936.d3b346",
"wires": []
},
{
- "id": "5de54d.eecbb2b4",
+ "id": "3aa5b2e4.4b57a6",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status=\"failure\">\n<parameter name='error-code' value=\"401\" />\n<parameter name='error-message' value='ansible-adapter-1.0.0 Dg not found'/>",
"comments": "",
- "x": 1069.3611297607422,
- "y": 965.6280212402344,
- "z": "e0baaa9e.9241d8",
+ "x": 995.6111297607422,
+ "y": 870.2460784912109,
+ "z": "23466936.d3b346",
"wires": []
},
{
- "id": "b172801d.e502f",
- "type": "returnSuccess",
- "name": "return success",
- "xml": "<return status='success'>\n<parameter name='error-code' value='400' />\n<parameter name='error-message' value='`$org.onap.appc.adapter.ansible.message`'/>\n",
- "comments": "",
- "x": 853.6468963623047,
- "y": 1062.7708435058594,
- "z": "e0baaa9e.9241d8",
- "wires": []
- },
- {
- "id": "8dc86977.b38688",
+ "id": "168ffa9e.43c14d",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 612.2183074951172,
- "y": 1003.5804138183594,
- "z": "e0baaa9e.9241d8",
+ "x": 538.4683074951172,
+ "y": 908.1984710693359,
+ "z": "23466936.d3b346",
"wires": [
[
- "b172801d.e502f"
+ "5ce0b58c.6872f4"
]
]
},
{
- "id": "d73c3e3f.a0265",
+ "id": "3ea33ebc.934832",
"type": "record",
"name": "record",
"xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name='field2' value='`$user`'/>\n <parameter name='field3' value='`$password`'/>\n <parameter name='field4' value='`$url`'/>",
"comments": "",
"outputs": 1,
- "x": 552.9278106689453,
- "y": 590.7375946044922,
- "z": "e0baaa9e.9241d8",
+ "x": 479.1778106689453,
+ "y": 495.35565185546875,
+ "z": "23466936.d3b346",
"wires": [
[]
]
},
{
- "id": "e3e0839e.5ac55",
+ "id": "396dca00.c135de",
"type": "set",
"name": "set properties",
"xml": "<set>\n<parameter name=\"user\" value='`$property.user`'/>\n<parameter name=\"password\" value='`$property.password`'/>\n<parameter name=\"url\" value='`$property.url`'/>\n\n\n",
"comments": "",
- "x": 607.7555389404297,
- "y": 490.44859313964844,
- "z": "e0baaa9e.9241d8",
+ "x": 534.0055389404297,
+ "y": 395.066650390625,
+ "z": "23466936.d3b346",
"wires": []
},
{
- "id": "2c49a4ef.2b4054",
+ "id": "1a649673.55382a",
"type": "get-resource",
"name": "get-resource: APPC.protocol",
"xml": "<get-resource\n\tplugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' \n\tresource='SQL'\n\tkey=\"SELECT DISTINCT PROTOCOL FROM PROTOCOL_REFERENCE WHERE ACTION = $input.action AND VNF_TYPE = $vnf-type ;\"\n force='true'\n\tpfx='APPC.protocol'>\n",
"comments": "",
"outputs": 1,
- "x": 680.8610992431641,
- "y": 334.40415954589844,
- "z": "e0baaa9e.9241d8",
+ "x": 607.1110992431641,
+ "y": 239.022216796875,
+ "z": "23466936.d3b346",
"wires": [
[
- "5639d27.5b0172c",
- "67033f80.598758"
+ "807ba35f.9fcfa",
+ "796cea13.170434"
]
]
},
{
- "id": "b743b90d.bf9438",
+ "id": "e363dbdc.c08d48",
"type": "set",
"name": "set protocol",
"xml": "<set>\n<parameter name='APPC.protocol.PROTOCOL' value='`$APPC.protocol.PROTOCOL`' />\n\n\n\n\n\n",
"comments": "",
- "x": 1115.861099243164,
- "y": 439.40415954589844,
- "z": "e0baaa9e.9241d8",
+ "x": 1042.111099243164,
+ "y": 344.022216796875,
+ "z": "23466936.d3b346",
"wires": []
},
{
- "id": "5639d27.5b0172c",
+ "id": "807ba35f.9fcfa",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 932.8610992431641,
- "y": 385.40415954589844,
- "z": "e0baaa9e.9241d8",
+ "x": 859.1110992431641,
+ "y": 290.022216796875,
+ "z": "23466936.d3b346",
"wires": [
[
- "d70f7795.117818"
+ "aadd71a1.cf4068"
]
]
},
{
- "id": "d70f7795.117818",
+ "id": "aadd71a1.cf4068",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1079.861099243164,
- "y": 394.40415954589844,
- "z": "e0baaa9e.9241d8",
+ "x": 1006.1110992431641,
+ "y": 299.022216796875,
+ "z": "23466936.d3b346",
"wires": [
[]
]
},
{
- "id": "67033f80.598758",
+ "id": "796cea13.170434",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 929.8610992431641,
- "y": 434.40415954589844,
- "z": "e0baaa9e.9241d8",
+ "x": 856.1110992431641,
+ "y": 339.022216796875,
+ "z": "23466936.d3b346",
"wires": [
[
- "b743b90d.bf9438"
+ "e363dbdc.c08d48"
]
]
},
{
- "id": "bbcf695c.7db238",
+ "id": "9f424e11.57d15",
"type": "record",
"name": "record",
"xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name='field2' value='`$user`'/>\n <parameter name='field3' value='`$APPC.protocol.PROTOCOL`'/>\n <parameter name='field4' value='`$url`'/>",
"comments": "",
"outputs": 1,
- "x": 717.8610992431641,
- "y": 371.40415954589844,
- "z": "e0baaa9e.9241d8",
+ "x": 644.1110992431641,
+ "y": 276.022216796875,
+ "z": "23466936.d3b346",
"wires": [
[]
]
+ },
+ {
+ "id": "5ce0b58c.6872f4",
+ "type": "set",
+ "name": "set payloadResponse",
+ "xml": "<set>\n<parameter name='error-code' value='400' />\n<parameter name='error-message' value='`$org.onap.appc.adapter.ansible.message`'/>\n<parameter name='output-payload' value='`$org.onap.appc.adapter.ansible.results`'/>",
+ "comments": "",
+ "x": 837,
+ "y": 971,
+ "z": "23466936.d3b346",
+ "wires": []
}
-]
+] \ No newline at end of file