summaryrefslogtreecommitdiffstats
path: root/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_CommonConfiguration.json
diff options
context:
space:
mode:
authorTaka <tc012c@att.com>2017-12-22 18:06:10 -0500
committerTaka <tc012c@att.com>2017-12-22 18:07:04 -0500
commitc1d325bb009a21ccb4d89f8562f89a36cfa069ed (patch)
tree40ed993a302e2d43e790aa488c0cfe0c80d53d1b /appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_CommonConfiguration.json
parent26c841f18a69baedda1215cb06ee3197f4662115 (diff)
Platform Hardening for DG Json files - Part 7
Change-Id: Ifac28a64e01767c15d940b20404904f2fc2d9b24 Issue-ID: APPC-305 Signed-off-by: Taka <tc012c@att.com>
Diffstat (limited to 'appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_CommonConfiguration.json')
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_CommonConfiguration.json750
1 files changed, 749 insertions, 1 deletions
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_CommonConfiguration.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_CommonConfiguration.json
index ef6c0d087..b2839c1f4 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_CommonConfiguration.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_CommonConfiguration.json
@@ -1 +1,749 @@
-[{"id":"15c59d71.ababe3","type":"dgstart","name":"DGSTART","outputs":1,"x":104,"y":48,"z":"c322e357.b8be8","wires":[["a514f47b.d5bda8"]]},{"id":"a514f47b.d5bda8","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":287,"y":50,"z":"c322e357.b8be8","wires":[["fb0c7139.5af51"]]},{"id":"fb0c7139.5af51","type":"method","name":"method CommonConfiguration","xml":"<method rpc='CommonConfiguration' mode='sync'>\n","comments":"","outputs":1,"x":547,"y":48,"z":"c322e357.b8be8","wires":[["3d94ea58.b453b6"]]},{"id":"3d94ea58.b453b6","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":84,"y":404,"z":"c322e357.b8be8","wires":[["62ba3ef0.ca976","c6df868f.aa7308","bc6c421e.60c4b","93c5931.7ab677","be2f239f.7dc29","dcac81d6.e4742"]]},{"id":"659a83cd.3ad29c","type":"switchNode","name":"switch: request-action","xml":"<switch test=\"`$request-action`\">\n\n\n","comments":"","outputs":1,"x":414.5,"y":343,"z":"c322e357.b8be8","wires":[["78fe488d.d629a8","ba1faf4d.90c7f","81174cbe.247c4","74691fa2.1c0c1","e740321c.4b927","4531bc67.6e9694","4d8d372f.0ebc28"]]},{"id":"210f97fe.bca328","type":"call","name":"call: Configure","xml":"<call module=\"APPC\" rpc=\"Configure\" mode=\"sync\">","comments":"","outputs":1,"x":1080.5,"y":348,"z":"c322e357.b8be8","wires":[["9070d727.d59288","44288c9c.74bae4"]]},{"id":"78fe488d.d629a8","type":"outcome","name":"Configure","xml":"<outcome value='Configure'>\n","comments":"","outputs":1,"x":687.5,"y":344,"z":"c322e357.b8be8","wires":[["5dff373d.db8a48"]]},{"id":"ba1faf4d.90c7f","type":"outcome","name":"ConfigModify","xml":"<outcome value='ConfigModify'>\n","comments":"","outputs":1,"x":684.5,"y":474,"z":"c322e357.b8be8","wires":[["5dff373d.db8a48"]]},{"id":"74691fa2.1c0c1","type":"outcome","name":"ConfigScaleOut","xml":"<outcome value='ConfigScaleOut'>\n","comments":"","outputs":1,"x":687.5,"y":390,"z":"c322e357.b8be8","wires":[["5dff373d.db8a48"]]},{"id":"5dff373d.db8a48","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":878.5,"y":344,"z":"c322e357.b8be8","wires":[["210f97fe.bca328"]]},{"id":"62ba3ef0.ca976","type":"switchNode","name":"switch error-code","xml":"<switch test='`$error-code`'>\n","comments":"","outputs":1,"x":304,"y":821,"z":"c322e357.b8be8","wires":[["ade1eb2c.468eb8","75f0f4a7.e85dec"]]},{"id":"ade1eb2c.468eb8","type":"success","name":"outcome: 400","xml":"<outcome value=\"400\">","comments":"","outputs":1,"x":512,"y":830,"z":"c322e357.b8be8","wires":[["a91b8e31.5ff52"]]},{"id":"75f0f4a7.e85dec","type":"success","name":"outcome: Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":514,"y":905,"z":"c322e357.b8be8","wires":[["d33f3933.4c8b78"]]},{"id":"a91b8e31.5ff52","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":722,"y":836,"z":"c322e357.b8be8","wires":[["9337492c.d201c8"]]},{"id":"d33f3933.4c8b78","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":729,"y":910,"z":"c322e357.b8be8","wires":[["1f02e341.848ead"]]},{"id":"9337492c.d201c8","type":"set","name":"set Status for dispatcher","xml":"<set>\n<parameter name='SvcLogic.status' value='success' />\n<parameter name='output.status.code' value='`$error-code`' />\n<parameter name='output.status.message' value='`$error-message`' />","comments":"","x":955,"y":836,"z":"c322e357.b8be8","wires":[]},{"id":"1f02e341.848ead","type":"set","name":"set Status for dispatcher","xml":"<set>\n<parameter name='SvcLogic.status' value='failure' />\n<parameter name='output.status.code' value='`$error-code`' />\n<parameter name='output.status.message' value='`$error-message`' />\n","comments":"","x":962,"y":916,"z":"c322e357.b8be8","wires":[]},{"id":"c6df868f.aa7308","type":"record","name":"record","xml":"<record plugin=\"org.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=\"`'STATUS RETURNED TO DISPATCHER error-code = ' + $output.status.code`\" />\n<parameter name=\"field3\" value=\"`'STATUS RETURNED TO DISPATCHER error-message = ' + $output.status.message`\" />\n<parameter name=\"field4\" value=\"`'STATUS RETURNED TO DISPATCHER = ' + $SvcLogic.status`\" />","comments":"","outputs":1,"x":273,"y":1116,"z":"c322e357.b8be8","wires":[[]]},{"id":"bc6c421e.60c4b","type":"call","name":"call: GetConfigParams","xml":"<call module=\"APPC\" rpc=\"GetConfigParams\" mode=\"sync\">","comments":"","outputs":1,"x":329,"y":160,"z":"c322e357.b8be8","wires":[["f0d70e02.3a146","9cc63cfb.539a2","ee7268bd.050cd8"]]},{"id":"f0d70e02.3a146","type":"failure","name":"Other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":548,"y":262,"z":"c322e357.b8be8","wires":[["86ef19e.3d758e8"]]},{"id":"86ef19e.3d758e8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":716,"y":263,"z":"c322e357.b8be8","wires":[["659a83cd.3ad29c","f91a152c.8ed648"]]},{"id":"9cc63cfb.539a2","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":549,"y":151,"z":"c322e357.b8be8","wires":[["199d1e69.01b822"]]},{"id":"ee7268bd.050cd8","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":547,"y":200,"z":"c322e357.b8be8","wires":[["1a90801b.bb597"]]},{"id":"199d1e69.01b822","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":728,"y":149,"z":"c322e357.b8be8","wires":[[]]},{"id":"1a90801b.bb597","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":722,"y":202,"z":"c322e357.b8be8","wires":[["b99a1084.665dd"]]},{"id":"b99a1084.665dd","type":"set","name":"set error-code","xml":"<set>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='DG Workflow GetConfigParams not found' />\n","comments":"","x":916,"y":205,"z":"c322e357.b8be8","wires":[]},{"id":"9070d727.d59288","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1296,"y":348,"z":"c322e357.b8be8","wires":[["598408aa.da8188"]]},{"id":"598408aa.da8188","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1464,"y":348,"z":"c322e357.b8be8","wires":[["4733bef3.5975b"]]},{"id":"4733bef3.5975b","type":"set","name":"set error-code","xml":"<set>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='DG Workflow Configure not found' />\n","comments":"","x":1664,"y":349,"z":"c322e357.b8be8","wires":[]},{"id":"44288c9c.74bae4","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1289,"y":399,"z":"c322e357.b8be8","wires":[["e51b2033.d0295"]]},{"id":"e51b2033.d0295","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1470,"y":402,"z":"c322e357.b8be8","wires":[[]]},{"id":"81174cbe.247c4","type":"outcome","name":"ConfigRestore","xml":"<outcome value='ConfigRestore'>\n","comments":"","outputs":1,"x":688,"y":433,"z":"c322e357.b8be8","wires":[["5dff373d.db8a48"]]},{"id":"93c5931.7ab677","type":"call","name":"call: SetStatus","xml":"<call module=\"APPC\" rpc=\"SetStatus\" mode=\"sync\">","comments":"","outputs":1,"x":291,"y":719,"z":"c322e357.b8be8","wires":[["fe31a123.38291","131cb562.b3371b"]]},{"id":"fe31a123.38291","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":481,"y":702,"z":"c322e357.b8be8","wires":[["8823b534.00f5f8"]]},{"id":"8823b534.00f5f8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":667,"y":702,"z":"c322e357.b8be8","wires":[["c84859b3.72e148"]]},{"id":"c84859b3.72e148","type":"set","name":"set error-code","xml":"<set>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='DG Workflow SetConfigStatus not found' />\n","comments":"","x":855,"y":701,"z":"c322e357.b8be8","wires":[]},{"id":"131cb562.b3371b","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":475,"y":747,"z":"c322e357.b8be8","wires":[["a66046c6.450ae8"]]},{"id":"a66046c6.450ae8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":640,"y":746,"z":"c322e357.b8be8","wires":[[]]},{"id":"e740321c.4b927","type":"failure","name":"Other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":606,"y":650,"z":"c322e357.b8be8","wires":[["d03bfb1.6cdfe08"]]},{"id":"ef753c5c.a1a3e","type":"set","name":"set error-code","xml":"<set>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"`'Invalid action ' + $request-action`\" />\n","comments":"","x":979,"y":651,"z":"c322e357.b8be8","wires":[]},{"id":"d03bfb1.6cdfe08","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":778,"y":647,"z":"c322e357.b8be8","wires":[["ef753c5c.a1a3e"]]},{"id":"4531bc67.6e9694","type":"outcome","name":"ConfigBackup","xml":"<outcome value='ConfigBackup'>\n","comments":"","outputs":1,"x":678,"y":517,"z":"c322e357.b8be8","wires":[["5dff373d.db8a48"]]},{"id":"4d8d372f.0ebc28","type":"outcome","name":"ConfigBackupDelete","xml":"<outcome value='ConfigBackupDelete'>\n","comments":"","outputs":1,"x":685,"y":567,"z":"c322e357.b8be8","wires":[["5dff373d.db8a48"]]},{"id":"dcac81d6.e4742","type":"execute","name":"execute saveTxLog","xml":"<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"response\" />\n<parameter name=\"message\" value=\"`$tmp.message`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n","comments":"","outputs":1,"x":313.5,"y":1028,"z":"c322e357.b8be8","wires":[["9cff3b81.458148"]]},{"id":"be2f239f.7dc29","type":"set","name":"set tmp.message","xml":"<set>\n<parameter name=\"tmp.message\" value=\"`$output.status.code + ':' + $output.status.message`\" />\n","comments":"","x":296,"y":971,"z":"c322e357.b8be8","wires":[]},{"id":"9cff3b81.458148","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":521,"y":1030,"z":"c322e357.b8be8","wires":[["88b17439.3c8f78"]]},{"id":"88b17439.3c8f78","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":701,"y":1030,"z":"c322e357.b8be8","wires":[[]]},{"id":"f91a152c.8ed648","type":"record","name":"record","xml":"<record plugin=\"org.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":944,"y":267,"z":"c322e357.b8be8","wires":[[]]}]
+[
+ {
+ "id": "15c59d71.ababe3",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 104,
+ "y": 48,
+ "z": "c322e357.b8be8",
+ "wires": [
+ [
+ "a514f47b.d5bda8"
+ ]
+ ]
+ },
+ {
+ "id": "a514f47b.d5bda8",
+ "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": 287,
+ "y": 50,
+ "z": "c322e357.b8be8",
+ "wires": [
+ [
+ "fb0c7139.5af51"
+ ]
+ ]
+ },
+ {
+ "id": "fb0c7139.5af51",
+ "type": "method",
+ "name": "method CommonConfiguration",
+ "xml": "<method rpc='CommonConfiguration' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 547,
+ "y": 48,
+ "z": "c322e357.b8be8",
+ "wires": [
+ [
+ "3d94ea58.b453b6"
+ ]
+ ]
+ },
+ {
+ "id": "3d94ea58.b453b6",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 84,
+ "y": 404,
+ "z": "c322e357.b8be8",
+ "wires": [
+ [
+ "62ba3ef0.ca976",
+ "c6df868f.aa7308",
+ "bc6c421e.60c4b",
+ "93c5931.7ab677",
+ "be2f239f.7dc29",
+ "dcac81d6.e4742"
+ ]
+ ]
+ },
+ {
+ "id": "659a83cd.3ad29c",
+ "type": "switchNode",
+ "name": "switch: request-action",
+ "xml": "<switch test=\"`$request-action`\">\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 414.5,
+ "y": 343,
+ "z": "c322e357.b8be8",
+ "wires": [
+ [
+ "78fe488d.d629a8",
+ "ba1faf4d.90c7f",
+ "81174cbe.247c4",
+ "74691fa2.1c0c1",
+ "e740321c.4b927",
+ "4531bc67.6e9694",
+ "4d8d372f.0ebc28"
+ ]
+ ]
+ },
+ {
+ "id": "210f97fe.bca328",
+ "type": "call",
+ "name": "call: Configure",
+ "xml": "<call module=\"APPC\" rpc=\"Configure\" mode=\"sync\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 1080.5,
+ "y": 348,
+ "z": "c322e357.b8be8",
+ "wires": [
+ [
+ "9070d727.d59288",
+ "44288c9c.74bae4"
+ ]
+ ]
+ },
+ {
+ "id": "78fe488d.d629a8",
+ "type": "outcome",
+ "name": "Configure",
+ "xml": "<outcome value='Configure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 687.5,
+ "y": 344,
+ "z": "c322e357.b8be8",
+ "wires": [
+ [
+ "5dff373d.db8a48"
+ ]
+ ]
+ },
+ {
+ "id": "ba1faf4d.90c7f",
+ "type": "outcome",
+ "name": "ConfigModify",
+ "xml": "<outcome value='ConfigModify'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 684.5,
+ "y": 474,
+ "z": "c322e357.b8be8",
+ "wires": [
+ [
+ "5dff373d.db8a48"
+ ]
+ ]
+ },
+ {
+ "id": "74691fa2.1c0c1",
+ "type": "outcome",
+ "name": "ConfigScaleOut",
+ "xml": "<outcome value='ConfigScaleOut'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 687.5,
+ "y": 390,
+ "z": "c322e357.b8be8",
+ "wires": [
+ [
+ "5dff373d.db8a48"
+ ]
+ ]
+ },
+ {
+ "id": "5dff373d.db8a48",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 878.5,
+ "y": 344,
+ "z": "c322e357.b8be8",
+ "wires": [
+ [
+ "210f97fe.bca328"
+ ]
+ ]
+ },
+ {
+ "id": "62ba3ef0.ca976",
+ "type": "switchNode",
+ "name": "switch error-code",
+ "xml": "<switch test='`$error-code`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 304,
+ "y": 821,
+ "z": "c322e357.b8be8",
+ "wires": [
+ [
+ "ade1eb2c.468eb8",
+ "75f0f4a7.e85dec"
+ ]
+ ]
+ },
+ {
+ "id": "ade1eb2c.468eb8",
+ "type": "success",
+ "name": "outcome: 400",
+ "xml": "<outcome value=\"400\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 512,
+ "y": 830,
+ "z": "c322e357.b8be8",
+ "wires": [
+ [
+ "a91b8e31.5ff52"
+ ]
+ ]
+ },
+ {
+ "id": "75f0f4a7.e85dec",
+ "type": "success",
+ "name": "outcome: Other",
+ "xml": "<outcome value=\"Other\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 514,
+ "y": 905,
+ "z": "c322e357.b8be8",
+ "wires": [
+ [
+ "d33f3933.4c8b78"
+ ]
+ ]
+ },
+ {
+ "id": "a91b8e31.5ff52",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 722,
+ "y": 836,
+ "z": "c322e357.b8be8",
+ "wires": [
+ [
+ "9337492c.d201c8"
+ ]
+ ]
+ },
+ {
+ "id": "d33f3933.4c8b78",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 729,
+ "y": 910,
+ "z": "c322e357.b8be8",
+ "wires": [
+ [
+ "1f02e341.848ead"
+ ]
+ ]
+ },
+ {
+ "id": "9337492c.d201c8",
+ "type": "set",
+ "name": "set Status for dispatcher",
+ "xml": "<set>\n<parameter name='SvcLogic.status' value='success' />\n<parameter name='output.status.code' value='`$error-code`' />\n<parameter name='output.status.message' value='`$error-message`' />",
+ "comments": "",
+ "x": 955,
+ "y": 836,
+ "z": "c322e357.b8be8",
+ "wires": []
+ },
+ {
+ "id": "1f02e341.848ead",
+ "type": "set",
+ "name": "set Status for dispatcher",
+ "xml": "<set>\n<parameter name='SvcLogic.status' value='failure' />\n<parameter name='output.status.code' value='`$error-code`' />\n<parameter name='output.status.message' value='`$error-message`' />\n",
+ "comments": "",
+ "x": 962,
+ "y": 916,
+ "z": "c322e357.b8be8",
+ "wires": []
+ },
+ {
+ "id": "c6df868f.aa7308",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.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=\"`'STATUS RETURNED TO DISPATCHER error-code = ' + $output.status.code`\" />\n<parameter name=\"field3\" value=\"`'STATUS RETURNED TO DISPATCHER error-message = ' + $output.status.message`\" />\n<parameter name=\"field4\" value=\"`'STATUS RETURNED TO DISPATCHER = ' + $SvcLogic.status`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 273,
+ "y": 1116,
+ "z": "c322e357.b8be8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bc6c421e.60c4b",
+ "type": "call",
+ "name": "call: GetConfigParams",
+ "xml": "<call module=\"APPC\" rpc=\"GetConfigParams\" mode=\"sync\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 329,
+ "y": 160,
+ "z": "c322e357.b8be8",
+ "wires": [
+ [
+ "f0d70e02.3a146",
+ "9cc63cfb.539a2",
+ "ee7268bd.050cd8"
+ ]
+ ]
+ },
+ {
+ "id": "f0d70e02.3a146",
+ "type": "failure",
+ "name": "Other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 548,
+ "y": 262,
+ "z": "c322e357.b8be8",
+ "wires": [
+ [
+ "86ef19e.3d758e8"
+ ]
+ ]
+ },
+ {
+ "id": "86ef19e.3d758e8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 716,
+ "y": 263,
+ "z": "c322e357.b8be8",
+ "wires": [
+ [
+ "659a83cd.3ad29c",
+ "f91a152c.8ed648"
+ ]
+ ]
+ },
+ {
+ "id": "9cc63cfb.539a2",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 549,
+ "y": 151,
+ "z": "c322e357.b8be8",
+ "wires": [
+ [
+ "199d1e69.01b822"
+ ]
+ ]
+ },
+ {
+ "id": "ee7268bd.050cd8",
+ "type": "failure",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 547,
+ "y": 200,
+ "z": "c322e357.b8be8",
+ "wires": [
+ [
+ "1a90801b.bb597"
+ ]
+ ]
+ },
+ {
+ "id": "199d1e69.01b822",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 728,
+ "y": 149,
+ "z": "c322e357.b8be8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1a90801b.bb597",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 722,
+ "y": 202,
+ "z": "c322e357.b8be8",
+ "wires": [
+ [
+ "b99a1084.665dd"
+ ]
+ ]
+ },
+ {
+ "id": "b99a1084.665dd",
+ "type": "set",
+ "name": "set error-code",
+ "xml": "<set>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='DG Workflow GetConfigParams not found' />\n",
+ "comments": "",
+ "x": 916,
+ "y": 205,
+ "z": "c322e357.b8be8",
+ "wires": []
+ },
+ {
+ "id": "9070d727.d59288",
+ "type": "failure",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1296,
+ "y": 348,
+ "z": "c322e357.b8be8",
+ "wires": [
+ [
+ "598408aa.da8188"
+ ]
+ ]
+ },
+ {
+ "id": "598408aa.da8188",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1464,
+ "y": 348,
+ "z": "c322e357.b8be8",
+ "wires": [
+ [
+ "4733bef3.5975b"
+ ]
+ ]
+ },
+ {
+ "id": "4733bef3.5975b",
+ "type": "set",
+ "name": "set error-code",
+ "xml": "<set>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='DG Workflow Configure not found' />\n",
+ "comments": "",
+ "x": 1664,
+ "y": 349,
+ "z": "c322e357.b8be8",
+ "wires": []
+ },
+ {
+ "id": "44288c9c.74bae4",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1289,
+ "y": 399,
+ "z": "c322e357.b8be8",
+ "wires": [
+ [
+ "e51b2033.d0295"
+ ]
+ ]
+ },
+ {
+ "id": "e51b2033.d0295",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1470,
+ "y": 402,
+ "z": "c322e357.b8be8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "81174cbe.247c4",
+ "type": "outcome",
+ "name": "ConfigRestore",
+ "xml": "<outcome value='ConfigRestore'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 688,
+ "y": 433,
+ "z": "c322e357.b8be8",
+ "wires": [
+ [
+ "5dff373d.db8a48"
+ ]
+ ]
+ },
+ {
+ "id": "93c5931.7ab677",
+ "type": "call",
+ "name": "call: SetStatus",
+ "xml": "<call module=\"APPC\" rpc=\"SetStatus\" mode=\"sync\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 291,
+ "y": 719,
+ "z": "c322e357.b8be8",
+ "wires": [
+ [
+ "fe31a123.38291",
+ "131cb562.b3371b"
+ ]
+ ]
+ },
+ {
+ "id": "fe31a123.38291",
+ "type": "failure",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 481,
+ "y": 702,
+ "z": "c322e357.b8be8",
+ "wires": [
+ [
+ "8823b534.00f5f8"
+ ]
+ ]
+ },
+ {
+ "id": "8823b534.00f5f8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 667,
+ "y": 702,
+ "z": "c322e357.b8be8",
+ "wires": [
+ [
+ "c84859b3.72e148"
+ ]
+ ]
+ },
+ {
+ "id": "c84859b3.72e148",
+ "type": "set",
+ "name": "set error-code",
+ "xml": "<set>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='DG Workflow SetConfigStatus not found' />\n",
+ "comments": "",
+ "x": 855,
+ "y": 701,
+ "z": "c322e357.b8be8",
+ "wires": []
+ },
+ {
+ "id": "131cb562.b3371b",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 475,
+ "y": 747,
+ "z": "c322e357.b8be8",
+ "wires": [
+ [
+ "a66046c6.450ae8"
+ ]
+ ]
+ },
+ {
+ "id": "a66046c6.450ae8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 640,
+ "y": 746,
+ "z": "c322e357.b8be8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e740321c.4b927",
+ "type": "failure",
+ "name": "Other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 606,
+ "y": 650,
+ "z": "c322e357.b8be8",
+ "wires": [
+ [
+ "d03bfb1.6cdfe08"
+ ]
+ ]
+ },
+ {
+ "id": "ef753c5c.a1a3e",
+ "type": "set",
+ "name": "set error-code",
+ "xml": "<set>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"`'Invalid action ' + $request-action`\" />\n",
+ "comments": "",
+ "x": 979,
+ "y": 651,
+ "z": "c322e357.b8be8",
+ "wires": []
+ },
+ {
+ "id": "d03bfb1.6cdfe08",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 778,
+ "y": 647,
+ "z": "c322e357.b8be8",
+ "wires": [
+ [
+ "ef753c5c.a1a3e"
+ ]
+ ]
+ },
+ {
+ "id": "4531bc67.6e9694",
+ "type": "outcome",
+ "name": "ConfigBackup",
+ "xml": "<outcome value='ConfigBackup'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 678,
+ "y": 517,
+ "z": "c322e357.b8be8",
+ "wires": [
+ [
+ "5dff373d.db8a48"
+ ]
+ ]
+ },
+ {
+ "id": "4d8d372f.0ebc28",
+ "type": "outcome",
+ "name": "ConfigBackupDelete",
+ "xml": "<outcome value='ConfigBackupDelete'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 685,
+ "y": 567,
+ "z": "c322e357.b8be8",
+ "wires": [
+ [
+ "5dff373d.db8a48"
+ ]
+ ]
+ },
+ {
+ "id": "dcac81d6.e4742",
+ "type": "execute",
+ "name": "execute saveTxLog",
+ "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"response\" />\n<parameter name=\"message\" value=\"`$tmp.message`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 313.5,
+ "y": 1028,
+ "z": "c322e357.b8be8",
+ "wires": [
+ [
+ "9cff3b81.458148"
+ ]
+ ]
+ },
+ {
+ "id": "be2f239f.7dc29",
+ "type": "set",
+ "name": "set tmp.message",
+ "xml": "<set>\n<parameter name=\"tmp.message\" value=\"`$output.status.code + ':' + $output.status.message`\" />\n",
+ "comments": "",
+ "x": 296,
+ "y": 971,
+ "z": "c322e357.b8be8",
+ "wires": []
+ },
+ {
+ "id": "9cff3b81.458148",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 521,
+ "y": 1030,
+ "z": "c322e357.b8be8",
+ "wires": [
+ [
+ "88b17439.3c8f78"
+ ]
+ ]
+ },
+ {
+ "id": "88b17439.3c8f78",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 701,
+ "y": 1030,
+ "z": "c322e357.b8be8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f91a152c.8ed648",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.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": 944,
+ "y": 267,
+ "z": "c322e357.b8be8",
+ "wires": [
+ []
+ ]
+ }
+]