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_DownloadCliConfig.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_DownloadCliConfig.json')
-rw-r--r-- | appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadCliConfig.json | 312 |
1 files changed, 311 insertions, 1 deletions
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadCliConfig.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadCliConfig.json index be68a52af..bd1ff697e 100644 --- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadCliConfig.json +++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadCliConfig.json @@ -1 +1,311 @@ -[{"id":"cc3f1f05.590e2","type":"dgstart","name":"DGSTART","outputs":1,"x":262,"y":117,"z":"8f971cf0.9ab5c","wires":[["9c5ed558.935128"]]},{"id":"9c5ed558.935128","type":"service-logic","name":"APPC 4.0.0","module":"APPC","version":"3.1.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":475,"y":114,"z":"8f971cf0.9ab5c","wires":[["3cae3899.2ea4d8"]]},{"id":"3cae3899.2ea4d8","type":"method","name":"method DownloadCLIConfig","xml":"<method rpc='DownloadCliConfig' mode='sync'>\n","comments":"","outputs":1,"x":703,"y":114,"z":"8f971cf0.9ab5c","wires":[["b932981.f2fe068"]]},{"id":"838fcb2d.61bce8","type":"execute","name":"execute : Download Configuration","xml":"<configure adaptor='org.onap.appc.ccadaptor.ConfigComponentAdaptor' key='DownloadCliConfig'>\n<parameter name=\"Download_config_template\" value=\"`$download-config-template.TEMPLATE`\"/>\n<parameter name=\"Config_contents\" value=\"`$device-config`\"/>\n<parameter name=\"Host_ip_address\" value=\"`$host-ip-address`\" />\n<parameter name=\"User_name\" value=\"`$device-login`\" />\n<parameter name=\"Password\" value=\"`$device-password`\" />\n<parameter name=\"Port_number\" value=\"`$port-number`\" />\n\n\n","comments":"","outputs":1,"x":411,"y":456,"z":"8f971cf0.9ab5c","wires":[["d050e0d2.b2267","84bb3919.ad5688","4cbf4207.52ffdc"]]},{"id":"d050e0d2.b2267","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":697,"y":611,"z":"8f971cf0.9ab5c","wires":[["2181b8c9.4f5038"]]},{"id":"b932981.f2fe068","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":178,"y":270,"z":"8f971cf0.9ab5c","wires":[["1ec47089.0e6d1f"]]},{"id":"2181b8c9.4f5038","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<!-- Dont over write error code and message -->\n","comments":"","x":905,"y":610,"z":"8f971cf0.9ab5c","wires":[]},{"id":"84bb3919.ad5688","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":791,"y":406,"z":"8f971cf0.9ab5c","wires":[["d912ec9e.456d4"]]},{"id":"4cbf4207.52ffdc","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":776,"y":513,"z":"8f971cf0.9ab5c","wires":[["d29269ef.626db8"]]},{"id":"d29269ef.626db8","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":957,"y":471,"z":"8f971cf0.9ab5c","wires":[["cae99c12.7fa8f"]]},{"id":"d912ec9e.456d4","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":949,"y":402,"z":"8f971cf0.9ab5c","wires":[["8c7e5c1f.d6d09"]]},{"id":"8c7e5c1f.d6d09","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\" />\n","comments":"","x":1108,"y":402,"z":"8f971cf0.9ab5c","wires":[]},{"id":"cae99c12.7fa8f","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-message\" value=\"Unable to Download CLI Config to Device\" />\n<parameter name=\"error-code\" value=\"401\" />\n","comments":"","x":1116,"y":471,"z":"8f971cf0.9ab5c","wires":[]},{"id":"af8106d6.2c54e8","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-message\" value=\"Unable to get download config template\" />\n<parameter name=\"error-code\" value=\"401\" />\n","comments":"","x":1225,"y":277,"z":"8f971cf0.9ab5c","wires":[]},{"id":"1ec47089.0e6d1f","type":"get-resource","name":"get-resource DOWNLOAD_CONFIG_TEMPLATE","xml":"<get-resource\n\tplugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' \n\tresource='SQL'\n\tkey=\"SELECT TEMPLATE FROM DOWNLOAD_CONFIG_TEMPLATE WHERE vnf_type = $vnf-type ;\"\n force='true'\n\tpfx='download-config-template'>\n","comments":"","outputs":1,"x":485,"y":267,"z":"8f971cf0.9ab5c","wires":[["fe1132ad.5731b","9280f34d.3465f","54bd663f.2cab28"]]},{"id":"9280f34d.3465f","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":831,"y":254,"z":"8f971cf0.9ab5c","wires":[["75516ff4.5cb1"]]},{"id":"fe1132ad.5731b","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":833,"y":323,"z":"8f971cf0.9ab5c","wires":[["75516ff4.5cb1"]]},{"id":"75516ff4.5cb1","type":"block","name":"block","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":1027,"y":278,"z":"8f971cf0.9ab5c","wires":[["af8106d6.2c54e8"]]},{"id":"54bd663f.2cab28","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":422,"y":350,"z":"8f971cf0.9ab5c","wires":[["46aaf503.56738c"]]},{"id":"46aaf503.56738c","type":"block","name":"block","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":615,"y":349,"z":"8f971cf0.9ab5c","wires":[["838fcb2d.61bce8"]]}] +[
+ {
+ "id": "cc3f1f05.590e2",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 262,
+ "y": 117,
+ "z": "8f971cf0.9ab5c",
+ "wires": [
+ [
+ "9c5ed558.935128"
+ ]
+ ]
+ },
+ {
+ "id": "9c5ed558.935128",
+ "type": "service-logic",
+ "name": "APPC 4.0.0",
+ "module": "APPC",
+ "version": "3.1.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": 475,
+ "y": 114,
+ "z": "8f971cf0.9ab5c",
+ "wires": [
+ [
+ "3cae3899.2ea4d8"
+ ]
+ ]
+ },
+ {
+ "id": "3cae3899.2ea4d8",
+ "type": "method",
+ "name": "method DownloadCLIConfig",
+ "xml": "<method rpc='DownloadCliConfig' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 703,
+ "y": 114,
+ "z": "8f971cf0.9ab5c",
+ "wires": [
+ [
+ "b932981.f2fe068"
+ ]
+ ]
+ },
+ {
+ "id": "838fcb2d.61bce8",
+ "type": "execute",
+ "name": "execute : Download Configuration",
+ "xml": "<configure adaptor='org.onap.appc.ccadaptor.ConfigComponentAdaptor' key='DownloadCliConfig'>\n<parameter name=\"Download_config_template\" value=\"`$download-config-template.TEMPLATE`\"/>\n<parameter name=\"Config_contents\" value=\"`$device-config`\"/>\n<parameter name=\"Host_ip_address\" value=\"`$host-ip-address`\" />\n<parameter name=\"User_name\" value=\"`$device-login`\" />\n<parameter name=\"Password\" value=\"`$device-password`\" />\n<parameter name=\"Port_number\" value=\"`$port-number`\" />\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 411,
+ "y": 456,
+ "z": "8f971cf0.9ab5c",
+ "wires": [
+ [
+ "d050e0d2.b2267",
+ "84bb3919.ad5688",
+ "4cbf4207.52ffdc"
+ ]
+ ]
+ },
+ {
+ "id": "d050e0d2.b2267",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 697,
+ "y": 611,
+ "z": "8f971cf0.9ab5c",
+ "wires": [
+ [
+ "2181b8c9.4f5038"
+ ]
+ ]
+ },
+ {
+ "id": "b932981.f2fe068",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 178,
+ "y": 270,
+ "z": "8f971cf0.9ab5c",
+ "wires": [
+ [
+ "1ec47089.0e6d1f"
+ ]
+ ]
+ },
+ {
+ "id": "2181b8c9.4f5038",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n<!-- Dont over write error code and message -->\n",
+ "comments": "",
+ "x": 905,
+ "y": 610,
+ "z": "8f971cf0.9ab5c",
+ "wires": []
+ },
+ {
+ "id": "84bb3919.ad5688",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 791,
+ "y": 406,
+ "z": "8f971cf0.9ab5c",
+ "wires": [
+ [
+ "d912ec9e.456d4"
+ ]
+ ]
+ },
+ {
+ "id": "4cbf4207.52ffdc",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 776,
+ "y": 513,
+ "z": "8f971cf0.9ab5c",
+ "wires": [
+ [
+ "d29269ef.626db8"
+ ]
+ ]
+ },
+ {
+ "id": "d29269ef.626db8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 957,
+ "y": 471,
+ "z": "8f971cf0.9ab5c",
+ "wires": [
+ [
+ "cae99c12.7fa8f"
+ ]
+ ]
+ },
+ {
+ "id": "d912ec9e.456d4",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 949,
+ "y": 402,
+ "z": "8f971cf0.9ab5c",
+ "wires": [
+ [
+ "8c7e5c1f.d6d09"
+ ]
+ ]
+ },
+ {
+ "id": "8c7e5c1f.d6d09",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\" />\n",
+ "comments": "",
+ "x": 1108,
+ "y": 402,
+ "z": "8f971cf0.9ab5c",
+ "wires": []
+ },
+ {
+ "id": "cae99c12.7fa8f",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n<parameter name=\"error-message\" value=\"Unable to Download CLI Config to Device\" />\n<parameter name=\"error-code\" value=\"401\" />\n",
+ "comments": "",
+ "x": 1116,
+ "y": 471,
+ "z": "8f971cf0.9ab5c",
+ "wires": []
+ },
+ {
+ "id": "af8106d6.2c54e8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n<parameter name=\"error-message\" value=\"Unable to get download config template\" />\n<parameter name=\"error-code\" value=\"401\" />\n",
+ "comments": "",
+ "x": 1225,
+ "y": 277,
+ "z": "8f971cf0.9ab5c",
+ "wires": []
+ },
+ {
+ "id": "1ec47089.0e6d1f",
+ "type": "get-resource",
+ "name": "get-resource DOWNLOAD_CONFIG_TEMPLATE",
+ "xml": "<get-resource\n\tplugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' \n\tresource='SQL'\n\tkey=\"SELECT TEMPLATE FROM DOWNLOAD_CONFIG_TEMPLATE WHERE vnf_type = $vnf-type ;\"\n force='true'\n\tpfx='download-config-template'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 485,
+ "y": 267,
+ "z": "8f971cf0.9ab5c",
+ "wires": [
+ [
+ "fe1132ad.5731b",
+ "9280f34d.3465f",
+ "54bd663f.2cab28"
+ ]
+ ]
+ },
+ {
+ "id": "9280f34d.3465f",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 831,
+ "y": 254,
+ "z": "8f971cf0.9ab5c",
+ "wires": [
+ [
+ "75516ff4.5cb1"
+ ]
+ ]
+ },
+ {
+ "id": "fe1132ad.5731b",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 833,
+ "y": 323,
+ "z": "8f971cf0.9ab5c",
+ "wires": [
+ [
+ "75516ff4.5cb1"
+ ]
+ ]
+ },
+ {
+ "id": "75516ff4.5cb1",
+ "type": "block",
+ "name": "block",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1027,
+ "y": 278,
+ "z": "8f971cf0.9ab5c",
+ "wires": [
+ [
+ "af8106d6.2c54e8"
+ ]
+ ]
+ },
+ {
+ "id": "54bd663f.2cab28",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 422,
+ "y": 350,
+ "z": "8f971cf0.9ab5c",
+ "wires": [
+ [
+ "46aaf503.56738c"
+ ]
+ ]
+ },
+ {
+ "id": "46aaf503.56738c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 615,
+ "y": 349,
+ "z": "8f971cf0.9ab5c",
+ "wires": [
+ [
+ "838fcb2d.61bce8"
+ ]
+ ]
+ }
+]
|