diff options
author | 2017-12-22 18:06:10 -0500 | |
---|---|---|
committer | 2017-12-22 18:07:04 -0500 | |
commit | c1d325bb009a21ccb4d89f8562f89a36cfa069ed (patch) | |
tree | 40ed993a302e2d43e790aa488c0cfe0c80d53d1b /appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadIsbcConfig.json | |
parent | 26c841f18a69baedda1215cb06ee3197f4662115 (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_DownloadIsbcConfig.json')
-rw-r--r-- | appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadIsbcConfig.json | 399 |
1 files changed, 398 insertions, 1 deletions
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadIsbcConfig.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadIsbcConfig.json index 54499c934..5cb503011 100644 --- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadIsbcConfig.json +++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadIsbcConfig.json @@ -1 +1,398 @@ -[{"id":"eb3345bc.1c6008","type":"dgstart","name":"DGSTART","outputs":1,"x":160,"y":114,"z":"e64f9575.c955b8","wires":[["48829488.85508c"]]},{"id":"48829488.85508c","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":342.1667022705078,"y":110.66668701171875,"z":"e64f9575.c955b8","wires":[["e0a3d8ff.542978"]]},{"id":"e0a3d8ff.542978","type":"method","name":"method DownloadIsbcConfig","xml":"<method rpc='DownloadIsbcConfig' mode='sync'>\n","comments":"","outputs":1,"x":612.5000305175781,"y":107.33334350585938,"z":"e64f9575.c955b8","wires":[["114a3b97.bcbcc4"]]},{"id":"114a3b97.bcbcc4","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":127.25,"y":174.88888549804688,"z":"e64f9575.c955b8","wires":[["83df5118.b8ab3","7075ec58.bf47f4","b6692cc9.1d46f"]]},{"id":"83df5118.b8ab3","type":"configure","name":"configure: SftpAdaptor: Put config","xml":"<configure adaptor=\"org.onap.appc.ccadaptor.ConfigComponentAdaptor\" key=\"put\">\n<parameter name=\"host\" value=\"`$vnf-host-ip-address`\"/>\n<parameter name=\"loginId\" value=\"`$device-authentication.USER-NAME`\"/>\n<parameter name=\"password\" value=\"`$device-authentication.PASSWORD`\"/>\n<parameter name=\"data\" value=\"`$deviceconfig-file-content`\"/>\t\n<parameter name=\"fullPathFileName\" value=\"`$configfilereference-deviceconfig.TARGET-FILE-PATH`\"/>\t\n\n\n","comments":"","outputs":1,"x":451.06817626953125,"y":388.2281188964844,"z":"e64f9575.c955b8","wires":[["b2f45988.44cff8","b0981c87.9858"]]},{"id":"b2f45988.44cff8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":731.0681762695312,"y":365.2281188964844,"z":"e64f9575.c955b8","wires":[["7119a88b.f78748"]]},{"id":"7119a88b.f78748","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":915.0681762695312,"y":370.2281188964844,"z":"e64f9575.c955b8","wires":[["dd3ffa1.5c71708","cb21b493.06d748"]]},{"id":"7075ec58.bf47f4","type":"call","name":"call: CheckConfigStatus","xml":"<call module=\"APPC\" rpc=\"CheckConfigStatus\" mode=\"sync\">","comments":"","outputs":1,"x":426.06817626953125,"y":619.2281188964844,"z":"e64f9575.c955b8","wires":[["d5aabd81.471ee"]]},{"id":"dd3ffa1.5c71708","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name=\"error-code\" value=\"401\"/>\n","comments":"","x":1131.25,"y":426.8888854980469,"z":"e64f9575.c955b8","wires":[]},{"id":"b0981c87.9858","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":729,"y":517.0000305175781,"z":"e64f9575.c955b8","wires":[["b7e9dc8a.54fff"]]},{"id":"b7e9dc8a.54fff","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":902,"y":521.0000305175781,"z":"e64f9575.c955b8","wires":[["169463d2.10edfc"]]},{"id":"169463d2.10edfc","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name=\"error-code\" value=\"401\"/>\n<parameter name=\"error-message\" value=\"DG Failure.Unable to Call Sftp Adaptor for Config\"/>","comments":"","x":1094,"y":521.0000305175781,"z":"e64f9575.c955b8","wires":[]},{"id":"cb21b493.06d748","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=\"host\" value=\"`$vnf-host-ip-address`\"/>\n<parameter name=\"SFTPERRORCODE\" value=\"`$error-code`\"/>\n<parameter name=\"SFTPERRORMESSAGE\" value=\"`$error-message`\"/>\n\n\n\n\n\n","comments":"","outputs":1,"x":1128,"y":327.0000305175781,"z":"e64f9575.c955b8","wires":[[]]},{"id":"67dd3158.9d315","type":"failure","name":"failure","xml":"<outcome value='failure'>","comments":"","outputs":1,"x":635,"y":625.3333435058594,"z":"e64f9575.c955b8","wires":[["153f64f9.4e677b"]]},{"id":"153f64f9.4e677b","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":802,"y":625.3333435058594,"z":"e64f9575.c955b8","wires":[["2ba04af9.5b58c6"]]},{"id":"2ba04af9.5b58c6","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field3\" value=\"CONTINUE THE FLOW\"/>\n\n","comments":"","outputs":1,"x":996,"y":620.3333435058594,"z":"e64f9575.c955b8","wires":[[]]},{"id":"d5aabd81.471ee","type":"failure","name":"not-found","xml":"<outcome value='not-found'>","comments":"","outputs":1,"x":636,"y":680.3333435058594,"z":"e64f9575.c955b8","wires":[["b6627066.5ac24"]]},{"id":"b6627066.5ac24","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":811,"y":683.3333435058594,"z":"e64f9575.c955b8","wires":[["8f7d48e.816bcb8"]]},{"id":"8f7d48e.816bcb8","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name=\"error-code\" value=\"401\"/>\n<parameter name=\"error-message\" value=\"DG Workflow RetryActivate not found\"/>","comments":"","x":1009,"y":681.3333435058594,"z":"e64f9575.c955b8","wires":[]},{"id":"b6692cc9.1d46f","type":"execute","name":"execute getConfigFileReference","xml":"<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getConfigFileReference\">\n<parameter name=\"responsePrefix\" value=\"tmp.configfilereference\" />\n","comments":"","outputs":1,"x":423,"y":253,"z":"e64f9575.c955b8","wires":[["f431fc4b.07dbd","6aa707f2.3962d8"]]},{"id":"f431fc4b.07dbd","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":664,"y":256,"z":"e64f9575.c955b8","wires":[["490891c5.5ce3c"]]},{"id":"490891c5.5ce3c","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":821,"y":259,"z":"e64f9575.c955b8","wires":[["b38dc0b2.00fff"]]},{"id":"b38dc0b2.00fff","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$tmp.configfilereference.error-message`\"/>","comments":"","x":1007,"y":264,"z":"e64f9575.c955b8","wires":[]},{"id":"6aa707f2.3962d8","type":"failure","name":"not-found","xml":"<outcome value='not-found'>","comments":"","outputs":1,"x":666,"y":308,"z":"e64f9575.c955b8","wires":[["e505c188.60085"]]},{"id":"e505c188.60085","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":818,"y":311,"z":"e64f9575.c955b8","wires":[["e3e69cb8.26078"]]},{"id":"e3e69cb8.26078","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name=\"error-code\" value=\"401\"/>\n<parameter name=\"error-message\" value=\"Unable to get data from config_file_reference\"/>","comments":"","x":965,"y":312,"z":"e64f9575.c955b8","wires":[]}] +[
+ {
+ "id": "eb3345bc.1c6008",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 160,
+ "y": 114,
+ "z": "e64f9575.c955b8",
+ "wires": [
+ [
+ "48829488.85508c"
+ ]
+ ]
+ },
+ {
+ "id": "48829488.85508c",
+ "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": 342.1667022705078,
+ "y": 110.66668701171875,
+ "z": "e64f9575.c955b8",
+ "wires": [
+ [
+ "e0a3d8ff.542978"
+ ]
+ ]
+ },
+ {
+ "id": "e0a3d8ff.542978",
+ "type": "method",
+ "name": "method DownloadIsbcConfig",
+ "xml": "<method rpc='DownloadIsbcConfig' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 612.5000305175781,
+ "y": 107.33334350585938,
+ "z": "e64f9575.c955b8",
+ "wires": [
+ [
+ "114a3b97.bcbcc4"
+ ]
+ ]
+ },
+ {
+ "id": "114a3b97.bcbcc4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 127.25,
+ "y": 174.88888549804688,
+ "z": "e64f9575.c955b8",
+ "wires": [
+ [
+ "83df5118.b8ab3",
+ "7075ec58.bf47f4",
+ "b6692cc9.1d46f"
+ ]
+ ]
+ },
+ {
+ "id": "83df5118.b8ab3",
+ "type": "configure",
+ "name": "configure: SftpAdaptor: Put config",
+ "xml": "<configure adaptor=\"org.onap.appc.ccadaptor.ConfigComponentAdaptor\" key=\"put\">\n<parameter name=\"host\" value=\"`$vnf-host-ip-address`\"/>\n<parameter name=\"loginId\" value=\"`$device-authentication.USER-NAME`\"/>\n<parameter name=\"password\" value=\"`$device-authentication.PASSWORD`\"/>\n<parameter name=\"data\" value=\"`$deviceconfig-file-content`\"/>\t\n<parameter name=\"fullPathFileName\" value=\"`$configfilereference-deviceconfig.TARGET-FILE-PATH`\"/>\t\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 451.06817626953125,
+ "y": 388.2281188964844,
+ "z": "e64f9575.c955b8",
+ "wires": [
+ [
+ "b2f45988.44cff8",
+ "b0981c87.9858"
+ ]
+ ]
+ },
+ {
+ "id": "b2f45988.44cff8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 731.0681762695312,
+ "y": 365.2281188964844,
+ "z": "e64f9575.c955b8",
+ "wires": [
+ [
+ "7119a88b.f78748"
+ ]
+ ]
+ },
+ {
+ "id": "7119a88b.f78748",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 915.0681762695312,
+ "y": 370.2281188964844,
+ "z": "e64f9575.c955b8",
+ "wires": [
+ [
+ "dd3ffa1.5c71708",
+ "cb21b493.06d748"
+ ]
+ ]
+ },
+ {
+ "id": "7075ec58.bf47f4",
+ "type": "call",
+ "name": "call: CheckConfigStatus",
+ "xml": "<call module=\"APPC\" rpc=\"CheckConfigStatus\" mode=\"sync\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 426.06817626953125,
+ "y": 619.2281188964844,
+ "z": "e64f9575.c955b8",
+ "wires": [
+ [
+ "d5aabd81.471ee"
+ ]
+ ]
+ },
+ {
+ "id": "dd3ffa1.5c71708",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name=\"error-code\" value=\"401\"/>\n",
+ "comments": "",
+ "x": 1131.25,
+ "y": 426.8888854980469,
+ "z": "e64f9575.c955b8",
+ "wires": []
+ },
+ {
+ "id": "b0981c87.9858",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 729,
+ "y": 517.0000305175781,
+ "z": "e64f9575.c955b8",
+ "wires": [
+ [
+ "b7e9dc8a.54fff"
+ ]
+ ]
+ },
+ {
+ "id": "b7e9dc8a.54fff",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 902,
+ "y": 521.0000305175781,
+ "z": "e64f9575.c955b8",
+ "wires": [
+ [
+ "169463d2.10edfc"
+ ]
+ ]
+ },
+ {
+ "id": "169463d2.10edfc",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name=\"error-code\" value=\"401\"/>\n<parameter name=\"error-message\" value=\"DG Failure.Unable to Call Sftp Adaptor for Config\"/>",
+ "comments": "",
+ "x": 1094,
+ "y": 521.0000305175781,
+ "z": "e64f9575.c955b8",
+ "wires": []
+ },
+ {
+ "id": "cb21b493.06d748",
+ "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=\"host\" value=\"`$vnf-host-ip-address`\"/>\n<parameter name=\"SFTPERRORCODE\" value=\"`$error-code`\"/>\n<parameter name=\"SFTPERRORMESSAGE\" value=\"`$error-message`\"/>\n\n\n\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1128,
+ "y": 327.0000305175781,
+ "z": "e64f9575.c955b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "67dd3158.9d315",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 635,
+ "y": 625.3333435058594,
+ "z": "e64f9575.c955b8",
+ "wires": [
+ [
+ "153f64f9.4e677b"
+ ]
+ ]
+ },
+ {
+ "id": "153f64f9.4e677b",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 802,
+ "y": 625.3333435058594,
+ "z": "e64f9575.c955b8",
+ "wires": [
+ [
+ "2ba04af9.5b58c6"
+ ]
+ ]
+ },
+ {
+ "id": "2ba04af9.5b58c6",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field3\" value=\"CONTINUE THE FLOW\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 996,
+ "y": 620.3333435058594,
+ "z": "e64f9575.c955b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d5aabd81.471ee",
+ "type": "failure",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 636,
+ "y": 680.3333435058594,
+ "z": "e64f9575.c955b8",
+ "wires": [
+ [
+ "b6627066.5ac24"
+ ]
+ ]
+ },
+ {
+ "id": "b6627066.5ac24",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 811,
+ "y": 683.3333435058594,
+ "z": "e64f9575.c955b8",
+ "wires": [
+ [
+ "8f7d48e.816bcb8"
+ ]
+ ]
+ },
+ {
+ "id": "8f7d48e.816bcb8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name=\"error-code\" value=\"401\"/>\n<parameter name=\"error-message\" value=\"DG Workflow RetryActivate not found\"/>",
+ "comments": "",
+ "x": 1009,
+ "y": 681.3333435058594,
+ "z": "e64f9575.c955b8",
+ "wires": []
+ },
+ {
+ "id": "b6692cc9.1d46f",
+ "type": "execute",
+ "name": "execute getConfigFileReference",
+ "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getConfigFileReference\">\n<parameter name=\"responsePrefix\" value=\"tmp.configfilereference\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 423,
+ "y": 253,
+ "z": "e64f9575.c955b8",
+ "wires": [
+ [
+ "f431fc4b.07dbd",
+ "6aa707f2.3962d8"
+ ]
+ ]
+ },
+ {
+ "id": "f431fc4b.07dbd",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 664,
+ "y": 256,
+ "z": "e64f9575.c955b8",
+ "wires": [
+ [
+ "490891c5.5ce3c"
+ ]
+ ]
+ },
+ {
+ "id": "490891c5.5ce3c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 821,
+ "y": 259,
+ "z": "e64f9575.c955b8",
+ "wires": [
+ [
+ "b38dc0b2.00fff"
+ ]
+ ]
+ },
+ {
+ "id": "b38dc0b2.00fff",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$tmp.configfilereference.error-message`\"/>",
+ "comments": "",
+ "x": 1007,
+ "y": 264,
+ "z": "e64f9575.c955b8",
+ "wires": []
+ },
+ {
+ "id": "6aa707f2.3962d8",
+ "type": "failure",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 666,
+ "y": 308,
+ "z": "e64f9575.c955b8",
+ "wires": [
+ [
+ "e505c188.60085"
+ ]
+ ]
+ },
+ {
+ "id": "e505c188.60085",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 818,
+ "y": 311,
+ "z": "e64f9575.c955b8",
+ "wires": [
+ [
+ "e3e69cb8.26078"
+ ]
+ ]
+ },
+ {
+ "id": "e3e69cb8.26078",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name=\"error-code\" value=\"401\"/>\n<parameter name=\"error-message\" value=\"Unable to get data from config_file_reference\"/>",
+ "comments": "",
+ "x": 965,
+ "y": 312,
+ "z": "e64f9575.c955b8",
+ "wires": []
+ }
+]
|