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_DownloadXmlConfig.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_DownloadXmlConfig.json')
-rw-r--r-- | appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadXmlConfig.json | 201 |
1 files changed, 200 insertions, 1 deletions
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadXmlConfig.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadXmlConfig.json index e53e1a76a..c83f876e3 100644 --- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadXmlConfig.json +++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadXmlConfig.json @@ -1 +1,200 @@ -[{"id":"74f96b34.8d6e54","type":"dgstart","name":"DGSTART","outputs":1,"x":164,"y":171,"z":"9852b4f8.482598","wires":[["a662a4c7.3e74d8"]]},{"id":"a662a4c7.3e74d8","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":341,"y":170,"z":"9852b4f8.482598","wires":[["cf63224b.3ac57"]]},{"id":"cf63224b.3ac57","type":"method","name":"method DownloadXmlConfig","xml":"<method rpc='DownloadXmlConfig' mode='sync'>\n","comments":"","outputs":1,"x":570,"y":170,"z":"9852b4f8.482598","wires":[["8652063a.79abf8"]]},{"id":"63da4c86.afeb64","type":"execute","name":"execute : Download Configuration","xml":"<configure adaptor='org.onap.appc.ccadaptor.ConfigComponentAdaptor' key='xml-download'>\n<parameter name=\"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":430,"y":296,"z":"9852b4f8.482598","wires":[["76ab52c2.59aafc","ca9c3a74.973c48","4365f1e1.cf9c8"]]},{"id":"76ab52c2.59aafc","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":712,"y":361,"z":"9852b4f8.482598","wires":[["3f9a92ce.040c6e"]]},{"id":"ca9c3a74.973c48","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":813,"y":275,"z":"9852b4f8.482598","wires":[["965ec1c1.3949a"]]},{"id":"4365f1e1.cf9c8","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":823,"y":326,"z":"9852b4f8.482598","wires":[["403128f0.908298"]]},{"id":"965ec1c1.3949a","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":976,"y":297,"z":"9852b4f8.482598","wires":[["e627e0a8.31843"]]},{"id":"e627e0a8.31843","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\" />\n","comments":"","x":1135,"y":297,"z":"9852b4f8.482598","wires":[]},{"id":"8652063a.79abf8","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":180,"y":295,"z":"9852b4f8.482598","wires":[["63da4c86.afeb64"]]},{"id":"3f9a92ce.040c6e","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<!-- Dont over write error code and message -->\n","comments":"","x":938,"y":464,"z":"9852b4f8.482598","wires":[]},{"id":"403128f0.908298","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":984,"y":366,"z":"9852b4f8.482598","wires":[["6c05d71d.c6f7c8"]]},{"id":"6c05d71d.c6f7c8","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-message\" value=\"Unable to Download XML Config to Device\" />\n<parameter name=\"error-code\" value=\"401\" />\n","comments":"","x":1143,"y":366,"z":"9852b4f8.482598","wires":[]}] +[
+ {
+ "id": "74f96b34.8d6e54",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 164,
+ "y": 171,
+ "z": "9852b4f8.482598",
+ "wires": [
+ [
+ "a662a4c7.3e74d8"
+ ]
+ ]
+ },
+ {
+ "id": "a662a4c7.3e74d8",
+ "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": 341,
+ "y": 170,
+ "z": "9852b4f8.482598",
+ "wires": [
+ [
+ "cf63224b.3ac57"
+ ]
+ ]
+ },
+ {
+ "id": "cf63224b.3ac57",
+ "type": "method",
+ "name": "method DownloadXmlConfig",
+ "xml": "<method rpc='DownloadXmlConfig' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 570,
+ "y": 170,
+ "z": "9852b4f8.482598",
+ "wires": [
+ [
+ "8652063a.79abf8"
+ ]
+ ]
+ },
+ {
+ "id": "63da4c86.afeb64",
+ "type": "execute",
+ "name": "execute : Download Configuration",
+ "xml": "<configure adaptor='org.onap.appc.ccadaptor.ConfigComponentAdaptor' key='xml-download'>\n<parameter name=\"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": 430,
+ "y": 296,
+ "z": "9852b4f8.482598",
+ "wires": [
+ [
+ "76ab52c2.59aafc",
+ "ca9c3a74.973c48",
+ "4365f1e1.cf9c8"
+ ]
+ ]
+ },
+ {
+ "id": "76ab52c2.59aafc",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 712,
+ "y": 361,
+ "z": "9852b4f8.482598",
+ "wires": [
+ [
+ "3f9a92ce.040c6e"
+ ]
+ ]
+ },
+ {
+ "id": "ca9c3a74.973c48",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 813,
+ "y": 275,
+ "z": "9852b4f8.482598",
+ "wires": [
+ [
+ "965ec1c1.3949a"
+ ]
+ ]
+ },
+ {
+ "id": "4365f1e1.cf9c8",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 823,
+ "y": 326,
+ "z": "9852b4f8.482598",
+ "wires": [
+ [
+ "403128f0.908298"
+ ]
+ ]
+ },
+ {
+ "id": "965ec1c1.3949a",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 976,
+ "y": 297,
+ "z": "9852b4f8.482598",
+ "wires": [
+ [
+ "e627e0a8.31843"
+ ]
+ ]
+ },
+ {
+ "id": "e627e0a8.31843",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\" />\n",
+ "comments": "",
+ "x": 1135,
+ "y": 297,
+ "z": "9852b4f8.482598",
+ "wires": []
+ },
+ {
+ "id": "8652063a.79abf8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 180,
+ "y": 295,
+ "z": "9852b4f8.482598",
+ "wires": [
+ [
+ "63da4c86.afeb64"
+ ]
+ ]
+ },
+ {
+ "id": "3f9a92ce.040c6e",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n<!-- Dont over write error code and message -->\n",
+ "comments": "",
+ "x": 938,
+ "y": 464,
+ "z": "9852b4f8.482598",
+ "wires": []
+ },
+ {
+ "id": "403128f0.908298",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 984,
+ "y": 366,
+ "z": "9852b4f8.482598",
+ "wires": [
+ [
+ "6c05d71d.c6f7c8"
+ ]
+ ]
+ },
+ {
+ "id": "6c05d71d.c6f7c8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n<parameter name=\"error-message\" value=\"Unable to Download XML Config to Device\" />\n<parameter name=\"error-code\" value=\"401\" />\n",
+ "comments": "",
+ "x": 1143,
+ "y": 366,
+ "z": "9852b4f8.482598",
+ "wires": []
+ }
+]
|