From: Ganesh Chandrasekaran Date: Tue, 26 Feb 2019 01:23:58 +0000 (+0900) Subject: added GetTemplateConfig_Saltstack DG X-Git-Tag: 1.5.0~134 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=appc.git;a=commitdiff_plain;h=ae2f3f4355508fc1550f9e4741b70aaf719f3a01 added GetTemplateConfig_Saltstack DG Issue-ID: APPC-1101 Change-Id: I185caa7cbd23cf5ce7973d74f9b9cde896267433 Signed-off-by: Ganesh Chandrasekaran --- diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetTemplateConfig_Saltstack.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetTemplateConfig_Saltstack.json new file mode 100644 index 000000000..c379b36dd --- /dev/null +++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetTemplateConfig_Saltstack.json @@ -0,0 +1,638 @@ +[ + { + "id": "98352006.496d", + "type": "method", + "name": "method GetTemplateConfig_Saltstack", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 564, + "y": 575, + "z": "8d1f21aa.54c4d", + "wires": + [ + + [ + "c2c8437c.d6cca" + ] + + ] + + } +, + + + { + "id": "1692e1.f05bdd1f", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 146.59519958496094, + "y": 599.7857158184052, + "z": "8d1f21aa.54c4d", + "wires": + [ + + [ + "45b2f9bb.dc5b98" + ] + + ] + + } +, + + { + "id": "45b2f9bb.dc5b98", + "type": "service-logic", + "name": "APPC 4.0.0", + "module": "APPC", + "version": "4.0.0", + "comments": "", + "xml": "", + "outputs": 1, + "x": 300.45235443115234, + "y": 571.6428604125977, + "z": "8d1f21aa.54c4d", + "wires": + [ + + [ + "98352006.496d" + ] + + ] + + } + +, + + { + "id": "39364ef9.ead872", + "type": "execute", + "name": "execute getTemplate", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 394.9524688720703, + "y": 787.0358352661133, + "z": "8d1f21aa.54c4d", + "wires": + [ + + [ + "a23a6b7c.a294b8", + "49e24c5b.a0a4b4", + "9b11f6a5.929488" + ] + + ] + + } + +, + + { + "id": "c2c8437c.d6cca", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 131.45236587524414, + "y": 810.0000410079956, + "z": "8d1f21aa.54c4d", + "wires": + [ + + [ + "39364ef9.ead872", + "972d610a.e21b5", + "e78c5d68.c755d" + ] + + ] + + } + +, + + { + "id": "67d4439c.49875c", + "type": "call", + "name": "call Generic_SaltstackDG", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 631.7381896972656, + "y": 1125.5, + "z": "8d1f21aa.54c4d", + "wires": + [ + + [ + "b008f5b0.31de58", + "d7601718.9d91d8" + ] + + ] + + } +, + + { + "id": "972d610a.e21b5", + "type": "set", + "name": "Set Action", + "xml": "\n\n", + "comments": "", + "x": 377.8809280395508, + "y": 736.5000092983246, + "z": "8d1f21aa.54c4d", + "wires": + [ + ] + + } +, + + { + "id": "312aebc9.501634", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1306.8330078125, + "y": 833.642822265625, + "z": "8d1f21aa.54c4d", + "wires": + [ + + [ + "349ef15a.0c7d2e" + ] + + ] + + } +, + + { + "id": "316d732f.a3e84c", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1274.785400390625, + "y": 699.7381591796875, + "z": "8d1f21aa.54c4d", + "wires": + [ + + [ + "55fa4eac.25b27" + ] + + ] + + } +, + + { + "id": "55fa4eac.25b27", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1555.785400390625, + "y": 706.7381591796875, + "z": "8d1f21aa.54c4d", + "wires": + [ + + [ + + ] + + ] + + } +, + + { + "id": "49e24c5b.a0a4b4", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 601.2620064871653, + "y": 813.5476582050323, + "z": "8d1f21aa.54c4d", + "wires": + [ + + [ + "6527831e.9a7c6c" + ] + + ] + + } +, + + { + "id": "a23a6b7c.a294b8", + "type": "failure", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 607.7858178274973, + "y": 736.2143528461456, + "z": "8d1f21aa.54c4d", + "wires": + [ + + [ + "6527831e.9a7c6c" + ] + + ] + + } +, + + { + "id": "6527831e.9a7c6c", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 802.1190719604492, + "y": 843.4048297405243, + "z": "8d1f21aa.54c4d", + "wires": + [ + + [ + "fd19b074.0b5d5" + ] + + ] + + } +, + + { + "id": "fd19b074.0b5d5", + "type": "get-resource", + "name": "get-resource: APPC.GetRunningConfig", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 994.8808364868164, + "y": 770.7381460666656, + "z": "8d1f21aa.54c4d", + "wires": + [ + + [ + "316d732f.a3e84c", + "312aebc9.501634" + ] + + ] + + } +, + + { + "id": "349ef15a.0c7d2e", + "type": "set", + "name": "set GetRunningConfig", + "xml": "\n\n\n\n\n\n\n", + "comments": "", + "x": 1576.1666259765625, + "y": 837.7381591796875, + "z": "8d1f21aa.54c4d", + "wires": + [ + + ] + + } +, + + { + "id": "9b11f6a5.929488", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 477.1666030883789, + "y": 895.0238341944557, + "z": "8d1f21aa.54c4d", + "wires": + [ + + [ + "c04bb4df.c97dc8" + ] + + ] + + } +, + + { + "id": "c04bb4df.c97dc8", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 546.3094787597656, + "y": 1008.0714111328125, + "z": "8d1f21aa.54c4d", + "wires": + [ + + [ + "67d4439c.49875c" + ] + + ] + + } +, + + { + "id": "d7601718.9d91d8", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 932.3095092773438, + "y": 1206.9285888671875, + "z": "8d1f21aa.54c4d", + "wires": + [ + + [ + "ebed23c0.a9981" + ] + + ] + + } +, + + { + "id": "ebed23c0.a9981", + "type": "returnSuccess", + "name": "return success", + "xml": "\n\n\n\n\n", + "comments": "", + "x": 1254.7383422851562, + "y": 1250.5, + "z": "8d1f21aa.54c4d", + "wires": + [ + + ] + + } +, + + { + "id": "b008f5b0.31de58", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 924.59521484375, + "y": 1102.4998779296875, + "z": "8d1f21aa.54c4d", + "wires": + [ + + [ + "723af854.4bccc8" + ] + + ] + + } +, + + { + "id": "723af854.4bccc8", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\n\n", + "comments": "", + "x": 1226.3094482421875, + "y": 1126.928466796875, + "z": "8d1f21aa.54c4d", + "wires": + [ + + ] + + } +, + + { + "id": "21e1fdc8.854072", + "type": "comment", + "name": "Change of getDeviceRunningConfig", + "info": "Need to change getDeviceRunningconfig when chef returns configuartion.\n\nRight now just returning deviceRunningConfig", + "comments": "", + "x": 929.0715942382812, + "y": 1303.3095703125, + "z": "8d1f21aa.54c4d", + "wires": + [ + + ] + + } +, + + { + "id": "e78c5d68.c755d", + "type": "set", + "name": "set tmp.message", + "xml": "\n\n\n", + "comments": "", + "x": 379.30948638916016, + "y": 1242.7856996059418, + "z": "8d1f21aa.54c4d", + "wires": + [ + + ] + + } +, + + { + "id": "e8c0c427.61ecd8", + "type": "returnSuccess", + "name": "return success", + "xml": "\n\n\n\n", + "comments": "", + "x": 1721, + "y": 1052, + "z": "8d1f21aa.54c4d", + "wires": + [ + + ] + + } +, + + { + "id": "e783fbf6.94fd18", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 1538.500087738037, + "y": 1052.0000448226929, + "z": "8d1f21aa.54c4d", + "wires": + [ + + [ + "e8c0c427.61ecd8" + ] + + ] + + } +, + + { + "id": "93a3433a.2d53a", + "type": "call", + "name": "call saltstackDG", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1343.75, + "y": 1014.75, + "z": "8d1f21aa.54c4d", + "wires": + [ + + [ + "e783fbf6.94fd18" + ] + + ] + + } +, + + { + "id": "a43c6fa0.959e4", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1147.75, + "y": 995.25, + "z": "8d1f21aa.54c4d", + "wires": + [ + + [ + "93a3433a.2d53a" + ] + + ] + + } +, + + { + "id": "50568c8d.c27814", + "type": "execute", + "name": "execute getTemplate Parameter_definition", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 853.8214874267578, + "y": 938.9286117553711, + "z": "8d1f21aa.54c4d", + "wires": + [ + + [ + "8c411cd1.fcd39", + "a43c6fa0.959e4" + ] + + ] + + } +, + + { + "id": "8c411cd1.fcd39", + "type": "other", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1143.98828125, + "y": 905.71435546875, + "z": "8d1f21aa.54c4d", + "wires": + [ + + [ + "424740c6.f2b84" + ] + + ] + + } +, + + { + "id": "424740c6.f2b84", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 1352.6785888671875, + "y": 904.0714721679688, + "z": "8d1f21aa.54c4d", + "wires": + [ + + [ + + ] + + ] + + } + +] \ No newline at end of file