3 "id": "d3b3a7ea.d04d08",
\r
7 "x": 133.3333282470703,
\r
8 "y": 79.63588523864746,
\r
9 "z": "6dfe2c1.a0003d4",
\r
17 "id": "46bb10f7.5c3fb",
\r
18 "type": "service-logic",
\r
19 "name": "GENERIC-RESOURCE-API ${project.version}",
\r
20 "module": "GENERIC-RESOURCE-API",
\r
21 "version": "${project.version}",
\r
23 "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
25 "x": 248.61903381347656,
\r
26 "y": 121.54066467285156,
\r
27 "z": "6dfe2c1.a0003d4",
\r
35 "id": "11b944cd.c96c5b",
\r
37 "name": "method pnf-topology-operation-assign",
\r
38 "xml": "<method rpc='pnf-topology-operation-assign' mode='sync'>\n",
\r
41 "x": 243.92864990234375,
\r
42 "y": 165.55255317687988,
\r
43 "z": "6dfe2c1.a0003d4",
\r
51 "id": "7e923496.314c4c",
\r
53 "name": "pnf-topology-operation-assign",
\r
56 "x": 535.5948638916016,
\r
57 "y": 41.38888931274414,
\r
58 "z": "6dfe2c1.a0003d4",
\r
62 "id": "2c8dd484.c334bc",
\r
63 "type": "switchNode",
\r
64 "name": "switch request-action",
\r
65 "xml": "<switch test='`$pnf-topology-operation-input.request-information.request-action`'>\n",
\r
68 "x": 627.2143096923828,
\r
69 "y": 309.0287160873413,
\r
70 "z": "6dfe2c1.a0003d4",
\r
79 "id": "e97259d0.1af158",
\r
81 "name": "CreatePnfInstance",
\r
82 "xml": "<outcome value='CreatePnfInstance'>\n",
\r
85 "x": 880.9286041259766,
\r
86 "y": 286.1715974807739,
\r
87 "z": "6dfe2c1.a0003d4",
\r
95 "id": "413f5d48.571fc4",
\r
98 "xml": "<outcome value='Other'>\n",
\r
101 "x": 842.9285697937012,
\r
102 "y": 331.88592529296875,
\r
103 "z": "6dfe2c1.a0003d4",
\r
111 "id": "f6bc9eb4.5cc37",
\r
114 "xml": "<block>\n",
\r
118 "x": 1065.785732269287,
\r
119 "y": 286.17162704467773,
\r
120 "z": "6dfe2c1.a0003d4",
\r
126 "id": "514d78e9.baa838",
\r
127 "type": "returnFailure",
\r
128 "name": "return failure",
\r
129 "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 'CreatePnfInstance'\" />\n",
\r
131 "x": 1082.9285774230957,
\r
132 "y": 331.8858833312988,
\r
133 "z": "6dfe2c1.a0003d4",
\r
137 "id": "4388ff9d.ce7d6",
\r
138 "type": "get-resource",
\r
139 "name": "get-resource VF_MODEL",
\r
140 "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n key='SELECT * from VF_MODEL WHERE customization_uuid = $pnf-topology-operation-input.pnf-details.onap-model-information.model-customization-uuid'\n pfx='db.vf-model'>\n\n",
\r
143 "x": 639.5476150512695,
\r
144 "y": 400.17158603668213,
\r
145 "z": "6dfe2c1.a0003d4",
\r
154 "id": "6dc29919.0f2208",
\r
155 "type": "returnFailure",
\r
156 "name": "return failure",
\r
157 "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 VF customization UUID ' + $pnf-topology-operation-input.pnf-details.onap-model-information.model-customization-uuid`\" />\n",
\r
159 "x": 1080.9760932922363,
\r
160 "y": 423.60007190704346,
\r
161 "z": "6dfe2c1.a0003d4",
\r
165 "id": "512ab575.220ccc",
\r
168 "xml": "<outcome value='failure'>\n",
\r
171 "x": 840.3333129882812,
\r
172 "y": 380.55242347717285,
\r
173 "z": "6dfe2c1.a0003d4",
\r
181 "id": "3a1614d2.3eacec",
\r
182 "type": "not-found",
\r
183 "name": "not-found",
\r
184 "xml": "<outcome value='not-found'>\n",
\r
187 "x": 848.9047431945801,
\r
188 "y": 424.83813667297363,
\r
189 "z": "6dfe2c1.a0003d4",
\r
197 "id": "d5d2d14c.f67aa",
\r
198 "type": "returnFailure",
\r
199 "name": "return failure",
\r
200 "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 VF_MODEL table\" />\n",
\r
202 "x": 1080.333293914795,
\r
203 "y": 378.695330619812,
\r
204 "z": "6dfe2c1.a0003d4",
\r
208 "id": "95465986.653a28",
\r
210 "name": "execute PropertiesNode",
\r
211 "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
214 "x": 635.1190948486328,
\r
215 "y": 182.314471244812,
\r
216 "z": "6dfe2c1.a0003d4",
\r
222 "id": "ce6b8a58.b8d3e8",
\r
224 "name": "block : atomic",
\r
225 "xml": "<block atomic=\"true\">",
\r
228 "x": 353.41272735595703,
\r
229 "y": 309.5079708099365,
\r
230 "z": "6dfe2c1.a0003d4",
\r
242 "id": "6cdfcbff.124fe4",
\r
243 "type": "switchNode",
\r
244 "name": "switch input cloud-owner",
\r
245 "xml": "<switch test='`$pnf-topology-operation-input.pnf-request-input.cloud-owner`'>\n",
\r
248 "x": 635.8333511352539,
\r
249 "y": 237.55254077911377,
\r
250 "z": "6dfe2c1.a0003d4",
\r
259 "id": "fbe3ca5c.624b78",
\r
262 "xml": "<outcome value=''>\n",
\r
265 "x": 819.1667251586914,
\r
266 "y": 207.55252933502197,
\r
267 "z": "6dfe2c1.a0003d4",
\r
275 "id": "12f9e0f5.d15d1f",
\r
278 "xml": "<outcome value='Other'>\n",
\r
281 "x": 818.9286308288574,
\r
282 "y": 248.5050230026245,
\r
283 "z": "6dfe2c1.a0003d4",
\r
291 "id": "c50e0e6c.80923",
\r
294 "xml": "<block>\n",
\r
298 "x": 954.1666793823242,
\r
299 "y": 205.88586902618408,
\r
300 "z": "6dfe2c1.a0003d4",
\r
306 "id": "6843bdbc.1eb674",
\r
308 "name": "set prop.cloud-region.cloud-owner",
\r
309 "xml": "<set>\n<parameter name='prop.cloud-region.cloud-owner' value='`$pnf-topology-operation-input.pnf-request-input.cloud-owner`' />\n",
\r
311 "x": 1035.8333358764648,
\r
312 "y": 247.55255031585693,
\r
313 "z": "6dfe2c1.a0003d4",
\r
317 "id": "940a3bec.b79db8",
\r
319 "name": "call self-serve-pnf-assign",
\r
320 "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-pnf-assign' mode='sync' >\n",
\r
323 "x": 848.5553359985352,
\r
324 "y": 596.4128832817078,
\r
325 "z": "6dfe2c1.a0003d4",
\r
333 "id": "22ef4f33.3ca9c",
\r
334 "type": "returnFailure",
\r
335 "name": "return failure",
\r
336 "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=\"`'Failed to create self-serve assignment for pnf with pnf-id=' + $pnf-topology-operation-input.pnf-details.pnf-id + ' with error: ' + $error-message`\" />\n",
\r
338 "x": 1232.6267127990723,
\r
339 "y": 596.4128336906433,
\r
340 "z": "6dfe2c1.a0003d4",
\r
344 "id": "d7499e88.a3c54",
\r
346 "name": "SELF-SERVE FORK",
\r
349 "x": 758.174690246582,
\r
350 "y": 547.6151220798492,
\r
351 "z": "6dfe2c1.a0003d4",
\r
355 "id": "ee11637d.64cc5",
\r
358 "xml": "<outcome value='failure'>\n",
\r
361 "x": 1053.8529167175293,
\r
362 "y": 595.9009146690369,
\r
363 "z": "6dfe2c1.a0003d4",
\r
371 "id": "8085154e.65e6a8",
\r
372 "type": "returnSuccess",
\r
373 "name": "return success",
\r
374 "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",
\r
376 "x": 820.9642715454102,
\r
377 "y": 750.5674510002136,
\r
378 "z": "6dfe2c1.a0003d4",
\r
382 "id": "4326ce02.3a255",
\r
384 "name": "set pnf-level-oper-status to PendingCreate",
\r
385 "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`' />",
\r
387 "x": 959.0277328491211,
\r
388 "y": 649.15491771698,
\r
389 "z": "6dfe2c1.a0003d4",
\r
393 "id": "b05b3263.f3526",
\r
395 "name": "printContext",
\r
396 "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
399 "x": 810.8689994812012,
\r
400 "y": 698.3447003364563,
\r
401 "z": "6dfe2c1.a0003d4",
\r
407 "id": "4f7127f2.481f58",
\r
409 "name": "block : atomic",
\r
410 "xml": "<block atomic=\"true\">",
\r
413 "x": 599.535530090332,
\r
414 "y": 667.8531589508057,
\r
415 "z": "6dfe2c1.a0003d4",
\r