3 "id": "ee243452.aa33a8",
\r
9 "z": "19228309.79f23d",
\r
17 "id": "5810e1f9.1768b",
\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": 249.28570556640625,
\r
26 "y": 139.9047794342041,
\r
27 "z": "19228309.79f23d",
\r
35 "id": "70e23e6c.961c38",
\r
37 "name": "method pnf-topology-operation-assign",
\r
38 "xml": "<method rpc='pnf-topology-operation-assign' mode='sync'>\n",
\r
41 "x": 244.59532165527344,
\r
42 "y": 183.91666793823242,
\r
43 "z": "19228309.79f23d",
\r
51 "id": "14cec61f.9eab5a",
\r
53 "name": "pnf-topology-operation-assign",
\r
56 "x": 536.2615356445312,
\r
57 "y": 59.75300407409668,
\r
58 "z": "19228309.79f23d",
\r
62 "id": "da472ec3.e5ccd8",
\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.8809814453125,
\r
69 "y": 327.39283084869385,
\r
70 "z": "19228309.79f23d",
\r
79 "id": "b27a37af.b36718",
\r
81 "name": "CreatePnfInstance",
\r
82 "xml": "<outcome value='CreatePnfInstance'>\n",
\r
85 "x": 881.5952758789062,
\r
86 "y": 304.53571224212646,
\r
87 "z": "19228309.79f23d",
\r
95 "id": "f6fae337.330588",
\r
98 "xml": "<outcome value='Other'>\n",
\r
101 "x": 843.5952415466309,
\r
102 "y": 350.2500400543213,
\r
103 "z": "19228309.79f23d",
\r
111 "id": "5bfce726.0e0808",
\r
114 "xml": "<block>\n",
\r
118 "x": 1066.4524040222168,
\r
119 "y": 304.5357418060303,
\r
120 "z": "19228309.79f23d",
\r
126 "id": "e0cd414.414b64",
\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": 1083.5952491760254,
\r
132 "y": 350.24999809265137,
\r
133 "z": "19228309.79f23d",
\r
137 "id": "19b08e1.3415872",
\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": 640.2142868041992,
\r
144 "y": 418.53570079803467,
\r
145 "z": "19228309.79f23d",
\r
154 "id": "ec81ba8b.5b2c9",
\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": 1081.642765045166,
\r
160 "y": 441.964186668396,
\r
161 "z": "19228309.79f23d",
\r
165 "id": "982998d2.b1104",
\r
168 "xml": "<outcome value='failure'>\n",
\r
171 "x": 840.9999847412109,
\r
172 "y": 398.9165382385254,
\r
173 "z": "19228309.79f23d",
\r
181 "id": "55fc7df0.63822c",
\r
182 "type": "not-found",
\r
183 "name": "not-found",
\r
184 "xml": "<outcome value='not-found'>\n",
\r
187 "x": 849.5714149475098,
\r
188 "y": 443.2022514343262,
\r
189 "z": "19228309.79f23d",
\r
197 "id": "6a64650.0d6f39c",
\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.9999656677246,
\r
203 "y": 397.05944538116455,
\r
204 "z": "19228309.79f23d",
\r
208 "id": "a75821b1.edfb58",
\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": 637.7857666015625,
\r
215 "y": 117.6785888671875,
\r
216 "z": "19228309.79f23d",
\r
222 "id": "c77449b3.048b78",
\r
224 "name": "block : atomic",
\r
225 "xml": "<block atomic=\"true\">",
\r
228 "x": 354.0793991088867,
\r
229 "y": 327.87208557128906,
\r
230 "z": "19228309.79f23d",
\r
243 "id": "780d7aca.b60934",
\r
244 "type": "switchNode",
\r
245 "name": "switch input cloud-owner",
\r
246 "xml": "<switch test='`$pnf-topology-operation-input.pnf-request-input.cloud-owner`'>\n",
\r
249 "x": 636.5000228881836,
\r
250 "y": 255.9166555404663,
\r
251 "z": "19228309.79f23d",
\r
260 "id": "c9bdd3dc.faf7b",
\r
263 "xml": "<outcome value=''>\n",
\r
266 "x": 819.8333969116211,
\r
267 "y": 225.9166440963745,
\r
268 "z": "19228309.79f23d",
\r
276 "id": "6e4e01ec.cdd3b8",
\r
279 "xml": "<outcome value='Other'>\n",
\r
282 "x": 819.5953025817871,
\r
283 "y": 266.86913776397705,
\r
284 "z": "19228309.79f23d",
\r
292 "id": "f08a07.1ccc0df8",
\r
295 "xml": "<block>\n",
\r
299 "x": 954.8333511352539,
\r
300 "y": 224.24998378753662,
\r
301 "z": "19228309.79f23d",
\r
307 "id": "9f00eed0.781e1",
\r
309 "name": "set prop.cloud-region.cloud-owner",
\r
310 "xml": "<set>\n<parameter name='prop.cloud-region.cloud-owner' value='`$pnf-topology-operation-input.pnf-request-input.cloud-owner`' />\n",
\r
312 "x": 1036.5000076293945,
\r
313 "y": 265.9166650772095,
\r
314 "z": "19228309.79f23d",
\r
318 "id": "9a07bcfe.297ad8",
\r
320 "name": "call self-serve-pnf-assign",
\r
321 "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-pnf-assign' mode='sync' >\n",
\r
324 "x": 849.2220077514648,
\r
325 "y": 614.7769980430603,
\r
326 "z": "19228309.79f23d",
\r
334 "id": "d15a667b.1812a",
\r
335 "type": "returnFailure",
\r
336 "name": "return failure",
\r
337 "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
339 "x": 1233.293384552002,
\r
340 "y": 614.7769484519958,
\r
341 "z": "19228309.79f23d",
\r
345 "id": "b09b2b8a.09a48",
\r
347 "name": "SELF-SERVE FORK",
\r
350 "x": 758.8413619995117,
\r
351 "y": 565.9792368412018,
\r
352 "z": "19228309.79f23d",
\r
356 "id": "1b53503a.a14958",
\r
359 "xml": "<outcome value='failure'>\n",
\r
362 "x": 1054.519588470459,
\r
363 "y": 614.2650294303894,
\r
364 "z": "19228309.79f23d",
\r
372 "id": "1f34dbbd.dc61f4",
\r
373 "type": "returnSuccess",
\r
374 "name": "return success",
\r
375 "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
377 "x": 821.6309432983398,
\r
378 "y": 768.9315657615662,
\r
379 "z": "19228309.79f23d",
\r
383 "id": "1f5752f6.bdefd5",
\r
385 "name": "set pnf-level-oper-status to PendingCreate",
\r
386 "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
388 "x": 959.6944046020508,
\r
389 "y": 667.5190324783325,
\r
390 "z": "19228309.79f23d",
\r
394 "id": "e1473b9e.65e3f8",
\r
396 "name": "printContext",
\r
397 "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
400 "x": 811.5356712341309,
\r
401 "y": 716.7088150978088,
\r
402 "z": "19228309.79f23d",
\r
408 "id": "71d0891.189e778",
\r
410 "name": "block : atomic",
\r
411 "xml": "<block atomic=\"true\">",
\r
414 "x": 600.2022018432617,
\r
415 "y": 686.2172737121582,
\r
416 "z": "19228309.79f23d",
\r
426 "id": "f6ad14ca.084b8",
\r
427 "type": "switchNode",
\r
428 "name": "Is cloud-owner passed in input?",
\r
429 "xml": "<switch test=\"`$pnf-topology-operation-input.pnf-request-input.cloud-owner != ''`\">\n",
\r
434 "z": "19228309.79f23d",
\r
442 "id": "98dded3d.86af78",
\r
443 "type": "outcomeTrue",
\r
445 "xml": "<outcome value='true'>\n",
\r
450 "z": "19228309.79f23d",
\r
458 "id": "fdb56d64.3dcfa",
\r
460 "name": "set prop.cloud-region.cloud-owner to input cloud-owner",
\r
461 "xml": "<set>\n<parameter name='prop.cloud-region.cloud-owner' value='`$pnf-topology-operation-input.pnf-request-input.cloud-owner`' />\n",
\r
465 "z": "19228309.79f23d",
\r