Fix reuse InstanceName when re-creating a service
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_service-topology-operation-assign.json
index 7da520a..15639e1 100644 (file)
-[
-    {
-        "id": "295b7d63.10c692",
-        "type": "dgstart",
-        "name": "DGSTART",
-        "outputs": 1,
-        "x": 112,
-        "y": 86,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": [
-            [
-                "70e80e39.fe45"
-            ]
-        ]
-    },
-    {
-        "id": "70e80e39.fe45",
-        "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": 187.28570556640625,
-        "y": 126.23811149597168,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": [
-            [
-                "9baf2a8b.239b88"
-            ]
-        ]
-    },
-    {
-        "id": "9baf2a8b.239b88",
-        "type": "method",
-        "name": "method service-topology-operation-assign",
-        "xml": "<method rpc='service-topology-operation-assign' mode='sync'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 216.42862701416016,
-        "y": 166,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": [
-            [
-                "5cbbf27f.ee281c"
-            ]
-        ]
-    },
-    {
-        "id": "b98518f1.2eb928",
-        "type": "comment",
-        "name": "service-topology-operation-assign",
-        "info": "",
-        "comments": "",
-        "x": 506.34485626220703,
-        "y": 33.58634376525879,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": []
-    },
-    {
-        "id": "5cbbf27f.ee281c",
-        "type": "block",
-        "name": "block : atomic",
-        "xml": "<block atomic=\"true\">",
-        "atomic": "true",
-        "outputs": 1,
-        "x": 228.85712432861328,
-        "y": 756.7619457244873,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": [
-            [
-                "fd3525bb.e6b178",
-                "3fc365e1.b2b29a",
-                "80294281.2295d",
-                "6dc77130.ebecc",
-                "ec3c304f.7f733",
-                "3d90af09.6137c",
-                "da5ddc08.e7611",
-                "e78ecd27.54c89",
-                "b5b6afcf.5fa1",
-                "dd72f866.d6cb28"
-            ]
-        ]
-    },
-    {
-        "id": "fd3525bb.e6b178",
-        "type": "switchNode",
-        "name": "switch request-action",
-        "xml": "<switch test='`$service-topology-operation-input.request-information.request-action`'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 511.2381134033203,
-        "y": 267.7142915725708,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": [
-            [
-                "d0d2c5a2.a2fa38",
-                "fbf77054.7e3f7"
-            ]
-        ]
-    },
-    {
-        "id": "d0d2c5a2.a2fa38",
-        "type": "outcome",
-        "name": "CreateServiceInstance",
-        "xml": "<outcome value='CreateServiceInstance'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 748.3809280395508,
-        "y": 242,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": [
-            [
-                "c3e09ac6.b0a468"
-            ]
-        ]
-    },
-    {
-        "id": "fbf77054.7e3f7",
-        "type": "other",
-        "name": "other",
-        "xml": "<outcome value='Other'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 698.3809509277344,
-        "y": 286.04763889312744,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": [
-            [
-                "14ef825f.a8bece"
-            ]
-        ]
-    },
-    {
-        "id": "c3e09ac6.b0a468",
-        "type": "block",
-        "name": "block",
-        "xml": "<block>\n",
-        "atomic": "false",
-        "comments": "",
-        "outputs": 1,
-        "x": 926.9523849487305,
-        "y": 242.0000352859497,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "14ef825f.a8bece",
-        "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=\"If svc-action is 'assign' then request-action must be 'CreateServiceInstance'\" />\n",
-        "comments": "",
-        "x": 905.7618980407715,
-        "y": 286.04765033721924,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": []
-    },
-    {
-        "id": "3fc365e1.b2b29a",
-        "type": "get-resource",
-        "name": "get-resource SERVICE_MODEL",
-        "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.sli.resource.sql.SqlResource' resource='SQL'\n  key='SELECT * from SERVICE_MODEL WHERE service_uuid = $service-topology-operation-input.service-information.ecomp-model-information.model-uuid'\n  pfx='db.service-model'>\n\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 547.7856292724609,
-        "y": 490.80957984924316,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": [
-            [
-                "42c43d09.6995e4",
-                "141523e4.26033c"
-            ]
-        ]
-    },
-    {
-        "id": "74dca068.1349",
-        "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 model found for service UUID ' + $service-topology-operation-input.service-information.ecomp-model-information.model-uuid`\" />\n",
-        "comments": "",
-        "x": 962.0712966918945,
-        "y": 515.6666297912598,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": []
-    },
-    {
-        "id": "80294281.2295d",
-        "type": "switchNode",
-        "name": "switch input service-instance-name",
-        "xml": "<switch test='`$service-topology-operation-input.service-request-input.service-instance-name`'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 555.1903610229492,
-        "y": 787.1190090179443,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": [
-            [
-                "2dc0c3ae.1f5c3c",
-                "8c204a35.ee8d38"
-            ]
-        ]
-    },
-    {
-        "id": "2dc0c3ae.1f5c3c",
-        "type": "outcome",
-        "name": "NULL",
-        "xml": "<outcome value=''>",
-        "comments": "",
-        "outputs": 1,
-        "x": 776.3569221496582,
-        "y": 712.4761533737183,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": [
-            [
-                "8ca23910.bba748"
-            ]
-        ]
-    },
-    {
-        "id": "36a8a72c.e67fa8",
-        "type": "switchNode",
-        "name": "switch ecomp-naming",
-        "xml": "<switch test='`$db.service-model.ecomp-naming`'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1155.6429824829102,
-        "y": 604.8572378158569,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": [
-            [
-                "e46351c0.e65fe",
-                "e2444120.96641",
-                "b83f5b84.1194c8"
-            ]
-        ]
-    },
-    {
-        "id": "8ca23910.bba748",
-        "type": "block",
-        "name": "block : atomic",
-        "xml": "<block atomic=\"true\">",
-        "atomic": "true",
-        "outputs": 1,
-        "x": 922.0714225769043,
-        "y": 712.4762706756592,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": [
-            [
-                "11216bc9.793f94",
-                "730225bd.4a385c",
-                "36a8a72c.e67fa8"
-            ]
-        ]
-    },
-    {
-        "id": "e2444120.96641",
-        "type": "outcome",
-        "name": "N",
-        "xml": "<outcome value='N'>",
-        "comments": "",
-        "outputs": 1,
-        "x": 1404.9286422729492,
-        "y": 606.7619466781616,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": [
-            [
-                "e6cfdf66.2d46c"
-            ]
-        ]
-    },
-    {
-        "id": "e6cfdf66.2d46c",
-        "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 service-instance-name was received but ecomp-naming is not Y\" />\n",
-        "comments": "",
-        "x": 1559.214427947998,
-        "y": 625.3333911895752,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": []
-    },
-    {
-        "id": "e46351c0.e65fe",
-        "type": "outcome",
-        "name": "Y",
-        "xml": "<outcome value='Y'>",
-        "comments": "",
-        "outputs": 1,
-        "x": 1404.9286079406738,
-        "y": 562.4762678146362,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": [
-            [
-                "c74d5ad9.510bf8"
-            ]
-        ]
-    },
-    {
-        "id": "b83f5b84.1194c8",
-        "type": "other",
-        "name": "other",
-        "xml": "<outcome value='Other'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1404.9285697937012,
-        "y": 652.4762659072876,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": [
-            [
-                "e6cfdf66.2d46c"
-            ]
-        ]
-    },
-    {
-        "id": "c74d5ad9.510bf8",
-        "type": "block",
-        "name": "block",
-        "xml": "<block>\n",
-        "atomic": "false",
-        "comments": "",
-        "outputs": 1,
-        "x": 1542.0715522766113,
-        "y": 562.4762678146362,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "8c204a35.ee8d38",
-        "type": "other",
-        "name": "other",
-        "xml": "<outcome value='Other'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 778.9286041259766,
-        "y": 858.7618923187256,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": [
-            [
-                "7dd34c72.469dd4"
-            ]
-        ]
-    },
-    {
-        "id": "6c3ec4cc.7720cc",
-        "type": "set",
-        "name": "set tmp.service-instance-name",
-        "xml": "<set>\n<parameter name='tmp.service-instance-name' value=\"`$service-topology-operation-input.service-request-input.service-instance-name`\" />\n",
-        "comments": "",
-        "x": 1820.6428756713867,
-        "y": 906.1905384063721,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": []
-    },
-    {
-        "id": "ec3c304f.7f733",
-        "type": "update",
-        "name": "update AAI service instance",
-        "xml": "<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"service-instance\" \n\t\tkey=\"customer.global-customer-id = $service-topology-operation-input.service-information.global-customer-id AND\n\t\t\tservice-subscription.service-type = $service-topology-operation-input.service-information.subscription-service-type AND\n\t\t\tservice-instance.service-instance-id = $service-topology-operation-input.service-information.service-instance-id\"\n        pfx='pfx' local-only='false' force='false'>\n\t<parameter name=\"service-instance-name\" value=\"`$tmp.service-instance-name`\" />\n\t<parameter name=\"selflink\" value=\"`$service-object-path`\" />\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 529.4524154663086,
-        "y": 1013.5237646102905,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": [
-            [
-                "52adc0d3.8b42e",
-                "e75df5d6.b27108"
-            ]
-        ]
-    },
-    {
-        "id": "52adc0d3.8b42e",
-        "type": "failure",
-        "name": "failure",
-        "xml": "<outcome value='failure'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 741.214282989502,
-        "y": 988.7619190216064,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": [
-            [
-                "633d341.6a482cc"
-            ]
-        ]
-    },
-    {
-        "id": "633d341.6a482cc",
-        "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=\"AAI failed\" />\n",
-        "comments": "",
-        "x": 891.2142486572266,
-        "y": 988.7619972229004,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": []
-    },
-    {
-        "id": "dd72f866.d6cb28",
-        "type": "set",
-        "name": "set service-level-oper-status to Created",
-        "xml": "<set>\n<parameter name='service-data.service-level-oper-status.order-status' value='Created' />\n<parameter name='service-data.service-level-oper-status.last-rpc-action' value='assign' />\n<parameter name='service-data.service-level-oper-status.last-action' value='CreateServiceInstance' />\n",
-        "comments": "",
-        "x": 564.7380981445312,
-        "y": 1262.2141160964966,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": []
-    },
-    {
-        "id": "b5b6afcf.5fa1",
-        "type": "set",
-        "name": "set service-object-path",
-        "xml": "<set>\n<parameter name='service-object-path'\n value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $service-topology-operation-input.service-information.service-instance-id\n + '/service-data/service-topology/'`\"/>\n",
-        "comments": "",
-        "x": 513.9760437011719,
-        "y": 949.4761152267456,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": []
-    },
-    {
-        "id": "6dc77130.ebecc",
-        "type": "switchNode",
-        "name": "switch order-status",
-        "xml": "<switch test='`$service-data.service-level-oper-status.order-status`'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 504.38090896606445,
-        "y": 378.66676330566406,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": [
-            [
-                "a8edf7c5.7b4478",
-                "ad8ed89.4b77b28",
-                "ee8ac40f.7f3d48"
-            ]
-        ]
-    },
-    {
-        "id": "a8edf7c5.7b4478",
-        "type": "outcome",
-        "name": "Created",
-        "xml": "<outcome value='Created'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 700.3333587646484,
-        "y": 378.33335971832275,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": [
-            [
-                "685d0e61.debed"
-            ]
-        ]
-    },
-    {
-        "id": "685d0e61.debed",
-        "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=\"The requested service already exists\" />\n",
-        "comments": "",
-        "x": 902.476188659668,
-        "y": 377.90489387512207,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": []
-    },
-    {
-        "id": "3d90af09.6137c",
-        "type": "set",
-        "name": "set service-topology identifiers",
-        "xml": "<set>\n<parameter name='service-data.service-topology.service-topology-identifier.service-instance-id'\n  value='`$service-topology-operation-input.service-information.service-instance-id`' />\n<parameter name='service-data.service-topology.service-topology-identifier.service-type'\n  value='`$service-topology-operation-input.service-information.subscription-service-type`' />\n<parameter name='service-data.service-topology.service-topology-identifier.service-instance-name'\n  value='`$tmp.service-instance-name`' />\n<parameter name='service-data.service-topology.service-topology-identifier.global-customer-id'\n  value='`$service-topology-operation-input.service-information.global-customer-id`' />\n",
-        "comments": "",
-        "x": 540.7143249511719,
-        "y": 1081.8570585250854,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": []
-    },
-    {
-        "id": "2653a44e.adc4ec",
-        "type": "for",
-        "name": "for each service-input-parameters",
-        "xml": "<for index='idx' start='0' end='`$service-topology-operation-input.service-request-input.service-input-parameters.param_length`' >\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 970.523754119873,
-        "y": 1219.9524974822998,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": [
-            [
-                "6a555acb.26f484"
-            ]
-        ]
-    },
-    {
-        "id": "6a555acb.26f484",
-        "type": "set",
-        "name": "set parameter name/value",
-        "xml": "<set>\n<parameter name='service-data.service-topology.service-parameters[$idx].service-parameter-name'\n  value='`$service-topology-operation-input.service-request-input.service-input-parameters.param[$idx].name`' />\n<parameter name='service-data.service-topology.service-parameters[$idx].service-parameter-value'\n  value='`$service-topology-operation-input.service-request-input.service-input-parameters.param[$idx].value`' />\n",
-        "comments": "",
-        "x": 1251.9522171020508,
-        "y": 1219.952444076538,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": []
-    },
-    {
-        "id": "da5ddc08.e7611",
-        "type": "switchNode",
-        "name": "switch input parameter length",
-        "xml": "<switch test='`$service-topology-operation-input.service-request-input.service-input-parameters.param_length`'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 533.3333282470703,
-        "y": 1192.3332176208496,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": [
-            [
-                "f2b63cee.3f632",
-                "cf7a3d51.1eefe"
-            ]
-        ]
-    },
-    {
-        "id": "f2b63cee.3f632",
-        "type": "outcome",
-        "name": "NULL",
-        "xml": "<outcome value=''>",
-        "comments": "",
-        "outputs": 1,
-        "x": 748.237907409668,
-        "y": 1168.5238513946533,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": [
-            [
-                "8a63c0fd.08758"
-            ]
-        ]
-    },
-    {
-        "id": "8a63c0fd.08758",
-        "type": "block",
-        "name": "block",
-        "xml": "<block>\n",
-        "atomic": "false",
-        "comments": "",
-        "outputs": 1,
-        "x": 886.8092994689941,
-        "y": 1168.5238342285156,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "cf7a3d51.1eefe",
-        "type": "other",
-        "name": "other",
-        "xml": "<outcome value='Other'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 746.8093185424805,
-        "y": 1219.9524402618408,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": [
-            [
-                "2653a44e.adc4ec"
-            ]
-        ]
-    },
-    {
-        "id": "e78ecd27.54c89",
-        "type": "set",
-        "name": "set service-topology ecomp-model-information",
-        "xml": "<set>\n<parameter name='service-data.service-topology.ecomp-model-information.'\n  value='`$service-topology-operation-input.service-information.ecomp-model-information.`' />\n",
-        "comments": "",
-        "x": 590.7143096923828,
-        "y": 1126.142632484436,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": []
-    },
-    {
-        "id": "e75df5d6.b27108",
-        "type": "failure",
-        "name": "not-found",
-        "xml": "<outcome value='not-found'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 747.5237121582031,
-        "y": 1037.3333368301392,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": [
-            [
-                "d46d87d4.1042c8"
-            ]
-        ]
-    },
-    {
-        "id": "d46d87d4.1042c8",
-        "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=\"The service instance does not exist in AAI\" />\n",
-        "comments": "",
-        "x": 890.8570098876953,
-        "y": 1035.6667108535767,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": []
-    },
-    {
-        "id": "11216bc9.793f94",
-        "type": "call",
-        "name": "call GENERIC-RESOURCE-API:generate-unique-name",
-        "xml": "<call module='GENERIC-RESOURCE-API' rpc='generate-unique-name' mode='sync' >\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1261.1904754638672,
-        "y": 762.4761629104614,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": [
-            [
-                "d2b85a61.8d6948",
-                "6193cfa1.f5b12"
-            ]
-        ]
-    },
-    {
-        "id": "d2b85a61.8d6948",
-        "type": "failure",
-        "name": "failure",
-        "xml": "<outcome value='failure'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1601.1904487609863,
-        "y": 737.476222038269,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": [
-            [
-                "ed4311d6.fdf73"
-            ]
-        ]
-    },
-    {
-        "id": "6193cfa1.f5b12",
-        "type": "success",
-        "name": "success",
-        "xml": "<outcome value='success'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1604.5237986246743,
-        "y": 787.1428651809692,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": [
-            [
-                "42ec1fd9.8064a"
-            ]
-        ]
-    },
-    {
-        "id": "730225bd.4a385c",
-        "type": "set",
-        "name": "set variables for generating unique name",
-        "xml": "<set>\n<parameter name='generate-unique-name-input.index-table-name' value='SERVICE_INSTANCE_NAME_INDEX' />\n<parameter name='generate-unique-name-input.index-table-prefix-column' value='service_instance_name_prefix' />\n<parameter name='generate-unique-name-input.name-table-type' value='SERVICE_INSTANCE' />\n<parameter name='generate-unique-name-input.prefix' value=\"`$db.service-model.service-instance-name-prefix + '_'`\" />\n",
-        "comments": "",
-        "x": 1216.190559387207,
-        "y": 702.142972946167,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": []
-    },
-    {
-        "id": "42ec1fd9.8064a",
-        "type": "set",
-        "name": "set tmp.service-instance-name to generated name",
-        "xml": "<set>\n<parameter name='tmp.service-instance-name' value='`$generate-unique-name-output.generated-name`' />\n",
-        "comments": "",
-        "x": 1888.5713500976562,
-        "y": 786.1904458999634,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": []
-    },
-    {
-        "id": "ed4311d6.fdf73",
-        "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=\"`$generate-unique-name-output.error-message`\" />\n",
-        "comments": "",
-        "x": 1769.0475616455078,
-        "y": 736.9047336578369,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": []
-    },
-    {
-        "id": "7dd34c72.469dd4",
-        "type": "block",
-        "name": "block : atomic",
-        "xml": "<block atomic=\"true\">",
-        "atomic": "true",
-        "outputs": 1,
-        "x": 926.8571319580078,
-        "y": 857.4285793304443,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": [
-            [
-                "39e93876.652cd8",
-                "bbc8a4da.124f28"
-            ]
-        ]
-    },
-    {
-        "id": "bbc8a4da.124f28",
-        "type": "call",
-        "name": "call GENERIC-RESOURCE-API:generate-unique-name",
-        "xml": "<call module='GENERIC-RESOURCE-API' rpc='generate-unique-name' mode='sync' >\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1256.8571472167969,
-        "y": 882.0952301025391,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": [
-            [
-                "8ea07c5d.48a34",
-                "d227b72.98c2048"
-            ]
-        ]
-    },
-    {
-        "id": "8ea07c5d.48a34",
-        "type": "failure",
-        "name": "failure",
-        "xml": "<outcome value='failure'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1596.857105255127,
-        "y": 855.428638458252,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": [
-            [
-                "9626e69f.8bab88"
-            ]
-        ]
-    },
-    {
-        "id": "d227b72.98c2048",
-        "type": "success",
-        "name": "success",
-        "xml": "<outcome value='success'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1600.190455118815,
-        "y": 907.0952816009521,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": [
-            [
-                "6c3ec4cc.7720cc"
-            ]
-        ]
-    },
-    {
-        "id": "39e93876.652cd8",
-        "type": "set",
-        "name": "set variables for generating unique name",
-        "xml": "<set>\n<parameter name='generate-unique-name-input.name-table-type' value='SERVICE_INSTANCE' />\n<parameter name='generate-unique-name-input.supplied-name' value='`$service-topology-operation-input.service-request-input.service-instance-name`' />\n",
-        "comments": "",
-        "x": 1215.1905212402344,
-        "y": 833.7619361877441,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": []
-    },
-    {
-        "id": "9626e69f.8bab88",
-        "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=\"`$generate-unique-name-output.error-message`\" />\n",
-        "comments": "",
-        "x": 1764.7142181396484,
-        "y": 854.8571500778198,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": []
-    },
-    {
-        "id": "42c43d09.6995e4",
-        "type": "failure",
-        "name": "failure",
-        "xml": "<outcome value='failure'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 788.5713310241699,
-        "y": 472.19044494628906,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": [
-            [
-                "43d55ae4.17c224"
-            ]
-        ]
-    },
-    {
-        "id": "141523e4.26033c",
-        "type": "not-found",
-        "name": "not-found",
-        "xml": "<outcome value='not-found'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 797.1427612304688,
-        "y": 515.4761581420898,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": [
-            [
-                "74dca068.1349"
-            ]
-        ]
-    },
-    {
-        "id": "43d55ae4.17c224",
-        "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 reading SERVICE_MODEL table\" />\n",
-        "comments": "",
-        "x": 961.4284973144531,
-        "y": 470.7618885040283,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": []
-    },
-    {
-        "id": "ad8ed89.4b77b28",
-        "type": "outcome",
-        "name": "NULL",
-        "xml": "<outcome value=''>",
-        "comments": "",
-        "outputs": 1,
-        "x": 698.3332824707031,
-        "y": 333.66668128967285,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": [
-            [
-                "8fe971e9.f5c2"
-            ]
-        ]
-    },
-    {
-        "id": "ee8ac40f.7f3d48",
-        "type": "other",
-        "name": "PendingDelete",
-        "xml": "<outcome value='PendingDelete'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 721.0000114440918,
-        "y": 422.3333396911621,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": [
-            [
-                "840bc4c1.bd8ae8"
-            ]
-        ]
-    },
-    {
-        "id": "840bc4c1.bd8ae8",
-        "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=\"The requested service is pending deletion\" />\n",
-        "comments": "",
-        "x": 903.333309173584,
-        "y": 422.3333501815796,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": []
-    },
-    {
-        "id": "8fe971e9.f5c2",
-        "type": "block",
-        "name": "block",
-        "xml": "<block>\n",
-        "atomic": "false",
-        "comments": "",
-        "outputs": 1,
-        "x": 884.9999923706055,
-        "y": 332.6667003631592,
-        "z": "d6c1fe8e.0dbfc",
-        "wires": [
-            []
-        ]
-    }
-]
+[\r
+    {\r
+        "id": "ed114b7a.f75b18",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 1352.22216796875,\r
+        "y": 72.41365623474121,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": [\r
+            [\r
+                "983246b.2a205b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "983246b.2a205b8",\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": 1464.6507263183594,\r
+        "y": 112.65176677703857,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": [\r
+            [\r
+                "823dc8cd.dd6d58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "823dc8cd.dd6d58",\r
+        "type": "method",\r
+        "name": "method service-topology-operation-assign",\r
+        "xml": "<method rpc='service-topology-operation-assign' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1452.3650741577148,\r
+        "y": 152.41365432739258,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": [\r
+            [\r
+                "f7c5ffc6.e6b88"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9697023a.bcbfc",\r
+        "type": "comment",\r
+        "name": "service-topology-operation-assign",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 1746.567024230957,\r
+        "y": 20,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f7c5ffc6.e6b88",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1469.0792922973633,\r
+        "y": 743.1756019592285,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": [\r
+            [\r
+                "3b97fcb6.4ecbb4",\r
+                "4deb90b3.ddf1b",\r
+                "4cc6f60e.e6e328",\r
+                "a6b363c6.539e",\r
+                "7331194a.880a78",\r
+                "cf878be6.433098",\r
+                "116637a7.bf8608",\r
+                "be564011.84b1f",\r
+                "1f9303e8.465f3c",\r
+                "155d1e57.3f9452"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3b97fcb6.4ecbb4",\r
+        "type": "switchNode",\r
+        "name": "switch request-action",\r
+        "xml": "<switch test='`$service-topology-operation-input.request-information.request-action`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1751.4602813720703,\r
+        "y": 254.127947807312,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": [\r
+            [\r
+                "7361817e.f466d",\r
+                "f1851772.f51898"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7361817e.f466d",\r
+        "type": "outcome",\r
+        "name": "CreateServiceInstance",\r
+        "xml": "<outcome value='CreateServiceInstance'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1988.6030960083008,\r
+        "y": 228.4136562347412,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": [\r
+            [\r
+                "7ff4cffa.a03ca"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f1851772.f51898",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1938.6031188964844,\r
+        "y": 272.46129512786865,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": [\r
+            [\r
+                "6b8abbcc.8abe04"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7ff4cffa.a03ca",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2167.1745529174805,\r
+        "y": 228.41369152069092,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "6b8abbcc.8abe04",\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=\"If svc-action is 'assign' then request-action must be 'CreateServiceInstance'\" />\n",\r
+        "comments": "",\r
+        "x": 2145.9840660095215,\r
+        "y": 272.46130657196045,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "4deb90b3.ddf1b",\r
+        "type": "get-resource",\r
+        "name": "get-resource SERVICE_MODEL",\r
+        "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n  key='SELECT * from SERVICE_MODEL WHERE service_uuid = $service-topology-operation-input.service-information.onap-model-information.model-uuid'\n  pfx='db.service-model'>\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1788.007797241211,\r
+        "y": 477.2232360839844,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": [\r
+            [\r
+                "10dea27a.48091e",\r
+                "d11d8917.44be58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6349641.a52799c",\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 model found for service UUID ' + $service-topology-operation-input.service-information.onap-model-information.model-uuid`\" />\n",\r
+        "comments": "",\r
+        "x": 2178.0077476501465,\r
+        "y": 500.65173530578613,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "4cc6f60e.e6e328",\r
+        "type": "switchNode",\r
+        "name": "switch input service-instance-name",\r
+        "xml": "<switch test='`$service-topology-operation-input.service-request-input.service-instance-name`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1783.9839706420898,\r
+        "y": 876.3898258209229,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": [\r
+            [\r
+                "ad3069cf.d72968",\r
+                "928867c5.6bc8b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ad3069cf.d72968",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2018.0076293945312,\r
+        "y": 688.8898077011108,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": [\r
+            [\r
+                "39cb4b5a.a62424"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "38149fb4.8ccca",\r
+        "type": "switchNode",\r
+        "name": "switch ecomp-naming",\r
+        "xml": "<switch test='`$db.service-model.ecomp-naming`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2395.86515045166,\r
+        "y": 591.2708940505981,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": [\r
+            [\r
+                "5712a731.e45c98",\r
+                "4c3eb89c.769a68",\r
+                "66aec164.b4d93"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "39cb4b5a.a62424",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2163.7221298217773,\r
+        "y": 688.8899250030518,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": [\r
+            [\r
+                "38149fb4.8ccca",\r
+                "2de9537d.ce5a3c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4c3eb89c.769a68",\r
+        "type": "outcome",\r
+        "name": "N",\r
+        "xml": "<outcome value='N'>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2582.2935371398926,\r
+        "y": 591.7470207214355,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": [\r
+            [\r
+                "83b1cfed.045bb"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "83b1cfed.045bb",\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 service-instance-name was received but ecomp-naming is not Y\" />\n",\r
+        "comments": "",\r
+        "x": 2736.5793228149414,\r
+        "y": 610.3184652328491,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5712a731.e45c98",\r
+        "type": "outcome",\r
+        "name": "Y",\r
+        "xml": "<outcome value='Y'>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2582.293529510498,\r
+        "y": 550.3184747695923,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": [\r
+            [\r
+                "1659b650.b537fa"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "66aec164.b4d93",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2582.2934761047363,\r
+        "y": 634.6041526794434,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": [\r
+            [\r
+                "83b1cfed.045bb"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1659b650.b537fa",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2719.4364471435547,\r
+        "y": 550.4613418579102,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "928867c5.6bc8b8",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2000.5793342590332,\r
+        "y": 1085.1755352020264,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": [\r
+            [\r
+                "a4b27acf.1f5e18"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d6c60ea4.5874b",\r
+        "type": "set",\r
+        "name": "set tmp.service-instance-name",\r
+        "xml": "<set>\n<parameter name='tmp.service-instance-name' value=\"`$service-topology-operation-input.service-request-input.service-instance-name`\" />\n",\r
+        "comments": "",\r
+        "x": 2953.7221908569336,\r
+        "y": 1134.0327558517456,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a6b363c6.539e",\r
+        "type": "update",\r
+        "name": "update AAI service instance",\r
+        "xml": "<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"service-instance\" \n\t\tkey=\"customer.global-customer-id = $service-topology-operation-input.service-information.global-customer-id AND\n\t\t\tservice-subscription.service-type = $service-topology-operation-input.service-information.subscription-service-type AND\n\t\t\tservice-instance.service-instance-id = $service-topology-operation-input.service-information.service-instance-id\"\n        pfx='pfx' local-only='false' force='false'>\n\t<parameter name=\"service-instance-name\" value=\"`$tmp.service-instance-name`\" />\n\t<parameter name=\"selflink\" value=\"`$service-object-path`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1762.531753540039,\r
+        "y": 1341.3660259246826,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": [\r
+            [\r
+                "4545106b.1b452",\r
+                "96982434.ffc468"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4545106b.1b452",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1974.2936210632324,\r
+        "y": 1316.6041803359985,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": [\r
+            [\r
+                "454a1467.66c43c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a9649c95.7bd9",\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=\"Failure calling AAI to update the service instance\" />\n",\r
+        "comments": "",\r
+        "x": 2321.4364166259766,\r
+        "y": 1315.175682067871,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1f9303e8.465f3c",\r
+        "type": "set",\r
+        "name": "set service-level-oper-status to Created",\r
+        "xml": "<set>\n<parameter name='service-data.service-level-oper-status.order-status' value='Created' />\n<parameter name='service-data.service-level-oper-status.last-rpc-action' value='assign' />\n<parameter name='service-data.service-level-oper-status.last-action' value='CreateServiceInstance' />\n",\r
+        "comments": "",\r
+        "x": 1796.3888473510742,\r
+        "y": 1622.91353225708,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "be564011.84b1f",\r
+        "type": "set",\r
+        "name": "set service-object-path",\r
+        "xml": "<set>\n<parameter name='service-object-path'\n value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $service-topology-operation-input.service-information.service-instance-id\n + '/service-data/service-topology/'`\"/>\n",\r
+        "comments": "",\r
+        "x": 1748.4839096069336,\r
+        "y": 1177.318284034729,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c4d228ca.69a5b8",\r
+        "type": "switchNode",\r
+        "name": "switch order-status",\r
+        "xml": "<switch test='`$service-data.service-level-oper-status.order-status`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1744.6030769348145,\r
+        "y": 365.0804195404053,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": [\r
+            [\r
+                "db73c544.13ae08",\r
+                "53c75a45.113554",\r
+                "b305520d.c4aaf"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "db73c544.13ae08",\r
+        "type": "outcome",\r
+        "name": "Created",\r
+        "xml": "<outcome value='Created'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1940.5555267333984,\r
+        "y": 364.74701595306396,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": [\r
+            [\r
+                "cbf2a27.30d166"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cbf2a27.30d166",\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=\"The requested service already exists\" />\n",\r
+        "comments": "",\r
+        "x": 2142.698356628418,\r
+        "y": 364.3185501098633,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7331194a.880a78",\r
+        "type": "set",\r
+        "name": "set service-topology identifiers",\r
+        "xml": "<set>\n<parameter name='service-data.service-topology.service-topology-identifier.service-instance-id'\n  value='`$service-topology-operation-input.service-information.service-instance-id`' />\n<parameter name='service-data.service-topology.service-topology-identifier.service-type'\n  value='`$service-topology-operation-input.service-information.subscription-service-type`' />\n<parameter name='service-data.service-topology.service-topology-identifier.service-instance-name'\n  value='`$tmp.service-instance-name`' />\n<parameter name='service-data.service-topology.service-topology-identifier.global-customer-id'\n  value='`$service-topology-operation-input.service-information.global-customer-id`' />\n",\r
+        "comments": "",\r
+        "x": 1769.507968902588,\r
+        "y": 1433.9849061965942,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f0cb971e.9a6bb8",\r
+        "type": "for",\r
+        "name": "for each service-input-parameters",\r
+        "xml": "<for index='idx' start='0' end='`$service-topology-operation-input.service-request-input.service-input-parameters.param_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2202.174503326416,\r
+        "y": 1580.6519136428833,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": [\r
+            [\r
+                "cc455e9f.b2dcb"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cc455e9f.b2dcb",\r
+        "type": "set",\r
+        "name": "set parameter name/value",\r
+        "xml": "<set>\n<parameter name='service-data.service-topology.service-parameters[$idx].service-parameter-name'\n  value='`$service-topology-operation-input.service-request-input.service-input-parameters.param[$idx].name`' />\n<parameter name='service-data.service-topology.service-parameters[$idx].service-parameter-value'\n  value='`$service-topology-operation-input.service-request-input.service-input-parameters.param[$idx].value`' />\n",\r
+        "comments": "",\r
+        "x": 2483.6029663085938,\r
+        "y": 1580.6518602371216,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "cf878be6.433098",\r
+        "type": "switchNode",\r
+        "name": "switch input parameter length",\r
+        "xml": "<switch test='`$service-topology-operation-input.service-request-input.service-input-parameters.param_length`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1766.9840774536133,\r
+        "y": 1553.032633781433,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": [\r
+            [\r
+                "19f64235.4f36ee",\r
+                "9db57bb8.52cdc8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "19f64235.4f36ee",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1979.888656616211,\r
+        "y": 1529.2232675552368,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": [\r
+            [\r
+                "5fbb5b14.363894"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5fbb5b14.363894",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2118.460048675537,\r
+        "y": 1529.2232503890991,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "9db57bb8.52cdc8",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1978.4600677490234,\r
+        "y": 1580.6518564224243,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": [\r
+            [\r
+                "f0cb971e.9a6bb8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "116637a7.bf8608",\r
+        "type": "set",\r
+        "name": "set service-topology onap-model-information",\r
+        "xml": "<set>\n<parameter name='service-data.service-topology.onap-model-information.'\n  value='`$service-topology-operation-input.service-information.onap-model-information.`' />\n",\r
+        "comments": "",\r
+        "x": 1812.365089416504,\r
+        "y": 1482.5563163757324,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "96982434.ffc468",\r
+        "type": "failure",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1980.6030502319336,\r
+        "y": 1365.1755981445312,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": [\r
+            [\r
+                "e3f492c3.6e0a5"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cc899e97.23141",\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=\"The service instance does not exist in AAI\" />\n",\r
+        "comments": "",\r
+        "x": 2319.650577545166,\r
+        "y": 1363.651912689209,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "69ce2ba.144d5d4",\r
+        "type": "call",\r
+        "name": "call GENERIC-RESOURCE-API:generate-unique-name",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='generate-unique-name' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3054.269729614258,\r
+        "y": 740.3183941841125,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": [\r
+            [\r
+                "1766b7bb.cff678",\r
+                "29d42e71.3312e2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1766b7bb.cff678",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3331.4125328063965,\r
+        "y": 713.8899273872375,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": [\r
+            [\r
+                "8e4917db.c56bf8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "29d42e71.3312e2",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3336.1742782592773,\r
+        "y": 759.2708382606506,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": [\r
+            [\r
+                "4d990495.1c092c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2e79f822.688378",\r
+        "type": "set",\r
+        "name": "set variables for generating unique name",\r
+        "xml": "<set>\n<parameter name='generate-unique-name-input.action' value='ASSIGN' />\n<parameter name='generate-unique-name-input.context-id' value='`$service-topology-operation-input.service-information.service-instance-id`' />\n<parameter name='generate-unique-name-input.index-table-name' value='SERVICE_INSTANCE_NAME_INDEX' />\n<parameter name='generate-unique-name-input.index-table-prefix-column' value='service_instance_name_prefix' />\n<parameter name='generate-unique-name-input.name-table-type' value='SERVICE_INSTANCE' />\n<parameter name='generate-unique-name-input.prefix' value=\"`$db.service-model.service-instance-name-prefix + '_'`\" />\n",\r
+        "comments": "",\r
+        "x": 3009.2699813842773,\r
+        "y": 691.4137139320374,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "4d990495.1c092c",\r
+        "type": "set",\r
+        "name": "set tmp.service-instance-name to generated name",\r
+        "xml": "<set>\n<parameter name='tmp.service-instance-name' value='`$generate-unique-name-output.generated-name`' />\n",\r
+        "comments": "",\r
+        "x": 3603.0786743164062,\r
+        "y": 759.746913433075,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8e4917db.c56bf8",\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=\"`$generate-unique-name-output.error-message`\" />\n",\r
+        "comments": "",\r
+        "x": 3484.9839935302734,\r
+        "y": 713.3184370994568,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a4b27acf.1f5e18",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2148.5078620910645,\r
+        "y": 1083.8422222137451,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": [\r
+            [\r
+                "663b2c60.a3fbe4",\r
+                "e58b759e.fa9038"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e58b759e.fa9038",\r
+        "type": "call",\r
+        "name": "call GENERIC-RESOURCE-API:generate-unique-name",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='generate-unique-name' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2448.5079498291016,\r
+        "y": 1108.5088710784912,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": [\r
+            [\r
+                "92c339a8.616968",\r
+                "c4fd2567.a5a888"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "92c339a8.616968",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2729.936420440674,\r
+        "y": 1083.2708559036255,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": [\r
+            [\r
+                "4a49ebd1.d51d64"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c4fd2567.a5a888",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2732.9840545654297,\r
+        "y": 1134.937665939331,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": [\r
+            [\r
+                "d6c60ea4.5874b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "663b2c60.a3fbe4",\r
+        "type": "set",\r
+        "name": "set variables for generating unique name",\r
+        "xml": "<set>\n<parameter name='generate-unique-name-input.name-table-type' value='SERVICE_INSTANCE' />\n<parameter name='generate-unique-name-input.supplied-name' value='`$service-topology-operation-input.service-request-input.service-instance-name`' />\n<parameter name='generate-unique-name-input.service-instance-id' value='`$service-topology-operation-input.service-information.service-instance-id`' />",\r
+        "comments": "",\r
+        "x": 2406.841323852539,\r
+        "y": 1060.1755771636963,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "4a49ebd1.d51d64",\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=\"`$generate-unique-name-output.error-message`\" />\n",\r
+        "comments": "",\r
+        "x": 2897.7935333251953,\r
+        "y": 1082.6993675231934,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "10dea27a.48091e",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2004.5077819824219,\r
+        "y": 457.17555046081543,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": [\r
+            [\r
+                "e6798aa7.071568"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d11d8917.44be58",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2013.0792121887207,\r
+        "y": 500.4612636566162,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": [\r
+            [\r
+                "6349641.a52799c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e6798aa7.071568",\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 reading SERVICE_MODEL table\" />\n",\r
+        "comments": "",\r
+        "x": 2177.364948272705,\r
+        "y": 455.7469940185547,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "53c75a45.113554",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1938.5554504394531,\r
+        "y": 320.08033752441406,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": [\r
+            [\r
+                "f1200e41.32e3"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b305520d.c4aaf",\r
+        "type": "other",\r
+        "name": "PendingDelete",\r
+        "xml": "<outcome value='PendingDelete'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1961.2221794128418,\r
+        "y": 408.7469959259033,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": [\r
+            [\r
+                "62b73505.87e2cc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "62b73505.87e2cc",\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=\"The requested service is pending deletion\" />\n",\r
+        "comments": "",\r
+        "x": 2143.555477142334,\r
+        "y": 408.7470064163208,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f1200e41.32e3",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2125.2221603393555,\r
+        "y": 319.0803565979004,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "2de9537d.ce5a3c",\r
+        "type": "switchNode",\r
+        "name": "switch naming-policy",\r
+        "xml": "<switch test='`$db.service-model.naming-policy`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2395.079200744629,\r
+        "y": 786.6993713378906,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": [\r
+            [\r
+                "2684edf5.753852",\r
+                "18f39428.236a8c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2684edf5.753852",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2583.650665283203,\r
+        "y": 720.9850654602051,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": [\r
+            [\r
+                "26dd020.844b9fe"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "18f39428.236a8c",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2583.6508350372314,\r
+        "y": 852.4137172698975,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": [\r
+            [\r
+                "555fed1d.539e64"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "155d1e57.3f9452",\r
+        "type": "set",\r
+        "name": "set tmp.service-instance-name to NULL",\r
+        "xml": "<set>\n<parameter name='tmp.service-instance-name' value='' />\n",\r
+        "comments": "",\r
+        "x": 1807.9364624023438,\r
+        "y": 588.1279144287109,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "26dd020.844b9fe",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2736.5079345703125,\r
+        "y": 719.5565319061279,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": [\r
+            [\r
+                "2e79f822.688378",\r
+                "69ce2ba.144d5d4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d9662f9c.d46e6",\r
+        "type": "call",\r
+        "name": "call GENERIC-RESOURCE-API:naming-policy-generate-name",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='naming-policy-generate-name' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3072.222442626953,\r
+        "y": 892.4137988090515,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": [\r
+            [\r
+                "a9acf59.3d9a608",\r
+                "ab2b1e84.df443"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "555fed1d.539e64",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2736.507957458496,\r
+        "y": 852.4137344360352,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": [\r
+            [\r
+                "9be34e30.19b1f",\r
+                "d9662f9c.d46e6",\r
+                "ff3c0c0e.8833f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9be34e30.19b1f",\r
+        "type": "set",\r
+        "name": "set variables for generating name",\r
+        "xml": "<set>\n<parameter name='naming-policy-generate-name-input.policy-instance-name' value='`$db.service-model.naming-policy`' />\n<parameter name='naming-policy-generate-name-input.naming-type' value='SERVICE' />\n<parameter name='naming-policy-generate-name-input.context-id' value='`$service-topology-operation-input.service-information.service-instance-id`' />\n<parameter name='naming-policy-generate-name-input.query-parameter' value='`$db.service-model.service-uuid`' />\n<parameter name='naming-policy-generate-name-input.action' value='ASSIGN' />\n",\r
+        "comments": "",\r
+        "x": 2982.2223587036133,\r
+        "y": 846.6994528770447,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "bc6ccae5.e3b088",\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=\"Unable to generate service name\" />\n",\r
+        "comments": "",\r
+        "x": 3530.793434688023,\r
+        "y": 868.2707086290632,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "441302c7.f518bc",\r
+        "type": "set",\r
+        "name": "set tmp.service-instance-name to generated name",\r
+        "xml": "<set>\n<parameter name='tmp.service-instance-name' value='`$naming-policy-generate-name-output.service-name`' />\n",\r
+        "comments": "",\r
+        "x": 3646.650796890259,\r
+        "y": 915.4135360717773,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ff3c0c0e.8833f",\r
+        "type": "set",\r
+        "name": "set generated-via-policy to true",\r
+        "xml": "<set>\n<parameter name='generated-via-policy' value='true' />\n",\r
+        "comments": "",\r
+        "x": 2973.6509399414062,\r
+        "y": 800.9851069450378,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3a82772.0b3ff88",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2326.5079345703125,\r
+        "y": 1247.270830154419,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": [\r
+            [\r
+                "c71638eb.a196b8",\r
+                "b10a109b.8b814"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b10a109b.8b814",\r
+        "type": "call",\r
+        "name": "call GENERIC-RESOURCE-API:naming-policy-generate-name",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='naming-policy-generate-name' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2650.7936401367188,\r
+        "y": 1273.8423614501953,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "c71638eb.a196b8",\r
+        "type": "set",\r
+        "name": "set variables for deleting name",\r
+        "xml": "<set>\n<parameter name='naming-policy-generate-name-input.naming-type' value='SERVICE' />\n<parameter name='naming-policy-generate-name-input.context-id' value='`$service-topology-operation-input.service-information.service-instance-id`' />\n<parameter name='naming-policy-generate-name-input.action' value='DELETE' />\n",\r
+        "comments": "",\r
+        "x": 2552.2222595214844,\r
+        "y": 1226.6994323730469,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "454a1467.66c43c",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2133.650749206543,\r
+        "y": 1316.699363708496,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": [\r
+            [\r
+                "a9649c95.7bd9",\r
+                "3a82772.0b3ff88"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e3f492c3.6e0a5",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2132.2221603393555,\r
+        "y": 1365.270746231079,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": [\r
+            [\r
+                "cc899e97.23141",\r
+                "3a82772.0b3ff88"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a9acf59.3d9a608",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3376.031801223755,\r
+        "y": 915.7469577789307,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": [\r
+            [\r
+                "441302c7.f518bc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ab2b1e84.df443",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3373.17427444458,\r
+        "y": 868.17555809021,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": [\r
+            [\r
+                "bc6ccae5.e3b088"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9f9d847c.b86d18",\r
+        "type": "comment",\r
+        "name": "check removed with US622450",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 1623.8888397216797,\r
+        "y": 317.4136587778727,\r
+        "z": "7a783ca6.163ee4",\r
+        "wires": []\r
+    }\r
+]
\ No newline at end of file