diff options
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vnf-changeassign.json')
-rw-r--r-- | platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vnf-changeassign.json | 760 |
1 files changed, 380 insertions, 380 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vnf-changeassign.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vnf-changeassign.json index a29a7160..80c55d8e 100644 --- a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vnf-changeassign.json +++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vnf-changeassign.json @@ -1,381 +1,381 @@ -[ - { - "id": "dc9ceada.747c9", - "type": "dgstart", - "name": "DGSTART", - "outputs": 1, - "x": 79, - "y": 59, - "z": "ea55fe64.6b3f48", - "wires": [ - [ - "6bbe4a7.598cb34" - ] - ] - }, - { - "id": "6bbe4a7.598cb34", - "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": 355, - "y": 60, - "z": "ea55fe64.6b3f48", - "wires": [ - [ - "bb95c798.3cf368" - ] - ] - }, - { - "id": "bb95c798.3cf368", - "type": "method", - "name": "self-serve-vnf-changeassign ", - "xml": "<method rpc='self-serve-vnf-changeassign' mode='sync'>\n", - "comments": "", - "outputs": 1, - "x": 672, - "y": 60, - "z": "ea55fe64.6b3f48", - "wires": [ - [ - "72afded.b78132" - ] - ] - }, - { - "id": "72afded.b78132", - "type": "block", - "name": "block : atomic", - "xml": "<block atomic='true'>", - "atomic": "true", - "comments": "", - "outputs": 1, - "x": 97.5, - "y": 142, - "z": "ea55fe64.6b3f48", - "wires": [ - [ - "7eab9742.528a9", - "c971c45d.67ed58" - ] - ] - }, - { - "id": "7e2d788f.d439a8", - "type": "set", - "name": "set", - "xml": "<set>\n <parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.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`' />\n <parameter name='ss.input.param.found.in.service.param' value='true' />\n <parameter name='ss.capability-type' value='vnf' />\n <parameter name='ss.capability-action' value='changeassign' />", - "comments": "", - "x": 1907, - "y": 446, - "z": "ea55fe64.6b3f48", - "wires": [] - }, - { - "id": "7eab9742.528a9", - "type": "switchNode", - "name": "switch vnf-input-parameters", - "xml": "<switch test='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param_length`'>\n", - "comments": "", - "outputs": 1, - "x": 340, - "y": 185, - "z": "ea55fe64.6b3f48", - "wires": [ - [ - "b93197e8.d9d048" - ] - ] - }, - { - "id": "b93197e8.d9d048", - "type": "outcome", - "name": "null", - "xml": "<outcome value=''>", - "comments": "", - "outputs": 1, - "x": 570.1428833007812, - "y": 184.85714721679688, - "z": "ea55fe64.6b3f48", - "wires": [ - [ - "589a47b7.bf05e" - ] - ] - }, - { - "id": "589a47b7.bf05e", - "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 vnf-request-input\" />\n", - "comments": "", - "x": 743, - "y": 185, - "z": "ea55fe64.6b3f48", - "wires": [] - }, - { - "id": "c971c45d.67ed58", - "type": "for", - "name": "for vnf-input-parameters.param index i", - "xml": "<for index='i' start='0' end='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param_length`' >", - "comments": "", - "outputs": 1, - "x": 367, - "y": 309, - "z": "ea55fe64.6b3f48", - "wires": [ - [ - "a56c6c88.4c89e8" - ] - ] - }, - { - "id": "a56c6c88.4c89e8", - "type": "switchNode", - "name": "switch service param length null", - "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length == ''`\">\n\n", - "comments": "", - "outputs": 1, - "x": 670, - "y": 310, - "z": "ea55fe64.6b3f48", - "wires": [ - [ - "34cc20c5.be038" - ] - ] - }, - { - "id": "80ac5f3.6ad6ca", - "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.vnf-topology.vnf-parameters-data.param_length`' >", - "comments": "", - "outputs": 1, - "x": 1038, - "y": 447, - "z": "ea55fe64.6b3f48", - "wires": [ - [ - "9335b73a.1c0978" - ] - ] - }, - { - "id": "9335b73a.1c0978", - "type": "switchNode", - "name": "switch match for vnf-name", - "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$j].name == $vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$i].name`'>\n", - "comments": "", - "outputs": 1, - "x": 1369, - "y": 447, - "z": "ea55fe64.6b3f48", - "wires": [ - [ - "94ee529d.b53828" - ] - ] - }, - { - "id": "94ee529d.b53828", - "type": "not-found", - "name": "true", - "xml": "<outcome value='true'>\n", - "comments": "", - "outputs": 1, - "x": 1559, - "y": 447, - "z": "ea55fe64.6b3f48", - "wires": [ - [ - "97f03230.8c76b8" - ] - ] - }, - { - "id": "ad40df27.b42668", - "type": "not-found", - "name": "false", - "xml": "<outcome value='false'>\n", - "comments": "", - "outputs": 1, - "x": 1153, - "y": 531, - "z": "ea55fe64.6b3f48", - "wires": [ - [ - "c7b41da6.be73e" - ] - ] - }, - { - "id": "c7b41da6.be73e", - "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": 1349, - "y": 531, - "z": "ea55fe64.6b3f48", - "wires": [] - }, - { - "id": "97f03230.8c76b8", - "type": "block", - "name": "block : atomic", - "xml": "<block atomic='true'>", - "atomic": "true", - "comments": "", - "outputs": 1, - "x": 1714, - "y": 445, - "z": "ea55fe64.6b3f48", - "wires": [ - [ - "7e2d788f.d439a8", - "ada6d713.8fde8", - "8f887c51.38a1b" - ] - ] - }, - { - "id": "ada6d713.8fde8", - "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": 2018, - "y": 515, - "z": "ea55fe64.6b3f48", - "wires": [ - [ - "e152b55.54f7b48", - "e8deb550.a2fdb" - ] - ] - }, - { - "id": "e152b55.54f7b48", - "type": "failure", - "name": "failure", - "xml": "<outcome value='failure'>\n", - "comments": "", - "outputs": 1, - "x": 2268, - "y": 487, - "z": "ea55fe64.6b3f48", - "wires": [ - [ - "b0b66b18.a254d8" - ] - ] - }, - { - "id": "e8deb550.a2fdb", - "type": "failure", - "name": "not-found", - "xml": "<outcome value='not-found'>\n", - "comments": "", - "outputs": 1, - "x": 2278, - "y": 555, - "z": "ea55fe64.6b3f48", - "wires": [ - [ - "b0b66b18.a254d8" - ] - ] - }, - { - "id": "b0b66b18.a254d8", - "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": 2462, - "y": 516, - "z": "ea55fe64.6b3f48", - "wires": [] - }, - { - "id": "34cc20c5.be038", - "type": "other", - "name": "false", - "xml": "<outcome value='false'>\n", - "comments": "", - "outputs": 1, - "x": 885, - "y": 310, - "z": "ea55fe64.6b3f48", - "wires": [ - [ - "8ae41419.5f27e8" - ] - ] - }, - { - "id": "a74b1481.6af278", - "type": "set", - "name": "set", - "xml": "<set>\n <parameter name='ss.input.param.found.in.service.param' value='false' />", - "comments": "", - "x": 895, - "y": 388, - "z": "ea55fe64.6b3f48", - "wires": [] - }, - { - "id": "d662c9f0.cf7fb", - "type": "switchNode", - "name": "switch if found vnf_name", - "xml": "<switch test='`$ss.input.param.found.in.service.param`'>\n", - "comments": "", - "outputs": 1, - "x": 952, - "y": 531, - "z": "ea55fe64.6b3f48", - "wires": [ - [ - "ad40df27.b42668" - ] - ] - }, - { - "id": "8f887c51.38a1b", - "type": "returnSuccess", - "name": "return success", - "xml": "<return status='success'>\n", - "comments": "", - "x": 1930, - "y": 588, - "z": "ea55fe64.6b3f48", - "wires": [] - }, - { - "id": "8ae41419.5f27e8", - "type": "block", - "name": "block : atomic", - "xml": "<block atomic='true'>", - "atomic": "true", - "comments": "", - "outputs": 1, - "x": 711, - "y": 388, - "z": "ea55fe64.6b3f48", - "wires": [ - [ - "a74b1481.6af278", - "80ac5f3.6ad6ca", - "d662c9f0.cf7fb" - ] - ] - } +[
+ {
+ "id": "d7b04ee5.646b",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 151.42852783203125,
+ "y": 47.142860412597656,
+ "z": "d97c316.162bed",
+ "wires": [
+ [
+ "d90f8810.ec0b98"
+ ]
+ ]
+ },
+ {
+ "id": "d90f8810.ec0b98",
+ "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": 427.42852783203125,
+ "y": 48.142860412597656,
+ "z": "d97c316.162bed",
+ "wires": [
+ [
+ "ceeb919a.85f53"
+ ]
+ ]
+ },
+ {
+ "id": "ceeb919a.85f53",
+ "type": "method",
+ "name": "self-serve-vnf-changeassign ",
+ "xml": "<method rpc='self-serve-vnf-changeassign' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 270.14283752441406,
+ "y": 106.71429443359375,
+ "z": "d97c316.162bed",
+ "wires": [
+ [
+ "94a807c3.18e1f8"
+ ]
+ ]
+ },
+ {
+ "id": "94a807c3.18e1f8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 295.64286041259766,
+ "y": 171.5714225769043,
+ "z": "d97c316.162bed",
+ "wires": [
+ [
+ "686eb002.8272c",
+ "e14e8d9d.455fb"
+ ]
+ ]
+ },
+ {
+ "id": "fcf2582e.807218",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n <parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.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`' />\n <parameter name='ss.input.param.found.in.service.param' value='true' />\n <parameter name='ss.capability-type' value='vnf' />\n <parameter name='ss.capability-action' value='changeassign' />",
+ "comments": "",
+ "x": 1965.142677307129,
+ "y": 584.1428298950195,
+ "z": "d97c316.162bed",
+ "wires": []
+ },
+ {
+ "id": "686eb002.8272c",
+ "type": "switchNode",
+ "name": "switch vnf-input-parameters",
+ "xml": "<switch test='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 575.2857055664062,
+ "y": 224.5714340209961,
+ "z": "d97c316.162bed",
+ "wires": [
+ [
+ "cb121cc3.86892"
+ ]
+ ]
+ },
+ {
+ "id": "cb121cc3.86892",
+ "type": "outcome",
+ "name": "null",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 805.4285888671875,
+ "y": 224.42858123779297,
+ "z": "d97c316.162bed",
+ "wires": [
+ [
+ "8065a7c1.8e9ab8"
+ ]
+ ]
+ },
+ {
+ "id": "8065a7c1.8e9ab8",
+ "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 vnf-request-input\" />\n",
+ "comments": "",
+ "x": 978.2857055664062,
+ "y": 224.5714340209961,
+ "z": "d97c316.162bed",
+ "wires": []
+ },
+ {
+ "id": "e14e8d9d.455fb",
+ "type": "for",
+ "name": "for vnf-input-parameters.param index i",
+ "xml": "<for index='i' start='0' end='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param_length`' >",
+ "comments": "",
+ "outputs": 1,
+ "x": 602.2857055664062,
+ "y": 348.5714340209961,
+ "z": "d97c316.162bed",
+ "wires": [
+ [
+ "533d1a61.0ffb54"
+ ]
+ ]
+ },
+ {
+ "id": "533d1a61.0ffb54",
+ "type": "switchNode",
+ "name": "switch service param length null",
+ "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length == ''`\">\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 949.5713806152344,
+ "y": 348.14287757873535,
+ "z": "d97c316.162bed",
+ "wires": [
+ [
+ "6fd8cd13.aa94d4"
+ ]
+ ]
+ },
+ {
+ "id": "deca9f28.6ee9c",
+ "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.vnf-topology.vnf-parameters-data.param_length`' >",
+ "comments": "",
+ "outputs": 1,
+ "x": 1040.4284057617188,
+ "y": 586.5713920593262,
+ "z": "d97c316.162bed",
+ "wires": [
+ [
+ "fda41515.3cb6c8"
+ ]
+ ]
+ },
+ {
+ "id": "fda41515.3cb6c8",
+ "type": "switchNode",
+ "name": "switch match for vnf-name",
+ "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$j].name == $vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$i].name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1427.142677307129,
+ "y": 585.1428298950195,
+ "z": "d97c316.162bed",
+ "wires": [
+ [
+ "1021041f.bc041c"
+ ]
+ ]
+ },
+ {
+ "id": "1021041f.bc041c",
+ "type": "not-found",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1617.142677307129,
+ "y": 585.1428298950195,
+ "z": "d97c316.162bed",
+ "wires": [
+ [
+ "987e92d3.7d94f"
+ ]
+ ]
+ },
+ {
+ "id": "75e8b33d.ad968c",
+ "type": "not-found",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1291.142677307129,
+ "y": 830.5714149475098,
+ "z": "d97c316.162bed",
+ "wires": [
+ [
+ "d1376de5.42ab3"
+ ]
+ ]
+ },
+ {
+ "id": "d1376de5.42ab3",
+ "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 vnf-request-input.vnf-input-parameters.param[].name found in service-data.\" />\n",
+ "comments": "",
+ "x": 1464.285530090332,
+ "y": 829.1428279876709,
+ "z": "d97c316.162bed",
+ "wires": []
+ },
+ {
+ "id": "987e92d3.7d94f",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1772.142677307129,
+ "y": 583.1428298950195,
+ "z": "d97c316.162bed",
+ "wires": [
+ [
+ "fcf2582e.807218",
+ "8426aa6a.8cf0a8",
+ "543dede3.b39004"
+ ]
+ ]
+ },
+ {
+ "id": "8426aa6a.8cf0a8",
+ "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": 2108.999755859375,
+ "y": 653.1428198814392,
+ "z": "d97c316.162bed",
+ "wires": [
+ [
+ "32fc0971.1c0146",
+ "21d46561.3c7f6a"
+ ]
+ ]
+ },
+ {
+ "id": "32fc0971.1c0146",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2398.9996490478516,
+ "y": 616.5713996887207,
+ "z": "d97c316.162bed",
+ "wires": [
+ [
+ "2151c897.b7d8f8"
+ ]
+ ]
+ },
+ {
+ "id": "21d46561.3c7f6a",
+ "type": "failure",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2408.9996490478516,
+ "y": 684.5713996887207,
+ "z": "d97c316.162bed",
+ "wires": [
+ [
+ "2151c897.b7d8f8"
+ ]
+ ]
+ },
+ {
+ "id": "2151c897.b7d8f8",
+ "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": 2592.9996490478516,
+ "y": 645.5713996887207,
+ "z": "d97c316.162bed",
+ "wires": []
+ },
+ {
+ "id": "6fd8cd13.aa94d4",
+ "type": "other",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1164.5713806152344,
+ "y": 348.14287757873535,
+ "z": "d97c316.162bed",
+ "wires": [
+ [
+ "988b476b.b275c8"
+ ]
+ ]
+ },
+ {
+ "id": "3d53f85d.e87578",
+ "type": "set",
+ "name": "set ss.input.param.found.in.service.param = false",
+ "xml": "<set>\n <parameter name='ss.input.param.found.in.service.param' value='false' />",
+ "comments": "",
+ "x": 1031.7141418457031,
+ "y": 520.4285628795624,
+ "z": "d97c316.162bed",
+ "wires": []
+ },
+ {
+ "id": "84dc5d99.83e5",
+ "type": "switchNode",
+ "name": "switch ss.input.param.found.in.service.param",
+ "xml": "<switch test='`$ss.input.param.found.in.service.param`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1010.1427307128906,
+ "y": 829.1428279876709,
+ "z": "d97c316.162bed",
+ "wires": [
+ [
+ "75e8b33d.ad968c"
+ ]
+ ]
+ },
+ {
+ "id": "543dede3.b39004",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n",
+ "comments": "",
+ "x": 1992.4283828735352,
+ "y": 726.1428184509277,
+ "z": "d97c316.162bed",
+ "wires": []
+ },
+ {
+ "id": "988b476b.b275c8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 641.9999389648438,
+ "y": 584.7142848968506,
+ "z": "d97c316.162bed",
+ "wires": [
+ [
+ "3d53f85d.e87578",
+ "deca9f28.6ee9c",
+ "84dc5d99.83e5"
+ ]
+ ]
+ }
]
\ No newline at end of file |