diff options
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vfmodule-changeassign.json')
-rw-r--r-- | platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vfmodule-changeassign.json | 341 |
1 files changed, 341 insertions, 0 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vfmodule-changeassign.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vfmodule-changeassign.json new file mode 100644 index 00000000..e6ee122f --- /dev/null +++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vfmodule-changeassign.json @@ -0,0 +1,341 @@ +[ + { + "id": "22eab388.16eaf4", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 261.25, + "y": 35, + "z": "46b207bc.3f592", + "wires": [ + [ + "94105a8.3e56d28" + ] + ] + }, + { + "id": "94105a8.3e56d28", + "type": "service-logic", + "name": "GENERIC-RESOURCE-API ${project.version}", + "module": "GENERIC-RESOURCE-API", + "version": "${project.version}", + "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='GENERIC-RESOURCE-API' version='${project.version}'>", + "outputs": 1, + "x": 537.25, + "y": 36, + "z": "46b207bc.3f592", + "wires": [ + [ + "31e05f30.9bc35" + ] + ] + }, + { + "id": "31e05f30.9bc35", + "type": "method", + "name": "self-serve-vfmodule-changeassign ", + "xml": "<method rpc='self-serve-vfmodule-changeassign' mode='sync'>\n", + "comments": "", + "outputs": 1, + "x": 870.25, + "y": 37, + "z": "46b207bc.3f592", + "wires": [ + [ + "ee5ed489.b65008" + ] + ] + }, + { + "id": "ee5ed489.b65008", + "type": "block", + "name": "block atomic", + "xml": "<block atomic=\"true\">\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 279.75, + "y": 118, + "z": "46b207bc.3f592", + "wires": [ + [ + "95b7958e.623f", + "da8442bf.f537b" + ] + ] + }, + { + "id": "42b47e59.9697a8", + "type": "set", + "name": "set", + "xml": "<set>\n <parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$j].resource-resolution-data.status`' value='PENDING'/>\n <parameter name='ss.input.param.index' value='`$i`' />\n <parameter name='ss.service-data.param.index' value='`$j`' />", + "comments": "", + "x": 1496.25, + "y": 536, + "z": "46b207bc.3f592", + "wires": [] + }, + { + "id": "95b7958e.623f", + "type": "switchNode", + "name": "switch vf-module-input-parameters", + "xml": "<switch test='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param_length`'>\n", + "comments": "", + "outputs": 1, + "x": 522.25, + "y": 161, + "z": "46b207bc.3f592", + "wires": [ + [ + "18fa94ab.fe4b7b" + ] + ] + }, + { + "id": "18fa94ab.fe4b7b", + "type": "outcome", + "name": "null", + "xml": "<outcome value=''>", + "comments": "", + "outputs": 1, + "x": 752.3928833007812, + "y": 160.85714721679688, + "z": "46b207bc.3f592", + "wires": [ + [ + "bf2bc904.dd0a38" + ] + ] + }, + { + "id": "bf2bc904.dd0a38", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"no param name/value provided in vf-module-request-input\" />\n", + "comments": "", + "x": 925.25, + "y": 161, + "z": "46b207bc.3f592", + "wires": [] + }, + { + "id": "da8442bf.f537b", + "type": "for", + "name": "for vf-module-input-parameters.param index i", + "xml": "<for index='i' start='0' end='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param_length`' >", + "comments": "", + "outputs": 1, + "x": 555.25, + "y": 230, + "z": "46b207bc.3f592", + "wires": [ + [ + "977e46f6.877358" + ] + ] + }, + { + "id": "977e46f6.877358", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 793.25, + "y": 285, + "z": "46b207bc.3f592", + "wires": [ + [ + "201c0f41.e053b8" + ] + ] + }, + { + "id": "201c0f41.e053b8", + "type": "switchNode", + "name": "switch", + "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param_length`'>\n\n", + "comments": "", + "outputs": 1, + "x": 964.25, + "y": 285, + "z": "46b207bc.3f592", + "wires": [ + [ + "108e76a3.9cd481" + ] + ] + }, + { + "id": "108e76a3.9cd481", + "type": "other", + "name": "other", + "xml": "<outcome value='Other'>\n", + "comments": "", + "outputs": 1, + "x": 712.25, + "y": 369, + "z": "46b207bc.3f592", + "wires": [ + [ + "4d1767d8.2a9c3" + ] + ] + }, + { + "id": "4d1767d8.2a9c3", + "type": "for", + "name": "for service-data.vnf-parameters-data.param index j", + "xml": "<for index='j' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param_length`' >", + "comments": "", + "outputs": 1, + "x": 1004.25, + "y": 369, + "z": "46b207bc.3f592", + "wires": [ + [ + "8891bef1.8502d" + ] + ] + }, + { + "id": "8891bef1.8502d", + "type": "switchNode", + "name": "switch input vnf-name", + "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$j].name == $vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$i].name`'>\n", + "comments": "", + "outputs": 1, + "x": 947.25, + "y": 463, + "z": "46b207bc.3f592", + "wires": [ + [ + "5274d8ce.a623c", + "654491e7.62d698" + ] + ] + }, + { + "id": "654491e7.62d698", + "type": "not-found", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 1160.25, + "y": 536, + "z": "46b207bc.3f592", + "wires": [ + [ + "4262d0f1.813fb" + ] + ] + }, + { + "id": "5274d8ce.a623c", + "type": "not-found", + "name": "false", + "xml": "<outcome value='false'>\n", + "comments": "", + "outputs": 1, + "x": 1168.25, + "y": 418, + "z": "46b207bc.3f592", + "wires": [ + [ + "ff6ddcf3.7baac8" + ] + ] + }, + { + "id": "ff6ddcf3.7baac8", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'No param with param[].name = ' + $vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$i].name + ' found in service-data.'`\" />\n", + "comments": "", + "x": 1373.25, + "y": 417, + "z": "46b207bc.3f592", + "wires": [] + }, + { + "id": "4262d0f1.813fb", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1321.25, + "y": 535, + "z": "46b207bc.3f592", + "wires": [ + [ + "42b47e59.9697a8", + "bd5eede2.612be8" + ] + ] + }, + { + "id": "bd5eede2.612be8", + "type": "call", + "name": "call self-serve-generate-name-changeassign", + "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-generate-name-changeassign' mode='sync' >\n", + "comments": "", + "outputs": 1, + "x": 1613.25, + "y": 612, + "z": "46b207bc.3f592", + "wires": [ + [ + "4bb46cb.5d8d914", + "566ddacf.c229b4" + ] + ] + }, + { + "id": "4bb46cb.5d8d914", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 1863.25, + "y": 584, + "z": "46b207bc.3f592", + "wires": [ + [ + "b50ec2c9.740af8" + ] + ] + }, + { + "id": "566ddacf.c229b4", + "type": "failure", + "name": "not-found", + "xml": "<outcome value='not-found'>\n", + "comments": "", + "outputs": 1, + "x": 1873.25, + "y": 652, + "z": "46b207bc.3f592", + "wires": [ + [ + "b50ec2c9.740af8" + ] + ] + }, + { + "id": "b50ec2c9.740af8", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error from self-service-generate-name-changeassign\" />\n", + "comments": "", + "x": 2062.25, + "y": 583, + "z": "46b207bc.3f592", + "wires": [] + } +]
\ No newline at end of file |