summaryrefslogtreecommitdiffstats
path: root/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetTemplateConfig_Chef.json
diff options
context:
space:
mode:
Diffstat (limited to 'appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetTemplateConfig_Chef.json')
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetTemplateConfig_Chef.json803
1 files changed, 350 insertions, 453 deletions
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetTemplateConfig_Chef.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetTemplateConfig_Chef.json
index 7341e4aa3..7bc73df1d 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetTemplateConfig_Chef.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetTemplateConfig_Chef.json
@@ -1,453 +1,350 @@
-[
- {
- "id": "c9005ac7.c57248",
- "type": "dgstart",
- "name": "DGSTART",
- "outputs": 1,
- "x": 130,
- "y": 107.57143020629883,
- "z": "1c322045.61564",
- "wires": [
- [
- "81c4fde7.3fb5b"
- ]
- ]
- },
- {
- "id": "81c4fde7.3fb5b",
- "type": "service-logic",
- "name": "APPC 4.0.0",
- "module": "APPC",
- "version": "4.0.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": 311.00000762939453,
- "y": 65.1428575515747,
- "z": "1c322045.61564",
- "wires": [
- [
- "c35c9610.8d2ad8"
- ]
- ]
- },
- {
- "id": "c35c9610.8d2ad8",
- "type": "method",
- "name": "method GetTemplateConfig_Chef ",
- "xml": "<method rpc='GetTemplateConfig_Chef' mode='sync'>\n",
- "comments": "",
- "outputs": 1,
- "x": 574.5476837158203,
- "y": 68.49999618530273,
- "z": "1c322045.61564",
- "wires": [
- [
- "791848b0.bcbe48"
- ]
- ]
- },
- {
- "id": "791848b0.bcbe48",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 142.00001907348633,
- "y": 303.50003814697266,
- "z": "1c322045.61564",
- "wires": [
- [
- "13786ad0.1af775",
- "9911db8b.909de8",
- "a0dd8b28.4c27d8"
- ]
- ]
- },
- {
- "id": "13786ad0.1af775",
- "type": "set",
- "name": "set tmp.message",
- "xml": "<set>\n<parameter name=\"tmp.message\" value=\"`$error-code + ':' + $error-message`\"/>\n",
- "comments": "",
- "x": 409.37306213378906,
- "y": 692.8253631591797,
- "z": "1c322045.61564",
- "wires": []
- },
- {
- "id": "3e746174.0ab35e",
- "type": "execute",
- "name": "execute isPDFILE",
- "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getTemplateByVnfTypeNAction\">\n<parameter name=\"fileCategory\" value=\"config_template\" />\n<parameter name=\"responsePrefix\" value=\"config-template\" />",
- "comments": "",
- "outputs": 1,
- "x": 762.9166679382324,
- "y": 514.1666812896729,
- "z": "1c322045.61564",
- "wires": [
- [
- "ca5f68cd.7df168",
- "abf0e2c0.46e46"
- ]
- ]
- },
- {
- "id": "ca5f68cd.7df168",
- "type": "not-found",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1008.9166717529297,
- "y": 494.6666507720947,
- "z": "1c322045.61564",
- "wires": [
- []
- ]
- },
- {
- "id": "abf0e2c0.46e46",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1003.4166717529297,
- "y": 536.6666774749756,
- "z": "1c322045.61564",
- "wires": [
- [
- "9285e961.bde908"
- ]
- ]
- },
- {
- "id": "9285e961.bde908",
- "type": "call",
- "name": "call chefDG",
- "xml": "<call module='APPC' rpc='' mode='sync' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1170.416690826416,
- "y": 539.1666574478149,
- "z": "1c322045.61564",
- "wires": [
- [
- "6b096ef8.220c6"
- ]
- ]
- },
- {
- "id": "6b096ef8.220c6",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 1349.1667938232422,
- "y": 540.4167070388794,
- "z": "1c322045.61564",
- "wires": [
- [
- "3b23acb8.aee1b4"
- ]
- ]
- },
- {
- "id": "3b23acb8.aee1b4",
- "type": "returnSuccess",
- "name": "return success",
- "xml": "<return status='success'>\n<parameter name='output.status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />\n<parameter name='output.status.message' value='`$org.onap.appc.adapter.ansible.message`'/>\n<parameter name='output.status.results' value = '`$output.status.results`'/>\n",
- "comments": "",
- "x": 1531.666706085205,
- "y": 540.4166622161865,
- "z": "1c322045.61564",
- "wires": []
- },
- {
- "id": "9911db8b.909de8",
- "type": "call",
- "name": "call Generic_ChefDG",
- "xml": "<call module='APPC' rpc='Generic_ChefDG' mode='sync' >\n",
- "comments": "",
- "outputs": 1,
- "x": 428.3334197998047,
- "y": 591.666748046875,
- "z": "1c322045.61564",
- "wires": [
- [
- "13c04cd9.b43873",
- "3d395b6f.37d6d4"
- ]
- ]
- },
- {
- "id": "70ff03bc.550c5c",
- "type": "execute",
- "name": "execute: getChefRunningConfig",
- "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getConfigFilesByVnfActionNCategory\">\n<parameter name=\"fileCategory\" value=\"device_configuration\" />\n<parameter name='vnfname' value=\"`$config.vnf-name`\" />\n<parameter name='action' value=\"`$config.action`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.deviceconfig\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 1041.66650390625,
- "y": 158.33333206176758,
- "z": "1c322045.61564",
- "wires": [
- [
- "e0166624.d85ba8",
- "2d46c9a9.5e4556",
- "60877372.7124dc"
- ]
- ]
- },
- {
- "id": "60877372.7124dc",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1187.6665115356445,
- "y": 240.3333044052124,
- "z": "1c322045.61564",
- "wires": [
- [
- "594ea12a.967b5"
- ]
- ]
- },
- {
- "id": "594ea12a.967b5",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1350.6665115356445,
- "y": 240.3333044052124,
- "z": "1c322045.61564",
- "wires": [
- [
- "69841f84.beca3"
- ]
- ]
- },
- {
- "id": "2d46c9a9.5e4556",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1335.6665115356445,
- "y": 183.3333044052124,
- "z": "1c322045.61564",
- "wires": [
- []
- ]
- },
- {
- "id": "e0166624.d85ba8",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1341.3331909179688,
- "y": 120.99998950958252,
- "z": "1c322045.61564",
- "wires": [
- [
- "afceb049.effd"
- ]
- ]
- },
- {
- "id": "69841f84.beca3",
- "type": "returnSuccess",
- "name": "return success",
- "xml": "<return status='success'>\n<parameter name='device-running-config' value=\"`$tmp.deviceconfig.file-content`\" />\n",
- "comments": "",
- "x": 1553.6665115356445,
- "y": 242.3333044052124,
- "z": "1c322045.61564",
- "wires": []
- },
- {
- "id": "afceb049.effd",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1517.3331909179688,
- "y": 124.99998950958252,
- "z": "1c322045.61564",
- "wires": [
- [
- "89203f87.bdd35"
- ]
- ]
- },
- {
- "id": "89203f87.bdd35",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"`$tmp.deviceconfig.error-message`\"/>\n\n",
- "comments": "",
- "x": 1709.3331909179688,
- "y": 117.99998950958252,
- "z": "1c322045.61564",
- "wires": []
- },
- {
- "id": "a0dd8b28.4c27d8",
- "type": "execute",
- "name": "execute getTemplate",
- "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getTemplate\">\n<parameter name=\"fileCategory\" value=\"config_template\" />\n<parameter name=\"responsePrefix\" value=\"config-template\" />",
- "comments": "",
- "outputs": 1,
- "x": 414.66676330566406,
- "y": 274.1072106361389,
- "z": "1c322045.61564",
- "wires": [
- [
- "209fd4e.f5e6a2c",
- "c880f1bf.06526"
- ]
- ]
- },
- {
- "id": "c880f1bf.06526",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 629.3811264038086,
- "y": 316.52382373809814,
- "z": "1c322045.61564",
- "wires": [
- [
- "3e7c0fa2.d88be"
- ]
- ]
- },
- {
- "id": "3e7c0fa2.d88be",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 821.1112251281738,
- "y": 317.6666851043701,
- "z": "1c322045.61564",
- "wires": [
- [
- "daf816d8.f062d8"
- ]
- ]
- },
- {
- "id": "daf816d8.f062d8",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$config-template.error-message`\"/>\n\t\n\t\n\t",
- "comments": "",
- "x": 1050.7779960632324,
- "y": 320.44445514678955,
- "z": "1c322045.61564",
- "wires": []
- },
- {
- "id": "209fd4e.f5e6a2c",
- "type": "failure",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 635.9049377441406,
- "y": 239.19051837921143,
- "z": "1c322045.61564",
- "wires": [
- [
- "32a527f0.aabd78"
- ]
- ]
- },
- {
- "id": "32a527f0.aabd78",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 820.2381896972656,
- "y": 243.52384662628174,
- "z": "1c322045.61564",
- "wires": [
- [
- "70ff03bc.550c5c"
- ]
- ]
- },
- {
- "id": "3d395b6f.37d6d4",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 651.6666259765625,
- "y": 703.3333129882812,
- "z": "1c322045.61564",
- "wires": [
- [
- "d444f8cd.5ab698"
- ]
- ]
- },
- {
- "id": "d444f8cd.5ab698",
- "type": "returnSuccess",
- "name": "return success",
- "xml": "<return status='success'>\n<parameter name='device-running-config' value=\"`$tmp.deviceconfig.file-content`\" />\n<parameter name='output.status.code' value='`$output.status.code`' />\n<parameter name='output.status.message' value='`$output.status.message`'/>\n<parameter name='output.status.results' value = '`$output.status.results`'/>\n",
- "comments": "",
- "x": 869.3810539245605,
- "y": 709.7618341445923,
- "z": "1c322045.61564",
- "wires": []
- },
- {
- "id": "13c04cd9.b43873",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 635.952320098877,
- "y": 604.7617607116699,
- "z": "1c322045.61564",
- "wires": [
- [
- "c021af06.07788"
- ]
- ]
- },
- {
- "id": "c021af06.07788",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='output.status.code' value='200' />\n<parameter name='output.status.message' value='`$output.status.message`'/>\n",
- "comments": "",
- "x": 887.3808403015137,
- "y": 620.4760093688965,
- "z": "1c322045.61564",
- "wires": []
- }
-]
+[{
+ "id": "474f3afb.a3db24",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 147,
+ "y": 111.00000190734863,
+ "z": "94e86086.2ff71",
+ "wires": [["cc0ffd3f.b63cd"]]
+},
+{
+ "id": "cc0ffd3f.b63cd",
+ "type": "service-logic",
+ "name": "APPC 4.0.0",
+ "module": "APPC",
+ "version": "4.0.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": 328.00000762939453,
+ "y": 68.57142925262451,
+ "z": "94e86086.2ff71",
+ "wires": [["d652a69c.2573f8"]]
+},
+{
+ "id": "d652a69c.2573f8",
+ "type": "method",
+ "name": "method GetTemplateConfig_Chef ",
+ "xml": "<method rpc='GetTemplateConfig_Chef' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 591.5476837158203,
+ "y": 71.92856788635254,
+ "z": "94e86086.2ff71",
+ "wires": [["d18eff93.eb14f"]]
+},
+{
+ "id": "d18eff93.eb14f",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 159.00001907348633,
+ "y": 306.92860984802246,
+ "z": "94e86086.2ff71",
+ "wires": [["3b15cd2d.821332",
+ "9b65458e.5b1e98",
+ "a36ba4d6.2c6688"]]
+},
+{
+ "id": "29e56f4.bdbe99",
+ "type": "execute",
+ "name": "execute isPDFILE",
+ "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getTemplateByVnfTypeNAction\">\n<parameter name=\"fileCategory\" value=\"config_template\" />\n<parameter name=\"responsePrefix\" value=\"config-template\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 779.9166679382324,
+ "y": 517.5952529907227,
+ "z": "94e86086.2ff71",
+ "wires": [["39e0794.313fc86",
+ "1ed9c019.ae2df"]]
+},
+{
+ "id": "39e0794.313fc86",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1025.9166717529297,
+ "y": 498.09522247314453,
+ "z": "94e86086.2ff71",
+ "wires": [[]]
+},
+{
+ "id": "1ed9c019.ae2df",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1020.4166717529297,
+ "y": 540.0952491760254,
+ "z": "94e86086.2ff71",
+ "wires": [["48b163ef.9f2bfc"]]
+},
+{
+ "id": "48b163ef.9f2bfc",
+ "type": "call",
+ "name": "call chefDG",
+ "xml": "<call module='APPC' rpc='' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1187.416690826416,
+ "y": 542.5952291488647,
+ "z": "94e86086.2ff71",
+ "wires": [["d759b85b.fae9e8"]]
+},
+{
+ "id": "d759b85b.fae9e8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1366.1667938232422,
+ "y": 543.8452787399292,
+ "z": "94e86086.2ff71",
+ "wires": [["5449d9db.093b88"]]
+},
+{
+ "id": "5449d9db.093b88",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n<parameter name='output.status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />\n<parameter name='output.status.message' value='`$org.onap.appc.adapter.ansible.message`'/>\n<parameter name='output.status.results' value = '`$output.status.results`'/>\n",
+ "comments": "",
+ "x": 1548.666706085205,
+ "y": 543.8452339172363,
+ "z": "94e86086.2ff71",
+ "wires": []
+},
+{
+ "id": "bde23f8d.a3fa4",
+ "type": "call",
+ "name": "call Generic_ChefDG",
+ "xml": "<call module='APPC' rpc='Generic_ChefDG' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 445.3334197998047,
+ "y": 595.0953197479248,
+ "z": "94e86086.2ff71",
+ "wires": [["43fbac1d.0c1c24",
+ "206a6826.5cf278"]]
+},
+{
+ "id": "954fec4e.93e8f",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1238.9521827697754,
+ "y": 235.1904354095459,
+ "z": "94e86086.2ff71",
+ "wires": [["f7addcef.22067"]]
+},
+{
+ "id": "168aed4a.93b013",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1358.3331909179688,
+ "y": 124.42856121063232,
+ "z": "94e86086.2ff71",
+ "wires": [["66ab792e.5436a8"]]
+},
+{
+ "id": "66ab792e.5436a8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1534.3331909179688,
+ "y": 128.42856121063232,
+ "z": "94e86086.2ff71",
+ "wires": [[]]
+},
+{
+ "id": "3b15cd2d.821332",
+ "type": "execute",
+ "name": "execute getTemplate",
+ "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getTemplate\">\n<parameter name=\"fileCategory\" value=\"config_template\" />\n<parameter name=\"responsePrefix\" value=\"config_template\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 390.2382354736328,
+ "y": 338.96442222595215,
+ "z": "94e86086.2ff71",
+ "wires": [["ea97965e.f38b18",
+ "eaf78bb4.52fa78",
+ "160c81ed.70050e"]]
+},
+{
+ "id": "eaf78bb4.52fa78",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 646.3811264038086,
+ "y": 319.95239543914795,
+ "z": "94e86086.2ff71",
+ "wires": [["d967b007.473f5"]]
+},
+{
+ "id": "ea97965e.f38b18",
+ "type": "failure",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 652.9049377441406,
+ "y": 242.61909008026123,
+ "z": "94e86086.2ff71",
+ "wires": [["d967b007.473f5"]]
+},
+{
+ "id": "d967b007.473f5",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 837.2381896972656,
+ "y": 246.95241832733154,
+ "z": "94e86086.2ff71",
+ "wires": [["5ad2d1ac.67bda"]]
+},
+{
+ "id": "206a6826.5cf278",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 668.6666259765625,
+ "y": 706.761884689331,
+ "z": "94e86086.2ff71",
+ "wires": [["8fa01d79.09849"]]
+},
+{
+ "id": "8fa01d79.09849",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n<parameter name='APPC.GetRunningConfig' value=\"`$APPC.GetRunningConfig`\" />\n<parameter name='output.status.code' value='`$output.status.code`' />\n<parameter name='output.status.message' value='`$output.status.message`'/>\n<parameter name='output.status.results' value = '`$output.status.results`'/>\n",
+ "comments": "",
+ "x": 910.0954551696777,
+ "y": 710.333270072937,
+ "z": "94e86086.2ff71",
+ "wires": []
+},
+{
+ "id": "43fbac1d.0c1c24",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 652.952320098877,
+ "y": 608.1903324127197,
+ "z": "94e86086.2ff71",
+ "wires": [["7f584955.519aa8"]]
+},
+{
+ "id": "7f584955.519aa8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='output.status.code' value='`$output.status.code`' />\n<parameter name='output.status.message' value='`$output.status.message`'/>\n",
+ "comments": "",
+ "x": 897.3808403015137,
+ "y": 623.9045810699463,
+ "z": "94e86086.2ff71",
+ "wires": []
+},
+{
+ "id": "9b65458e.5b1e98",
+ "type": "set",
+ "name": "Set Action",
+ "xml": "<set>\n<parameter name='request-action' value=\"GetRunningConfig\" />\n",
+ "comments": "",
+ "x": 410.0000114440918,
+ "y": 250.0000286102295,
+ "z": "94e86086.2ff71",
+ "wires": []
+},
+{
+ "id": "5ad2d1ac.67bda",
+ "type": "get-resource",
+ "name": "get-resource: APPC.GetRunningConfig",
+ "xml": "<get-resource\n\tplugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' \n\tresource='SQL'\n key=\"SELECT FILE_CONTENT FROM CONFIGFILES WHERE FILE_CATEGORY = 'device_configuration' AND VNF_NAME = $vnf-name\n \t\tAND ACTION IN ('Configure', 'ConfigModify', 'ConfigRestore') \n \t\tAND CREATION_DATE IN (SELECT MAX(CREATION_DATE) FROM CONFIGFILES) ;\"\n force='true'\n\tpfx='APPC.GetRunningConfig'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1029.9999542236328,
+ "y": 174.2857346534729,
+ "z": "94e86086.2ff71",
+ "wires": [["168aed4a.93b013",
+ "954fec4e.93e8f"]]
+},
+{
+ "id": "f7addcef.22067",
+ "type": "set",
+ "name": "set GetRunningConfig",
+ "xml": "<set>\n<parameter name='APPC.GetRunningConfig' value='`$APPC.GetRunningConfig.FILE-CONTENT`' />\n\n\n\n\n\n",
+ "comments": "",
+ "x": 1496.2856903076172,
+ "y": 238.28571796417236,
+ "z": "94e86086.2ff71",
+ "wires": []
+},
+{
+ "id": "160c81ed.70050e",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 522.2857230050223,
+ "y": 401.4285714285714,
+ "z": "94e86086.2ff71",
+ "wires": [["500403e1.fd551c"]]
+},
+{
+ "id": "500403e1.fd551c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 459.4285583496094,
+ "y": 497.1428527832031,
+ "z": "94e86086.2ff71",
+ "wires": [["bde23f8d.a3fa4"]]
+},
+{
+ "id": "daccf9f.9646908",
+ "type": "comment",
+ "name": "Change of getDeviceRunningConfig",
+ "info": "Need to change getDeviceRunningconfig when chef returns configuartion.\n\nRight now just returning deviceRunningConfig",
+ "comments": "",
+ "x": 1010.0001602172852,
+ "y": 753.142822265625,
+ "z": "94e86086.2ff71",
+ "wires": []
+},
+{
+ "id": "a36ba4d6.2c6688",
+ "type": "set",
+ "name": "set tmp.message",
+ "xml": "<set>\n<parameter name=\"tmp.message\" value=\"`$error-code + ':' + $error-message`\"/>\n<parameter name='request-action' value=\"`$input.action`\" />\n",
+ "comments": "",
+ "x": 425.71429443359375,
+ "y": 755.4285888671875,
+ "z": "94e86086.2ff71",
+ "wires": []
+}]