Dublin release
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_self-serve-pnf-assign.json
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-pnf-assign.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-pnf-assign.json
new file mode 100644 (file)
index 0000000..2c57c17
--- /dev/null
@@ -0,0 +1,1375 @@
+[\r
+    {\r
+        "id": "ecff213c.e8aaa",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 137.5,\r
+        "y": 90,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            [\r
+                "23b17adc.1c80e6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e6160663.8edf48",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 167.9761962890625,\r
+        "y": 212.2777862548828,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            [\r
+                "f97d0f53.e9029",\r
+                "2d2db8c6.748ba8",\r
+                "ff2d06ee.623348",\r
+                "ca8257f6.464808",\r
+                "b9417a96.c89598",\r
+                "97cbe59f.102fe8",\r
+                "71acdeef.4b572",\r
+                "b26b3f10.8cd93",\r
+                "2c0f97dd.67d808",\r
+                "192a8a0a.311bd6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7bdd8af6.d4d404",\r
+        "type": "method",\r
+        "name": "method self-serve-pnf-assign",\r
+        "xml": "<method rpc='self-serve-pnf-assign' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 254.26190948486328,\r
+        "y": 144.70635509490967,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            [\r
+                "e6160663.8edf48"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "23b17adc.1c80e6",\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": 412.73819732666016,\r
+        "y": 90.19049263000488,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            [\r
+                "7bdd8af6.d4d404"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2d2db8c6.748ba8",\r
+        "type": "switchNode",\r
+        "name": "switch pnf-parameters-data.param_length",\r
+        "xml": "<switch test='`$service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.pnf-parameters-data.param_length`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 449.0357971191406,\r
+        "y": 1492.5120153427124,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            [\r
+                "eb4e37ba.25e208"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "eb4e37ba.25e208",\r
+        "type": "other",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 711.0358276367188,\r
+        "y": 1492.5120153427124,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            [\r
+                "ed282b71.ede0f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "21ad94d1.be148c",\r
+        "type": "call",\r
+        "name": "call GENERIC-RESOURCE-API:self-serve-pnf-ra-assignment",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-pnf-ra-assignment' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1226.3214874267578,\r
+        "y": 1542.0834465026855,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            [\r
+                "ffcba76.e3a6658"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "afb8d713.9ea788",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'Failed to get RA assignments: ' + $error-message`\" />\n",\r
+        "comments": "",\r
+        "x": 1698.0357284545898,\r
+        "y": 1541.6548500061035,\r
+        "z": "37882b3b.b21224",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "6f90ee45.cde4f",\r
+        "type": "for",\r
+        "name": "foreach pnf-parameters-data.param[]",\r
+        "xml": "<for index='pidx' start='0' end='`$service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.pnf-parameters-data.param_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 681.3574600219727,\r
+        "y": 1800.0120840072632,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            [\r
+                "c123dce6.984a6",\r
+                "a008f4ce.816ac8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f97d0f53.e9029",\r
+        "type": "set",\r
+        "name": "set ss.capability.execution-order[]",\r
+        "xml": "<set>\n<parameter name='ss.capability.execution-order[0]' value='aai-get' />\n<parameter name='ss.capability.execution-order[1]' value='generate-name' />\n<parameter name='ss.capability.execution-order[2]' value='alts-entitlement-assign' />\n<parameter name='ss.capability.execution-order[3]' value='alts-license-assign' />\n<parameter name='ss.capability.execution-order[4]' value='vlan-tag-assign' />\n<parameter name='ss.capability.execution-order[5]' value='mS-vlan-tag-assign' />\n<parameter name='ss.capability.execution-order[6]' value='eipam-ip-assignment' />\n<parameter name='ss.capability.execution-order[7]' value='eipam-create-pool' />\n<parameter name='ss.capability.execution-order[8]' value='netbox-ip-assign' />\n<parameter name='ss.capability.execution-order[9]' value='mac-address-assign' />\n<parameter name='ss.capability.execution-order[10]' value='mS-mac-address-assign' />\n<parameter name='ss.capability.execution-order[11]' value='create-vpe-pool' />\n<parameter name='ss.capability.execution-order[12]' value='unresolved-composite-data' />\n<parameter name='ss.capability.execution-order[13]' value='aai-pnf-put' />\n<parameter name='ss.capability.execution-order_length' value='14' />\n",\r
+        "comments": "",\r
+        "x": 430.02384185791016,\r
+        "y": 1271.0001401901245,\r
+        "z": "37882b3b.b21224",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ff2d06ee.623348",\r
+        "type": "for",\r
+        "name": "foreach capability[]",\r
+        "xml": "<for index='cidx' start='0' end='`$ss.capability.execution-order_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 381.14300537109375,\r
+        "y": 1644.4049034118652,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            [\r
+                "34d7033c.1d850c",\r
+                "bcdcac9e.1dcf8",\r
+                "6f90ee45.cde4f",\r
+                "7e8acf11.757ce"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a008f4ce.816ac8",\r
+        "type": "switchNode",\r
+        "name": "switch capability-name",\r
+        "xml": "<switch test='`$ss.capability-name == $tmp.param.capability-name`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 985.7502822875977,\r
+        "y": 1845.6548767089844,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            [\r
+                "fbc7d0d6.d0f9a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fbc7d0d6.d0f9a",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1176.2502822875977,\r
+        "y": 1845.9048767089844,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            [\r
+                "1d5ac87a.53fd58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ffcba76.e3a6658",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1543.8928337097168,\r
+        "y": 1541.5120401382446,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            [\r
+                "afb8d713.9ea788"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "34d7033c.1d850c",\r
+        "type": "set",\r
+        "name": "set ss.capability-name",\r
+        "xml": "<set>\n<parameter name='ss.capability-name' value='`$ss.capability.execution-order[$cidx]`' />\n<!--\nss.capability.execution-order[]\n-->",\r
+        "comments": "",\r
+        "x": 637.5000610351562,\r
+        "y": 1644.3573551177979,\r
+        "z": "37882b3b.b21224",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c123dce6.984a6",\r
+        "type": "set",\r
+        "name": "tmp.param.capability-name",\r
+        "xml": "<set>\n<parameter name='tmp.param.capability-name' \n  value='`$service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.pnf-parameters-data.param[$pidx].resource-resolution-data.capability-name`' />",\r
+        "comments": "",\r
+        "x": 997.107307434082,\r
+        "y": 1800.2620868682861,\r
+        "z": "37882b3b.b21224",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "bcdcac9e.1dcf8",\r
+        "type": "set",\r
+        "name": "set ss.capability-action = assign",\r
+        "xml": "<set>\n<parameter name='ss.capability-action' value='assign' />\n",\r
+        "comments": "",\r
+        "x": 666.2142028808594,\r
+        "y": 1691.2739391326904,\r
+        "z": "37882b3b.b21224",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7e8acf11.757ce",\r
+        "type": "set",\r
+        "name": "set capability-dg with 'self-serve-' + capability-name",\r
+        "xml": "<set>\n<parameter name='ss.capability-dg' value=\"`'self-serve-' + $ss.capability.execution-order[$cidx]`\" />\n",\r
+        "comments": "",\r
+        "x": 728.7262954711914,\r
+        "y": 1744.7501831054688,\r
+        "z": "37882b3b.b21224",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ca8257f6.464808",\r
+        "type": "set",\r
+        "name": "set sdnc-generated-cloud-resources = true",\r
+        "xml": "<set>\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.sdnc-generated-cloud-resources' value='true' />\n",\r
+        "comments": "",\r
+        "x": 458.9881362915039,\r
+        "y": 1324.7501487731934,\r
+        "z": "37882b3b.b21224",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9217be7a.bbdb1",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 715.428539276123,\r
+        "y": 605.4643030166626,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            [\r
+                "3723f166.b9d03e",\r
+                "74858ef1.51481",\r
+                "a4d6abfb.adbf88",\r
+                "7c366e89.adcd7",\r
+                "16c17b92.58b8f4",\r
+                "2ef35e2.ce87ea2",\r
+                "25981633.c7dc4a",\r
+                "152546f0.c6dac9",\r
+                "6f7c97df.b99708"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3723f166.b9d03e",\r
+        "type": "set",\r
+        "name": "set pnf-topology data",\r
+        "xml": "<set>\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.pnf-topology-identifier-structure.pnf-id'\n value='`$pnf-topology-operation-input.pnf-details.pnf-id`' />\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.pnf-topology-identifier-structure.pnf-type'\n value='`$pnf-topology-operation-input.pnf-details.pnf-type`' />\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.tenant'\n value='`$pnf-topology-operation-input.pnf-request-input.tenant`' />\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.aic-cloud-region'\n value='`$pnf-topology-operation-input.pnf-request-input.aic-cloud-region`' />",\r
+        "comments": "",\r
+        "x": 930.9284820556641,\r
+        "y": 606.523811340332,\r
+        "z": "37882b3b.b21224",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ca44a755.ad1c68",\r
+        "type": "set",\r
+        "name": "set pnf-parameters-data",\r
+        "xml": "<set>\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.pnf-parameters-data.'\n  value='pnf-topology-operation-input.pnf-request-input.pnf-input-parameters.' />\n",\r
+        "comments": "",\r
+        "x": 1117.3217163085938,\r
+        "y": 1492.380844116211,\r
+        "z": "37882b3b.b21224",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a4d6abfb.adbf88",\r
+        "type": "set",\r
+        "name": "set pnf-level-oper-status to PendingCreate",\r
+        "xml": "<set>\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-level-oper-status.order-status' value='PendingCreate' />\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-level-oper-status.last-rpc-action' value='`$pnf-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-level-oper-status.last-action' value='`$pnf-topology-operation-input.request-information.request-action`' />\n",\r
+        "comments": "",\r
+        "x": 996.2184371948242,\r
+        "y": 1180.504020690918,\r
+        "z": "37882b3b.b21224",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "74858ef1.51481",\r
+        "type": "set",\r
+        "name": "copy input data",\r
+        "xml": "<set>\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.sdnc-request-header.'\n        value='$pnf-topology-operation-input.sdnc-request-header.' />\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.request-information.'\n        value='$pnf-topology-operation-input.request-information.' />\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.service-information.'\n        value='$pnf-topology-operation-input.service-information.' />\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-details.'\n        value='$pnf-topology-operation-input.pnf-details.' />\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-request-input.'\n        value='$pnf-topology-operation-input.pnf-request-input.' />",\r
+        "comments": "",\r
+        "x": 913.5953521728516,\r
+        "y": 1130.3096599578857,\r
+        "z": "37882b3b.b21224",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b0cbcbbb.b2c498",\r
+        "type": "set",\r
+        "name": "set from DB",\r
+        "xml": "<set>\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.onap-model-information.model-invariant-uuid'\n  value='`$db.pnf-model.invariant-uuid`' />",\r
+        "comments": "",\r
+        "x": 1327.9286727905273,\r
+        "y": 718.8810405731201,\r
+        "z": "37882b3b.b21224",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7c366e89.adcd7",\r
+        "type": "switchNode",\r
+        "name": "switch input model-invariant-uuid",\r
+        "xml": "<switch test='`$pnf-topology-operation-input.pnf-details.onap-model-information.model-invariant-uuid`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 968.7857475280762,\r
+        "y": 741.7054843902588,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            [\r
+                "ae90c040.3cc39",\r
+                "5f2c6ed0.29635"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ae90c040.3cc39",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1177.4524192810059,\r
+        "y": 718.8484477996826,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            [\r
+                "b0cbcbbb.b2c498"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5f2c6ed0.29635",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1178.881015777588,\r
+        "y": 763.1340389251709,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            [\r
+                "f383b18b.bfab9"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f383b18b.bfab9",\r
+        "type": "set",\r
+        "name": "set from input",\r
+        "xml": "<set>\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.onap-model-information.model-invariant-uuid'\n  value='`$pnf-topology-operation-input.pnf-details.onap-model-information.model-invariant-uuid`' />",\r
+        "comments": "",\r
+        "x": 1333.1667518615723,\r
+        "y": 762.5626111030579,\r
+        "z": "37882b3b.b21224",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "4d3a329b.f2f90c",\r
+        "type": "set",\r
+        "name": "set from DB",\r
+        "xml": "<set>\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.onap-model-information.model-uuid'\n  value='`$db.pnf-model.uuid`' />",\r
+        "comments": "",\r
+        "x": 1328.8809432983398,\r
+        "y": 807.419716835022,\r
+        "z": "37882b3b.b21224",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "16c17b92.58b8f4",\r
+        "type": "switchNode",\r
+        "name": "switch input model-uuid",\r
+        "xml": "<switch test='`$pnf-topology-operation-input.pnf-details.onap-model-information.model-uuid`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 938.4047660827637,\r
+        "y": 830.2442216873169,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            [\r
+                "59c0725a.54805c",\r
+                "bfa95def.afc74"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "59c0725a.54805c",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1178.4047393798828,\r
+        "y": 807.3871536254883,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            [\r
+                "4d3a329b.f2f90c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bfa95def.afc74",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1179.8333358764648,\r
+        "y": 851.6727447509766,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            [\r
+                "f2189dfb.909da"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f2189dfb.909da",\r
+        "type": "set",\r
+        "name": "set from input",\r
+        "xml": "<set>\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.onap-model-information.model-uuid'\n  value='`$pnf-topology-operation-input.pnf-details.onap-model-information.model-uuid`' />",\r
+        "comments": "",\r
+        "x": 1334.1190719604492,\r
+        "y": 851.1013169288635,\r
+        "z": "37882b3b.b21224",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "24e86468.e8cd5c",\r
+        "type": "set",\r
+        "name": "set from DB",\r
+        "xml": "<set>\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.onap-model-information.model-version'\n  value='`$db.pnf-model.version`' />",\r
+        "comments": "",\r
+        "x": 1326.0238761901855,\r
+        "y": 896.2769241333008,\r
+        "z": "37882b3b.b21224",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "2ef35e2.ce87ea2",\r
+        "type": "switchNode",\r
+        "name": "switch input model-version",\r
+        "xml": "<switch test='`$pnf-topology-operation-input.pnf-details.onap-model-information.model-version`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 949.5476379394531,\r
+        "y": 919.1013689041138,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            [\r
+                "9b0d0090.c86a6",\r
+                "43470848.9d99c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9b0d0090.c86a6",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1175.547622680664,\r
+        "y": 896.2443313598633,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            [\r
+                "24e86468.e8cd5c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "43470848.9d99c8",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1176.976219177246,\r
+        "y": 940.5299224853516,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            [\r
+                "1db4f705.93ccc9"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1db4f705.93ccc9",\r
+        "type": "set",\r
+        "name": "set from input",\r
+        "xml": "<set>\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.onap-model-information.model-version'\n  value='`$pnf-topology-operation-input.pnf-details.onap-model-information.model-version`' />\n",\r
+        "comments": "",\r
+        "x": 1331.2619552612305,\r
+        "y": 939.9584946632385,\r
+        "z": "37882b3b.b21224",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1dc78c79.a450c4",\r
+        "type": "set",\r
+        "name": "set from DB",\r
+        "xml": "<set>\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.onap-model-information.model-name'\n  value='`$db.pnf-model.name`' />\n",\r
+        "comments": "",\r
+        "x": 1326.0238761901855,\r
+        "y": 983.4197463989258,\r
+        "z": "37882b3b.b21224",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "25981633.c7dc4a",\r
+        "type": "switchNode",\r
+        "name": "switch input model-name",\r
+        "xml": "<switch test='`$pnf-topology-operation-input.pnf-details.onap-model-information.model-name`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 944.5476379394531,\r
+        "y": 1006.2441911697388,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            [\r
+                "443be686.54dde8",\r
+                "f6a73c6d.1c44a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "443be686.54dde8",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1175.547622680664,\r
+        "y": 983.3871536254883,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            [\r
+                "1dc78c79.a450c4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f6a73c6d.1c44a",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1176.976219177246,\r
+        "y": 1027.6727447509766,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            [\r
+                "963f984e.4e1598"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "963f984e.4e1598",\r
+        "type": "set",\r
+        "name": "set from input",\r
+        "xml": "<set>\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.onap-model-information.model-name'\n  value='`$pnf-topology-operation-input.pnf-details.onap-model-information.model-name`' />\n",\r
+        "comments": "",\r
+        "x": 1331.2619552612305,\r
+        "y": 1027.1013169288635,\r
+        "z": "37882b3b.b21224",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "152546f0.c6dac9",\r
+        "type": "set",\r
+        "name": "set pnf-id",\r
+        "xml": "<set>\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-id'\n   value='`$pnf-topology-operation-input.pnf-details.pnf-id`' />\n",\r
+        "comments": "",\r
+        "x": 894.9047088623047,\r
+        "y": 658.0388488769531,\r
+        "z": "37882b3b.b21224",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "6f7c97df.b99708",\r
+        "type": "set",\r
+        "name": "set model-customization-uuid",\r
+        "xml": "<set>\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.onap-model-information.model-customization-uuid' \n  value='`$pnf-topology-operation-input.pnf-details.onap-model-information.model-customization-uuid`' />\n",\r
+        "comments": "",\r
+        "x": 957.3332252502441,\r
+        "y": 1079.0863952636719,\r
+        "z": "37882b3b.b21224",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b26b3f10.8cd93",\r
+        "type": "switchNode",\r
+        "name": "switch service-data.pnfs.pnf_length",\r
+        "xml": "<switch test='`$service-data.pnfs.pnf_length`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 441.58329010009766,\r
+        "y": 292.4285001754761,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            [\r
+                "548784a8.6fc1bc",\r
+                "97bdaa3b.0e9cb8",\r
+                "f611eac6.477cc8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "548784a8.6fc1bc",\r
+        "type": "other",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 683.7976760864258,\r
+        "y": 230.98793125152588,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            [\r
+                "d33ee57f.a3ecb8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1c98dcd.f3b3f23",\r
+        "type": "set",\r
+        "name": "set pnf-index=0",\r
+        "xml": "<set>\n<parameter name='pnf-index' value='0' />\n",\r
+        "comments": "",\r
+        "x": 1019.083381652832,\r
+        "y": 230.48800563812256,\r
+        "z": "37882b3b.b21224",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "97bdaa3b.0e9cb8",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 684.976203918457,\r
+        "y": 352.607120513916,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            [\r
+                "231e0e98.80a622"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6ac25c2c.af1c14",\r
+        "type": "switchNode",\r
+        "name": "switch resource-resolution-data.status",\r
+        "xml": "<switch test='`$service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.pnf-parameters-data.param[$pidx].resource-resolution-data.status`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 843.3693580627441,\r
+        "y": 2105.3293199539185,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            [\r
+                "3502dbdf.32a874",\r
+                "cc3acc09.1c768"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3502dbdf.32a874",\r
+        "type": "other",\r
+        "name": "PENDING",\r
+        "xml": "<outcome value='PENDING'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1112.7265739440918,\r
+        "y": 2105.3292760849,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            [\r
+                "829e3fb9.d93a7"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cc3acc09.1c768",\r
+        "type": "other",\r
+        "name": "FAILED",\r
+        "xml": "<outcome value='FAILED'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1106.2623901367188,\r
+        "y": 2156.2936067581177,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            [\r
+                "829e3fb9.d93a7"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "829e3fb9.d93a7",\r
+        "type": "call",\r
+        "name": "call ss.capability-dg",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='`$ss.capability-dg`' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1321.3811225891113,\r
+        "y": 2157.0554580688477,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            [\r
+                "3962ddfe.4c5df2",\r
+                "3e772b22.e1c734"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bdafebf6.f2fbb8",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'Encountered error from capability: '+ $ss.capability-dg + ', with error: '+ $error-message`\" />\n",\r
+        "comments": "",\r
+        "x": 1888.9286193847656,\r
+        "y": 2413.532018661499,\r
+        "z": "37882b3b.b21224",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3962ddfe.4c5df2",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1506.2736320495605,\r
+        "y": 2157.055519104004,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            [\r
+                "c929724.d0d769"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c929724.d0d769",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1669.5477485656738,\r
+        "y": 2156.3650598526,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            [\r
+                "bdafebf6.f2fbb8",\r
+                "b6818d14.aad68",\r
+                "ae39be90.d76b7",\r
+                "60ef7bf2.fa7a14",\r
+                "e7c0edc.af4641"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ae39be90.d76b7",\r
+        "type": "execute",\r
+        "name": "generate ss-pnf url replace service-instance-id",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.ss-pnf-assignments`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.ss-pnf-url\"/>\n    <parameter name=\"target\" value=\"{service-instance-id}\"/>\n    <parameter name=\"replacement\" value=\"`$service-data.pnfs.pnf[$pnf-index].pnf-data.service-information.service-instance-id`\"/>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1992.8808403015137,\r
+        "y": 2209.88161945343,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "e7c0edc.af4641",\r
+        "type": "execute",\r
+        "name": "execute RestApiCallNode - PUT pnf",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ss.pnf.templatefile`\" />\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ss-pnf-url`' />\n    <parameter name='restapiUser' value='`$prop.controller.user`' />\n    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='PUT' />\n    <parameter name=\"responsePrefix\" value=\"mdsal-ss-pnf\" />\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1962.3451347351074,\r
+        "y": 2312.7388410568237,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            [\r
+                "2aae309b.44db4",\r
+                "6c63be99.6e9df"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2aae309b.44db4",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2236.9388008117676,\r
+        "y": 2366.736994743347,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            [\r
+                "47b71a3e.97bf84"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6c63be99.6e9df",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2229.3674354553223,\r
+        "y": 2313.237014770508,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            [\r
+                "47b71a3e.97bf84"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b6818d14.aad68",\r
+        "type": "set",\r
+        "name": "set pf data for restapi-call-node",\r
+        "xml": "<set>\n<parameter name='pf.pnf-id'\n    value='`$service-data.pnfs.pnf[$pnf-index].pnf-id`' />\n<parameter name='pf.pnf-data.sdnc-request-header.'\n  value='`$service-data.pnfs.pnf[$pnf-index].pnf-data.sdnc-request-header.`' />\n<parameter name='pf.pnf-data.request-information.'\n  value='`$service-data.pnfs.pnf[$pnf-index].pnf-data.request-information.`' />\n<parameter name='pf.pnf-data.service-information.'\n  value='`$service-data.pnfs.pnf[$pnf-index].pnf-data.service-information.`' />\n<parameter name='pf.pnf-data.pnf-details.'\n  value='`$service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-details.`' />\n<parameter name='pf.pnf-data.pnf-topology.'\n  value='`$service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.`' />\n<parameter name='pf.pnf-data.pnf-level-oper-status.'\n  value='`$service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-level-oper-status.`' />\n<parameter name='pf.pnf-data.pnf-request-input.pnf-input-parameters.'\n  value='`$service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-request-input.pnf-input-parameters.`' />\n<parameter name='pf.pnf-data.pnf-request-input.request-version'\n  value='`$service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-request-input.request-version`' />\n<parameter name='pf.pnf-data.pnf-request-input.pnf-name'\n  value='`$service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-request-input.pnf-name`' />\n<parameter name='pf.pnf-data.pnf-request-input.tenant'\n  value='`$service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-request-input.tenant`' />\n<parameter name='pf.pnf-data.pnf-request-input.aic-cloud-region'\n  value='`$service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-request-input.aic-cloud-region`' />\n<parameter name='pf.pnf-data.pnf-request-input.aic-clli'\n  value='`$service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-request-input.aic-clli`' />",\r
+        "comments": "",\r
+        "x": 1945.3331413269043,\r
+        "y": 2155.976131439209,\r
+        "z": "37882b3b.b21224",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "60ef7bf2.fa7a14",\r
+        "type": "execute",\r
+        "name": "generate ss-pnf url - replace pnf-id",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.ss-pnf-url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.ss-pnf-url\"/>\n    <parameter name=\"target\" value=\"{pnf-id}\"/>\n    <parameter name=\"replacement\" value=\"`$service-data.pnfs.pnf[$pnf-index].pnf-id`\"/>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1957.16654586792,\r
+        "y": 2260.69038772583,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "97cbe59f.102fe8",\r
+        "type": "execute",\r
+        "name": "printContext",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/ss-pnf-assign.log' />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 344.42456817626953,\r
+        "y": 2600.920820236206,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "b9417a96.c89598",\r
+        "type": "set",\r
+        "name": "set ss.capability-type = pnf",\r
+        "xml": "<set>\n<parameter name='ss.capability-type' value='pnf' />\n",\r
+        "comments": "",\r
+        "x": 409.89292907714844,\r
+        "y": 1375.5357942581177,\r
+        "z": "37882b3b.b21224",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ed282b71.ede0f8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 875.8927993774414,\r
+        "y": 1492.892912864685,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            [\r
+                "ca44a755.ad1c68",\r
+                "21ad94d1.be148c",\r
+                "31272402.ad905c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b109eefc.1d872",\r
+        "type": "for",\r
+        "name": "for each existing PNF",\r
+        "xml": "<for index='idx' start='0' end='`$service-data.pnfs.pnf_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1032.0357284545898,\r
+        "y": 352.78579807281494,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            [\r
+                "b986a80e.96c248"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b986a80e.96c248",\r
+        "type": "switchNode",\r
+        "name": "switch pnf-id: input vs service-data",\r
+        "xml": "<switch test='`$pf-topology-operation-input.pnf-details.pnf-id == $service-data.pnfs.pnf[$idx].pnf-id`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1309.321434020996,\r
+        "y": 352.85728549957275,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            [\r
+                "cb09cf77.62df4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cb09cf77.62df4",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1532.1072006225586,\r
+        "y": 352.4287576675415,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            [\r
+                "747e7c3c.174b44"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "747e7c3c.174b44",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1664.5714530944824,\r
+        "y": 352.46431827545166,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            [\r
+                "2a95ccf.7794434",\r
+                "8c6ecdd5.9e28b",\r
+                "4b25e8bd.e53158"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2a95ccf.7794434",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 1832.464241027832,\r
+        "y": 438.4642963409424,\r
+        "z": "37882b3b.b21224",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "923b1ffd.af18b",\r
+        "type": "set",\r
+        "name": "set new pnf_length = 1",\r
+        "xml": "<set>\n<parameter name='service-data.pnfs.pnf_length' value='1' />\n",\r
+        "comments": "",\r
+        "x": 1042.642951965332,\r
+        "y": 275.82148838043213,\r
+        "z": "37882b3b.b21224",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8c6ecdd5.9e28b",\r
+        "type": "set",\r
+        "name": "set pnf-index = idx",\r
+        "xml": "<set>\n<parameter name='pnf-index' value='`$idx`' />\n",\r
+        "comments": "",\r
+        "x": 1863.0357971191406,\r
+        "y": 395.2499752044678,\r
+        "z": "37882b3b.b21224",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "71acdeef.4b572",\r
+        "type": "set",\r
+        "name": "set is-new-pnf = true",\r
+        "xml": "<set>\n<parameter name='is-new-pnf' value='true' />\n",\r
+        "comments": "",\r
+        "x": 395.8929214477539,\r
+        "y": 212.32144355773926,\r
+        "z": "37882b3b.b21224",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "4b25e8bd.e53158",\r
+        "type": "set",\r
+        "name": "set is-new-pnf = false",\r
+        "xml": "<set>\n<parameter name='is-new-pnf' value='false' />\n",\r
+        "comments": "",\r
+        "x": 1871.0714836120605,\r
+        "y": 351.9643201828003,\r
+        "z": "37882b3b.b21224",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "231e0e98.80a622",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 822.2500228881836,\r
+        "y": 352.2500162124634,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            [\r
+                "b109eefc.1d872",\r
+                "12659093.1463bf"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "12659093.1463bf",\r
+        "type": "switchNode",\r
+        "name": "switch is-new-pnf",\r
+        "xml": "<switch test='`$is-new-pnf`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1019.7500152587891,\r
+        "y": 438.8214178085327,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            [\r
+                "273b5e8f.735eb2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "273b5e8f.735eb2",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1199.6071701049805,\r
+        "y": 438.39286518096924,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            [\r
+                "35d2b6f5.5b532a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d33ee57f.a3ecb8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 837.7499923706055,\r
+        "y": 230.99999713897705,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            [\r
+                "1c98dcd.f3b3f23",\r
+                "923b1ffd.af18b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f611eac6.477cc8",\r
+        "type": "other",\r
+        "name": "0",\r
+        "xml": "<outcome value='0'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 682.2499923706055,\r
+        "y": 290.7499990463257,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            [\r
+                "d33ee57f.a3ecb8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2c0f97dd.67d808",\r
+        "type": "switchNode",\r
+        "name": "switch is-new-pnf",\r
+        "xml": "<switch test='`$is-new-pnf`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 383.75000381469727,\r
+        "y": 606.2500057220459,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            [\r
+                "a0d4e067.649e6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a0d4e067.649e6",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 563.6071586608887,\r
+        "y": 605.8214530944824,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            [\r
+                "9217be7a.bbdb1"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "42f65de7.c91174",\r
+        "type": "set",\r
+        "name": "set new pnf_length++",\r
+        "xml": "<set>\n<parameter name='service-data.pnfs.pnf_length' value='`$service-data.pnfs.pnf_length + 1`' />\n",\r
+        "comments": "",\r
+        "x": 1547.5,\r
+        "y": 485,\r
+        "z": "37882b3b.b21224",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "35d2b6f5.5b532a",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1345.4999771118164,\r
+        "y": 437.99996185302734,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            [\r
+                "42f65de7.c91174",\r
+                "5e6b2c5e.23b7b4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5e6b2c5e.23b7b4",\r
+        "type": "set",\r
+        "name": "set pnf-index = pnf_length",\r
+        "xml": "<set>\n<parameter name='pnf-index' value='`$service-data.pnfs.pnf_length`' />\n",\r
+        "comments": "",\r
+        "x": 1556.9999809265137,\r
+        "y": 437.49996185302734,\r
+        "z": "37882b3b.b21224",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "47b71a3e.97bf84",\r
+        "type": "set",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n<parameter name=\"error-message\" value=\"Failed to persist self-serve pnf assignments during assign in MD-SAL\" />",\r
+        "comments": "",\r
+        "x": 2449.285758972168,\r
+        "y": 2312.107021331787,\r
+        "z": "37882b3b.b21224",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1d5ac87a.53fd58",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 577.5000228881836,\r
+        "y": 2105.142770767212,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            [\r
+                "6ac25c2c.af1c14",\r
+                "cb3f6813.5ca268"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cb3f6813.5ca268",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 741.7857627868652,\r
+        "y": 2481.4284267425537,\r
+        "z": "37882b3b.b21224",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3e772b22.e1c734",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1517.5000228881836,\r
+        "y": 2277.5000324249268,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            [\r
+                "7440700b.da7e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7440700b.da7e",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"`'EXECUTION DONE: ' + $ss.capability-dg`\"/>\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1661.2500228881836,\r
+        "y": 2276.2500324249268,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "31272402.ad905c",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"DONE with pnf-ra-assigment\"/>\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1054.1071319580078,\r
+        "y": 1592.5000228881836,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "45a102ef.9c38fc",\r
+        "type": "execute",\r
+        "name": "execute PropertiesNode",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n    <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n    <parameter name='contextPrefix' value='prop' />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 817.5000381469727,\r
+        "y": 1432.4286422729492,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "192a8a0a.311bd6",\r
+        "type": "switchNode",\r
+        "name": "switch prop.controller.user",\r
+        "xml": "<switch test='`$prop.controller.user`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 406.21427372523704,\r
+        "y": 1432.8572630201065,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            [\r
+                "98f24d4.445dfb"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "98f24d4.445dfb",\r
+        "type": "failure",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 606.0713691711426,\r
+        "y": 1432.428677558899,\r
+        "z": "37882b3b.b21224",\r
+        "wires": [\r
+            [\r
+                "45a102ef.9c38fc"\r
+            ]\r
+        ]\r
+    }\r
+]
\ No newline at end of file