summaryrefslogtreecommitdiffstats
path: root/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GenerateTemplateConfig.json
diff options
context:
space:
mode:
Diffstat (limited to 'appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GenerateTemplateConfig.json')
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GenerateTemplateConfig.json311
1 files changed, 310 insertions, 1 deletions
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GenerateTemplateConfig.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GenerateTemplateConfig.json
index efdc91a62..1fb1736f6 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GenerateTemplateConfig.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GenerateTemplateConfig.json
@@ -1 +1,310 @@
-[{"id":"42b2dfc0.a5c5e","type":"dgstart","name":"DGSTART","outputs":1,"x":168,"y":108,"z":"d7c523d9.040c","wires":[["d9d88d2e.06e01"]]},{"id":"d9d88d2e.06e01","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":320,"y":107,"z":"d7c523d9.040c","wires":[["f1a68f7c.b0fd1"]]},{"id":"f1a68f7c.b0fd1","type":"method","name":"method GenerateTemplateConfig","xml":"<method rpc='GenerateTemplateConfig' mode='sync'>\n","comments":"","outputs":1,"x":560,"y":110,"z":"d7c523d9.040c","wires":[["2975bd2f.022512"]]},{"id":"2975bd2f.022512","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":180,"y":171,"z":"d7c523d9.040c","wires":[["718c80aa.91b87","cac9421d.229c9"]]},{"id":"458ebbd8.86b484","type":"execute","name":"execute Merge Data with Template","xml":"<execute plugin=\"org.onap.sdnc.config.generator.merge.MergeNode\" method=\"mergeJsonDataOnTemplate\">\n<parameter name=\"jsonData\" value=\"`$configuration-params`\" />\n<parameter name=\"templateData\" value=\"`$config-template.file-content`\" />\n<parameter name=\"templateType\" value=\"json\" />\n<parameter name=\"responsePrefix\" value=\"tmp.merge\" />","comments":"","outputs":1,"x":680.5,"y":378,"z":"d7c523d9.040c","wires":[["b61648ca.231c98","95b9fc11.efc86"]]},{"id":"b61648ca.231c98","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":929.5,"y":346,"z":"d7c523d9.040c","wires":[["ad78434b.53b5e"]]},{"id":"ad78434b.53b5e","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1077.5,"y":347,"z":"d7c523d9.040c","wires":[["39a12381.5bf87c"]]},{"id":"39a12381.5bf87c","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"Unable to merge template with data\"/>\n\t","comments":"","x":1251.5,"y":348,"z":"d7c523d9.040c","wires":[]},{"id":"95b9fc11.efc86","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":924.5,"y":422,"z":"d7c523d9.040c","wires":[["3e2c957.50e086a"]]},{"id":"3e2c957.50e086a","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1072.5,"y":424,"z":"d7c523d9.040c","wires":[["4d72da43.0cfe14"]]},{"id":"4d72da43.0cfe14","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$tmp.merge.error-message`\"/>\n\t","comments":"","x":1263.5,"y":423,"z":"d7c523d9.040c","wires":[]},{"id":"718c80aa.91b87","type":"switchNode","name":"switch Configuration params exists","xml":"<switch test='`$configuration-params`'>\n","comments":"","outputs":1,"x":425,"y":170,"z":"d7c523d9.040c","wires":[["8f31c08f.9dbb2","4be7f151.48d7f"]]},{"id":"baa4370e.36b778","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":664,"y":237,"z":"d7c523d9.040c","wires":[["458ebbd8.86b484"]]},{"id":"8f31c08f.9dbb2","type":"success","name":"outcome:Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":472,"y":234,"z":"d7c523d9.040c","wires":[["baa4370e.36b778"]]},{"id":"4be7f151.48d7f","type":"success","name":"outcome: null","xml":"<outcome value=''>","comments":"","outputs":1,"x":765,"y":165,"z":"d7c523d9.040c","wires":[["a55c78ed.34cc38"]]},{"id":"cac9421d.229c9","type":"execute","name":"execute saveTemplateConfig","xml":"<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveTemplateConfig\">\n<parameter name=\"responsePrefix\" value=\"tmp.saveTemplateConfig\" />","comments":"","outputs":1,"x":248,"y":623,"z":"d7c523d9.040c","wires":[["6a63d2a.0f3ba2c"]]},{"id":"6a63d2a.0f3ba2c","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":458,"y":623,"z":"d7c523d9.040c","wires":[["f2ef42ef.faf2a"]]},{"id":"f2ef42ef.faf2a","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":625,"y":625,"z":"d7c523d9.040c","wires":[["2fab99ac.fc2306"]]},{"id":"2fab99ac.fc2306","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$tmp.saveConfigBlock.error-message`\"/>\n\t\n\t\n\t","comments":"","x":816,"y":628,"z":"d7c523d9.040c","wires":[]},{"id":"a55c78ed.34cc38","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":955,"y":167,"z":"d7c523d9.040c","wires":[[]]}]
+[
+ {
+ "id": "42b2dfc0.a5c5e",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 168,
+ "y": 108,
+ "z": "d7c523d9.040c",
+ "wires": [
+ [
+ "d9d88d2e.06e01"
+ ]
+ ]
+ },
+ {
+ "id": "d9d88d2e.06e01",
+ "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": 320,
+ "y": 107,
+ "z": "d7c523d9.040c",
+ "wires": [
+ [
+ "f1a68f7c.b0fd1"
+ ]
+ ]
+ },
+ {
+ "id": "f1a68f7c.b0fd1",
+ "type": "method",
+ "name": "method GenerateTemplateConfig",
+ "xml": "<method rpc='GenerateTemplateConfig' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 560,
+ "y": 110,
+ "z": "d7c523d9.040c",
+ "wires": [
+ [
+ "2975bd2f.022512"
+ ]
+ ]
+ },
+ {
+ "id": "2975bd2f.022512",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 180,
+ "y": 171,
+ "z": "d7c523d9.040c",
+ "wires": [
+ [
+ "718c80aa.91b87",
+ "cac9421d.229c9"
+ ]
+ ]
+ },
+ {
+ "id": "458ebbd8.86b484",
+ "type": "execute",
+ "name": "execute Merge Data with Template",
+ "xml": "<execute plugin=\"org.onap.sdnc.config.generator.merge.MergeNode\" method=\"mergeJsonDataOnTemplate\">\n<parameter name=\"jsonData\" value=\"`$configuration-params`\" />\n<parameter name=\"templateData\" value=\"`$config-template.file-content`\" />\n<parameter name=\"templateType\" value=\"json\" />\n<parameter name=\"responsePrefix\" value=\"tmp.merge\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 680.5,
+ "y": 378,
+ "z": "d7c523d9.040c",
+ "wires": [
+ [
+ "b61648ca.231c98",
+ "95b9fc11.efc86"
+ ]
+ ]
+ },
+ {
+ "id": "b61648ca.231c98",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 929.5,
+ "y": 346,
+ "z": "d7c523d9.040c",
+ "wires": [
+ [
+ "ad78434b.53b5e"
+ ]
+ ]
+ },
+ {
+ "id": "ad78434b.53b5e",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1077.5,
+ "y": 347,
+ "z": "d7c523d9.040c",
+ "wires": [
+ [
+ "39a12381.5bf87c"
+ ]
+ ]
+ },
+ {
+ "id": "39a12381.5bf87c",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"Unable to merge template with data\"/>\n\t",
+ "comments": "",
+ "x": 1251.5,
+ "y": 348,
+ "z": "d7c523d9.040c",
+ "wires": []
+ },
+ {
+ "id": "95b9fc11.efc86",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 924.5,
+ "y": 422,
+ "z": "d7c523d9.040c",
+ "wires": [
+ [
+ "3e2c957.50e086a"
+ ]
+ ]
+ },
+ {
+ "id": "3e2c957.50e086a",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1072.5,
+ "y": 424,
+ "z": "d7c523d9.040c",
+ "wires": [
+ [
+ "4d72da43.0cfe14"
+ ]
+ ]
+ },
+ {
+ "id": "4d72da43.0cfe14",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$tmp.merge.error-message`\"/>\n\t",
+ "comments": "",
+ "x": 1263.5,
+ "y": 423,
+ "z": "d7c523d9.040c",
+ "wires": []
+ },
+ {
+ "id": "718c80aa.91b87",
+ "type": "switchNode",
+ "name": "switch Configuration params exists",
+ "xml": "<switch test='`$configuration-params`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 425,
+ "y": 170,
+ "z": "d7c523d9.040c",
+ "wires": [
+ [
+ "8f31c08f.9dbb2",
+ "4be7f151.48d7f"
+ ]
+ ]
+ },
+ {
+ "id": "baa4370e.36b778",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 664,
+ "y": 237,
+ "z": "d7c523d9.040c",
+ "wires": [
+ [
+ "458ebbd8.86b484"
+ ]
+ ]
+ },
+ {
+ "id": "8f31c08f.9dbb2",
+ "type": "success",
+ "name": "outcome:Other",
+ "xml": "<outcome value=\"Other\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 472,
+ "y": 234,
+ "z": "d7c523d9.040c",
+ "wires": [
+ [
+ "baa4370e.36b778"
+ ]
+ ]
+ },
+ {
+ "id": "4be7f151.48d7f",
+ "type": "success",
+ "name": "outcome: null",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 765,
+ "y": 165,
+ "z": "d7c523d9.040c",
+ "wires": [
+ [
+ "a55c78ed.34cc38"
+ ]
+ ]
+ },
+ {
+ "id": "cac9421d.229c9",
+ "type": "execute",
+ "name": "execute saveTemplateConfig",
+ "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveTemplateConfig\">\n<parameter name=\"responsePrefix\" value=\"tmp.saveTemplateConfig\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 248,
+ "y": 623,
+ "z": "d7c523d9.040c",
+ "wires": [
+ [
+ "6a63d2a.0f3ba2c"
+ ]
+ ]
+ },
+ {
+ "id": "6a63d2a.0f3ba2c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 458,
+ "y": 623,
+ "z": "d7c523d9.040c",
+ "wires": [
+ [
+ "f2ef42ef.faf2a"
+ ]
+ ]
+ },
+ {
+ "id": "f2ef42ef.faf2a",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 625,
+ "y": 625,
+ "z": "d7c523d9.040c",
+ "wires": [
+ [
+ "2fab99ac.fc2306"
+ ]
+ ]
+ },
+ {
+ "id": "2fab99ac.fc2306",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$tmp.saveConfigBlock.error-message`\"/>\n\t\n\t\n\t",
+ "comments": "",
+ "x": 816,
+ "y": 628,
+ "z": "d7c523d9.040c",
+ "wires": []
+ },
+ {
+ "id": "a55c78ed.34cc38",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 955,
+ "y": 167,
+ "z": "d7c523d9.040c",
+ "wires": [
+ []
+ ]
+ }
+]