summaryrefslogtreecommitdiffstats
path: root/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/Appc-API_2.0.0.0_method_acquire_and_return.json
diff options
context:
space:
mode:
Diffstat (limited to 'appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/Appc-API_2.0.0.0_method_acquire_and_return.json')
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/Appc-API_2.0.0.0_method_acquire_and_return.json291
1 files changed, 290 insertions, 1 deletions
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/Appc-API_2.0.0.0_method_acquire_and_return.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/Appc-API_2.0.0.0_method_acquire_and_return.json
index 70ee0599f..aed9a9321 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/Appc-API_2.0.0.0_method_acquire_and_return.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/Appc-API_2.0.0.0_method_acquire_and_return.json
@@ -1 +1,290 @@
-[{"id":"5fdd08f1.982a98","type":"switchNode","name":"is acquire require","xml":"<switch test='`$acquire.require`'>\n","comments":"","outputs":1,"x":532,"y":324,"z":"51e00a00.88b9e8","wires":[["1d5eab1d.936385","864c1c72.71594"]]},{"id":"dd2cefe0.be872","type":"execute","name":"execute: release","xml":"<execute plugin='org.openecomp.sdnc.sli.plugin.altsTools.AltsTools' method='`$release.method`' >\n <parameter name=\"asset-uuid\" value=\"`$aai.asset.tag`\" />\n\t<parameter name=\"assignment-group\" value=\"`$aai.uuid`\" />\n\t<parameter name=\"error-prefix\" value=\"acquire.error\" />\n\t<parameter name=\"prefix\" value=\"release.response\" />\n\t<parameter name=\"hostname\" value=\"`$input.action-identifiers.vnf-id`\" />\n\t<parameter name=\"vnf-id\" value=\"`$input.action-identifiers.vnf-id`\" />\n","comments":"","outputs":1,"x":900,"y":451,"z":"51e00a00.88b9e8","wires":[["d1f89179.86ed"]]},{"id":"d3806cd9.326f1","type":"execute","name":"execute: acquire","xml":"<execute plugin='org.openecomp.sdnc.sli.plugin.altsTools.AltsTools' method='`$acquire.method`' >\n\t<parameter name=\"error-prefix\" value=\"acquire.error\" />\n\t<parameter name=\"prefix\" value=\"acquire.response\" />\n\t<parameter name=\"assignment-group\" value=\"`$model.uuid`\" />\n\t<parameter name=\"vnf-id\" value=\"`$input.action-identifiers.vnf-id`\" />\n\t<parameter name=\"hostname\" value=\"`$input.action-identifiers.vnf-id`\" /> \n","comments":"","outputs":1,"x":907,"y":324,"z":"51e00a00.88b9e8","wires":[["9e04b714.89eea8","ffdbc354.ec818"]]},{"id":"fa71882b.ad0308","type":"dgstart","name":"DGSTART","outputs":1,"x":116,"y":95,"z":"51e00a00.88b9e8","wires":[["72f7a965.7b0338"]]},{"id":"72f7a965.7b0338","type":"service-logic","name":"Appc-API 2.0.0.0","module":"Appc-API","version":"2.0.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-API' version='2.0.0.0'>","outputs":1,"x":302,"y":95,"z":"51e00a00.88b9e8","wires":[["c8121155.0e863"]]},{"id":"c8121155.0e863","type":"method","name":"acquire and return","xml":"<method rpc='acquire_and_return' mode='sync'>\n","comments":"","outputs":1,"x":207,"y":222,"z":"51e00a00.88b9e8","wires":[["2cf4ee46.9e9812"]]},{"id":"ffdbc354.ec818","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1075,"y":372,"z":"51e00a00.88b9e8","wires":[["ba99ecd9.52b1a"]]},{"id":"ba99ecd9.52b1a","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='`$acquire.error.error-code`' />\n<parameter name='error-message' value='`$acquire.error.error-message`' />\n<parameter name='output.status.code' value='401'/>\n<parameter name='output.status.message' value='`$acquire.error.error-message`' />\n","comments":"","x":1231,"y":372,"z":"51e00a00.88b9e8","wires":[]},{"id":"71fdcba3.fa02a4","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name=\"license.key\" value=\"`$license.key`\" />\n<parameter name=\"asset-tag\" value=\"`$asset-tag`\" />","comments":"","x":526,"y":552,"z":"51e00a00.88b9e8","wires":[]},{"id":"be30ea04.30ba18","type":"set","name":"set","xml":"<set>\n<parameter name='asset-tag' value='`$acquire.response.software-asset-tag-uuid`' />\n<parameter name='license-key' value='`$acquire.response.license-key`' />","comments":"","x":1227,"y":329,"z":"51e00a00.88b9e8","wires":[[]]},{"id":"2cf4ee46.9e9812","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":229,"y":415,"z":"51e00a00.88b9e8","wires":[["5fdd08f1.982a98","9c2b745a.41c1e8","71fdcba3.fa02a4"]]},{"id":"9c2b745a.41c1e8","type":"switchNode","name":"is release require","xml":"<switch test='`$release.require`'>\n","comments":"","outputs":1,"x":531,"y":451,"z":"51e00a00.88b9e8","wires":[["98ecbe52.b3c3a"]]},{"id":"9e04b714.89eea8","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1080,"y":324,"z":"51e00a00.88b9e8","wires":[["be30ea04.30ba18"]]},{"id":"1d5eab1d.936385","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":709,"y":324,"z":"51e00a00.88b9e8","wires":[["d3806cd9.326f1"]]},{"id":"98ecbe52.b3c3a","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":710,"y":451,"z":"51e00a00.88b9e8","wires":[["dd2cefe0.be872"]]},{"id":"d1f89179.86ed","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1072,"y":451,"z":"51e00a00.88b9e8","wires":[["30302a1c.1276c6"]]},{"id":"30302a1c.1276c6","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='`$acquire.error.error-code`' />\n<parameter name='error-message' value='`$acquire.error.error-message`' />\n<parameter name='output.status.code' value='401'/>\n<parameter name='output.status.message' value='`$acquire.error.error-message`' />","comments":"","x":1228,"y":451,"z":"51e00a00.88b9e8","wires":[]},{"id":"864c1c72.71594","type":"outcomeFalse","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":722,"y":264,"z":"51e00a00.88b9e8","wires":[["bbc3ed4a.b47c5"]]},{"id":"bbc3ed4a.b47c5","type":"set","name":"set","xml":"<set>\n<parameter name='asset-tag' value='' />\n<parameter name='license-key' value='' />","comments":"","x":888,"y":264,"z":"51e00a00.88b9e8","wires":[[]]}]
+[
+ {
+ "id": "5fdd08f1.982a98",
+ "type": "switchNode",
+ "name": "is acquire require",
+ "xml": "<switch test='`$acquire.require`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 532,
+ "y": 324,
+ "z": "51e00a00.88b9e8",
+ "wires": [
+ [
+ "1d5eab1d.936385",
+ "864c1c72.71594"
+ ]
+ ]
+ },
+ {
+ "id": "dd2cefe0.be872",
+ "type": "execute",
+ "name": "execute: release",
+ "xml": "<execute plugin='org.openecomp.sdnc.sli.plugin.altsTools.AltsTools' method='`$release.method`' >\n <parameter name=\"asset-uuid\" value=\"`$aai.asset.tag`\" />\n\t<parameter name=\"assignment-group\" value=\"`$aai.uuid`\" />\n\t<parameter name=\"error-prefix\" value=\"acquire.error\" />\n\t<parameter name=\"prefix\" value=\"release.response\" />\n\t<parameter name=\"hostname\" value=\"`$input.action-identifiers.vnf-id`\" />\n\t<parameter name=\"vnf-id\" value=\"`$input.action-identifiers.vnf-id`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 900,
+ "y": 451,
+ "z": "51e00a00.88b9e8",
+ "wires": [
+ [
+ "d1f89179.86ed"
+ ]
+ ]
+ },
+ {
+ "id": "d3806cd9.326f1",
+ "type": "execute",
+ "name": "execute: acquire",
+ "xml": "<execute plugin='org.openecomp.sdnc.sli.plugin.altsTools.AltsTools' method='`$acquire.method`' >\n\t<parameter name=\"error-prefix\" value=\"acquire.error\" />\n\t<parameter name=\"prefix\" value=\"acquire.response\" />\n\t<parameter name=\"assignment-group\" value=\"`$model.uuid`\" />\n\t<parameter name=\"vnf-id\" value=\"`$input.action-identifiers.vnf-id`\" />\n\t<parameter name=\"hostname\" value=\"`$input.action-identifiers.vnf-id`\" /> \n",
+ "comments": "",
+ "outputs": 1,
+ "x": 907,
+ "y": 324,
+ "z": "51e00a00.88b9e8",
+ "wires": [
+ [
+ "9e04b714.89eea8",
+ "ffdbc354.ec818"
+ ]
+ ]
+ },
+ {
+ "id": "fa71882b.ad0308",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 116,
+ "y": 95,
+ "z": "51e00a00.88b9e8",
+ "wires": [
+ [
+ "72f7a965.7b0338"
+ ]
+ ]
+ },
+ {
+ "id": "72f7a965.7b0338",
+ "type": "service-logic",
+ "name": "Appc-API 2.0.0.0",
+ "module": "Appc-API",
+ "version": "2.0.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-API' version='2.0.0.0'>",
+ "outputs": 1,
+ "x": 302,
+ "y": 95,
+ "z": "51e00a00.88b9e8",
+ "wires": [
+ [
+ "c8121155.0e863"
+ ]
+ ]
+ },
+ {
+ "id": "c8121155.0e863",
+ "type": "method",
+ "name": "acquire and return",
+ "xml": "<method rpc='acquire_and_return' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 207,
+ "y": 222,
+ "z": "51e00a00.88b9e8",
+ "wires": [
+ [
+ "2cf4ee46.9e9812"
+ ]
+ ]
+ },
+ {
+ "id": "ffdbc354.ec818",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1075,
+ "y": 372,
+ "z": "51e00a00.88b9e8",
+ "wires": [
+ [
+ "ba99ecd9.52b1a"
+ ]
+ ]
+ },
+ {
+ "id": "ba99ecd9.52b1a",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='`$acquire.error.error-code`' />\n<parameter name='error-message' value='`$acquire.error.error-message`' />\n<parameter name='output.status.code' value='401'/>\n<parameter name='output.status.message' value='`$acquire.error.error-message`' />\n",
+ "comments": "",
+ "x": 1231,
+ "y": 372,
+ "z": "51e00a00.88b9e8",
+ "wires": []
+ },
+ {
+ "id": "71fdcba3.fa02a4",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n<parameter name=\"license.key\" value=\"`$license.key`\" />\n<parameter name=\"asset-tag\" value=\"`$asset-tag`\" />",
+ "comments": "",
+ "x": 526,
+ "y": 552,
+ "z": "51e00a00.88b9e8",
+ "wires": []
+ },
+ {
+ "id": "be30ea04.30ba18",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='asset-tag' value='`$acquire.response.software-asset-tag-uuid`' />\n<parameter name='license-key' value='`$acquire.response.license-key`' />",
+ "comments": "",
+ "x": 1227,
+ "y": 329,
+ "z": "51e00a00.88b9e8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2cf4ee46.9e9812",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 229,
+ "y": 415,
+ "z": "51e00a00.88b9e8",
+ "wires": [
+ [
+ "5fdd08f1.982a98",
+ "9c2b745a.41c1e8",
+ "71fdcba3.fa02a4"
+ ]
+ ]
+ },
+ {
+ "id": "9c2b745a.41c1e8",
+ "type": "switchNode",
+ "name": "is release require",
+ "xml": "<switch test='`$release.require`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 531,
+ "y": 451,
+ "z": "51e00a00.88b9e8",
+ "wires": [
+ [
+ "98ecbe52.b3c3a"
+ ]
+ ]
+ },
+ {
+ "id": "9e04b714.89eea8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1080,
+ "y": 324,
+ "z": "51e00a00.88b9e8",
+ "wires": [
+ [
+ "be30ea04.30ba18"
+ ]
+ ]
+ },
+ {
+ "id": "1d5eab1d.936385",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 709,
+ "y": 324,
+ "z": "51e00a00.88b9e8",
+ "wires": [
+ [
+ "d3806cd9.326f1"
+ ]
+ ]
+ },
+ {
+ "id": "98ecbe52.b3c3a",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 710,
+ "y": 451,
+ "z": "51e00a00.88b9e8",
+ "wires": [
+ [
+ "dd2cefe0.be872"
+ ]
+ ]
+ },
+ {
+ "id": "d1f89179.86ed",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1072,
+ "y": 451,
+ "z": "51e00a00.88b9e8",
+ "wires": [
+ [
+ "30302a1c.1276c6"
+ ]
+ ]
+ },
+ {
+ "id": "30302a1c.1276c6",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='`$acquire.error.error-code`' />\n<parameter name='error-message' value='`$acquire.error.error-message`' />\n<parameter name='output.status.code' value='401'/>\n<parameter name='output.status.message' value='`$acquire.error.error-message`' />",
+ "comments": "",
+ "x": 1228,
+ "y": 451,
+ "z": "51e00a00.88b9e8",
+ "wires": []
+ },
+ {
+ "id": "864c1c72.71594",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 722,
+ "y": 264,
+ "z": "51e00a00.88b9e8",
+ "wires": [
+ [
+ "bbc3ed4a.b47c5"
+ ]
+ ]
+ },
+ {
+ "id": "bbc3ed4a.b47c5",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='asset-tag' value='' />\n<parameter name='license-key' value='' />",
+ "comments": "",
+ "x": 888,
+ "y": 264,
+ "z": "51e00a00.88b9e8",
+ "wires": [
+ []
+ ]
+ }
+]