From 18386e01d6177b1f339b9fd075ca28370da1718e Mon Sep 17 00:00:00 2001 From: Ganesh Date: Tue, 2 Nov 2021 17:42:19 +0530 Subject: update on exec-single-sls-DG for appc integration Signed-off-by: Ganesh Change-Id: I0dde33edcb6c41a7606006400bf69d962dd8af88 Issue-ID: CCSDK-3499 --- ..._saltstack-adaptor-1.0-exec-single-SLSComm.json | 412 ++++++++++----------- 1 file changed, 201 insertions(+), 211 deletions(-) diff --git a/adaptors/saltstack-adaptor/saltstack-directed-graphs-sample/reqExecCommand/APPC_saltstack-adaptor-1.0-exec-single-SLSComm.json b/adaptors/saltstack-adaptor/saltstack-directed-graphs-sample/reqExecCommand/APPC_saltstack-adaptor-1.0-exec-single-SLSComm.json index 995037787..31ae33fe5 100644 --- a/adaptors/saltstack-adaptor/saltstack-directed-graphs-sample/reqExecCommand/APPC_saltstack-adaptor-1.0-exec-single-SLSComm.json +++ b/adaptors/saltstack-adaptor/saltstack-directed-graphs-sample/reqExecCommand/APPC_saltstack-adaptor-1.0-exec-single-SLSComm.json @@ -1,213 +1,203 @@ [ - { - "id":"bd0f1105.ff214", - "type":"method", - "name":"saltstack-adaptor-1.0", - "xml":"\n", - "comments":"", - "outputs":1, - "x":526, - "y":238, - "z":"c053ae12.4067b", - "wires":[ - [ - "f4e59dd0.ee45f" - ] - ] - }, - { - "id":"26f2a2b8.90f58e", - "type":"service-logic", - "name":"APPC 2.0.1", - "module":"APPC", - "version":"2.0.1", - "comments":"", - "xml":"", - "outputs":1, - "x":317, - "y":316, - "z":"c053ae12.4067b", - "wires":[ - [ - "bd0f1105.ff214" - ] - ] - }, - { - "id":"55a7736.2789e8c", - "type":"returnFailure", - "name":"return failure", - "xml":"\n\n\n\n", - "comments":"", - "x":1064, - "y":453, - "z":"c053ae12.4067b", - "wires":[ - - ] - }, - { - "id":"f4e59dd0.ee45f", - "type":"execute", - "name":"execute", - "xml":"\n \n \n \n \n \n \n \n \n", - "comments":"", - "outputs":1, - "x":735, - "y":240, - "z":"c053ae12.4067b", - "wires":[ - [ - "93fca622.05ad58", - "7ce4a659.44c828" - ] - ] - }, - { - "id":"2ceb37d9.a8ba18", - "type":"switchNode", - "name":"switch", - "xml":"\n", - "comments":"", - "outputs":1, - "x":522, - "y":398, - "z":"c053ae12.4067b", - "wires":[ - [ - "cd89356c.279678", - "781026e2.01d498" - ] - ] - }, - { - "id":"cd89356c.279678", - "type":"other", - "name":"other", - "xml":"\n", - "comments":"", - "outputs":1, - "x":708, - "y":456, - "z":"c053ae12.4067b", - "wires":[ - [ - "55a7736.2789e8c" - ] - ] - }, - { - "id":"93fca622.05ad58", - "type":"failure", - "name":"failure", - "xml":"\n", - "comments":"", - "outputs":1, - "x":985, - "y":237, - "z":"c053ae12.4067b", - "wires":[ - [ - "55a7736.2789e8c" - ] - ] - }, - { - "id":"7ce4a659.44c828", - "type":"other", - "name":"other", - "xml":"\n", - "comments":"", - "outputs":1, - "x":332, - "y":405, - "z":"c053ae12.4067b", - "wires":[ - [ - "2ceb37d9.a8ba18" - ] - ] - }, - { - "id":"781026e2.01d498", - "type":"success", - "name":"success", - "xml":"\n", - "comments":"", - "outputs":1, - "x":711, - "y":398, - "z":"c053ae12.4067b", - "wires":[ - [ - "ce510062.8dcc7" - ] - ] - }, - { - "id":"ce510062.8dcc7", - "type":"returnSuccess", - "name":"return success", - "xml":"\n\n\n\n", - "comments":"", - "x":893, - "y":399, - "z":"c053ae12.4067b", - "wires":[ - - ] - }, - { - "id":"593bd7fb.675368", - "type":"dgstart", - "name":"DGSTART", - "outputs":1, - "x":295, - "y":216, - "z":"c053ae12.4067b", - "wires":[ - [ - "26f2a2b8.90f58e" - ] - ] - }, - { - "id":"901c8408.5fecb8", - "type":"comment", - "name":"SaltStack Adaptor DG", - "info":"", - "comments":"", - "x":673, - "y":103, - "z":"c053ae12.4067b", - "wires":[ - - ] - }, - { - "id":"cc449713.a1be88", - "type":"comment", - "name":"request-method = reqExecCommand, req-action = \"execute a single SLS command\"", - "info":"Here we just ping to all the minions, and we dont even check if the minions are active. ", - "comments":"", - "x":684, - "y":188, - "z":"c053ae12.4067b", - "wires":[ - - ] - }, - { - "id":"c07fa80e.7f3ac8", - "type":"comment", - "name":"Assumptions for this DG (example-server)", - "info":"Here we assume, the saltstack server is the example-vagrant based server. Where, the master saltstact controlls minion1 and minion2. ", - "comments":"", - "x":676, - "y":144, - "z":"c053ae12.4067b", - "wires":[ - - ] - } + { + "id": "aeef7d24.424a2", + "type": "method", + "name": "saltstack-adaptor-1.0", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 360, + "y": 7086.2001953125, + "z": "c817b245.e1acf", + "wires": [ + [ + "df4d8cf4.f519a" + ] + ] + }, + { + "id": "8b651be6.3f86b8", + "type": "service-logic", + "name": "APPC 2.0.1", + "module": "APPC", + "version": "2.0.1", + "comments": "", + "xml": "", + "outputs": 1, + "x": 151, + "y": 7164.2001953125, + "z": "c817b245.e1acf", + "wires": [ + [ + "aeef7d24.424a2" + ] + ] + }, + { + "id": "2e42f618.62c16a", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\n\n\n", + "comments": "", + "x": 898, + "y": 7301.2001953125, + "z": "c817b245.e1acf", + "wires": [] + }, + { + "id": "df4d8cf4.f519a", + "type": "execute", + "name": "execute", + "xml": "\n \n \n \n \n \n \n \n \n", + "comments": "", + "outputs": 1, + "x": 569, + "y": 7088.2001953125, + "z": "c817b245.e1acf", + "wires": [ + [ + "93ba15e3.3308a8", + "f8c4d551.a732f8" + ] + ] + }, + { + "id": "a16856a1.2d4188", + "type": "switchNode", + "name": "switch", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 356, + "y": 7246.2001953125, + "z": "c817b245.e1acf", + "wires": [ + [ + "c3b1137b.663b1", + "a3023991.569708" + ] + ] + }, + { + "id": "c3b1137b.663b1", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 542, + "y": 7304.2001953125, + "z": "c817b245.e1acf", + "wires": [ + [ + "2e42f618.62c16a" + ] + ] + }, + { + "id": "93ba15e3.3308a8", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 819, + "y": 7085.2001953125, + "z": "c817b245.e1acf", + "wires": [ + [ + "2e42f618.62c16a" + ] + ] + }, + { + "id": "f8c4d551.a732f8", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 166, + "y": 7253.2001953125, + "z": "c817b245.e1acf", + "wires": [ + [ + "a16856a1.2d4188" + ] + ] + }, + { + "id": "a3023991.569708", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 545, + "y": 7246.2001953125, + "z": "c817b245.e1acf", + "wires": [ + [ + "ba97f3c2.e7cda" + ] + ] + }, + { + "id": "ba97f3c2.e7cda", + "type": "returnSuccess", + "name": "return success", + "xml": "\n\n\n\n", + "comments": "", + "x": 727, + "y": 7247.2001953125, + "z": "c817b245.e1acf", + "wires": [] + }, + { + "id": "885dab24.087d78", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 129, + "y": 7064.2001953125, + "z": "c817b245.e1acf", + "wires": [ + [ + "8b651be6.3f86b8" + ] + ] + }, + { + "id": "3da5c21f.a161ae", + "type": "comment", + "name": "SaltStack Adaptor DG", + "info": "", + "comments": "", + "x": 507, + "y": 6951.2001953125, + "z": "c817b245.e1acf", + "wires": [] + }, + { + "id": "a248d62f.bf82e8", + "type": "comment", + "name": "request-method = reqExecCommand, req-action = \"execute a single SLS command\"", + "info": "Here we just ping to all the minions, and we dont even check if the minions are active. ", + "comments": "", + "x": 518, + "y": 7036.2001953125, + "z": "c817b245.e1acf", + "wires": [] + }, + { + "id": "8b672f0c.3688d", + "type": "comment", + "name": "Assumptions for this DG (example-server)", + "info": "Here we assume, the saltstack server is the example-vagrant based server. Where, the master saltstact controlls minion1 and minion2. ", + "comments": "", + "x": 510, + "y": 6992.2001953125, + "z": "c817b245.e1acf", + "wires": [] + } ] \ No newline at end of file -- cgit 1.2.3-korg