-[
- {
- "id": "57248231.a7bfcc",
- "type": "dgstart",
- "name": "DGSTART",
- "outputs": 1,
- "x": 108.75,
- "y": 47.5,
- "z": "484e90dc.3bd078",
- "wires": [
- [
- "1d542904.ad727f"
- ]
- ]
- },
- {
- "id": "1d542904.ad727f",
- "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": 384.75,
- "y": 48.5,
- "z": "484e90dc.3bd078",
- "wires": [
- [
- "e103515d.6bcd18"
- ]
- ]
- },
- {
- "id": "e103515d.6bcd18",
- "type": "method",
- "name": "self-serve-vnf-changeassign ",
- "xml": "<method rpc='self-serve-vnf-changeassign' mode='sync'>\n",
- "comments": "",
- "outputs": 1,
- "x": 701.75,
- "y": 48.5,
- "z": "484e90dc.3bd078",
- "wires": [
- [
- "42a27363.ddaeac"
- ]
- ]
- },
- {
- "id": "42a27363.ddaeac",
- "type": "block",
- "name": "block atomic",
- "xml": "<block atomic=\"true\">\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 127.25,
- "y": 130.5,
- "z": "484e90dc.3bd078",
- "wires": [
- [
- "1c0659a3.13cfde",
- "ec3506ba.e14a98"
- ]
- ]
- },
- {
- "id": "30d6be53.aefb4a",
- "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`' />",
- "comments": "",
- "x": 1343.75,
- "y": 548.5,
- "z": "484e90dc.3bd078",
- "wires": []
- },
- {
- "id": "1c0659a3.13cfde",
- "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": 369.75,
- "y": 173.5,
- "z": "484e90dc.3bd078",
- "wires": [
- [
- "8a1cd82.5d583a8"
- ]
- ]
- },
- {
- "id": "8a1cd82.5d583a8",
- "type": "outcome",
- "name": "null",
- "xml": "<outcome value=''>",
- "comments": "",
- "outputs": 1,
- "x": 599.8928833007812,
- "y": 173.35714721679688,
- "z": "484e90dc.3bd078",
- "wires": [
- [
- "37bbdbba.52315c"
- ]
- ]
- },
- {
- "id": "37bbdbba.52315c",
- "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": 772.75,
- "y": 173.5,
- "z": "484e90dc.3bd078",
- "wires": []
- },
- {
- "id": "ec3506ba.e14a98",
- "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": 396.75,
- "y": 297.5,
- "z": "484e90dc.3bd078",
- "wires": [
- [
- "14eea10b.aad3ff"
- ]
- ]
- },
- {
- "id": "14eea10b.aad3ff",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 640.75,
- "y": 297.5,
- "z": "484e90dc.3bd078",
- "wires": [
- [
- "ca4e5f29.4175a8"
- ]
- ]
- },
- {
- "id": "ca4e5f29.4175a8",
- "type": "switchNode",
- "name": "switch",
- "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`'>\n\n",
- "comments": "",
- "outputs": 1,
- "x": 811.75,
- "y": 297.5,
- "z": "484e90dc.3bd078",
- "wires": [
- [
- "3da72d90.fc11a2"
- ]
- ]
- },
- {
- "id": "3da72d90.fc11a2",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 559.75,
- "y": 381.5,
- "z": "484e90dc.3bd078",
- "wires": [
- [
- "c490ce0.767473"
- ]
- ]
- },
- {
- "id": "c490ce0.767473",
- "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": 851.75,
- "y": 381.5,
- "z": "484e90dc.3bd078",
- "wires": [
- [
- "1937b752.ee7f01"
- ]
- ]
- },
- {
- "id": "1937b752.ee7f01",
- "type": "switchNode",
- "name": "switch input 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": 794.75,
- "y": 475.5,
- "z": "484e90dc.3bd078",
- "wires": [
- [
- "c29b5f3e.26a9e",
- "7e31cc58.38af8c"
- ]
- ]
- },
- {
- "id": "7e31cc58.38af8c",
- "type": "not-found",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1007.75,
- "y": 548.5,
- "z": "484e90dc.3bd078",
- "wires": [
- [
- "380d4f5a.84c61"
- ]
- ]
- },
- {
- "id": "c29b5f3e.26a9e",
- "type": "not-found",
- "name": "false",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1015.75,
- "y": 430.5,
- "z": "484e90dc.3bd078",
- "wires": [
- [
- "97ff5a7e.916158"
- ]
- ]
- },
- {
- "id": "97ff5a7e.916158",
- "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": 1220.75,
- "y": 429.5,
- "z": "484e90dc.3bd078",
- "wires": []
- },
- {
- "id": "380d4f5a.84c61",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1168.75,
- "y": 547.5,
- "z": "484e90dc.3bd078",
- "wires": [
- [
- "30d6be53.aefb4a",
- "e0135d7c.04a028"
- ]
- ]
- },
- {
- "id": "e0135d7c.04a028",
- "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": 1460.75,
- "y": 624.5,
- "z": "484e90dc.3bd078",
- "wires": [
- [
- "f8df579c.55d728",
- "5a6cefeb.f45dc"
- ]
- ]
- },
- {
- "id": "f8df579c.55d728",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1710.75,
- "y": 596.5,
- "z": "484e90dc.3bd078",
- "wires": [
- [
- "11426210.f443de"
- ]
- ]
- },
- {
- "id": "5a6cefeb.f45dc",
- "type": "failure",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1720.75,
- "y": 664.5,
- "z": "484e90dc.3bd078",
- "wires": [
- [
- "11426210.f443de"
- ]
- ]
- },
- {
- "id": "11426210.f443de",
- "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": 1909.75,
- "y": 595.5,
- "z": "484e90dc.3bd078",
- "wires": []
- }
+[\r
+ {\r
+ "id": "d7b04ee5.646b",\r
+ "type": "dgstart",\r
+ "name": "DGSTART",\r
+ "outputs": 1,\r
+ "x": 151.42852783203125,\r
+ "y": 47.142860412597656,\r
+ "z": "d97c316.162bed",\r
+ "wires": [\r
+ [\r
+ "d90f8810.ec0b98"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d90f8810.ec0b98",\r
+ "type": "service-logic",\r
+ "name": "GENERIC-RESOURCE-API ${project.version}",\r
+ "module": "GENERIC-RESOURCE-API",\r
+ "version": "${project.version}",\r
+ "comments": "",\r
+ "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}'>",\r
+ "outputs": 1,\r
+ "x": 427.42852783203125,\r
+ "y": 48.142860412597656,\r
+ "z": "d97c316.162bed",\r
+ "wires": [\r
+ [\r
+ "ceeb919a.85f53"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ceeb919a.85f53",\r
+ "type": "method",\r
+ "name": "self-serve-vnf-changeassign ",\r
+ "xml": "<method rpc='self-serve-vnf-changeassign' mode='sync'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 270.14283752441406,\r
+ "y": 106.71429443359375,\r
+ "z": "d97c316.162bed",\r
+ "wires": [\r
+ [\r
+ "94a807c3.18e1f8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "94a807c3.18e1f8",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic='true'>",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 295.64286041259766,\r
+ "y": 171.5714225769043,\r
+ "z": "d97c316.162bed",\r
+ "wires": [\r
+ [\r
+ "686eb002.8272c",\r
+ "e14e8d9d.455fb"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "fcf2582e.807218",\r
+ "type": "set",\r
+ "name": "set",\r
+ "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' />",\r
+ "comments": "",\r
+ "x": 1965.142677307129,\r
+ "y": 584.1428298950195,\r
+ "z": "d97c316.162bed",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "686eb002.8272c",\r
+ "type": "switchNode",\r
+ "name": "switch vnf-input-parameters",\r
+ "xml": "<switch test='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param_length`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 575.2857055664062,\r
+ "y": 224.5714340209961,\r
+ "z": "d97c316.162bed",\r
+ "wires": [\r
+ [\r
+ "cb121cc3.86892"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "cb121cc3.86892",\r
+ "type": "outcome",\r
+ "name": "null",\r
+ "xml": "<outcome value=''>",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 805.4285888671875,\r
+ "y": 224.42858123779297,\r
+ "z": "d97c316.162bed",\r
+ "wires": [\r
+ [\r
+ "8065a7c1.8e9ab8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8065a7c1.8e9ab8",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "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",\r
+ "comments": "",\r
+ "x": 978.2857055664062,\r
+ "y": 224.5714340209961,\r
+ "z": "d97c316.162bed",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "e14e8d9d.455fb",\r
+ "type": "for",\r
+ "name": "for vnf-input-parameters.param index i",\r
+ "xml": "<for index='i' start='0' end='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param_length`' >",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 602.2857055664062,\r
+ "y": 348.5714340209961,\r
+ "z": "d97c316.162bed",\r
+ "wires": [\r
+ [\r
+ "533d1a61.0ffb54"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "533d1a61.0ffb54",\r
+ "type": "switchNode",\r
+ "name": "switch service param length null",\r
+ "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length == ''`\">\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 949.5713806152344,\r
+ "y": 348.14287757873535,\r
+ "z": "d97c316.162bed",\r
+ "wires": [\r
+ [\r
+ "6fd8cd13.aa94d4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "deca9f28.6ee9c",\r
+ "type": "for",\r
+ "name": "for service-data.vnf-parameters-data.param index j",\r
+ "xml": "<for index='j' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1040.4284057617188,\r
+ "y": 586.5713920593262,\r
+ "z": "d97c316.162bed",\r
+ "wires": [\r
+ [\r
+ "fda41515.3cb6c8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "fda41515.3cb6c8",\r
+ "type": "switchNode",\r
+ "name": "switch match for vnf-name",\r
+ "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",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1427.142677307129,\r
+ "y": 585.1428298950195,\r
+ "z": "d97c316.162bed",\r
+ "wires": [\r
+ [\r
+ "1021041f.bc041c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1021041f.bc041c",\r
+ "type": "not-found",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1617.142677307129,\r
+ "y": 585.1428298950195,\r
+ "z": "d97c316.162bed",\r
+ "wires": [\r
+ [\r
+ "987e92d3.7d94f"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "75e8b33d.ad968c",\r
+ "type": "not-found",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1291.142677307129,\r
+ "y": 830.5714149475098,\r
+ "z": "d97c316.162bed",\r
+ "wires": [\r
+ [\r
+ "d1376de5.42ab3"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d1376de5.42ab3",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "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",\r
+ "comments": "",\r
+ "x": 1464.285530090332,\r
+ "y": 829.1428279876709,\r
+ "z": "d97c316.162bed",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "987e92d3.7d94f",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic='true'>",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1772.142677307129,\r
+ "y": 583.1428298950195,\r
+ "z": "d97c316.162bed",\r
+ "wires": [\r
+ [\r
+ "fcf2582e.807218",\r
+ "8426aa6a.8cf0a8",\r
+ "543dede3.b39004"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8426aa6a.8cf0a8",\r
+ "type": "call",\r
+ "name": "call self-serve-generate-name-changeassign",\r
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-generate-name-changeassign' mode='sync' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2108.999755859375,\r
+ "y": 653.1428198814392,\r
+ "z": "d97c316.162bed",\r
+ "wires": [\r
+ [\r
+ "32fc0971.1c0146",\r
+ "21d46561.3c7f6a"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "32fc0971.1c0146",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2398.9996490478516,\r
+ "y": 616.5713996887207,\r
+ "z": "d97c316.162bed",\r
+ "wires": [\r
+ [\r
+ "2151c897.b7d8f8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "21d46561.3c7f6a",\r
+ "type": "failure",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2408.9996490478516,\r
+ "y": 684.5713996887207,\r
+ "z": "d97c316.162bed",\r
+ "wires": [\r
+ [\r
+ "2151c897.b7d8f8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2151c897.b7d8f8",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "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",\r
+ "comments": "",\r
+ "x": 2592.9996490478516,\r
+ "y": 645.5713996887207,\r
+ "z": "d97c316.162bed",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "6fd8cd13.aa94d4",\r
+ "type": "other",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1164.5713806152344,\r
+ "y": 348.14287757873535,\r
+ "z": "d97c316.162bed",\r
+ "wires": [\r
+ [\r
+ "988b476b.b275c8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3d53f85d.e87578",\r
+ "type": "set",\r
+ "name": "set ss.input.param.found.in.service.param = false",\r
+ "xml": "<set>\n <parameter name='ss.input.param.found.in.service.param' value='false' />",\r
+ "comments": "",\r
+ "x": 1031.7141418457031,\r
+ "y": 520.4285628795624,\r
+ "z": "d97c316.162bed",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "84dc5d99.83e5",\r
+ "type": "switchNode",\r
+ "name": "switch ss.input.param.found.in.service.param",\r
+ "xml": "<switch test='`$ss.input.param.found.in.service.param`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1010.1427307128906,\r
+ "y": 829.1428279876709,\r
+ "z": "d97c316.162bed",\r
+ "wires": [\r
+ [\r
+ "75e8b33d.ad968c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "543dede3.b39004",\r
+ "type": "returnSuccess",\r
+ "name": "return success",\r
+ "xml": "<return status='success'>\n",\r
+ "comments": "",\r
+ "x": 1992.4283828735352,\r
+ "y": 726.1428184509277,\r
+ "z": "d97c316.162bed",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "988b476b.b275c8",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic='true'>",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 641.9999389648438,\r
+ "y": 584.7142848968506,\r
+ "z": "d97c316.162bed",\r
+ "wires": [\r
+ [\r
+ "3d53f85d.e87578",\r
+ "deca9f28.6ee9c",\r
+ "84dc5d99.83e5"\r
+ ]\r
+ ]\r
+ }\r
]
\ No newline at end of file