aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic
diff options
context:
space:
mode:
authorhector <ha076r@att.com>2017-06-18 00:46:26 -0400
committerhector <ha076r@att.com>2017-06-18 00:56:37 -0400
commit7d3b61f8691fbe286459c08166a7ddbdf95f64c1 (patch)
tree3f415e7dfdb6026daf0540589bfd9188232c29c5 /platform-logic
parenta53b72fa06f41bad06df8ea6f52e88800a6a5433 (diff)
[APPC-6] Ansible DG in JSON format.
Change-Id: I570dbad1653eb72faf49dd108942d5add199455c Signed-off-by: hector <ha076r@att.com>
Diffstat (limited to 'platform-logic')
-rw-r--r--platform-logic/appc/src/main/json/APPC_ansible-adapter-1.0.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform-logic/appc/src/main/json/APPC_ansible-adapter-1.0.json b/platform-logic/appc/src/main/json/APPC_ansible-adapter-1.0.json
new file mode 100644
index 0000000..21025ea
--- /dev/null
+++ b/platform-logic/appc/src/main/json/APPC_ansible-adapter-1.0.json
@@ -0,0 +1 @@
+[{"id":"f0f73aea.0b4068","type":"method","name":"ansible-adapter-1.0","xml":"<method rpc='ansible-adapter-1.0' mode='sync'>\n","comments":"","outputs":1,"x":349,"y":82,"z":"e45911a5.e5d878","wires":[["298dab7a.ab5b1c"]]},{"id":"c30bbd5c.e34688","type":"service-logic","name":"APPC 2.0.1","module":"APPC","version":"2.0.1","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='2.0.1'>","outputs":1,"x":140,"y":160,"z":"e45911a5.e5d878","wires":[["f0f73aea.0b4068"]]},{"id":"63470fb9.5e519","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='output.status.code' value='200' />\n<parameter name='output.status.message' value='`$org.openecomp.appc.adapter.ansible.message`' />\n<parameter name='output.status.results' value='`$org.openecomp.appc.adapter.ansible.results`' />\n","comments":"","x":1090,"y":521,"z":"e45911a5.e5d878","wires":[]},{"id":"298dab7a.ab5b1c","type":"execute","name":"execute","xml":"<execute plugin='org.openecomp.appc.adapter.ansible.AnsibleAdapter' method='reqExec' >\n<parameter name='AgentUrl' value='`$AgentUrl`'/>\n <parameter name='User' value='`$User`'/>\n <parameter name='Password' value='`$Password`'/>\n <parameter name='LocalParameters' value='`$LocalParameters`'/>\n <parameter name='EnvParameters' value='`$EnvParameters`'/>\n <parameter name='NodeList' value='`$NodeList`'/>\n <parameter name='Timeout' value='`$Timeout`'/>\n <parameter name='Version' value='`$Version`'/>\n <parameter name='PlaybookName' value='`$PlaybookName`'/>\n","comments":"","outputs":1,"x":554,"y":80,"z":"e45911a5.e5d878","wires":[["8d3f0d86.ea312","d9d9a519.bc474"]]},{"id":"e1f566b2.bbbd4","type":"switchNode","name":"switch","xml":"<switch test=\"`$org.openecomp.appc.adapter.ansible.result.code`\">\n","comments":"","outputs":1,"x":344,"y":241,"z":"e45911a5.e5d878","wires":[["f2ebaaf8.f04038","a907d750.8e938","4108a508.70021c"]]},{"id":"f2ebaaf8.f04038","type":"other","name":"outcome","xml":"<outcome value='500'>\n","comments":"","outputs":1,"x":531,"y":241,"z":"e45911a5.e5d878","wires":[["63470fb9.5e519"]]},{"id":"a907d750.8e938","type":"other","name":"outcome","xml":"<outcome value='100'>\n","comments":"","outputs":1,"x":168,"y":329,"z":"e45911a5.e5d878","wires":[["29180f21.b2dc7"]]},{"id":"29180f21.b2dc7","type":"execute","name":"execute","xml":"<execute plugin='org.openecomp.appc.adapter.ansible.AnsibleAdapter' method='reqExecResult' >\n <parameter name='message' value='`$org.openecomp.appc.adapter.ansible.message`'/>\n <parameter name='code' value='$org.openecomp.appc.adapter.ansible.result.code`'/>\n <parameter name='AgentUrl' value='`$AgentUrl`'/>\n <parameter name='User' value='`$User`'/>\n <parameter name='Password' value='`$Password`'/>\n <parameter name='Id' value='`$org.openecomp.appc.adapter.ansible.Id`'/>\n","comments":"","outputs":1,"x":346,"y":328,"z":"e45911a5.e5d878","wires":[["a89bdc9.01f0fa","bc54198.43b68e8"]]},{"id":"8d3f0d86.ea312","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":808,"y":81,"z":"e45911a5.e5d878","wires":[["63470fb9.5e519"]]},{"id":"d9d9a519.bc474","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":167,"y":242,"z":"e45911a5.e5d878","wires":[["e1f566b2.bbbd4"]]},{"id":"a89bdc9.01f0fa","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":536,"y":329,"z":"e45911a5.e5d878","wires":[["63470fb9.5e519"]]},{"id":"4108a508.70021c","type":"other","name":"outcome","xml":"<outcome value='101'>\n","comments":"","outputs":1,"x":155,"y":522,"z":"e45911a5.e5d878","wires":[["63470fb9.5e519"]]},{"id":"bc54198.43b68e8","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":534,"y":398,"z":"e45911a5.e5d878","wires":[["8cf61c08.aaf808"]]},{"id":"8cf61c08.aaf808","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='output.status.code' value='`$org.openecomp.appc.adapter.ansible.result.code`' />\n<parameter name='output.status.message' value='`$org.openecomp.appc.adapter.ansible.message`'/>\n<parameter name='output.status.results' value = '`$org.openecomp.appc.adapter.ansible.results`'/>\n","comments":"","x":686,"y":473,"z":"e45911a5.e5d878","wires":[]},{"id":"373696eb.95dce2","type":"dgstart","name":"DGSTART","outputs":1,"x":118,"y":60,"z":"e45911a5.e5d878","wires":[["c30bbd5c.e34688"]]}] \ No newline at end of file