summaryrefslogtreecommitdiffstats
path: root/appc-directed-graph
diff options
context:
space:
mode:
authorGeorge, Lina (lg941u) <lg941u@att.com>2018-01-11 15:04:38 -0500
committerPatrick Brady <pb071s@att.com>2018-01-12 23:03:29 +0000
commite630b22c7aff7cdccd37cfaca870aa47cbf278dd (patch)
tree5e3afa223a4dece86b59321666f26de07e09f336 /appc-directed-graph
parent463f70eb02cb33dad096f01db99a82c869ac9002 (diff)
Updates to config directed graph bundle
Issue-ID: APPC-395 Change-Id: I90dffe67fb96ecdc8b22ece0ea61529b8cd64975 Signed-off-by: George, Lina (lg941u) <lg941u@att.com>
Diffstat (limited to 'appc-directed-graph')
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_Generic_Configure.json2124
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_Generic_Audit_2.0.0.json3518
2 files changed, 2821 insertions, 2821 deletions
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_Generic_Configure.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_Generic_Configure.json
index ad1aeaddc..85174672a 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_Generic_Configure.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_Generic_Configure.json
@@ -1,1063 +1,1063 @@
-[
- {
- "id": "61d37abe.82cd64",
- "type": "dgstart",
- "name": "DGSTART",
- "outputs": 1,
- "x": 84.28573608398438,
- "y": 119.42857360839844,
- "z": "285db0f2.06375",
- "wires": [
- [
- "8423b79b.d7cec8"
- ]
- ]
- },
- {
- "id": "8423b79b.d7cec8",
- "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": 247.28573608398438,
- "y": 109.42857360839844,
- "z": "285db0f2.06375",
- "wires": [
- [
- "c1e3b38c.2f63f8"
- ]
- ]
- },
- {
- "id": "c1e3b38c.2f63f8",
- "type": "method",
- "name": "method Generic_Configure",
- "xml": "<method rpc='Generic_Configure' mode='sync'>\n",
- "comments": "",
- "outputs": 1,
- "x": 462.2857360839844,
- "y": 101.42857360839844,
- "z": "285db0f2.06375",
- "wires": [
- [
- "6c0716c5.8d7c4"
- ]
- ]
- },
- {
- "id": "6c0716c5.8d7c4",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 81.28573608398438,
- "y": 244.7618989944458,
- "z": "285db0f2.06375",
- "wires": [
- [
- "631bacee.3786bc",
- "84032bec.a688d",
- "7804109c.c266",
- "76262d39.a182fc",
- "a333263.a3f5058",
- "9c2591d5.def7f",
- "924230.050aadd",
- "ff3926e6.0b79d"
- ]
- ]
- },
- {
- "id": "631bacee.3786bc",
- "type": "call",
- "name": "call: DownloadConfig",
- "xml": "<call module=\"APPC\" rpc=\"`$tmp.configureactiondg.DOWNLOAD-CONFIG-DG`\" mode=\"sync\">",
- "comments": "",
- "outputs": 1,
- "x": 304.8730163574219,
- "y": 608.0159301757812,
- "z": "285db0f2.06375",
- "wires": [
- [
- "5a3b601a.374b",
- "804e66f1.5cf248",
- "1a953b4d.331fc5"
- ]
- ]
- },
- {
- "id": "5a3b601a.374b",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 577.2380981445312,
- "y": 526.111083984375,
- "z": "285db0f2.06375",
- "wires": [
- [
- "efcc7633.772ba8"
- ]
- ]
- },
- {
- "id": "804e66f1.5cf248",
- "type": "failure",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 594.2024345397949,
- "y": 624.9286823272705,
- "z": "285db0f2.06375",
- "wires": [
- [
- "2c5dd8ce.28ae88"
- ]
- ]
- },
- {
- "id": "1a953b4d.331fc5",
- "type": "success",
- "name": " success",
- "xml": "<outcome value=\"success\">",
- "comments": "",
- "outputs": 1,
- "x": 542.5357475280762,
- "y": 817.2619380950928,
- "z": "285db0f2.06375",
- "wires": [
- [
- "3084d7e.c6c89a8"
- ]
- ]
- },
- {
- "id": "efcc7633.772ba8",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 781.6190185546875,
- "y": 514.6190795898438,
- "z": "285db0f2.06375",
- "wires": [
- [
- "3e7902ac.0f9fe6",
- "325f4a9b.803c4e",
- "28140a27.57ead6"
- ]
- ]
- },
- {
- "id": "2c5dd8ce.28ae88",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 777.1190643310547,
- "y": 670.095308303833,
- "z": "285db0f2.06375",
- "wires": [
- [
- "fb347bda.285858"
- ]
- ]
- },
- {
- "id": "3084d7e.c6c89a8",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 748.5357475280762,
- "y": 808.5119380950928,
- "z": "285db0f2.06375",
- "wires": [
- [
- "8f8a8b2.9140078",
- "fcfff614.97d76",
- "f359c38b.fbc24",
- "6bf58f1f.85fe98"
- ]
- ]
- },
- {
- "id": "3e7902ac.0f9fe6",
- "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=\"`'error-code = ' + $error-code`\" />\n<parameter name=\"field3\" value=\"`'error-message = ' + $error-message`\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 1044.5080299377441,
- "y": 433.98411560058594,
- "z": "285db0f2.06375",
- "wires": [
- []
- ]
- },
- {
- "id": "fb347bda.285858",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`'DG Workflow ' + $tmp.configureactiondg.DOWNLOAD-CONFIG-DG + ' not found'`\"/>\n\t",
- "comments": "",
- "x": 1180.535758972168,
- "y": 694.8452472686768,
- "z": "285db0f2.06375",
- "wires": []
- },
- {
- "id": "8f8a8b2.9140078",
- "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=\"`'error-code = ' + $error-code`\" />\n<parameter name=\"field3\" value=\"`'error-message = ' + $error-message`\" />\n<parameter name=\"field4\" value=\"ACTIVATESUCCESS\" />",
- "comments": "",
- "outputs": 1,
- "x": 1039.0357513427734,
- "y": 804.2619338035583,
- "z": "285db0f2.06375",
- "wires": [
- []
- ]
- },
- {
- "id": "325f4a9b.803c4e",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status=\"failure\">\n\t",
- "comments": "",
- "x": 1061.0635833740234,
- "y": 597.5396661758423,
- "z": "285db0f2.06375",
- "wires": []
- },
- {
- "id": "84032bec.a688d",
- "type": "set",
- "name": "set Download params",
- "xml": "<set>\n<parameter name='host-ip-address' value='`$vnf-host-ip-address`' />\n<parameter name='device-login' value='`$property.user`' />\n<parameter name='device-password' value='`$property.password`' />\n<parameter name='port-number' value='`$property.port`' />\n<parameter name='protocol' value='`$tmp.deviceinterfaceprotocol.PROTOCOL`' />\n<parameter name='device-config' value='`$deviceconfig-file-content`' />\n",
- "comments": "",
- "x": 326.74603271484375,
- "y": 505.68243408203125,
- "z": "285db0f2.06375",
- "wires": []
- },
- {
- "id": "fcfff614.97d76",
- "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",
- "comments": "",
- "x": 1056.8690032958984,
- "y": 755.4286212921143,
- "z": "285db0f2.06375",
- "wires": []
- },
- {
- "id": "81444e09.a0133",
- "type": "comment",
- "name": "ConfigCompAdaptor resets error code for success cases",
- "info": "",
- "comments": "",
- "x": 1411.0357666015625,
- "y": 752.4286251068115,
- "z": "285db0f2.06375",
- "wires": []
- },
- {
- "id": "7804109c.c266",
- "type": "execute",
- "name": "execute saveTxLog",
- "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"log\" />\n<parameter name=\"message\" value=\"get Config Info\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 419.2698059082031,
- "y": 222.6349639892578,
- "z": "285db0f2.06375",
- "wires": [
- [
- "f44893b1.e8784"
- ]
- ]
- },
- {
- "id": "f359c38b.fbc24",
- "type": "execute",
- "name": "execute saveTxLog",
- "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"log\" />\n<parameter name=\"message\" value=\"400: Download of Config file is Successful\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 1039.2857513427734,
- "y": 875.8452529907227,
- "z": "285db0f2.06375",
- "wires": [
- [
- "e8b248c8.a2d1c8"
- ]
- ]
- },
- {
- "id": "48ae0cb6.816864",
- "type": "execute",
- "name": "execute saveTxLog",
- "xml": "<execute plugin=\"org.onap.appc.config.generator.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"log\" />\n<parameter name=\"message\" value=\"`$tmp.message`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 1837.1746711730957,
- "y": 599.6507911682129,
- "z": "285db0f2.06375",
- "wires": [
- []
- ]
- },
- {
- "id": "e35b4c6.218223",
- "type": "set",
- "name": "set tmp.message",
- "xml": "<set>\n<parameter name='tmp.message' value=\"`'Download Failure : ' + $error-code + ' : ' + $error-message`\" />\n",
- "comments": "",
- "x": 1838.3967590332031,
- "y": 525.9841232299805,
- "z": "285db0f2.06375",
- "wires": []
- },
- {
- "id": "28140a27.57ead6",
- "type": "switchNode",
- "name": "switch: error-code",
- "xml": "<switch test=\"`$error-code`\">\n",
- "comments": "",
- "outputs": 1,
- "x": 1070.28564453125,
- "y": 505.09520530700684,
- "z": "285db0f2.06375",
- "wires": [
- [
- "bfd4e5f2.1ecdb",
- "c962e995.964488"
- ]
- ]
- },
- {
- "id": "bfd4e5f2.1ecdb",
- "type": "success",
- "name": "outcome: 400",
- "xml": "<outcome value=\"400\">",
- "comments": "",
- "outputs": 1,
- "x": 1265.9524307250977,
- "y": 447.76190185546875,
- "z": "285db0f2.06375",
- "wires": [
- [
- "817eeef5.e90f38"
- ]
- ]
- },
- {
- "id": "817eeef5.e90f38",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 1500.952407836914,
- "y": 445.3174810409546,
- "z": "285db0f2.06375",
- "wires": [
- []
- ]
- },
- {
- "id": "c962e995.964488",
- "type": "success",
- "name": "outcome: Other",
- "xml": "<outcome value=\"Other\">",
- "comments": "",
- "outputs": 1,
- "x": 1276.9523620605469,
- "y": 530.539665222168,
- "z": "285db0f2.06375",
- "wires": [
- [
- "c25ad54c.2de7a8"
- ]
- ]
- },
- {
- "id": "c25ad54c.2de7a8",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 1500.3967742919922,
- "y": 532.6508045196533,
- "z": "285db0f2.06375",
- "wires": [
- [
- "e35b4c6.218223",
- "48ae0cb6.816864"
- ]
- ]
- },
- {
- "id": "af4ae47d.be227",
- "type": "comment",
- "name": "ISBC cases returns failure to stop polling",
- "info": "",
- "comments": "",
- "x": 1550.9522705078125,
- "y": 345.9840974807739,
- "z": "285db0f2.06375",
- "wires": []
- },
- {
- "id": "e8b248c8.a2d1c8",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1235.2023849487305,
- "y": 871.4286270141602,
- "z": "285db0f2.06375",
- "wires": [
- [
- "7a66cbd7.d92d5c"
- ]
- ]
- },
- {
- "id": "7a66cbd7.d92d5c",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 1408.7857627868652,
- "y": 872.9286270141602,
- "z": "285db0f2.06375",
- "wires": [
- []
- ]
- },
- {
- "id": "f44893b1.e8784",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 584.9524230957031,
- "y": 247.09519958496094,
- "z": "285db0f2.06375",
- "wires": [
- [
- "72adbd63.dc9ac4"
- ]
- ]
- },
- {
- "id": "72adbd63.dc9ac4",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 736.1746520996094,
- "y": 245.98411560058594,
- "z": "285db0f2.06375",
- "wires": [
- []
- ]
- },
- {
- "id": "6bf58f1f.85fe98",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 1004.2857513427734,
- "y": 950.0951328277588,
- "z": "285db0f2.06375",
- "wires": [
- [
- "5119c46c.b2c834",
- "cde8c474.69f89"
- ]
- ]
- },
- {
- "id": "cde8c474.69f89",
- "type": "call",
- "name": "call: SaveRunningConfig",
- "xml": "<call module=\"APPC\" rpc=\"SaveRunningConfig\" mode=\"sync\">",
- "comments": "",
- "outputs": 1,
- "x": 1264.0357513427734,
- "y": 948.928505897522,
- "z": "285db0f2.06375",
- "wires": [
- [
- "e8122e51.2f1118"
- ]
- ]
- },
- {
- "id": "5119c46c.b2c834",
- "type": "switchNode",
- "name": "switch: request-action",
- "xml": "<switch test=\"`$request-action`\">\n",
- "comments": "",
- "outputs": 1,
- "x": 1218.7856330871582,
- "y": 1040.5951290130615,
- "z": "285db0f2.06375",
- "wires": [
- [
- "cc8bbfb7.1f569",
- "714a8c07.043b74"
- ]
- ]
- },
- {
- "id": "cc8bbfb7.1f569",
- "type": "other",
- "name": "Configure",
- "xml": "<outcome value='Configure'>",
- "comments": "",
- "outputs": 1,
- "x": 1466.0356369018555,
- "y": 1030.511754989624,
- "z": "285db0f2.06375",
- "wires": [
- [
- "e8957f63.e948e8"
- ]
- ]
- },
- {
- "id": "714a8c07.043b74",
- "type": "other",
- "name": "ConfigScale",
- "xml": "<outcome value='ConfigScale'>",
- "comments": "",
- "outputs": 1,
- "x": 1470.785758972168,
- "y": 1097.5951299667358,
- "z": "285db0f2.06375",
- "wires": [
- [
- "e8957f63.e948e8"
- ]
- ]
- },
- {
- "id": "e8957f63.e948e8",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 1748.2022705078125,
- "y": 1077.6785097122192,
- "z": "285db0f2.06375",
- "wires": [
- [
- "733ba7f3.56f7d"
- ]
- ]
- },
- {
- "id": "733ba7f3.56f7d",
- "type": "call",
- "name": "call: UpdateAaiInfo",
- "xml": "<call module=\"APPC\" rpc=\"UpdateAaiInfo\" mode=\"sync\">",
- "comments": "",
- "outputs": 1,
- "x": 769.6191825866699,
- "y": 1188.0118789672852,
- "z": "285db0f2.06375",
- "wires": [
- [
- "d9f6f7d6.2125b8"
- ]
- ]
- },
- {
- "id": "d9f6f7d6.2125b8",
- "type": "not-found",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 977.2024917602539,
- "y": 1192.2618799209595,
- "z": "285db0f2.06375",
- "wires": [
- [
- "6e506adf.2422a4"
- ]
- ]
- },
- {
- "id": "6e506adf.2422a4",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1171.3690032958984,
- "y": 1193.8451347351074,
- "z": "285db0f2.06375",
- "wires": [
- [
- "69c05144.643008",
- "6a796326.9a5d0c"
- ]
- ]
- },
- {
- "id": "69c05144.643008",
- "type": "set",
- "name": "set: dcae-error message",
- "xml": "<set>\n\t <parameter name=\"dcae-error-message\" value=\"DG Workflow UpdateAaiInfo not found\"/>\n\t ",
- "comments": "",
- "x": 1478.535758972168,
- "y": 1168.4285044670105,
- "z": "285db0f2.06375",
- "wires": []
- },
- {
- "id": "6a796326.9a5d0c",
- "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=\"DCAEERRORMESSAGE\" value=\"`$dcae-error-message`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 1421.4523887634277,
- "y": 1214.6785068511963,
- "z": "285db0f2.06375",
- "wires": [
- []
- ]
- },
- {
- "id": "9fa67fcc.8cbfb8",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1670.369010925293,
- "y": 949.0951337814331,
- "z": "285db0f2.06375",
- "wires": [
- [
- "56905444.ee048c",
- "a6130136.14cf"
- ]
- ]
- },
- {
- "id": "e8122e51.2f1118",
- "type": "not-found",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1477.869010925293,
- "y": 948.8451337814331,
- "z": "285db0f2.06375",
- "wires": [
- [
- "9fa67fcc.8cbfb8"
- ]
- ]
- },
- {
- "id": "56905444.ee048c",
- "type": "set",
- "name": "set: dcae-error message",
- "xml": "<set>\n\t <parameter name=\"dcae-error-message\" value=\"DG Workflow SaveRunningConfig not found\"/>\n\t ",
- "comments": "",
- "x": 1979.2857666015625,
- "y": 951.3451318740845,
- "z": "285db0f2.06375",
- "wires": []
- },
- {
- "id": "a6130136.14cf",
- "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=\"DCAEERRORMESSAGE\" value=\"`$dcae-error-message`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 1923.78564453125,
- "y": 1006.1785078048706,
- "z": "285db0f2.06375",
- "wires": [
- []
- ]
- },
- {
- "id": "76262d39.a182fc",
- "type": "execute",
- "name": "execute getCommonConfigInfo",
- "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getCommonConfigInfo\">\n<parameter name=\"responsePrefix\" value=\"tmp.commonConfigInfo\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 460.4920959472656,
- "y": 176.47618103027344,
- "z": "285db0f2.06375",
- "wires": [
- [
- "5b5f729f.d2e9dc",
- "1ef0e43c.497fbc"
- ]
- ]
- },
- {
- "id": "5b5f729f.d2e9dc",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 730.0635681152344,
- "y": 154.09521484375,
- "z": "285db0f2.06375",
- "wires": [
- [
- "61354486.d04ddc"
- ]
- ]
- },
- {
- "id": "61354486.d04ddc",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 867.0635681152344,
- "y": 158.09521484375,
- "z": "285db0f2.06375",
- "wires": [
- [
- "356ae353.38975c"
- ]
- ]
- },
- {
- "id": "356ae353.38975c",
- "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=\"`$request-action`\"/>\n<parameter name=\"field3\" value=\"`$input.action`\"/>\n\n",
- "comments": "",
- "outputs": 1,
- "x": 1018.0635681152344,
- "y": 155.09521484375,
- "z": "285db0f2.06375",
- "wires": [
- []
- ]
- },
- {
- "id": "1ef0e43c.497fbc",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 728.0634765625,
- "y": 204.2380828857422,
- "z": "285db0f2.06375",
- "wires": [
- [
- "822988bb.6c77c"
- ]
- ]
- },
- {
- "id": "822988bb.6c77c",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 859.3968200683594,
- "y": 216.42860412597656,
- "z": "285db0f2.06375",
- "wires": [
- [
- "45133d81.5404ec"
- ]
- ]
- },
- {
- "id": "45133d81.5404ec",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"DG Workflow GetAaiInfo not found\"/>\n\t",
- "comments": "",
- "x": 1017.0634155273438,
- "y": 221.14280700683594,
- "z": "285db0f2.06375",
- "wires": []
- },
- {
- "id": "de8fcfa2.bd48e",
- "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": 449.78961181640625,
- "y": 440.357177734375,
- "z": "285db0f2.06375",
- "wires": [
- [
- "d9220a62.de752",
- "eeb5df0e.d7827"
- ]
- ]
- },
- {
- "id": "d9220a62.de752",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 605.2539672851562,
- "y": 416.96429443359375,
- "z": "285db0f2.06375",
- "wires": [
- [
- "c03a5b17.52d19"
- ]
- ]
- },
- {
- "id": "eeb5df0e.d7827",
- "type": "not-found",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 608.6468505859375,
- "y": 452.67840576171875,
- "z": "285db0f2.06375",
- "wires": [
- [
- "c03a5b17.52d19"
- ]
- ]
- },
- {
- "id": "c03a5b17.52d19",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 788.6467895507812,
- "y": 419.2857360839844,
- "z": "285db0f2.06375",
- "wires": [
- [
- "45b54218.56b09c"
- ]
- ]
- },
- {
- "id": "45b54218.56b09c",
- "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`\" />",
- "comments": "",
- "x": 957.0396118164062,
- "y": 411.2500305175781,
- "z": "285db0f2.06375",
- "wires": []
- },
- {
- "id": "a333263.a3f5058",
- "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": 418.4284973144531,
- "y": 272.2857666015625,
- "z": "285db0f2.06375",
- "wires": [
- [
- "c052a17a.5bc6e",
- "81e83b37.11f208"
- ]
- ]
- },
- {
- "id": "c052a17a.5bc6e",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 636.2857360839844,
- "y": 289.42857360839844,
- "z": "285db0f2.06375",
- "wires": [
- [
- "499f48a.6c30ab8"
- ]
- ]
- },
- {
- "id": "499f48a.6c30ab8",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 766.2857360839844,
- "y": 286.42857360839844,
- "z": "285db0f2.06375",
- "wires": [
- []
- ]
- },
- {
- "id": "81e83b37.11f208",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 638.2857360839844,
- "y": 329.42857360839844,
- "z": "285db0f2.06375",
- "wires": [
- [
- "3b23aa3d.9ed0ee"
- ]
- ]
- },
- {
- "id": "3b23aa3d.9ed0ee",
- "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": 818.2857360839844,
- "y": 326.42857360839844,
- "z": "285db0f2.06375",
- "wires": []
- },
- {
- "id": "9c2591d5.def7f",
- "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='`$APPC.protocol.PROTOCOL`'/>",
- "comments": "",
- "outputs": 1,
- "x": 360.4285888671875,
- "y": 318.2857360839844,
- "z": "285db0f2.06375",
- "wires": [
- []
- ]
- },
- {
- "id": "924230.050aadd",
- "type": "set",
- "name": "set Download params",
- "xml": "<set> <parameter name='host-ip-address' value='`$vnf-host-ip-address`' />\n <parameter name='device-authentication.USER-NAME' value='`$device-login`' /> \n <parameter name='device-authentication.PASSWORD' value='`$device-password`' /> \n <parameter name='device-authentication.PORT-NUMBER' value='`$port-number`' /> \n <parameter name='protocol' value='`$tmp.deviceinterfaceprotocol.PROTOCOL`' /> \n <parameter name='device-config' value='`$deviceconfig-file-content`' /> \n\n \n ",
- "comments": "",
- "x": 318.5714111328125,
- "y": 553.857177734375,
- "z": "285db0f2.06375",
- "wires": []
- },
- {
- "id": "20606bf4.018594",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 308.4522705078125,
- "y": 407.30926513671875,
- "z": "285db0f2.06375",
- "wires": [
- [
- "de8fcfa2.bd48e"
- ]
- ]
- },
- {
- "id": "ff3926e6.0b79d",
- "type": "switchNode",
- "name": "switch : Protocol",
- "xml": "<switch test=\"`$APPC.protocol.PROTOCOL`\">\n",
- "comments": "",
- "outputs": 1,
- "x": 224.1666259765625,
- "y": 355.8809509277344,
- "z": "285db0f2.06375",
- "wires": [
- [
- "d7f8d6e5.1b2da8",
- "20606bf4.018594"
- ]
- ]
- },
- {
- "id": "d7f8d6e5.1b2da8",
- "type": "outcome",
- "name": "CHEF",
- "xml": "<outcome value='CHEF'>\n",
- "comments": "",
- "outputs": 1,
- "x": 439.88092041015625,
- "y": 364.452392578125,
- "z": "285db0f2.06375",
- "wires": [
- [
- "45809dc8.5741ac"
- ]
- ]
- },
- {
- "id": "45809dc8.5741ac",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 654.452392578125,
- "y": 365.5714111328125,
- "z": "285db0f2.06375",
- "wires": [
- []
- ]
- }
+[
+ {
+ "id": "b0f9211a.8565b",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 105,
+ "y": 38,
+ "z": "e89a08c1.a81ec8",
+ "wires": [
+ [
+ "699a5b4e.9b3424"
+ ]
+ ]
+ },
+ {
+ "id": "699a5b4e.9b3424",
+ "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": 268,
+ "y": 28,
+ "z": "e89a08c1.a81ec8",
+ "wires": [
+ [
+ "b5f8776.2cb9d08"
+ ]
+ ]
+ },
+ {
+ "id": "b5f8776.2cb9d08",
+ "type": "method",
+ "name": "method Generic_Configure",
+ "xml": "<method rpc='Generic_Configure' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 483,
+ "y": 20,
+ "z": "e89a08c1.a81ec8",
+ "wires": [
+ [
+ "c8da0de1.45978"
+ ]
+ ]
+ },
+ {
+ "id": "c8da0de1.45978",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 102,
+ "y": 163.33332538604736,
+ "z": "e89a08c1.a81ec8",
+ "wires": [
+ [
+ "76e59cfc.5f7fd4",
+ "9ac0661e.7b3d",
+ "de144a77.072fa",
+ "76000bcb.0030c4",
+ "e735dcb3.3976b8",
+ "c495eaeb.1027f8",
+ "ba117359.6eb8e8",
+ "8dc5295f.7416"
+ ]
+ ]
+ },
+ {
+ "id": "76e59cfc.5f7fd4",
+ "type": "call",
+ "name": "call: DownloadConfig",
+ "xml": "<call module=\"APPC\" rpc=\"`$tmp.configureactiondg.DOWNLOAD-CONFIG-DG`\" mode=\"sync\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 325.5872802734375,
+ "y": 526.5873565673828,
+ "z": "e89a08c1.a81ec8",
+ "wires": [
+ [
+ "bec90611.274c8",
+ "c8608cf4.c7b0b8",
+ "edda4be2.6e2648"
+ ]
+ ]
+ },
+ {
+ "id": "bec90611.274c8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 597.9523620605469,
+ "y": 444.68251037597656,
+ "z": "e89a08c1.a81ec8",
+ "wires": [
+ [
+ "ac9b5f59.4e86f8"
+ ]
+ ]
+ },
+ {
+ "id": "c8608cf4.c7b0b8",
+ "type": "failure",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 614.9166984558105,
+ "y": 543.5001087188721,
+ "z": "e89a08c1.a81ec8",
+ "wires": [
+ [
+ "afea7253.f346a"
+ ]
+ ]
+ },
+ {
+ "id": "edda4be2.6e2648",
+ "type": "success",
+ "name": " success",
+ "xml": "<outcome value=\"success\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 563.2500114440918,
+ "y": 735.8333644866943,
+ "z": "e89a08c1.a81ec8",
+ "wires": [
+ [
+ "afbcbd37.a519b"
+ ]
+ ]
+ },
+ {
+ "id": "ac9b5f59.4e86f8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 802.3332824707031,
+ "y": 433.1905059814453,
+ "z": "e89a08c1.a81ec8",
+ "wires": [
+ [
+ "2c2b8553.7799aa",
+ "86d71d06.bd08c",
+ "8dd523f9.336fd8"
+ ]
+ ]
+ },
+ {
+ "id": "afea7253.f346a",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 797.8333282470703,
+ "y": 588.6667346954346,
+ "z": "e89a08c1.a81ec8",
+ "wires": [
+ [
+ "1b0dc446.a2656c"
+ ]
+ ]
+ },
+ {
+ "id": "afbcbd37.a519b",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 769.2500114440918,
+ "y": 727.0833644866943,
+ "z": "e89a08c1.a81ec8",
+ "wires": [
+ [
+ "c938aa48.dcd3a8",
+ "95955f25.02697",
+ "2f0feda0.bacb3a",
+ "553a35f.e4a004c"
+ ]
+ ]
+ },
+ {
+ "id": "2c2b8553.7799aa",
+ "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=\"`'error-code = ' + $error-code`\" />\n<parameter name=\"field3\" value=\"`'error-message = ' + $error-message`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1065.2222938537598,
+ "y": 352.5555419921875,
+ "z": "e89a08c1.a81ec8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1b0dc446.a2656c",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`'DG Workflow ' + $tmp.configureactiondg.DOWNLOAD-CONFIG-DG + ' not found'`\"/>\n\t",
+ "comments": "",
+ "x": 1201.2500228881836,
+ "y": 613.4166736602783,
+ "z": "e89a08c1.a81ec8",
+ "wires": []
+ },
+ {
+ "id": "c938aa48.dcd3a8",
+ "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=\"`'error-code = ' + $error-code`\" />\n<parameter name=\"field3\" value=\"`'error-message = ' + $error-message`\" />\n<parameter name=\"field4\" value=\"ACTIVATESUCCESS\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1059.750015258789,
+ "y": 722.8333601951599,
+ "z": "e89a08c1.a81ec8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "86d71d06.bd08c",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n\t",
+ "comments": "",
+ "x": 1081.777847290039,
+ "y": 516.1110925674438,
+ "z": "e89a08c1.a81ec8",
+ "wires": []
+ },
+ {
+ "id": "9ac0661e.7b3d",
+ "type": "set",
+ "name": "set Download params",
+ "xml": "<set>\n<parameter name='host-ip-address' value='`$vnf-host-ip-address`' />\n<parameter name='device-login' value='`$property.user`' />\n<parameter name='device-password' value='`$property.password`' />\n<parameter name='port-number' value='`$property.port`' />\n<parameter name='protocol' value='`$tmp.deviceinterfaceprotocol.PROTOCOL`' />\n<parameter name='device-config' value='`$deviceconfig-file-content`' />\n",
+ "comments": "",
+ "x": 347.4602966308594,
+ "y": 424.2538604736328,
+ "z": "e89a08c1.a81ec8",
+ "wires": []
+ },
+ {
+ "id": "95955f25.02697",
+ "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",
+ "comments": "",
+ "x": 1077.583267211914,
+ "y": 674.0000476837158,
+ "z": "e89a08c1.a81ec8",
+ "wires": []
+ },
+ {
+ "id": "e3d10299.5519e8",
+ "type": "comment",
+ "name": "ConfigCompAdaptor resets error code for success cases",
+ "info": "",
+ "comments": "",
+ "x": 1431.7500305175781,
+ "y": 671.0000514984131,
+ "z": "e89a08c1.a81ec8",
+ "wires": []
+ },
+ {
+ "id": "de144a77.072fa",
+ "type": "execute",
+ "name": "execute saveTxLog",
+ "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"log\" />\n<parameter name=\"message\" value=\"get Config Info\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 439.98406982421875,
+ "y": 141.20639038085938,
+ "z": "e89a08c1.a81ec8",
+ "wires": [
+ [
+ "8db27e16.957fb"
+ ]
+ ]
+ },
+ {
+ "id": "2f0feda0.bacb3a",
+ "type": "execute",
+ "name": "execute saveTxLog",
+ "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"log\" />\n<parameter name=\"message\" value=\"400: Download of Config file is Successful\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1060.000015258789,
+ "y": 794.4166793823242,
+ "z": "e89a08c1.a81ec8",
+ "wires": [
+ [
+ "be65d4b2.0f598"
+ ]
+ ]
+ },
+ {
+ "id": "f41ab2e3.c61a18",
+ "type": "execute",
+ "name": "execute saveTxLog",
+ "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"log\" />\n<parameter name=\"message\" value=\"`$tmp.message`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1857.8889350891113,
+ "y": 518.2222175598145,
+ "z": "e89a08c1.a81ec8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f325ba8f.662a2",
+ "type": "set",
+ "name": "set tmp.message",
+ "xml": "<set>\n<parameter name='tmp.message' value=\"`'Download Failure : ' + $error-code + ' : ' + $error-message`\" />\n",
+ "comments": "",
+ "x": 1859.1110229492188,
+ "y": 444.55554962158203,
+ "z": "e89a08c1.a81ec8",
+ "wires": []
+ },
+ {
+ "id": "8dd523f9.336fd8",
+ "type": "switchNode",
+ "name": "switch: error-code",
+ "xml": "<switch test=\"`$error-code`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1090.9999084472656,
+ "y": 423.6666316986084,
+ "z": "e89a08c1.a81ec8",
+ "wires": [
+ [
+ "52b728b4.72535",
+ "9ac38973.82aa58"
+ ]
+ ]
+ },
+ {
+ "id": "52b728b4.72535",
+ "type": "success",
+ "name": "outcome: 400",
+ "xml": "<outcome value=\"400\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 1286.6666946411133,
+ "y": 366.3333282470703,
+ "z": "e89a08c1.a81ec8",
+ "wires": [
+ [
+ "c34ec64f.1a02d8"
+ ]
+ ]
+ },
+ {
+ "id": "c34ec64f.1a02d8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1521.6666717529297,
+ "y": 363.88890743255615,
+ "z": "e89a08c1.a81ec8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9ac38973.82aa58",
+ "type": "success",
+ "name": "outcome: Other",
+ "xml": "<outcome value=\"Other\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 1297.6666259765625,
+ "y": 449.11109161376953,
+ "z": "e89a08c1.a81ec8",
+ "wires": [
+ [
+ "268d24.c9906adc"
+ ]
+ ]
+ },
+ {
+ "id": "268d24.c9906adc",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1521.1110382080078,
+ "y": 451.2222309112549,
+ "z": "e89a08c1.a81ec8",
+ "wires": [
+ [
+ "f325ba8f.662a2",
+ "f41ab2e3.c61a18"
+ ]
+ ]
+ },
+ {
+ "id": "aeac9862.7a823",
+ "type": "comment",
+ "name": "ISBC cases returns failure to stop polling",
+ "info": "",
+ "comments": "",
+ "x": 1571.6665344238281,
+ "y": 264.5555238723755,
+ "z": "e89a08c1.a81ec8",
+ "wires": []
+ },
+ {
+ "id": "be65d4b2.0f598",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1255.916648864746,
+ "y": 790.0000534057617,
+ "z": "e89a08c1.a81ec8",
+ "wires": [
+ [
+ "62276952.dd6d28"
+ ]
+ ]
+ },
+ {
+ "id": "62276952.dd6d28",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1429.5000267028809,
+ "y": 791.5000534057617,
+ "z": "e89a08c1.a81ec8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8db27e16.957fb",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 605.6666870117188,
+ "y": 165.6666259765625,
+ "z": "e89a08c1.a81ec8",
+ "wires": [
+ [
+ "74d92b55.5304dc"
+ ]
+ ]
+ },
+ {
+ "id": "74d92b55.5304dc",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 756.888916015625,
+ "y": 164.5555419921875,
+ "z": "e89a08c1.a81ec8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "553a35f.e4a004c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1025.000015258789,
+ "y": 868.6665592193604,
+ "z": "e89a08c1.a81ec8",
+ "wires": [
+ [
+ "7854f6c7.2823e",
+ "ebfb9352.ec50b"
+ ]
+ ]
+ },
+ {
+ "id": "ebfb9352.ec50b",
+ "type": "call",
+ "name": "call: SaveRunningConfig",
+ "xml": "<call module=\"APPC\" rpc=\"SaveRunningConfig\" mode=\"sync\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 1284.750015258789,
+ "y": 867.4999322891235,
+ "z": "e89a08c1.a81ec8",
+ "wires": [
+ [
+ "377b00f2.109a08"
+ ]
+ ]
+ },
+ {
+ "id": "7854f6c7.2823e",
+ "type": "switchNode",
+ "name": "switch: request-action",
+ "xml": "<switch test=\"`$request-action`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1239.4998970031738,
+ "y": 959.1665554046631,
+ "z": "e89a08c1.a81ec8",
+ "wires": [
+ [
+ "16e33ba.c1e34c4",
+ "25348bc1.fddc5c"
+ ]
+ ]
+ },
+ {
+ "id": "16e33ba.c1e34c4",
+ "type": "other",
+ "name": "Configure",
+ "xml": "<outcome value='Configure'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1486.749900817871,
+ "y": 949.0831813812256,
+ "z": "e89a08c1.a81ec8",
+ "wires": [
+ [
+ "15d9940.14ffcec"
+ ]
+ ]
+ },
+ {
+ "id": "25348bc1.fddc5c",
+ "type": "other",
+ "name": "ConfigScale",
+ "xml": "<outcome value='ConfigScale'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1491.5000228881836,
+ "y": 1016.1665563583374,
+ "z": "e89a08c1.a81ec8",
+ "wires": [
+ [
+ "15d9940.14ffcec"
+ ]
+ ]
+ },
+ {
+ "id": "15d9940.14ffcec",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1768.9165344238281,
+ "y": 996.2499361038208,
+ "z": "e89a08c1.a81ec8",
+ "wires": [
+ [
+ "fb1e2601.90a2e8"
+ ]
+ ]
+ },
+ {
+ "id": "fb1e2601.90a2e8",
+ "type": "call",
+ "name": "call: UpdateAaiInfo",
+ "xml": "<call module=\"APPC\" rpc=\"UpdateAaiInfo\" mode=\"sync\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 790.3334465026855,
+ "y": 1106.5833053588867,
+ "z": "e89a08c1.a81ec8",
+ "wires": [
+ [
+ "59b2723b.e9deec"
+ ]
+ ]
+ },
+ {
+ "id": "59b2723b.e9deec",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 997.9167556762695,
+ "y": 1110.833306312561,
+ "z": "e89a08c1.a81ec8",
+ "wires": [
+ [
+ "5eb00d25.62c5ac"
+ ]
+ ]
+ },
+ {
+ "id": "5eb00d25.62c5ac",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1192.083267211914,
+ "y": 1112.416561126709,
+ "z": "e89a08c1.a81ec8",
+ "wires": [
+ [
+ "2893c600.5cbb62",
+ "733a4c40.f8b7f4"
+ ]
+ ]
+ },
+ {
+ "id": "2893c600.5cbb62",
+ "type": "set",
+ "name": "set: dcae-error message",
+ "xml": "<set>\n\t <parameter name=\"dcae-error-message\" value=\"DG Workflow UpdateAaiInfo not found\"/>\n\t ",
+ "comments": "",
+ "x": 1499.2500228881836,
+ "y": 1086.999930858612,
+ "z": "e89a08c1.a81ec8",
+ "wires": []
+ },
+ {
+ "id": "733a4c40.f8b7f4",
+ "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=\"DCAEERRORMESSAGE\" value=\"`$dcae-error-message`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1442.1666526794434,
+ "y": 1133.2499332427979,
+ "z": "e89a08c1.a81ec8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "49c0512d.dc8838",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1691.0832748413086,
+ "y": 867.6665601730347,
+ "z": "e89a08c1.a81ec8",
+ "wires": [
+ [
+ "e5201048.7701c8",
+ "3646c95c.027db6"
+ ]
+ ]
+ },
+ {
+ "id": "377b00f2.109a08",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1498.5832748413086,
+ "y": 867.4165601730347,
+ "z": "e89a08c1.a81ec8",
+ "wires": [
+ [
+ "49c0512d.dc8838"
+ ]
+ ]
+ },
+ {
+ "id": "e5201048.7701c8",
+ "type": "set",
+ "name": "set: dcae-error message",
+ "xml": "<set>\n\t <parameter name=\"dcae-error-message\" value=\"DG Workflow SaveRunningConfig not found\"/>\n\t ",
+ "comments": "",
+ "x": 2000.0000305175781,
+ "y": 869.916558265686,
+ "z": "e89a08c1.a81ec8",
+ "wires": []
+ },
+ {
+ "id": "3646c95c.027db6",
+ "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=\"DCAEERRORMESSAGE\" value=\"`$dcae-error-message`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1944.4999084472656,
+ "y": 924.7499341964722,
+ "z": "e89a08c1.a81ec8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "76000bcb.0030c4",
+ "type": "execute",
+ "name": "execute getCommonConfigInfo",
+ "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getCommonConfigInfo\">\n<parameter name=\"responsePrefix\" value=\"tmp.commonConfigInfo\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 481.20635986328125,
+ "y": 95.047607421875,
+ "z": "e89a08c1.a81ec8",
+ "wires": [
+ [
+ "f0fb9050.5b961",
+ "104a596e.149de7"
+ ]
+ ]
+ },
+ {
+ "id": "f0fb9050.5b961",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 750.77783203125,
+ "y": 72.66664123535156,
+ "z": "e89a08c1.a81ec8",
+ "wires": [
+ [
+ "554248d0.355a58"
+ ]
+ ]
+ },
+ {
+ "id": "554248d0.355a58",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 887.77783203125,
+ "y": 76.66664123535156,
+ "z": "e89a08c1.a81ec8",
+ "wires": [
+ [
+ "8e5daf5e.ab8be8"
+ ]
+ ]
+ },
+ {
+ "id": "8e5daf5e.ab8be8",
+ "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=\"`$request-action`\"/>\n<parameter name=\"field3\" value=\"`$input.action`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1038.77783203125,
+ "y": 73.66664123535156,
+ "z": "e89a08c1.a81ec8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "104a596e.149de7",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 748.7777404785156,
+ "y": 122.80950927734375,
+ "z": "e89a08c1.a81ec8",
+ "wires": [
+ [
+ "b194c7ee.140c08"
+ ]
+ ]
+ },
+ {
+ "id": "b194c7ee.140c08",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 880.111083984375,
+ "y": 135.00003051757812,
+ "z": "e89a08c1.a81ec8",
+ "wires": [
+ [
+ "66e55728.0e3458"
+ ]
+ ]
+ },
+ {
+ "id": "66e55728.0e3458",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"DG Workflow GetAaiInfo not found\"/>\n\t",
+ "comments": "",
+ "x": 1037.7776794433594,
+ "y": 139.7142333984375,
+ "z": "e89a08c1.a81ec8",
+ "wires": []
+ },
+ {
+ "id": "af6bb1c9.1133d",
+ "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": 470.5038757324219,
+ "y": 358.92860412597656,
+ "z": "e89a08c1.a81ec8",
+ "wires": [
+ [
+ "f51503a4.2189b",
+ "38f4d1e3.88fbc6"
+ ]
+ ]
+ },
+ {
+ "id": "f51503a4.2189b",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 625.9682312011719,
+ "y": 335.5357208251953,
+ "z": "e89a08c1.a81ec8",
+ "wires": [
+ [
+ "1368e660.9cb882"
+ ]
+ ]
+ },
+ {
+ "id": "38f4d1e3.88fbc6",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 629.3611145019531,
+ "y": 371.2498321533203,
+ "z": "e89a08c1.a81ec8",
+ "wires": [
+ [
+ "1368e660.9cb882"
+ ]
+ ]
+ },
+ {
+ "id": "1368e660.9cb882",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 809.3610534667969,
+ "y": 337.85716247558594,
+ "z": "e89a08c1.a81ec8",
+ "wires": [
+ [
+ "c113d3d.533a0b"
+ ]
+ ]
+ },
+ {
+ "id": "c113d3d.533a0b",
+ "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`\" />",
+ "comments": "",
+ "x": 977.7538757324219,
+ "y": 329.8214569091797,
+ "z": "e89a08c1.a81ec8",
+ "wires": []
+ },
+ {
+ "id": "e735dcb3.3976b8",
+ "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": 439.14276123046875,
+ "y": 190.85719299316406,
+ "z": "e89a08c1.a81ec8",
+ "wires": [
+ [
+ "79be303c.d125d",
+ "9260b491.583b18"
+ ]
+ ]
+ },
+ {
+ "id": "79be303c.d125d",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 657,
+ "y": 208,
+ "z": "e89a08c1.a81ec8",
+ "wires": [
+ [
+ "2ce2ab4d.00561c"
+ ]
+ ]
+ },
+ {
+ "id": "2ce2ab4d.00561c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 787,
+ "y": 205,
+ "z": "e89a08c1.a81ec8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9260b491.583b18",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 659,
+ "y": 248,
+ "z": "e89a08c1.a81ec8",
+ "wires": [
+ [
+ "d4f3c05.c88d1c"
+ ]
+ ]
+ },
+ {
+ "id": "d4f3c05.c88d1c",
+ "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": 839,
+ "y": 245,
+ "z": "e89a08c1.a81ec8",
+ "wires": []
+ },
+ {
+ "id": "c495eaeb.1027f8",
+ "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='`$APPC.protocol.PROTOCOL`'/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 381.1428527832031,
+ "y": 236.85716247558594,
+ "z": "e89a08c1.a81ec8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ba117359.6eb8e8",
+ "type": "set",
+ "name": "set Download params",
+ "xml": "<set> <parameter name='host-ip-address' value='`$vnf-host-ip-address`' />\n <parameter name='device-authentication.USER-NAME' value='`$device-login`' /> \n <parameter name='device-authentication.PASSWORD' value='`$device-password`' /> \n <parameter name='device-authentication.PORT-NUMBER' value='`$port-number`' /> \n <parameter name='protocol' value='`$tmp.deviceinterfaceprotocol.PROTOCOL`' /> \n <parameter name='device-config' value='`$deviceconfig-file-content`' /> \n\n \n ",
+ "comments": "",
+ "x": 339.2856750488281,
+ "y": 472.42860412597656,
+ "z": "e89a08c1.a81ec8",
+ "wires": []
+ },
+ {
+ "id": "fbd748bf.9caff",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 329.1665344238281,
+ "y": 325.8806915283203,
+ "z": "e89a08c1.a81ec8",
+ "wires": [
+ [
+ "af6bb1c9.1133d"
+ ]
+ ]
+ },
+ {
+ "id": "8dc5295f.7416",
+ "type": "switchNode",
+ "name": "switch : Protocol",
+ "xml": "<switch test=\"`$APPC.protocol.PROTOCOL`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 244.88088989257812,
+ "y": 274.45237731933594,
+ "z": "e89a08c1.a81ec8",
+ "wires": [
+ [
+ "f2258254.879a48",
+ "fbd748bf.9caff"
+ ]
+ ]
+ },
+ {
+ "id": "f2258254.879a48",
+ "type": "outcome",
+ "name": "CHEF",
+ "xml": "<outcome value='CHEF'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 460.5951843261719,
+ "y": 283.02381896972656,
+ "z": "e89a08c1.a81ec8",
+ "wires": [
+ [
+ "945892f0.a8e7b8"
+ ]
+ ]
+ },
+ {
+ "id": "945892f0.a8e7b8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 675.1666564941406,
+ "y": 284.14283752441406,
+ "z": "e89a08c1.a81ec8",
+ "wires": [
+ []
+ ]
+ }
] \ No newline at end of file
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_Generic_Audit_2.0.0.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_Generic_Audit_2.0.0.json
index 3e1633809..2aedf4b8f 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_Generic_Audit_2.0.0.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_Generic_Audit_2.0.0.json
@@ -1,1759 +1,1759 @@
-[
- {
- "id": "81a02ecc.e61b6",
- "type": "dgstart",
- "name": "DGSTART",
- "outputs": 1,
- "x": 119.66666412353516,
- "y": 84.08333426713943,
- "z": "f16b4873.701568",
- "wires": [
- [
- "98597336.3c647"
- ]
- ]
- },
- {
- "id": "98597336.3c647",
- "type": "service-logic",
- "name": "APPC 2.0.0",
- "module": "APPC",
- "version": "2.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='2.0.0'>",
- "outputs": 1,
- "x": 299.66666412353516,
- "y": 84.08333426713943,
- "z": "f16b4873.701568",
- "wires": [
- [
- "3dddb84a.a123f8"
- ]
- ]
- },
- {
- "id": "3dddb84a.a123f8",
- "type": "method",
- "name": "Generic_Audit",
- "xml": "<method rpc='Generic_Audit' mode='sync'>\n",
- "comments": "",
- "outputs": 1,
- "x": 478.66666412353516,
- "y": 84.08333426713943,
- "z": "f16b4873.701568",
- "wires": [
- [
- "d043d660.7cbce8"
- ]
- ]
- },
- {
- "id": "7490fc55.b23eb4",
- "type": "get-resource",
- "name": "Retrieve current config details",
- "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL' key=\"SELECT service_description, vnf_name, vm_name, vnf_type, vnfc_type, host_ip_address , content FROM UPLOAD_CONFIG WHERE vnf_id = $input.action-identifiers.vnf-id AND config_indicator='Current' AND (pending_delete IS NULL OR pending_delete != 'Y')\" pfx=\"currnt-config[]\">",
- "comments": "",
- "outputs": 1,
- "x": 458.08617401123047,
- "y": 480.8665657043457,
- "z": "f16b4873.701568",
- "wires": [
- [
- "dceb4c56.95345",
- "a55ef9f.1845d08",
- "7c43698a.2b9eb8"
- ]
- ]
- },
- {
- "id": "7c43698a.2b9eb8",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 733.3759384155273,
- "y": 418.58686447143555,
- "z": "f16b4873.701568",
- "wires": [
- [
- "90511868.d5a528"
- ]
- ]
- },
- {
- "id": "dceb4c56.95345",
- "type": "not-found",
- "name": "not-found",
- "xml": "<outcome value='not-found'>",
- "comments": "",
- "outputs": 1,
- "x": 740.3759994506836,
- "y": 483.3646430969238,
- "z": "f16b4873.701568",
- "wires": [
- [
- "867bd8aa.3a55e8"
- ]
- ]
- },
- {
- "id": "a55ef9f.1845d08",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 672.5982284545898,
- "y": 533.0313148498535,
- "z": "f16b4873.701568",
- "wires": [
- [
- "30e459ed.1b9986"
- ]
- ]
- },
- {
- "id": "7eaffd91.5e2494",
- "type": "execute",
- "name": "Report Error to DCAE",
- "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name='output.status.message' value=\"`$error-message`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1195.2260360717773,
- "y": 496.9629249572754,
- "z": "f16b4873.701568",
- "wires": [
- []
- ]
- },
- {
- "id": "2bbc2c8c.227ae4",
- "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<parameter name='output.status.message' value=\"`$error-message`\"/>\n",
- "comments": "",
- "x": 1189.986717224121,
- "y": 542.1509742736816,
- "z": "f16b4873.701568",
- "wires": []
- },
- {
- "id": "2c17d4fd.27bcac",
- "type": "set",
- "name": "Set error message",
- "xml": "<set>\n<parameter name='error-message' value=\"`'Current configuration not found in the repository for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>",
- "comments": "",
- "x": 1180.593650817871,
- "y": 411.1424140930176,
- "z": "f16b4873.701568",
- "wires": []
- },
- {
- "id": "d4c8b998.7b4678",
- "type": "set",
- "name": "Set error message",
- "xml": "<set>\n<parameter name='error-message' value=\"`'Error while retrieving current configuration from the repository for the vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n",
- "comments": "",
- "x": 1182.2346420288086,
- "y": 368.0569190979004,
- "z": "f16b4873.701568",
- "wires": []
- },
- {
- "id": "90511868.d5a528",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 894.4568099975586,
- "y": 417.4757499694824,
- "z": "f16b4873.701568",
- "wires": [
- [
- "d4c8b998.7b4678",
- "7eaffd91.5e2494",
- "2bbc2c8c.227ae4",
- "ac51bff5.352e5"
- ]
- ]
- },
- {
- "id": "867bd8aa.3a55e8",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 905.0124130249023,
- "y": 481.2535285949707,
- "z": "f16b4873.701568",
- "wires": [
- [
- "2c17d4fd.27bcac",
- "7eaffd91.5e2494",
- "2bbc2c8c.227ae4",
- "ac51bff5.352e5"
- ]
- ]
- },
- {
- "id": "30e459ed.1b9986",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 302.56404876708984,
- "y": 631.1004371643066,
- "z": "f16b4873.701568",
- "wires": [
- [
- "b79fac1d.f13e1",
- "925cca6f.85b738",
- "a844b2a2.8681f",
- "dda489b7.a7bc78"
- ]
- ]
- },
- {
- "id": "b79fac1d.f13e1",
- "type": "for",
- "name": "for each current config",
- "xml": "<for index=\"i\" start=\"0\" end=\"`$currnt-config_length`\" >\n",
- "comments": "",
- "outputs": 1,
- "x": 530.6324081420898,
- "y": 631.4679908752441,
- "z": "f16b4873.701568",
- "wires": [
- [
- "67f30b25.070c24"
- ]
- ]
- },
- {
- "id": "eb62c9d8.e05988",
- "type": "set",
- "name": "Set context",
- "xml": "<set>\n<parameter name='service-description' value=\"`$currnt-config[$i].service-description`\" />\n<parameter name='vm-name' value=\"`$currnt-config[$i].vm-name`\" />\n<parameter name='vnf-type' value=\"`$currnt-config[$i].vnf-type`\" />\n<parameter name='vnfc-type' value=\"`$currnt-config[$i].vnfc-type`\" />\n<parameter name='host-ip-address' value=\"`$currnt-config[$i].host-ip-address`\" />\n<parameter name='vnf-name' value=\"`$currnt-config[$i].vnf-name`\" />\n<parameter name='current-config' value=\"`$currnt-config[$i].content`\" />\n\n",
- "comments": "",
- "x": 806.4786605834961,
- "y": 609.6987953186035,
- "z": "f16b4873.701568",
- "wires": []
- },
- {
- "id": "c66c9b28.d58e38",
- "type": "call",
- "name": "Call Retrieve running Config DG",
- "xml": "<call rpc='GetRunningConfig' mode='sync' >\n",
- "comments": "",
- "outputs": 1,
- "x": 857.4786605834961,
- "y": 666.6988258361816,
- "z": "f16b4873.701568",
- "wires": [
- [
- "e6375b8c.512fa8",
- "b4636b56.55a038",
- "67a55747.3e2588"
- ]
- ]
- },
- {
- "id": "67f30b25.070c24",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 552.7863082885742,
- "y": 729.6218299865723,
- "z": "f16b4873.701568",
- "wires": [
- [
- "eb62c9d8.e05988",
- "c66c9b28.d58e38",
- "1a5aec1c.ab3e44",
- "58111dc9.5f25b4",
- "b86d049a.13a1b8"
- ]
- ]
- },
- {
- "id": "e6375b8c.512fa8",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1118.5898056030273,
- "y": 613.6987342834473,
- "z": "f16b4873.701568",
- "wires": [
- [
- "5a971e26.a7171"
- ]
- ]
- },
- {
- "id": "b4636b56.55a038",
- "type": "not-found",
- "name": "not-found",
- "xml": "<outcome value='not-found'>",
- "comments": "",
- "outputs": 1,
- "x": 1119.0341415405273,
- "y": 666.6988258361816,
- "z": "f16b4873.701568",
- "wires": [
- [
- "bd38a484.bd0a98"
- ]
- ]
- },
- {
- "id": "67a55747.3e2588",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1123.1452865600586,
- "y": 710.8098487854004,
- "z": "f16b4873.701568",
- "wires": [
- []
- ]
- },
- {
- "id": "5a971e26.a7171",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1268.145408630371,
- "y": 613.6987342834473,
- "z": "f16b4873.701568",
- "wires": [
- [
- "72158f5.d06fd7",
- "580bd65f.53d9c8",
- "c4fa8668.3392a8"
- ]
- ]
- },
- {
- "id": "bd38a484.bd0a98",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1270.478660583496,
- "y": 664.5876808166504,
- "z": "f16b4873.701568",
- "wires": [
- [
- "c433e537.6d3cf8",
- "72158f5.d06fd7",
- "580bd65f.53d9c8",
- "c4fa8668.3392a8"
- ]
- ]
- },
- {
- "id": "c433e537.6d3cf8",
- "type": "set",
- "name": "Set error message",
- "xml": "<set>\n<parameter name='error-message' value='DG to retrieve running configuration not found'/>",
- "comments": "",
- "x": 1512.7009506225586,
- "y": 639.5876808166504,
- "z": "f16b4873.701568",
- "wires": []
- },
- {
- "id": "580bd65f.53d9c8",
- "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<parameter name='output.status.message' value=\"`$error-message`\"/>",
- "comments": "",
- "x": 1534.5471725463867,
- "y": 884.4338417053223,
- "z": "f16b4873.701568",
- "wires": []
- },
- {
- "id": "72158f5.d06fd7",
- "type": "execute",
- "name": "Report Error to DCAE",
- "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name='output.status.message' value=\"`$error-message`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1548.5471420288086,
- "y": 806.4338111877441,
- "z": "f16b4873.701568",
- "wires": [
- []
- ]
- },
- {
- "id": "752bb299.feb57c",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 250.66664123535156,
- "y": 412.99244117736816,
- "z": "f16b4873.701568",
- "wires": [
- [
- "7490fc55.b23eb4",
- "7c0de445.f1cc6c"
- ]
- ]
- },
- {
- "id": "ac51bff5.352e5",
- "type": "record",
- "name": "Log error",
- "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$error-message`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 1153.3589096069336,
- "y": 454.77563858032227,
- "z": "f16b4873.701568",
- "wires": [
- []
- ]
- },
- {
- "id": "c4fa8668.3392a8",
- "type": "record",
- "name": "Log error",
- "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$error-message`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 1493.024314880371,
- "y": 765.1839942932129,
- "z": "f16b4873.701568",
- "wires": [
- []
- ]
- },
- {
- "id": "7c0de445.f1cc6c",
- "type": "record",
- "name": "Log message",
- "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"debug\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`'Retrieving current configuration details from the repository for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 440.08553314208984,
- "y": 414.57805252075195,
- "z": "f16b4873.701568",
- "wires": [
- []
- ]
- },
- {
- "id": "925cca6f.85b738",
- "type": "record",
- "name": "Log message",
- "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"debug\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`'Audit action successful for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 524.6198310852051,
- "y": 1553.2725563049316,
- "z": "f16b4873.701568",
- "wires": [
- []
- ]
- },
- {
- "id": "a844b2a2.8681f",
- "type": "returnSuccess",
- "name": "return success",
- "xml": "<return status='success'>\n",
- "comments": "",
- "x": 502.4659614562988,
- "y": 1623.2724342346191,
- "z": "f16b4873.701568",
- "wires": []
- },
- {
- "id": "a97ef4e9.131748",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1059.9563827514648,
- "y": 923.8037452697754,
- "z": "f16b4873.701568",
- "wires": [
- [
- "7f859626.3ecfd8"
- ]
- ]
- },
- {
- "id": "8225d505.2c9498",
- "type": "not-found",
- "name": "not-found",
- "xml": "<outcome value='not-found'>",
- "comments": "",
- "outputs": 1,
- "x": 1063.9565048217773,
- "y": 978.5815773010254,
- "z": "f16b4873.701568",
- "wires": [
- [
- "bde3e23.e488b2"
- ]
- ]
- },
- {
- "id": "57cfd6f7.764c38",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 926.1786422729492,
- "y": 1035.2482738494873,
- "z": "f16b4873.701568",
- "wires": [
- [
- "fb928b6.eef3f78"
- ]
- ]
- },
- {
- "id": "bde3e23.e488b2",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1348.5930557250977,
- "y": 974.4703979492188,
- "z": "f16b4873.701568",
- "wires": [
- [
- "1d860eb4.38f4b1",
- "e4322d3b.8d1ab",
- "9380a644.f57908",
- "a832eaf1.bc4ea8"
- ]
- ]
- },
- {
- "id": "7f859626.3ecfd8",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1348.0373153686523,
- "y": 923.692569732666,
- "z": "f16b4873.701568",
- "wires": [
- [
- "e4322d3b.8d1ab",
- "9380a644.f57908",
- "a832eaf1.bc4ea8",
- "1d860eb4.38f4b1"
- ]
- ]
- },
- {
- "id": "1d860eb4.38f4b1",
- "type": "set",
- "name": "Set error message",
- "xml": "<set>\n<parameter name='error-message' value=\"`'Error comparing current and running configuration for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n<parameter name='error-code' value='500'/>",
- "comments": "",
- "x": 1638.1741561889648,
- "y": 973.3591957092285,
- "z": "f16b4873.701568",
- "wires": []
- },
- {
- "id": "fb928b6.eef3f78",
- "type": "switchNode",
- "name": "switch",
- "xml": "<switch test='`$STATUS`'>",
- "comments": "",
- "outputs": 1,
- "x": 1053.6667098999023,
- "y": 1070.083408355713,
- "z": "f16b4873.701568",
- "wires": [
- [
- "8e39a0cd.ee399",
- "d61b176c.169178",
- "fd1426ee.97bc68"
- ]
- ]
- },
- {
- "id": "8e39a0cd.ee399",
- "type": "success",
- "name": "no match",
- "xml": "<outcome value='FAILURE'>",
- "comments": "",
- "outputs": 1,
- "x": 1209.6667098999023,
- "y": 1071.833408355713,
- "z": "f16b4873.701568",
- "wires": [
- [
- "328dd4e4.27801c"
- ]
- ]
- },
- {
- "id": "328dd4e4.27801c",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1372.666790008545,
- "y": 1085.0833568572998,
- "z": "f16b4873.701568",
- "wires": [
- [
- "e4322d3b.8d1ab",
- "9380a644.f57908",
- "a832eaf1.bc4ea8",
- "764e8614.57f5c8",
- "5aeed919.b83438",
- "93ba279d.5bcbb8"
- ]
- ]
- },
- {
- "id": "77ff9a98.2bf224",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1353.6667098999023,
- "y": 1033.5833778381348,
- "z": "f16b4873.701568",
- "wires": [
- [
- "e4322d3b.8d1ab",
- "9380a644.f57908",
- "a832eaf1.bc4ea8",
- "1d860eb4.38f4b1"
- ]
- ]
- },
- {
- "id": "e4322d3b.8d1ab",
- "type": "record",
- "name": "Log error",
- "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$Error-Message`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 1624.6667098999023,
- "y": 1100.083408355713,
- "z": "f16b4873.701568",
- "wires": [
- []
- ]
- },
- {
- "id": "9380a644.f57908",
- "type": "execute",
- "name": "Report Error to DCAE",
- "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name='output.status.message' value=\"`$error-message`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1645.5338973999023,
- "y": 1201.2707862854004,
- "z": "f16b4873.701568",
- "wires": [
- []
- ]
- },
- {
- "id": "a832eaf1.bc4ea8",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='error-code' value=\"`$error-code`\"/>\n<parameter name='error-message' value=\"`$error-message`\"/>\n<parameter name='output.status.code' value='401'/>\n<parameter name='output.status.message' value=\"`$error-message`\"/>\n",
- "comments": "",
- "x": 1715.2946853637695,
- "y": 1460.458869934082,
- "z": "f16b4873.701568",
- "wires": []
- },
- {
- "id": "1a5aec1c.ab3e44",
- "type": "execute",
- "name": "Compare",
- "xml": "<execute plugin='onap.onap.sdnc.config.audit.node.CompareNode' method='compare' >\n<parameter name='sourceDataType' value=\"Current\" />\n<parameter name='sourceData' value=\"`$current-config`\" />\n<parameter name='targetDataType' value=\"Running\" />\n<parameter name='targetData' value=\"`$running-config.content`\" />\n<parameter name='compareDataType' value=\"`$protocol`\" />",
- "comments": "",
- "outputs": 1,
- "x": 769.6667098999023,
- "y": 967.0834083557129,
- "z": "f16b4873.701568",
- "wires": [
- [
- "a97ef4e9.131748",
- "8225d505.2c9498",
- "57cfd6f7.764c38"
- ]
- ]
- },
- {
- "id": "764e8614.57f5c8",
- "type": "set",
- "name": "Set error message",
- "xml": "<set>\n<parameter name='error-message' value=\"`$Error-Message`\"/>\n<parameter name='error-code' value=\"`$Error-code`\"/>\n",
- "comments": "",
- "x": 1637.6666793823242,
- "y": 1052.0833187103271,
- "z": "f16b4873.701568",
- "wires": []
- },
- {
- "id": "87b58856.047f68",
- "type": "set",
- "name": "Set error message",
- "xml": "<set>\n<parameter name='error-message' value=\"`'Running configuration not found in the repository for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>",
- "comments": "",
- "x": 1513.1740951538086,
- "y": 727.0833473205566,
- "z": "f16b4873.701568",
- "wires": []
- },
- {
- "id": "f549e445.f74888",
- "type": "set",
- "name": "Set error message",
- "xml": "<set>\n<parameter name='error-message' value=\"`'Error while retrieving running configuration from the repository for the vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n",
- "comments": "",
- "x": 1507.815086364746,
- "y": 680.9978675842285,
- "z": "f16b4873.701568",
- "wires": []
- },
- {
- "id": "6cdf93fd.27cd0c",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1274.037239074707,
- "y": 747.416690826416,
- "z": "f16b4873.701568",
- "wires": [
- [
- "f549e445.f74888",
- "c4fa8668.3392a8",
- "72158f5.d06fd7",
- "580bd65f.53d9c8",
- "b79736f.f56eac8"
- ]
- ]
- },
- {
- "id": "cea9c726.916838",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1281.592903137207,
- "y": 797.1944618225098,
- "z": "f16b4873.701568",
- "wires": [
- [
- "87b58856.047f68",
- "c4fa8668.3392a8",
- "72158f5.d06fd7",
- "580bd65f.53d9c8",
- "b79736f.f56eac8"
- ]
- ]
- },
- {
- "id": "183d6159.f57e3f",
- "type": "not-found",
- "name": "not-found",
- "xml": "<outcome value='not-found'>",
- "comments": "",
- "outputs": 1,
- "x": 1127.956428527832,
- "y": 797.3055458068848,
- "z": "f16b4873.701568",
- "wires": [
- [
- "cea9c726.916838"
- ]
- ]
- },
- {
- "id": "4f9c33fe.ee7c6c",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1128.9562454223633,
- "y": 749.5278053283691,
- "z": "f16b4873.701568",
- "wires": [
- [
- "6cdf93fd.27cd0c"
- ]
- ]
- },
- {
- "id": "58111dc9.5f25b4",
- "type": "get-resource",
- "name": "Retrieve Running config details DB",
- "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL' key=\" SELECT upload_config_id, request_id, originator_id, service_description, action, upload_date, vnf_id, vnf_name, vm_name, vnf_type, vnfc_type, host_ip_address, config_indicator, pending_delete ,content FROM UPLOAD_CONFIG WHERE UPLOAD_CONFIG_ID = $runningConfig.UPLOAD-CONFIG-ID\" pfx=\"running-config\" >",
- "comments": "",
- "outputs": 1,
- "x": 865.6666488647461,
- "y": 793.8074684143066,
- "z": "f16b4873.701568",
- "wires": [
- [
- "183d6159.f57e3f",
- "4f9c33fe.ee7c6c",
- "5fa98c15.aa8b74"
- ]
- ]
- },
- {
- "id": "5fa98c15.aa8b74",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1126.6665115356445,
- "y": 847.0833778381348,
- "z": "f16b4873.701568",
- "wires": [
- []
- ]
- },
- {
- "id": "d61b176c.169178",
- "type": "success",
- "name": "match",
- "xml": "<outcome value='SUCCESS'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1202.6667175292969,
- "y": 1132.0834693908691,
- "z": "f16b4873.701568",
- "wires": [
- [
- "5584c2d4.ec7c8c"
- ]
- ]
- },
- {
- "id": "fd1426ee.97bc68",
- "type": "not-found",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1213.6667098999023,
- "y": 1027.083408355713,
- "z": "f16b4873.701568",
- "wires": [
- [
- "77ff9a98.2bf224"
- ]
- ]
- },
- {
- "id": "b86d049a.13a1b8",
- "type": "set",
- "name": "Set Running Config ID",
- "xml": "<set>\n<parameter name='output.payload.upload-config-id[$i]' value='`$runningConfig.UPLOAD-CONFIG-ID`' />",
- "comments": "",
- "x": 845.7777938842773,
- "y": 728.4167518615723,
- "z": "f16b4873.701568",
- "wires": []
- },
- {
- "id": "dda489b7.a7bc78",
- "type": "execute",
- "name": "Generate output payload",
- "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='generateOutputPayloadFromContext' >",
- "comments": "",
- "outputs": 1,
- "x": 593.8887214660645,
- "y": 1493.5281105041504,
- "z": "f16b4873.701568",
- "wires": [
- [
- "96b89330.eeb7f",
- "23bea1a6.82114e",
- "dabc8dd4.4c031"
- ]
- ]
- },
- {
- "id": "96b89330.eeb7f",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 823.888843536377,
- "y": 1431.5280494689941,
- "z": "f16b4873.701568",
- "wires": [
- [
- "5584053a.68313c"
- ]
- ]
- },
- {
- "id": "23bea1a6.82114e",
- "type": "not-found",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 835.888843536377,
- "y": 1494.5281105041504,
- "z": "f16b4873.701568",
- "wires": [
- [
- "5584053a.68313c"
- ]
- ]
- },
- {
- "id": "dabc8dd4.4c031",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 830.8887214660645,
- "y": 1558.5280494689941,
- "z": "f16b4873.701568",
- "wires": [
- []
- ]
- },
- {
- "id": "5584053a.68313c",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1025.555591583252,
- "y": 1494.5280494689941,
- "z": "f16b4873.701568",
- "wires": [
- [
- "2fc5495.ed614b6",
- "34834985.8ba986"
- ]
- ]
- },
- {
- "id": "34834985.8ba986",
- "type": "execute",
- "name": "Report error to DCAE",
- "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"Failure while generating output payload JSON\" />",
- "comments": "",
- "outputs": 1,
- "x": 1270.460132598877,
- "y": 1496.9089088439941,
- "z": "f16b4873.701568",
- "wires": [
- []
- ]
- },
- {
- "id": "2fc5495.ed614b6",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",
- "comments": "",
- "x": 1257.888599395752,
- "y": 1549.0517311096191,
- "z": "f16b4873.701568",
- "wires": []
- },
- {
- "id": "5aeed919.b83438",
- "type": "execute",
- "name": "Generate output payload",
- "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='generateOutputPayloadFromContext' >",
- "comments": "",
- "outputs": 1,
- "x": 1674.3334579467773,
- "y": 1149.5278358459473,
- "z": "f16b4873.701568",
- "wires": [
- [
- "2f4b01d0.23640e",
- "fc0cdc70.37ff2",
- "bf7d7229.c2d58"
- ]
- ]
- },
- {
- "id": "2f4b01d0.23640e",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1893.3335494995117,
- "y": 1115.527744293213,
- "z": "f16b4873.701568",
- "wires": [
- [
- "db92eec9.b5f62"
- ]
- ]
- },
- {
- "id": "fc0cdc70.37ff2",
- "type": "not-found",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1895.3335494995117,
- "y": 1161.5278663635254,
- "z": "f16b4873.701568",
- "wires": [
- [
- "db92eec9.b5f62"
- ]
- ]
- },
- {
- "id": "bf7d7229.c2d58",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1895.3334579467773,
- "y": 1204.5277137756348,
- "z": "f16b4873.701568",
- "wires": [
- []
- ]
- },
- {
- "id": "db92eec9.b5f62",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2088.0002975463867,
- "y": 1136.527744293213,
- "z": "f16b4873.701568",
- "wires": [
- [
- "e04cb8f.eb7b748",
- "254d3066.a4bc5"
- ]
- ]
- },
- {
- "id": "254d3066.a4bc5",
- "type": "execute",
- "name": "Report error to DCAE",
- "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"Failure while generating output payload JSON\" />",
- "comments": "",
- "outputs": 1,
- "x": 2286.904960632324,
- "y": 1093.908603668213,
- "z": "f16b4873.701568",
- "wires": [
- []
- ]
- },
- {
- "id": "e04cb8f.eb7b748",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",
- "comments": "",
- "x": 2263.333427429199,
- "y": 1181.051670074463,
- "z": "f16b4873.701568",
- "wires": []
- },
- {
- "id": "b79736f.f56eac8",
- "type": "execute",
- "name": "Generate output payload",
- "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='generateOutputPayloadFromContext' >",
- "comments": "",
- "outputs": 1,
- "x": 1561.1111373901367,
- "y": 843.416690826416,
- "z": "f16b4873.701568",
- "wires": [
- [
- "97850b52.a31cd8",
- "41d36ebc.ba016",
- "e6d25885.e4e788"
- ]
- ]
- },
- {
- "id": "97850b52.a31cd8",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1805.111228942871,
- "y": 809.4165992736816,
- "z": "f16b4873.701568",
- "wires": [
- [
- "847cbebd.ab185"
- ]
- ]
- },
- {
- "id": "41d36ebc.ba016",
- "type": "not-found",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1807.111228942871,
- "y": 855.4167213439941,
- "z": "f16b4873.701568",
- "wires": [
- [
- "847cbebd.ab185"
- ]
- ]
- },
- {
- "id": "e6d25885.e4e788",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1807.1111373901367,
- "y": 898.4165687561035,
- "z": "f16b4873.701568",
- "wires": [
- []
- ]
- },
- {
- "id": "847cbebd.ab185",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1999.777976989746,
- "y": 830.4165992736816,
- "z": "f16b4873.701568",
- "wires": [
- [
- "e2703a71.5e2d08",
- "7312ce6e.051b1"
- ]
- ]
- },
- {
- "id": "7312ce6e.051b1",
- "type": "execute",
- "name": "Report error to DCAE",
- "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"Failure while generating output payload JSON\" />",
- "comments": "",
- "outputs": 1,
- "x": 2198.6826400756836,
- "y": 787.7974586486816,
- "z": "f16b4873.701568",
- "wires": [
- []
- ]
- },
- {
- "id": "e2703a71.5e2d08",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",
- "comments": "",
- "x": 2175.1111068725586,
- "y": 874.9405250549316,
- "z": "f16b4873.701568",
- "wires": []
- },
- {
- "id": "5584c2d4.ec7c8c",
- "type": "switchNode",
- "name": "switch",
- "xml": "<switch test='`$Publish_Config`'>",
- "comments": "",
- "outputs": 1,
- "x": 1240.1670684814453,
- "y": 1266.083574295044,
- "z": "f16b4873.701568",
- "wires": [
- [
- "b07cce86.c2267",
- "54d48804.2f6488"
- ]
- ]
- },
- {
- "id": "b07cce86.c2267",
- "type": "outcome",
- "name": "Outcome: y",
- "xml": "<outcome value='y'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1414.1669692993164,
- "y": 1246.7502841949463,
- "z": "f16b4873.701568",
- "wires": [
- [
- "93ba279d.5bcbb8"
- ]
- ]
- },
- {
- "id": "54d48804.2f6488",
- "type": "outcome",
- "name": "Outcome: Y",
- "xml": "<outcome value='Y'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1411.0838241577148,
- "y": 1289.833547592163,
- "z": "f16b4873.701568",
- "wires": [
- [
- "93ba279d.5bcbb8"
- ]
- ]
- },
- {
- "id": "93ba279d.5bcbb8",
- "type": "execute",
- "name": "execute CvaasDataIntoContext",
- "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='cvaasFileNameAndFileContentToContext' >\n<parameter name=\"cvaas-directory-path\" value=\"/opt/app/bvc/cvaas\" />\n<parameter name=\"appc-instance-id\" value=\"appc001\" />\n<parameter name=\"vnf-id\" value=\"`$input.action-identifiers.vnf-id`\" />",
- "comments": "",
- "outputs": 1,
- "x": 1769.583999633789,
- "y": 1298.8338718414307,
- "z": "f16b4873.701568",
- "wires": [
- [
- "4f8601db.1cc81",
- "d4ee7229.fae85"
- ]
- ]
- },
- {
- "id": "4f8601db.1cc81",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2036.8341751098633,
- "y": 1299.8340373039246,
- "z": "f16b4873.701568",
- "wires": [
- [
- "17c3243e.6f760c"
- ]
- ]
- },
- {
- "id": "17c3243e.6f760c",
- "type": "record",
- "name": "record cvass",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"`$cvaas-file-name`\"/>\n<parameter name=\"record\" value=\"`$cvaas-file-content`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2219.349090576172,
- "y": 1307.599196434021,
- "z": "f16b4873.701568",
- "wires": [
- [
- "1befff30.f1b281",
- "e5a0a1ba.78591"
- ]
- ]
- },
- {
- "id": "1befff30.f1b281",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2469.364891052246,
- "y": 1320.3642568588257,
- "z": "f16b4873.701568",
- "wires": [
- [
- "d4049805.d34618"
- ]
- ]
- },
- {
- "id": "e5a0a1ba.78591",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2471.3645401000977,
- "y": 1369.364426612854,
- "z": "f16b4873.701568",
- "wires": [
- [
- "d4049805.d34618"
- ]
- ]
- },
- {
- "id": "d4049805.d34618",
- "type": "execute",
- "name": "execute CheckFileCreated",
- "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='checkFileCreated' >\n<parameter name=\"vnf-id\" value=\"`$input.action-identifiers.vnf-id`\" />",
- "comments": "",
- "outputs": 1,
- "x": 2706.364604949951,
- "y": 1343.3643054962158,
- "z": "f16b4873.701568",
- "wires": [
- [
- "8587844.5a70378",
- "13a60653.f2418a"
- ]
- ]
- },
- {
- "id": "8587844.5a70378",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2956.850357055664,
- "y": 1421.5993309020996,
- "z": "f16b4873.701568",
- "wires": [
- []
- ]
- },
- {
- "id": "a89beb23.e0d968",
- "type": "block",
- "name": "block",
- "xml": "<block>",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 3162.849021911621,
- "y": 1374.5991201400757,
- "z": "f16b4873.701568",
- "wires": [
- [
- "6c7eaa88.024dc4",
- "fd02487c.77b308",
- "e5102b5c.3b53c8",
- "45de7390.486dfc"
- ]
- ]
- },
- {
- "id": "6c7eaa88.024dc4",
- "type": "set",
- "name": "Set error message",
- "xml": "<set>\n<parameter name='error-message' value=\"`'Cvass file could not be created'`\"/>",
- "comments": "",
- "x": 3427.404800415039,
- "y": 1313.487928390503,
- "z": "f16b4873.701568",
- "wires": []
- },
- {
- "id": "fd02487c.77b308",
- "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<parameter name='output.status.message' value=\"`$output.status.message`\"/>",
- "comments": "",
- "x": 3404.251720428467,
- "y": 1498.3346118927002,
- "z": "f16b4873.701568",
- "wires": []
- },
- {
- "id": "e5102b5c.3b53c8",
- "type": "execute",
- "name": "OutputMessageBuilder",
- "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />",
- "comments": "",
- "outputs": 1,
- "x": 3436.0007400512695,
- "y": 1429.4880809783936,
- "z": "f16b4873.701568",
- "wires": [
- [
- "89703cbf.30313"
- ]
- ]
- },
- {
- "id": "89703cbf.30313",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3634.1327743530273,
- "y": 1436.0382852554321,
- "z": "f16b4873.701568",
- "wires": [
- [
- "892031d3.9e1bd"
- ]
- ]
- },
- {
- "id": "892031d3.9e1bd",
- "type": "execute",
- "name": "Report error to DCAE",
- "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name='output.status.message' value=\"`$error-message`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3835.000331878662,
- "y": 1436.4882678985596,
- "z": "f16b4873.701568",
- "wires": [
- []
- ]
- },
- {
- "id": "45de7390.486dfc",
- "type": "record",
- "name": "Log error",
- "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$error-message`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3399.500015258789,
- "y": 1378.4880485534668,
- "z": "f16b4873.701568",
- "wires": [
- []
- ]
- },
- {
- "id": "d4ee7229.fae85",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2056.666831970215,
- "y": 1465.0834197998047,
- "z": "f16b4873.701568",
- "wires": [
- [
- "86d0a871.815158"
- ]
- ]
- },
- {
- "id": "a2c9685e.16d318",
- "type": "execute",
- "name": "OutputMessageBuilder",
- "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />",
- "comments": "",
- "outputs": 1,
- "x": 2398.667205810547,
- "y": 1463.083589553833,
- "z": "f16b4873.701568",
- "wires": [
- [
- "d7d7645d.5e76c8"
- ]
- ]
- },
- {
- "id": "d7d7645d.5e76c8",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2604.79891204834,
- "y": 1463.6331634521484,
- "z": "f16b4873.701568",
- "wires": [
- [
- "80effa9c.33fce8"
- ]
- ]
- },
- {
- "id": "80effa9c.33fce8",
- "type": "execute",
- "name": "Report Error to DCAE",
- "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name='output.status.message' value=\"`$error-message`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2812.7992248535156,
- "y": 1464.633376121521,
- "z": "f16b4873.701568",
- "wires": [
- []
- ]
- },
- {
- "id": "86d0a871.815158",
- "type": "block",
- "name": "block",
- "xml": "<block>",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 2208.666831970215,
- "y": 1465.0834197998047,
- "z": "f16b4873.701568",
- "wires": [
- [
- "a2c9685e.16d318",
- "897e770a.605f58"
- ]
- ]
- },
- {
- "id": "897e770a.605f58",
- "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<parameter name='output.status.message' value=\"`$output.status.message`\"/>",
- "comments": "",
- "x": 2371.666831970215,
- "y": 1552.0834197998047,
- "z": "f16b4873.701568",
- "wires": []
- },
- {
- "id": "d043d660.7cbce8",
- "type": "execute",
- "name": "Set payload in Context",
- "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='flatAndAddToContext' >\n<parameter name=\"payload\" value=\"`$input.payload`\" />",
- "comments": "",
- "outputs": 1,
- "x": 738.6666793823242,
- "y": 86.75000667572021,
- "z": "f16b4873.701568",
- "wires": [
- [
- "3c42bbb1.da71f4",
- "d63e629f.39f9",
- "17b5a1dd.0754de",
- "4fad0fe1.40343"
- ]
- ]
- },
- {
- "id": "d63e629f.39f9",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1033.666648864746,
- "y": 20,
- "z": "f16b4873.701568",
- "wires": [
- [
- "51284245.e89c1c"
- ]
- ]
- },
- {
- "id": "17b5a1dd.0754de",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1034.666648864746,
- "y": 70,
- "z": "f16b4873.701568",
- "wires": [
- [
- "51284245.e89c1c"
- ]
- ]
- },
- {
- "id": "4fad0fe1.40343",
- "type": "not-found",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1027.666648864746,
- "y": 125.00001525878906,
- "z": "f16b4873.701568",
- "wires": [
- [
- "51284245.e89c1c"
- ]
- ]
- },
- {
- "id": "3c42bbb1.da71f4",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1024.6667098999023,
- "y": 180.7500114440918,
- "z": "f16b4873.701568",
- "wires": [
- [
- "752bb299.feb57c"
- ]
- ]
- },
- {
- "id": "51284245.e89c1c",
- "type": "block",
- "name": "block",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1241.3332901000977,
- "y": 113.00000190734863,
- "z": "f16b4873.701568",
- "wires": [
- [
- "41523e11.c90e9",
- "a9abc91a.956e38"
- ]
- ]
- },
- {
- "id": "a9abc91a.956e38",
- "type": "execute",
- "name": "OutputMessageBuilder",
- "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"Failure in flattening payload Json\" />",
- "comments": "",
- "outputs": 1,
- "x": 1471.666358947754,
- "y": 64.88888740539551,
- "z": "f16b4873.701568",
- "wires": [
- [
- "10f72f11.953841"
- ]
- ]
- },
- {
- "id": "41523e11.c90e9",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",
- "comments": "",
- "x": 1438.6662368774414,
- "y": 113.52372932434082,
- "z": "f16b4873.701568",
- "wires": []
- },
- {
- "id": "10f72f11.953841",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1679.7613906860352,
- "y": 64.17462348937988,
- "z": "f16b4873.701568",
- "wires": [
- [
- "789d293f.1e9dc8"
- ]
- ]
- },
- {
- "id": "789d293f.1e9dc8",
- "type": "execute",
- "name": "Report Error to DCAE",
- "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"event-message\" value=\"`$event-message`\" />",
- "comments": "",
- "outputs": 1,
- "x": 1881.3329238891602,
- "y": 63.88888740539551,
- "z": "f16b4873.701568",
- "wires": [
- []
- ]
- },
- {
- "id": "13a60653.f2418a",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3001.3334045410156,
- "y": 1327.9999796748161,
- "z": "f16b4873.701568",
- "wires": [
- [
- "a89beb23.e0d968"
- ]
- ]
- }
-]
+[
+ {
+ "id": "81a02ecc.e61b6",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 119.66666412353516,
+ "y": 84.08333426713943,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "98597336.3c647"
+ ]
+ ]
+ },
+ {
+ "id": "98597336.3c647",
+ "type": "service-logic",
+ "name": "APPC 2.0.0",
+ "module": "APPC",
+ "version": "2.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='2.0.0'>",
+ "outputs": 1,
+ "x": 299.66666412353516,
+ "y": 84.08333426713943,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "3dddb84a.a123f8"
+ ]
+ ]
+ },
+ {
+ "id": "3dddb84a.a123f8",
+ "type": "method",
+ "name": "Generic_Audit",
+ "xml": "<method rpc='Generic_Audit' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 478.66666412353516,
+ "y": 84.08333426713943,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "d043d660.7cbce8"
+ ]
+ ]
+ },
+ {
+ "id": "7490fc55.b23eb4",
+ "type": "get-resource",
+ "name": "Retrieve current config details",
+ "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL' key=\"SELECT service_description, vnf_name, vm_name, vnf_type, vnfc_type, host_ip_address , content FROM UPLOAD_CONFIG WHERE vnf_id = $input.action-identifiers.vnf-id AND config_indicator='Current' AND (pending_delete IS NULL OR pending_delete != 'Y')\" pfx=\"currnt-config[]\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 458.08617401123047,
+ "y": 480.8665657043457,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "dceb4c56.95345",
+ "a55ef9f.1845d08",
+ "7c43698a.2b9eb8"
+ ]
+ ]
+ },
+ {
+ "id": "7c43698a.2b9eb8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 733.3759384155273,
+ "y": 418.58686447143555,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "90511868.d5a528"
+ ]
+ ]
+ },
+ {
+ "id": "dceb4c56.95345",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 740.3759994506836,
+ "y": 483.3646430969238,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "867bd8aa.3a55e8"
+ ]
+ ]
+ },
+ {
+ "id": "a55ef9f.1845d08",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 672.5982284545898,
+ "y": 533.0313148498535,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "30e459ed.1b9986"
+ ]
+ ]
+ },
+ {
+ "id": "7eaffd91.5e2494",
+ "type": "execute",
+ "name": "Report Error to DCAE",
+ "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name='output.status.message' value=\"`$error-message`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1195.2260360717773,
+ "y": 496.9629249572754,
+ "z": "f16b4873.701568",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2bbc2c8c.227ae4",
+ "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<parameter name='output.status.message' value=\"`$error-message`\"/>\n",
+ "comments": "",
+ "x": 1189.986717224121,
+ "y": 542.1509742736816,
+ "z": "f16b4873.701568",
+ "wires": []
+ },
+ {
+ "id": "2c17d4fd.27bcac",
+ "type": "set",
+ "name": "Set error message",
+ "xml": "<set>\n<parameter name='error-message' value=\"`'Current configuration not found in the repository for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>",
+ "comments": "",
+ "x": 1180.593650817871,
+ "y": 411.1424140930176,
+ "z": "f16b4873.701568",
+ "wires": []
+ },
+ {
+ "id": "d4c8b998.7b4678",
+ "type": "set",
+ "name": "Set error message",
+ "xml": "<set>\n<parameter name='error-message' value=\"`'Error while retrieving current configuration from the repository for the vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n",
+ "comments": "",
+ "x": 1182.2346420288086,
+ "y": 368.0569190979004,
+ "z": "f16b4873.701568",
+ "wires": []
+ },
+ {
+ "id": "90511868.d5a528",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 894.4568099975586,
+ "y": 417.4757499694824,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "d4c8b998.7b4678",
+ "7eaffd91.5e2494",
+ "2bbc2c8c.227ae4",
+ "ac51bff5.352e5"
+ ]
+ ]
+ },
+ {
+ "id": "867bd8aa.3a55e8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 905.0124130249023,
+ "y": 481.2535285949707,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "2c17d4fd.27bcac",
+ "7eaffd91.5e2494",
+ "2bbc2c8c.227ae4",
+ "ac51bff5.352e5"
+ ]
+ ]
+ },
+ {
+ "id": "30e459ed.1b9986",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 302.56404876708984,
+ "y": 631.1004371643066,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "b79fac1d.f13e1",
+ "925cca6f.85b738",
+ "a844b2a2.8681f",
+ "dda489b7.a7bc78"
+ ]
+ ]
+ },
+ {
+ "id": "b79fac1d.f13e1",
+ "type": "for",
+ "name": "for each current config",
+ "xml": "<for index=\"i\" start=\"0\" end=\"`$currnt-config_length`\" >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 530.6324081420898,
+ "y": 631.4679908752441,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "67f30b25.070c24"
+ ]
+ ]
+ },
+ {
+ "id": "eb62c9d8.e05988",
+ "type": "set",
+ "name": "Set context",
+ "xml": "<set>\n<parameter name='service-description' value=\"`$currnt-config[$i].service-description`\" />\n<parameter name='vm-name' value=\"`$currnt-config[$i].vm-name`\" />\n<parameter name='vnf-type' value=\"`$currnt-config[$i].vnf-type`\" />\n<parameter name='vnfc-type' value=\"`$currnt-config[$i].vnfc-type`\" />\n<parameter name='host-ip-address' value=\"`$currnt-config[$i].host-ip-address`\" />\n<parameter name='vnf-name' value=\"`$currnt-config[$i].vnf-name`\" />\n<parameter name='current-config' value=\"`$currnt-config[$i].content`\" />\n\n",
+ "comments": "",
+ "x": 806.4786605834961,
+ "y": 609.6987953186035,
+ "z": "f16b4873.701568",
+ "wires": []
+ },
+ {
+ "id": "c66c9b28.d58e38",
+ "type": "call",
+ "name": "Call Retrieve running Config DG",
+ "xml": "<call rpc='GetRunningConfig' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 857.4786605834961,
+ "y": 666.6988258361816,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "e6375b8c.512fa8",
+ "b4636b56.55a038",
+ "67a55747.3e2588"
+ ]
+ ]
+ },
+ {
+ "id": "67f30b25.070c24",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 552.7863082885742,
+ "y": 729.6218299865723,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "eb62c9d8.e05988",
+ "c66c9b28.d58e38",
+ "1a5aec1c.ab3e44",
+ "58111dc9.5f25b4",
+ "b86d049a.13a1b8"
+ ]
+ ]
+ },
+ {
+ "id": "e6375b8c.512fa8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1118.5898056030273,
+ "y": 613.6987342834473,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "5a971e26.a7171"
+ ]
+ ]
+ },
+ {
+ "id": "b4636b56.55a038",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1119.0341415405273,
+ "y": 666.6988258361816,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "bd38a484.bd0a98"
+ ]
+ ]
+ },
+ {
+ "id": "67a55747.3e2588",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1123.1452865600586,
+ "y": 710.8098487854004,
+ "z": "f16b4873.701568",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5a971e26.a7171",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1268.145408630371,
+ "y": 613.6987342834473,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "72158f5.d06fd7",
+ "580bd65f.53d9c8",
+ "c4fa8668.3392a8"
+ ]
+ ]
+ },
+ {
+ "id": "bd38a484.bd0a98",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1270.478660583496,
+ "y": 664.5876808166504,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "c433e537.6d3cf8",
+ "72158f5.d06fd7",
+ "580bd65f.53d9c8",
+ "c4fa8668.3392a8"
+ ]
+ ]
+ },
+ {
+ "id": "c433e537.6d3cf8",
+ "type": "set",
+ "name": "Set error message",
+ "xml": "<set>\n<parameter name='error-message' value='DG to retrieve running configuration not found'/>",
+ "comments": "",
+ "x": 1512.7009506225586,
+ "y": 639.5876808166504,
+ "z": "f16b4873.701568",
+ "wires": []
+ },
+ {
+ "id": "580bd65f.53d9c8",
+ "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<parameter name='output.status.message' value=\"`$error-message`\"/>",
+ "comments": "",
+ "x": 1534.5471725463867,
+ "y": 884.4338417053223,
+ "z": "f16b4873.701568",
+ "wires": []
+ },
+ {
+ "id": "72158f5.d06fd7",
+ "type": "execute",
+ "name": "Report Error to DCAE",
+ "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name='output.status.message' value=\"`$error-message`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1548.5471420288086,
+ "y": 806.4338111877441,
+ "z": "f16b4873.701568",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "752bb299.feb57c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 250.66664123535156,
+ "y": 412.99244117736816,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "7490fc55.b23eb4",
+ "7c0de445.f1cc6c"
+ ]
+ ]
+ },
+ {
+ "id": "ac51bff5.352e5",
+ "type": "record",
+ "name": "Log error",
+ "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$error-message`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1153.3589096069336,
+ "y": 454.77563858032227,
+ "z": "f16b4873.701568",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c4fa8668.3392a8",
+ "type": "record",
+ "name": "Log error",
+ "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$error-message`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1493.024314880371,
+ "y": 765.1839942932129,
+ "z": "f16b4873.701568",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7c0de445.f1cc6c",
+ "type": "record",
+ "name": "Log message",
+ "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"debug\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`'Retrieving current configuration details from the repository for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 440.08553314208984,
+ "y": 414.57805252075195,
+ "z": "f16b4873.701568",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "925cca6f.85b738",
+ "type": "record",
+ "name": "Log message",
+ "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"debug\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`'Audit action successful for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 524.6198310852051,
+ "y": 1553.2725563049316,
+ "z": "f16b4873.701568",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a844b2a2.8681f",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n",
+ "comments": "",
+ "x": 502.4659614562988,
+ "y": 1623.2724342346191,
+ "z": "f16b4873.701568",
+ "wires": []
+ },
+ {
+ "id": "a97ef4e9.131748",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1059.9563827514648,
+ "y": 923.8037452697754,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "7f859626.3ecfd8"
+ ]
+ ]
+ },
+ {
+ "id": "8225d505.2c9498",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1063.9565048217773,
+ "y": 978.5815773010254,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "bde3e23.e488b2"
+ ]
+ ]
+ },
+ {
+ "id": "57cfd6f7.764c38",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 926.1786422729492,
+ "y": 1035.2482738494873,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "fb928b6.eef3f78"
+ ]
+ ]
+ },
+ {
+ "id": "bde3e23.e488b2",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1348.5930557250977,
+ "y": 974.4703979492188,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "1d860eb4.38f4b1",
+ "e4322d3b.8d1ab",
+ "9380a644.f57908",
+ "a832eaf1.bc4ea8"
+ ]
+ ]
+ },
+ {
+ "id": "7f859626.3ecfd8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1348.0373153686523,
+ "y": 923.692569732666,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "e4322d3b.8d1ab",
+ "9380a644.f57908",
+ "a832eaf1.bc4ea8",
+ "1d860eb4.38f4b1"
+ ]
+ ]
+ },
+ {
+ "id": "1d860eb4.38f4b1",
+ "type": "set",
+ "name": "Set error message",
+ "xml": "<set>\n<parameter name='error-message' value=\"`'Error comparing current and running configuration for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n<parameter name='error-code' value='500'/>",
+ "comments": "",
+ "x": 1638.1741561889648,
+ "y": 973.3591957092285,
+ "z": "f16b4873.701568",
+ "wires": []
+ },
+ {
+ "id": "fb928b6.eef3f78",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$STATUS`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1053.6667098999023,
+ "y": 1070.083408355713,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "8e39a0cd.ee399",
+ "d61b176c.169178",
+ "fd1426ee.97bc68"
+ ]
+ ]
+ },
+ {
+ "id": "8e39a0cd.ee399",
+ "type": "success",
+ "name": "no match",
+ "xml": "<outcome value='FAILURE'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1209.6667098999023,
+ "y": 1071.833408355713,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "328dd4e4.27801c"
+ ]
+ ]
+ },
+ {
+ "id": "328dd4e4.27801c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1372.666790008545,
+ "y": 1085.0833568572998,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "e4322d3b.8d1ab",
+ "9380a644.f57908",
+ "a832eaf1.bc4ea8",
+ "764e8614.57f5c8",
+ "5aeed919.b83438",
+ "93ba279d.5bcbb8"
+ ]
+ ]
+ },
+ {
+ "id": "77ff9a98.2bf224",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1353.6667098999023,
+ "y": 1033.5833778381348,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "e4322d3b.8d1ab",
+ "9380a644.f57908",
+ "a832eaf1.bc4ea8",
+ "1d860eb4.38f4b1"
+ ]
+ ]
+ },
+ {
+ "id": "e4322d3b.8d1ab",
+ "type": "record",
+ "name": "Log error",
+ "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$Error-Message`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1624.6667098999023,
+ "y": 1100.083408355713,
+ "z": "f16b4873.701568",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9380a644.f57908",
+ "type": "execute",
+ "name": "Report Error to DCAE",
+ "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name='output.status.message' value=\"`$error-message`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1645.5338973999023,
+ "y": 1201.2707862854004,
+ "z": "f16b4873.701568",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a832eaf1.bc4ea8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value=\"`$error-code`\"/>\n<parameter name='error-message' value=\"`$error-message`\"/>\n<parameter name='output.status.code' value='401'/>\n<parameter name='output.status.message' value=\"`$error-message`\"/>\n",
+ "comments": "",
+ "x": 1715.2946853637695,
+ "y": 1460.458869934082,
+ "z": "f16b4873.701568",
+ "wires": []
+ },
+ {
+ "id": "1a5aec1c.ab3e44",
+ "type": "execute",
+ "name": "Compare",
+ "xml": "<execute plugin='org.onap.sdnc.config.audit.node.CompareNode' method='compare' >\n<parameter name='sourceDataType' value=\"Current\" />\n<parameter name='sourceData' value=\"`$current-config`\" />\n<parameter name='targetDataType' value=\"Running\" />\n<parameter name='targetData' value=\"`$running-config.content`\" />\n<parameter name='compareDataType' value=\"`$protocol`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 769.6667098999023,
+ "y": 967.0834083557129,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "a97ef4e9.131748",
+ "8225d505.2c9498",
+ "57cfd6f7.764c38"
+ ]
+ ]
+ },
+ {
+ "id": "764e8614.57f5c8",
+ "type": "set",
+ "name": "Set error message",
+ "xml": "<set>\n<parameter name='error-message' value=\"`$Error-Message`\"/>\n<parameter name='error-code' value=\"`$Error-code`\"/>\n",
+ "comments": "",
+ "x": 1637.6666793823242,
+ "y": 1052.0833187103271,
+ "z": "f16b4873.701568",
+ "wires": []
+ },
+ {
+ "id": "87b58856.047f68",
+ "type": "set",
+ "name": "Set error message",
+ "xml": "<set>\n<parameter name='error-message' value=\"`'Running configuration not found in the repository for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>",
+ "comments": "",
+ "x": 1513.1740951538086,
+ "y": 727.0833473205566,
+ "z": "f16b4873.701568",
+ "wires": []
+ },
+ {
+ "id": "f549e445.f74888",
+ "type": "set",
+ "name": "Set error message",
+ "xml": "<set>\n<parameter name='error-message' value=\"`'Error while retrieving running configuration from the repository for the vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n",
+ "comments": "",
+ "x": 1507.815086364746,
+ "y": 680.9978675842285,
+ "z": "f16b4873.701568",
+ "wires": []
+ },
+ {
+ "id": "6cdf93fd.27cd0c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1274.037239074707,
+ "y": 747.416690826416,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "f549e445.f74888",
+ "c4fa8668.3392a8",
+ "72158f5.d06fd7",
+ "580bd65f.53d9c8",
+ "b79736f.f56eac8"
+ ]
+ ]
+ },
+ {
+ "id": "cea9c726.916838",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1281.592903137207,
+ "y": 797.1944618225098,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "87b58856.047f68",
+ "c4fa8668.3392a8",
+ "72158f5.d06fd7",
+ "580bd65f.53d9c8",
+ "b79736f.f56eac8"
+ ]
+ ]
+ },
+ {
+ "id": "183d6159.f57e3f",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1127.956428527832,
+ "y": 797.3055458068848,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "cea9c726.916838"
+ ]
+ ]
+ },
+ {
+ "id": "4f9c33fe.ee7c6c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1128.9562454223633,
+ "y": 749.5278053283691,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "6cdf93fd.27cd0c"
+ ]
+ ]
+ },
+ {
+ "id": "58111dc9.5f25b4",
+ "type": "get-resource",
+ "name": "Retrieve Running config details DB",
+ "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL' key=\" SELECT upload_config_id, request_id, originator_id, service_description, action, upload_date, vnf_id, vnf_name, vm_name, vnf_type, vnfc_type, host_ip_address, config_indicator, pending_delete ,content FROM UPLOAD_CONFIG WHERE UPLOAD_CONFIG_ID = $runningConfig.UPLOAD-CONFIG-ID\" pfx=\"running-config\" >",
+ "comments": "",
+ "outputs": 1,
+ "x": 865.6666488647461,
+ "y": 793.8074684143066,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "183d6159.f57e3f",
+ "4f9c33fe.ee7c6c",
+ "5fa98c15.aa8b74"
+ ]
+ ]
+ },
+ {
+ "id": "5fa98c15.aa8b74",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1126.6665115356445,
+ "y": 847.0833778381348,
+ "z": "f16b4873.701568",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d61b176c.169178",
+ "type": "success",
+ "name": "match",
+ "xml": "<outcome value='SUCCESS'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1202.6667175292969,
+ "y": 1132.0834693908691,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "5584c2d4.ec7c8c"
+ ]
+ ]
+ },
+ {
+ "id": "fd1426ee.97bc68",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1213.6667098999023,
+ "y": 1027.083408355713,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "77ff9a98.2bf224"
+ ]
+ ]
+ },
+ {
+ "id": "b86d049a.13a1b8",
+ "type": "set",
+ "name": "Set Running Config ID",
+ "xml": "<set>\n<parameter name='output.payload.upload-config-id[$i]' value='`$runningConfig.UPLOAD-CONFIG-ID`' />",
+ "comments": "",
+ "x": 845.7777938842773,
+ "y": 728.4167518615723,
+ "z": "f16b4873.701568",
+ "wires": []
+ },
+ {
+ "id": "dda489b7.a7bc78",
+ "type": "execute",
+ "name": "Generate output payload",
+ "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='generateOutputPayloadFromContext' >",
+ "comments": "",
+ "outputs": 1,
+ "x": 593.8887214660645,
+ "y": 1493.5281105041504,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "96b89330.eeb7f",
+ "23bea1a6.82114e",
+ "dabc8dd4.4c031"
+ ]
+ ]
+ },
+ {
+ "id": "96b89330.eeb7f",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 823.888843536377,
+ "y": 1431.5280494689941,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "5584053a.68313c"
+ ]
+ ]
+ },
+ {
+ "id": "23bea1a6.82114e",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 835.888843536377,
+ "y": 1494.5281105041504,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "5584053a.68313c"
+ ]
+ ]
+ },
+ {
+ "id": "dabc8dd4.4c031",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 830.8887214660645,
+ "y": 1558.5280494689941,
+ "z": "f16b4873.701568",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5584053a.68313c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1025.555591583252,
+ "y": 1494.5280494689941,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "2fc5495.ed614b6",
+ "34834985.8ba986"
+ ]
+ ]
+ },
+ {
+ "id": "34834985.8ba986",
+ "type": "execute",
+ "name": "Report error to DCAE",
+ "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"Failure while generating output payload JSON\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1270.460132598877,
+ "y": 1496.9089088439941,
+ "z": "f16b4873.701568",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2fc5495.ed614b6",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",
+ "comments": "",
+ "x": 1257.888599395752,
+ "y": 1549.0517311096191,
+ "z": "f16b4873.701568",
+ "wires": []
+ },
+ {
+ "id": "5aeed919.b83438",
+ "type": "execute",
+ "name": "Generate output payload",
+ "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='generateOutputPayloadFromContext' >",
+ "comments": "",
+ "outputs": 1,
+ "x": 1674.3334579467773,
+ "y": 1149.5278358459473,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "2f4b01d0.23640e",
+ "fc0cdc70.37ff2",
+ "bf7d7229.c2d58"
+ ]
+ ]
+ },
+ {
+ "id": "2f4b01d0.23640e",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1893.3335494995117,
+ "y": 1115.527744293213,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "db92eec9.b5f62"
+ ]
+ ]
+ },
+ {
+ "id": "fc0cdc70.37ff2",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1895.3335494995117,
+ "y": 1161.5278663635254,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "db92eec9.b5f62"
+ ]
+ ]
+ },
+ {
+ "id": "bf7d7229.c2d58",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1895.3334579467773,
+ "y": 1204.5277137756348,
+ "z": "f16b4873.701568",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "db92eec9.b5f62",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2088.0002975463867,
+ "y": 1136.527744293213,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "e04cb8f.eb7b748",
+ "254d3066.a4bc5"
+ ]
+ ]
+ },
+ {
+ "id": "254d3066.a4bc5",
+ "type": "execute",
+ "name": "Report error to DCAE",
+ "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"Failure while generating output payload JSON\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2286.904960632324,
+ "y": 1093.908603668213,
+ "z": "f16b4873.701568",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e04cb8f.eb7b748",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",
+ "comments": "",
+ "x": 2263.333427429199,
+ "y": 1181.051670074463,
+ "z": "f16b4873.701568",
+ "wires": []
+ },
+ {
+ "id": "b79736f.f56eac8",
+ "type": "execute",
+ "name": "Generate output payload",
+ "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='generateOutputPayloadFromContext' >",
+ "comments": "",
+ "outputs": 1,
+ "x": 1561.1111373901367,
+ "y": 843.416690826416,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "97850b52.a31cd8",
+ "41d36ebc.ba016",
+ "e6d25885.e4e788"
+ ]
+ ]
+ },
+ {
+ "id": "97850b52.a31cd8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1805.111228942871,
+ "y": 809.4165992736816,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "847cbebd.ab185"
+ ]
+ ]
+ },
+ {
+ "id": "41d36ebc.ba016",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1807.111228942871,
+ "y": 855.4167213439941,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "847cbebd.ab185"
+ ]
+ ]
+ },
+ {
+ "id": "e6d25885.e4e788",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1807.1111373901367,
+ "y": 898.4165687561035,
+ "z": "f16b4873.701568",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "847cbebd.ab185",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1999.777976989746,
+ "y": 830.4165992736816,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "e2703a71.5e2d08",
+ "7312ce6e.051b1"
+ ]
+ ]
+ },
+ {
+ "id": "7312ce6e.051b1",
+ "type": "execute",
+ "name": "Report error to DCAE",
+ "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"Failure while generating output payload JSON\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2198.6826400756836,
+ "y": 787.7974586486816,
+ "z": "f16b4873.701568",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e2703a71.5e2d08",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",
+ "comments": "",
+ "x": 2175.1111068725586,
+ "y": 874.9405250549316,
+ "z": "f16b4873.701568",
+ "wires": []
+ },
+ {
+ "id": "5584c2d4.ec7c8c",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$Publish_Config`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1240.1670684814453,
+ "y": 1266.083574295044,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "b07cce86.c2267",
+ "54d48804.2f6488"
+ ]
+ ]
+ },
+ {
+ "id": "b07cce86.c2267",
+ "type": "outcome",
+ "name": "Outcome: y",
+ "xml": "<outcome value='y'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1414.1669692993164,
+ "y": 1246.7502841949463,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "93ba279d.5bcbb8"
+ ]
+ ]
+ },
+ {
+ "id": "54d48804.2f6488",
+ "type": "outcome",
+ "name": "Outcome: Y",
+ "xml": "<outcome value='Y'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1411.0838241577148,
+ "y": 1289.833547592163,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "93ba279d.5bcbb8"
+ ]
+ ]
+ },
+ {
+ "id": "93ba279d.5bcbb8",
+ "type": "execute",
+ "name": "execute CvaasDataIntoContext",
+ "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='cvaasFileNameAndFileContentToContext' >\n<parameter name=\"cvaas-directory-path\" value=\"/opt/app/bvc/cvaas\" />\n<parameter name=\"appc-instance-id\" value=\"appc001\" />\n<parameter name=\"vnf-id\" value=\"`$input.action-identifiers.vnf-id`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1769.583999633789,
+ "y": 1298.8338718414307,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "4f8601db.1cc81",
+ "d4ee7229.fae85"
+ ]
+ ]
+ },
+ {
+ "id": "4f8601db.1cc81",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2036.8341751098633,
+ "y": 1299.8340373039246,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "17c3243e.6f760c"
+ ]
+ ]
+ },
+ {
+ "id": "17c3243e.6f760c",
+ "type": "record",
+ "name": "record cvass",
+ "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"`$cvaas-file-name`\"/>\n<parameter name=\"record\" value=\"`$cvaas-file-content`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2219.349090576172,
+ "y": 1307.599196434021,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "1befff30.f1b281",
+ "e5a0a1ba.78591"
+ ]
+ ]
+ },
+ {
+ "id": "1befff30.f1b281",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2469.364891052246,
+ "y": 1320.3642568588257,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "d4049805.d34618"
+ ]
+ ]
+ },
+ {
+ "id": "e5a0a1ba.78591",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2471.3645401000977,
+ "y": 1369.364426612854,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "d4049805.d34618"
+ ]
+ ]
+ },
+ {
+ "id": "d4049805.d34618",
+ "type": "execute",
+ "name": "execute CheckFileCreated",
+ "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='checkFileCreated' >\n<parameter name=\"vnf-id\" value=\"`$input.action-identifiers.vnf-id`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2706.364604949951,
+ "y": 1343.3643054962158,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "8587844.5a70378",
+ "13a60653.f2418a"
+ ]
+ ]
+ },
+ {
+ "id": "8587844.5a70378",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2956.850357055664,
+ "y": 1421.5993309020996,
+ "z": "f16b4873.701568",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a89beb23.e0d968",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 3162.849021911621,
+ "y": 1374.5991201400757,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "6c7eaa88.024dc4",
+ "fd02487c.77b308",
+ "e5102b5c.3b53c8",
+ "45de7390.486dfc"
+ ]
+ ]
+ },
+ {
+ "id": "6c7eaa88.024dc4",
+ "type": "set",
+ "name": "Set error message",
+ "xml": "<set>\n<parameter name='error-message' value=\"`'Cvass file could not be created'`\"/>",
+ "comments": "",
+ "x": 3427.404800415039,
+ "y": 1313.487928390503,
+ "z": "f16b4873.701568",
+ "wires": []
+ },
+ {
+ "id": "fd02487c.77b308",
+ "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<parameter name='output.status.message' value=\"`$output.status.message`\"/>",
+ "comments": "",
+ "x": 3404.251720428467,
+ "y": 1498.3346118927002,
+ "z": "f16b4873.701568",
+ "wires": []
+ },
+ {
+ "id": "e5102b5c.3b53c8",
+ "type": "execute",
+ "name": "OutputMessageBuilder",
+ "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3436.0007400512695,
+ "y": 1429.4880809783936,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "89703cbf.30313"
+ ]
+ ]
+ },
+ {
+ "id": "89703cbf.30313",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3634.1327743530273,
+ "y": 1436.0382852554321,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "892031d3.9e1bd"
+ ]
+ ]
+ },
+ {
+ "id": "892031d3.9e1bd",
+ "type": "execute",
+ "name": "Report error to DCAE",
+ "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name='output.status.message' value=\"`$error-message`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3835.000331878662,
+ "y": 1436.4882678985596,
+ "z": "f16b4873.701568",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "45de7390.486dfc",
+ "type": "record",
+ "name": "Log error",
+ "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$error-message`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3399.500015258789,
+ "y": 1378.4880485534668,
+ "z": "f16b4873.701568",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d4ee7229.fae85",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2056.666831970215,
+ "y": 1465.0834197998047,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "86d0a871.815158"
+ ]
+ ]
+ },
+ {
+ "id": "a2c9685e.16d318",
+ "type": "execute",
+ "name": "OutputMessageBuilder",
+ "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2398.667205810547,
+ "y": 1463.083589553833,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "d7d7645d.5e76c8"
+ ]
+ ]
+ },
+ {
+ "id": "d7d7645d.5e76c8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2604.79891204834,
+ "y": 1463.6331634521484,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "80effa9c.33fce8"
+ ]
+ ]
+ },
+ {
+ "id": "80effa9c.33fce8",
+ "type": "execute",
+ "name": "Report Error to DCAE",
+ "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name='output.status.message' value=\"`$error-message`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2812.7992248535156,
+ "y": 1464.633376121521,
+ "z": "f16b4873.701568",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "86d0a871.815158",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2208.666831970215,
+ "y": 1465.0834197998047,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "a2c9685e.16d318",
+ "897e770a.605f58"
+ ]
+ ]
+ },
+ {
+ "id": "897e770a.605f58",
+ "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<parameter name='output.status.message' value=\"`$output.status.message`\"/>",
+ "comments": "",
+ "x": 2371.666831970215,
+ "y": 1552.0834197998047,
+ "z": "f16b4873.701568",
+ "wires": []
+ },
+ {
+ "id": "d043d660.7cbce8",
+ "type": "execute",
+ "name": "Set payload in Context",
+ "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='flatAndAddToContext' >\n<parameter name=\"payload\" value=\"`$input.payload`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 738.6666793823242,
+ "y": 86.75000667572021,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "3c42bbb1.da71f4",
+ "d63e629f.39f9",
+ "17b5a1dd.0754de",
+ "4fad0fe1.40343"
+ ]
+ ]
+ },
+ {
+ "id": "d63e629f.39f9",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1033.666648864746,
+ "y": 20,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "51284245.e89c1c"
+ ]
+ ]
+ },
+ {
+ "id": "17b5a1dd.0754de",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1034.666648864746,
+ "y": 70,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "51284245.e89c1c"
+ ]
+ ]
+ },
+ {
+ "id": "4fad0fe1.40343",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1027.666648864746,
+ "y": 125.00001525878906,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "51284245.e89c1c"
+ ]
+ ]
+ },
+ {
+ "id": "3c42bbb1.da71f4",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1024.6667098999023,
+ "y": 180.7500114440918,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "752bb299.feb57c"
+ ]
+ ]
+ },
+ {
+ "id": "51284245.e89c1c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1241.3332901000977,
+ "y": 113.00000190734863,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "41523e11.c90e9",
+ "a9abc91a.956e38"
+ ]
+ ]
+ },
+ {
+ "id": "a9abc91a.956e38",
+ "type": "execute",
+ "name": "OutputMessageBuilder",
+ "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"Failure in flattening payload Json\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1471.666358947754,
+ "y": 64.88888740539551,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "10f72f11.953841"
+ ]
+ ]
+ },
+ {
+ "id": "41523e11.c90e9",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",
+ "comments": "",
+ "x": 1438.6662368774414,
+ "y": 113.52372932434082,
+ "z": "f16b4873.701568",
+ "wires": []
+ },
+ {
+ "id": "10f72f11.953841",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1679.7613906860352,
+ "y": 64.17462348937988,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "789d293f.1e9dc8"
+ ]
+ ]
+ },
+ {
+ "id": "789d293f.1e9dc8",
+ "type": "execute",
+ "name": "Report Error to DCAE",
+ "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"event-message\" value=\"`$event-message`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1881.3329238891602,
+ "y": 63.88888740539551,
+ "z": "f16b4873.701568",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "13a60653.f2418a",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3001.3334045410156,
+ "y": 1327.9999796748161,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "a89beb23.e0d968"
+ ]
+ ]
+ }
+] \ No newline at end of file