aboutsummaryrefslogtreecommitdiffstats
path: root/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadXmlConfig.json
diff options
context:
space:
mode:
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.json21
1 files changed, 21 insertions, 0 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
new file mode 100644
index 000000000..e7df6f327
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadXmlConfig.json
@@ -0,0 +1,21 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ONAP : APP-C
+ * ================================================================================
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+[{"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.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.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.openecomp.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":[]}]