aboutsummaryrefslogtreecommitdiffstats
path: root/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GenerateConfig.json
diff options
context:
space:
mode:
Diffstat (limited to 'appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GenerateConfig.json')
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GenerateConfig.json375
1 files changed, 374 insertions, 1 deletions
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GenerateConfig.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GenerateConfig.json
index 61d315798..2323e47a8 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GenerateConfig.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GenerateConfig.json
@@ -1 +1,374 @@
-[{"id":"8dc92cef.af16","type":"switchNode","name":"switch configuration Exist","xml":"<switch test='`$configuration`'>\n","comments":"","outputs":1,"x":230,"y":273,"z":"bcb112aa.3df3","wires":[["51b66afb.732cb4","ac78286.04e5ad8"]]},{"id":"51b66afb.732cb4","type":"success","name":" Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":200,"y":356,"z":"bcb112aa.3df3","wires":[["19efef28.113271"]]},{"id":"ac78286.04e5ad8","type":"success","name":"outcome: null","xml":"<outcome value=''>","comments":"","outputs":1,"x":460,"y":278,"z":"bcb112aa.3df3","wires":[["e08c0360.b78d7"]]},{"id":"19efef28.113271","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":355,"y":357,"z":"bcb112aa.3df3","wires":[["bd4ca811.1bbf98","f05dc8ea.7c8f98"]]},{"id":"e08c0360.b78d7","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":651,"y":275,"z":"bcb112aa.3df3","wires":[[]]},{"id":"bd4ca811.1bbf98","type":"switchNode","name":"switch Config Params Exist","xml":"<switch test='`$configuration-params`'>\n","comments":"","outputs":1,"x":580,"y":359,"z":"bcb112aa.3df3","wires":[["4ceaa5cd.c473ac","cba86ee2.90b7e"]]},{"id":"f05dc8ea.7c8f98","type":"execute","name":"execute saveConfigBlock","xml":"<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigBlock\">\n<parameter name=\"responsePrefix\" value=\"tmp.saveConfigBlock\" />","comments":"","outputs":1,"x":541,"y":594,"z":"bcb112aa.3df3","wires":[["c2734f72.66207"]]},{"id":"4ceaa5cd.c473ac","type":"success","name":"outcome: null","xml":"<outcome value=''>","comments":"","outputs":1,"x":812,"y":312,"z":"bcb112aa.3df3","wires":[["30855e94.828402"]]},{"id":"cba86ee2.90b7e","type":"success","name":" Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":582,"y":423,"z":"bcb112aa.3df3","wires":[["3c1de74c.ceb898"]]},{"id":"c2734f72.66207","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":751,"y":594,"z":"bcb112aa.3df3","wires":[["b2137289.1cf87"]]},{"id":"3c1de74c.ceb898","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=\"`$configuration`\" />\n<parameter name=\"templateType\" value=\"json\" />\n<parameter name=\"responsePrefix\" value=\"tmp.merge\" />","comments":"","outputs":1,"x":813,"y":425,"z":"bcb112aa.3df3","wires":[["806b8a1a.10a928","fb85739e.97635"]]},{"id":"b2137289.1cf87","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":918,"y":596,"z":"bcb112aa.3df3","wires":[["9cc87fc8.c131"]]},{"id":"806b8a1a.10a928","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1064,"y":386,"z":"bcb112aa.3df3","wires":[["f0bb9ae5.225b08"]]},{"id":"fb85739e.97635","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1053,"y":445,"z":"bcb112aa.3df3","wires":[["f70cd59a.466288"]]},{"id":"9cc87fc8.c131","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":1117,"y":593,"z":"bcb112aa.3df3","wires":[]},{"id":"f0bb9ae5.225b08","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1220,"y":389,"z":"bcb112aa.3df3","wires":[["cc1dc434.2e9558"]]},{"id":"f70cd59a.466288","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1209,"y":447,"z":"bcb112aa.3df3","wires":[["bbfbfcbd.81a6b"]]},{"id":"cc1dc434.2e9558","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":1398,"y":392,"z":"bcb112aa.3df3","wires":[]},{"id":"bbfbfcbd.81a6b","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":1382,"y":454,"z":"bcb112aa.3df3","wires":[]},{"id":"f2019004.80993","type":"dgstart","name":"DGSTART","outputs":1,"x":146,"y":118,"z":"bcb112aa.3df3","wires":[["f02b838f.96f26"]]},{"id":"f02b838f.96f26","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":313,"y":118,"z":"bcb112aa.3df3","wires":[["6f7e3ed4.df123"]]},{"id":"6f7e3ed4.df123","type":"method","name":"method GenerateConfig","xml":"<method rpc='GenerateConfig' mode='sync'>\n","comments":"","outputs":1,"x":559,"y":117,"z":"bcb112aa.3df3","wires":[["52decd8e.01dd24"]]},{"id":"52decd8e.01dd24","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":155,"y":186,"z":"bcb112aa.3df3","wires":[["8dc92cef.af16"]]},{"id":"30855e94.828402","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1026,"y":312,"z":"bcb112aa.3df3","wires":[[]]}]
+[
+ {
+ "id": "8dc92cef.af16",
+ "type": "switchNode",
+ "name": "switch configuration Exist",
+ "xml": "<switch test='`$configuration`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 230,
+ "y": 273,
+ "z": "bcb112aa.3df3",
+ "wires": [
+ [
+ "51b66afb.732cb4",
+ "ac78286.04e5ad8"
+ ]
+ ]
+ },
+ {
+ "id": "51b66afb.732cb4",
+ "type": "success",
+ "name": " Other",
+ "xml": "<outcome value=\"Other\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 200,
+ "y": 356,
+ "z": "bcb112aa.3df3",
+ "wires": [
+ [
+ "19efef28.113271"
+ ]
+ ]
+ },
+ {
+ "id": "ac78286.04e5ad8",
+ "type": "success",
+ "name": "outcome: null",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 460,
+ "y": 278,
+ "z": "bcb112aa.3df3",
+ "wires": [
+ [
+ "e08c0360.b78d7"
+ ]
+ ]
+ },
+ {
+ "id": "19efef28.113271",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 355,
+ "y": 357,
+ "z": "bcb112aa.3df3",
+ "wires": [
+ [
+ "bd4ca811.1bbf98",
+ "f05dc8ea.7c8f98"
+ ]
+ ]
+ },
+ {
+ "id": "e08c0360.b78d7",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 651,
+ "y": 275,
+ "z": "bcb112aa.3df3",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bd4ca811.1bbf98",
+ "type": "switchNode",
+ "name": "switch Config Params Exist",
+ "xml": "<switch test='`$configuration-params`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 580,
+ "y": 359,
+ "z": "bcb112aa.3df3",
+ "wires": [
+ [
+ "4ceaa5cd.c473ac",
+ "cba86ee2.90b7e"
+ ]
+ ]
+ },
+ {
+ "id": "f05dc8ea.7c8f98",
+ "type": "execute",
+ "name": "execute saveConfigBlock",
+ "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigBlock\">\n<parameter name=\"responsePrefix\" value=\"tmp.saveConfigBlock\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 541,
+ "y": 594,
+ "z": "bcb112aa.3df3",
+ "wires": [
+ [
+ "c2734f72.66207"
+ ]
+ ]
+ },
+ {
+ "id": "4ceaa5cd.c473ac",
+ "type": "success",
+ "name": "outcome: null",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 812,
+ "y": 312,
+ "z": "bcb112aa.3df3",
+ "wires": [
+ [
+ "30855e94.828402"
+ ]
+ ]
+ },
+ {
+ "id": "cba86ee2.90b7e",
+ "type": "success",
+ "name": " Other",
+ "xml": "<outcome value=\"Other\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 582,
+ "y": 423,
+ "z": "bcb112aa.3df3",
+ "wires": [
+ [
+ "3c1de74c.ceb898"
+ ]
+ ]
+ },
+ {
+ "id": "c2734f72.66207",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 751,
+ "y": 594,
+ "z": "bcb112aa.3df3",
+ "wires": [
+ [
+ "b2137289.1cf87"
+ ]
+ ]
+ },
+ {
+ "id": "3c1de74c.ceb898",
+ "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=\"`$configuration`\" />\n<parameter name=\"templateType\" value=\"json\" />\n<parameter name=\"responsePrefix\" value=\"tmp.merge\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 813,
+ "y": 425,
+ "z": "bcb112aa.3df3",
+ "wires": [
+ [
+ "806b8a1a.10a928",
+ "fb85739e.97635"
+ ]
+ ]
+ },
+ {
+ "id": "b2137289.1cf87",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 918,
+ "y": 596,
+ "z": "bcb112aa.3df3",
+ "wires": [
+ [
+ "9cc87fc8.c131"
+ ]
+ ]
+ },
+ {
+ "id": "806b8a1a.10a928",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1064,
+ "y": 386,
+ "z": "bcb112aa.3df3",
+ "wires": [
+ [
+ "f0bb9ae5.225b08"
+ ]
+ ]
+ },
+ {
+ "id": "fb85739e.97635",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1053,
+ "y": 445,
+ "z": "bcb112aa.3df3",
+ "wires": [
+ [
+ "f70cd59a.466288"
+ ]
+ ]
+ },
+ {
+ "id": "9cc87fc8.c131",
+ "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": 1117,
+ "y": 593,
+ "z": "bcb112aa.3df3",
+ "wires": []
+ },
+ {
+ "id": "f0bb9ae5.225b08",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1220,
+ "y": 389,
+ "z": "bcb112aa.3df3",
+ "wires": [
+ [
+ "cc1dc434.2e9558"
+ ]
+ ]
+ },
+ {
+ "id": "f70cd59a.466288",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1209,
+ "y": 447,
+ "z": "bcb112aa.3df3",
+ "wires": [
+ [
+ "bbfbfcbd.81a6b"
+ ]
+ ]
+ },
+ {
+ "id": "cc1dc434.2e9558",
+ "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": 1398,
+ "y": 392,
+ "z": "bcb112aa.3df3",
+ "wires": []
+ },
+ {
+ "id": "bbfbfcbd.81a6b",
+ "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": 1382,
+ "y": 454,
+ "z": "bcb112aa.3df3",
+ "wires": []
+ },
+ {
+ "id": "f2019004.80993",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 146,
+ "y": 118,
+ "z": "bcb112aa.3df3",
+ "wires": [
+ [
+ "f02b838f.96f26"
+ ]
+ ]
+ },
+ {
+ "id": "f02b838f.96f26",
+ "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": 313,
+ "y": 118,
+ "z": "bcb112aa.3df3",
+ "wires": [
+ [
+ "6f7e3ed4.df123"
+ ]
+ ]
+ },
+ {
+ "id": "6f7e3ed4.df123",
+ "type": "method",
+ "name": "method GenerateConfig",
+ "xml": "<method rpc='GenerateConfig' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 559,
+ "y": 117,
+ "z": "bcb112aa.3df3",
+ "wires": [
+ [
+ "52decd8e.01dd24"
+ ]
+ ]
+ },
+ {
+ "id": "52decd8e.01dd24",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 155,
+ "y": 186,
+ "z": "bcb112aa.3df3",
+ "wires": [
+ [
+ "8dc92cef.af16"
+ ]
+ ]
+ },
+ {
+ "id": "30855e94.828402",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1026,
+ "y": 312,
+ "z": "bcb112aa.3df3",
+ "wires": [
+ []
+ ]
+ }
+]