aboutsummaryrefslogtreecommitdiffstats
path: root/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_method_DownloadvIRCChefConfig_4.0.0.json
diff options
context:
space:
mode:
Diffstat (limited to 'appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_method_DownloadvIRCChefConfig_4.0.0.json')
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_method_DownloadvIRCChefConfig_4.0.0.json316
1 files changed, 315 insertions, 1 deletions
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_method_DownloadvIRCChefConfig_4.0.0.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_method_DownloadvIRCChefConfig_4.0.0.json
index 01bfe71a0..8cceeced6 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_method_DownloadvIRCChefConfig_4.0.0.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_method_DownloadvIRCChefConfig_4.0.0.json
@@ -1 +1,315 @@
-[{"id":"7429c878.5abe38","type":"dgstart","name":"DGSTART","outputs":1,"x":136,"y":73,"z":"f809d11d.5015c","wires":[["2a4f05d6.88a89a"]]},{"id":"2a4f05d6.88a89a","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":125,"y":141,"z":"f809d11d.5015c","wires":[["aa94c1db.ebfc"]]},{"id":"aa94c1db.ebfc","type":"method","name":"method","xml":"<method rpc='DownloadvIRCChefConfig' mode='sync'>\n","comments":"","outputs":1,"x":124,"y":216,"z":"f809d11d.5015c","wires":[["ea7c5ec6.16476"]]},{"id":"ea7c5ec6.16476","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":113,"y":315,"z":"f809d11d.5015c","wires":[["d3e04c9b.c07be","d1b241f6.8c179","9c35834d.a01fa","da9b7cd9.09d6f","bf9d85fc.805698"]]},{"id":"d3e04c9b.c07be","type":"execute","name":"execute","xml":"<execute plugin='org.onap.appc.adapter.chef.ChefAdapter' method='retrieveData'>\n <parameter name='org.onap.appc.instance.dgContext' value='environment-name'/>\n <parameter name='org.onap.appc.instance.allConfig' value='`$virc-environment`'/>\n <parameter name='org.onap.appc.instance.key' value='name'/>\n","comments":"","outputs":1,"x":409,"y":126,"z":"f809d11d.5015c","wires":[[]]},{"id":"d1b241f6.8c179","type":"execute","name":"execute","xml":"<execute plugin='org.onap.appc.adapter.chef.ChefAdapter' method='combineStrings' >\n <parameter name='org.onap.appc.instance.dgContext' value='chef-action'/>\n <parameter name='org.onap.appc.instance.String1' value='/environments/'/>\n <parameter name='org.onap.appc.instance.String2' value='`$environment-name`'/>","comments":"","outputs":1,"x":399,"y":183,"z":"f809d11d.5015c","wires":[[]]},{"id":"9c35834d.a01fa","type":"execute","name":"execute","xml":"<execute plugin='org.onap.appc.adapter.chef.ChefAdapter' method='chefPut' >\n<parameter name='org.onap.appc.instance.organizations' value='`$chef-organization`'/> \n<parameter name='org.onap.appc.instance.serverAddress' value='`$chef-server-address`'/> \n<parameter name='org.onap.appc.instance.username' value='`$chef-username`'/> \n<parameter name='org.onap.appc.instance.chefAction' value='`$chef-action`'/> \n<parameter name='org.onap.appc.instance.chefRequestBody' value='`$virc-environment`'/>","comments":"","outputs":1,"x":405,"y":244,"z":"f809d11d.5015c","wires":[[]]},{"id":"da9b7cd9.09d6f","type":"switchNode","name":"switch","xml":"<switch test='`$org.onap.appc.chefServerResult.code`'>\n","comments":"","outputs":1,"x":252,"y":453,"z":"f809d11d.5015c","wires":[["374e8d98.aebe72","616a3c9c.5953a4","41e33222.25d1ec"]]},{"id":"374e8d98.aebe72","type":"outcome","name":"outcome","xml":"<outcome value='404'>\n","comments":"","outputs":1,"x":456,"y":329,"z":"f809d11d.5015c","wires":[["15bca697.807fd9"]]},{"id":"eb531a20.afbbd8","type":"execute","name":"execute","xml":"<execute plugin='org.onap.appc.adapter.chef.ChefAdapter' method='chefPost' >\n<parameter name='org.onap.appc.instance.organizations' value='`$chef-organization`'/> \n<parameter name='org.onap.appc.instance.serverAddress' value='`$chef-server-address`'/> \n<parameter name='org.onap.appc.instance.username' value='`$chef-username`'/> \n<parameter name='org.onap.appc.instance.chefAction' value='/environments'/> \n<parameter name='org.onap.appc.instance.chefRequestBody' value='`$virc-environment`'/>\n","comments":"","outputs":1,"x":789,"y":228,"z":"f809d11d.5015c","wires":[[]]},{"id":"11e5058e.84b97a","type":"outcome","name":"outcome","xml":"<outcome value='201'>\n","comments":"","outputs":1,"x":1083,"y":534,"z":"f809d11d.5015c","wires":[["6ded9d24.0dbaa4"]]},{"id":"f5ae799f.bf25a8","type":"outcome","name":"outcome","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1081,"y":352,"z":"f809d11d.5015c","wires":[["1f394e1f.056dd2"]]},{"id":"23cc137a.1b7dfc","type":"switchNode","name":"switch","xml":"<switch test='`$org.onap.appc.chefServerResult.code`'>\n","comments":"","outputs":1,"x":803,"y":410,"z":"f809d11d.5015c","wires":[["11e5058e.84b97a","f5ae799f.bf25a8"]]},{"id":"15bca697.807fd9","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":615,"y":329,"z":"f809d11d.5015c","wires":[["eb531a20.afbbd8","23cc137a.1b7dfc"]]},{"id":"616a3c9c.5953a4","type":"outcome","name":"outcome","xml":"<outcome value='200'>\n","comments":"","outputs":1,"x":591,"y":565,"z":"f809d11d.5015c","wires":[["5abbe56e.76c5cc"]]},{"id":"41e33222.25d1ec","type":"outcome","name":"outcome","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":606,"y":667,"z":"f809d11d.5015c","wires":[["b231a35d.86656"]]},{"id":"6ded9d24.0dbaa4","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='error-code' value='400' />\n<parameter name='error-message' value='successfully create the chef environment'/>\n","comments":"","x":1289,"y":529,"z":"f809d11d.5015c","wires":[]},{"id":"1f394e1f.056dd2","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='`$org.onap.appc.chefServerResult.message`' />\n","comments":"","x":1292,"y":350,"z":"f809d11d.5015c","wires":[]},{"id":"b231a35d.86656","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='`$org.onap.appc.chefServerResult.message`' />\n","comments":"","x":793,"y":669,"z":"f809d11d.5015c","wires":[]},{"id":"5abbe56e.76c5cc","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='error-code' value='400' />\n<parameter name='error-message' value='successfully updated the chef environment'/>\n","comments":"","x":808,"y":567,"z":"f809d11d.5015c","wires":[]},{"id":"bf9d85fc.805698","type":"set","name":"set","xml":"<set>\n<parameter name='chef-server-address' value='`$vnf-host-ip-address`' />\n<parameter name='chef-username' value='`$device-authentication.USER-NAME`' />\n<parameter name='chef-organization' value='virc'/>\n<parameter name='virc-environment' value='`$deviceconfig-file-content`' />","comments":"","x":419,"y":68,"z":"f809d11d.5015c","wires":[]}]
+[
+ {
+ "id": "7429c878.5abe38",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 136,
+ "y": 73,
+ "z": "f809d11d.5015c",
+ "wires": [
+ [
+ "2a4f05d6.88a89a"
+ ]
+ ]
+ },
+ {
+ "id": "2a4f05d6.88a89a",
+ "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": 125,
+ "y": 141,
+ "z": "f809d11d.5015c",
+ "wires": [
+ [
+ "aa94c1db.ebfc"
+ ]
+ ]
+ },
+ {
+ "id": "aa94c1db.ebfc",
+ "type": "method",
+ "name": "method",
+ "xml": "<method rpc='DownloadvIRCChefConfig' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 124,
+ "y": 216,
+ "z": "f809d11d.5015c",
+ "wires": [
+ [
+ "ea7c5ec6.16476"
+ ]
+ ]
+ },
+ {
+ "id": "ea7c5ec6.16476",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 113,
+ "y": 315,
+ "z": "f809d11d.5015c",
+ "wires": [
+ [
+ "d3e04c9b.c07be",
+ "d1b241f6.8c179",
+ "9c35834d.a01fa",
+ "da9b7cd9.09d6f",
+ "bf9d85fc.805698"
+ ]
+ ]
+ },
+ {
+ "id": "d3e04c9b.c07be",
+ "type": "execute",
+ "name": "execute",
+ "xml": "<execute plugin='org.onap.appc.adapter.chef.ChefAdapter' method='retrieveData'>\n <parameter name='org.onap.appc.instance.dgContext' value='environment-name'/>\n <parameter name='org.onap.appc.instance.allConfig' value='`$virc-environment`'/>\n <parameter name='org.onap.appc.instance.key' value='name'/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 409,
+ "y": 126,
+ "z": "f809d11d.5015c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d1b241f6.8c179",
+ "type": "execute",
+ "name": "execute",
+ "xml": "<execute plugin='org.onap.appc.adapter.chef.ChefAdapter' method='combineStrings' >\n <parameter name='org.onap.appc.instance.dgContext' value='chef-action'/>\n <parameter name='org.onap.appc.instance.String1' value='/environments/'/>\n <parameter name='org.onap.appc.instance.String2' value='`$environment-name`'/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 399,
+ "y": 183,
+ "z": "f809d11d.5015c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9c35834d.a01fa",
+ "type": "execute",
+ "name": "execute",
+ "xml": "<execute plugin='org.onap.appc.adapter.chef.ChefAdapter' method='chefPut' >\n<parameter name='org.onap.appc.instance.organizations' value='`$chef-organization`'/> \n<parameter name='org.onap.appc.instance.serverAddress' value='`$chef-server-address`'/> \n<parameter name='org.onap.appc.instance.username' value='`$chef-username`'/> \n<parameter name='org.onap.appc.instance.chefAction' value='`$chef-action`'/> \n<parameter name='org.onap.appc.instance.chefRequestBody' value='`$virc-environment`'/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 405,
+ "y": 244,
+ "z": "f809d11d.5015c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "da9b7cd9.09d6f",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$org.onap.appc.chefServerResult.code`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 252,
+ "y": 453,
+ "z": "f809d11d.5015c",
+ "wires": [
+ [
+ "374e8d98.aebe72",
+ "616a3c9c.5953a4",
+ "41e33222.25d1ec"
+ ]
+ ]
+ },
+ {
+ "id": "374e8d98.aebe72",
+ "type": "outcome",
+ "name": "outcome",
+ "xml": "<outcome value='404'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 456,
+ "y": 329,
+ "z": "f809d11d.5015c",
+ "wires": [
+ [
+ "15bca697.807fd9"
+ ]
+ ]
+ },
+ {
+ "id": "eb531a20.afbbd8",
+ "type": "execute",
+ "name": "execute",
+ "xml": "<execute plugin='org.onap.appc.adapter.chef.ChefAdapter' method='chefPost' >\n<parameter name='org.onap.appc.instance.organizations' value='`$chef-organization`'/> \n<parameter name='org.onap.appc.instance.serverAddress' value='`$chef-server-address`'/> \n<parameter name='org.onap.appc.instance.username' value='`$chef-username`'/> \n<parameter name='org.onap.appc.instance.chefAction' value='/environments'/> \n<parameter name='org.onap.appc.instance.chefRequestBody' value='`$virc-environment`'/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 789,
+ "y": 228,
+ "z": "f809d11d.5015c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "11e5058e.84b97a",
+ "type": "outcome",
+ "name": "outcome",
+ "xml": "<outcome value='201'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1083,
+ "y": 534,
+ "z": "f809d11d.5015c",
+ "wires": [
+ [
+ "6ded9d24.0dbaa4"
+ ]
+ ]
+ },
+ {
+ "id": "f5ae799f.bf25a8",
+ "type": "outcome",
+ "name": "outcome",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1081,
+ "y": 352,
+ "z": "f809d11d.5015c",
+ "wires": [
+ [
+ "1f394e1f.056dd2"
+ ]
+ ]
+ },
+ {
+ "id": "23cc137a.1b7dfc",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$org.onap.appc.chefServerResult.code`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 803,
+ "y": 410,
+ "z": "f809d11d.5015c",
+ "wires": [
+ [
+ "11e5058e.84b97a",
+ "f5ae799f.bf25a8"
+ ]
+ ]
+ },
+ {
+ "id": "15bca697.807fd9",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 615,
+ "y": 329,
+ "z": "f809d11d.5015c",
+ "wires": [
+ [
+ "eb531a20.afbbd8",
+ "23cc137a.1b7dfc"
+ ]
+ ]
+ },
+ {
+ "id": "616a3c9c.5953a4",
+ "type": "outcome",
+ "name": "outcome",
+ "xml": "<outcome value='200'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 591,
+ "y": 565,
+ "z": "f809d11d.5015c",
+ "wires": [
+ [
+ "5abbe56e.76c5cc"
+ ]
+ ]
+ },
+ {
+ "id": "41e33222.25d1ec",
+ "type": "outcome",
+ "name": "outcome",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 606,
+ "y": 667,
+ "z": "f809d11d.5015c",
+ "wires": [
+ [
+ "b231a35d.86656"
+ ]
+ ]
+ },
+ {
+ "id": "6ded9d24.0dbaa4",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n<parameter name='error-code' value='400' />\n<parameter name='error-message' value='successfully create the chef environment'/>\n",
+ "comments": "",
+ "x": 1289,
+ "y": 529,
+ "z": "f809d11d.5015c",
+ "wires": []
+ },
+ {
+ "id": "1f394e1f.056dd2",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='`$org.onap.appc.chefServerResult.message`' />\n",
+ "comments": "",
+ "x": 1292,
+ "y": 350,
+ "z": "f809d11d.5015c",
+ "wires": []
+ },
+ {
+ "id": "b231a35d.86656",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='`$org.onap.appc.chefServerResult.message`' />\n",
+ "comments": "",
+ "x": 793,
+ "y": 669,
+ "z": "f809d11d.5015c",
+ "wires": []
+ },
+ {
+ "id": "5abbe56e.76c5cc",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n<parameter name='error-code' value='400' />\n<parameter name='error-message' value='successfully updated the chef environment'/>\n",
+ "comments": "",
+ "x": 808,
+ "y": 567,
+ "z": "f809d11d.5015c",
+ "wires": []
+ },
+ {
+ "id": "bf9d85fc.805698",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='chef-server-address' value='`$vnf-host-ip-address`' />\n<parameter name='chef-username' value='`$device-authentication.USER-NAME`' />\n<parameter name='chef-organization' value='virc'/>\n<parameter name='virc-environment' value='`$deviceconfig-file-content`' />",
+ "comments": "",
+ "x": 419,
+ "y": 68,
+ "z": "f809d11d.5015c",
+ "wires": []
+ }
+]