3 "id": "8aa8ea11.740be",
17 "id": "69365dae.668034",
18 "type": "service-logic",
19 "name": "GENERIC-RESOURCE-API ${project.version}",
20 "module": "GENERIC-RESOURCE-API",
21 "version": "${project.version}",
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}'>",
25 "x": 214.28570556640625,
26 "y": 90.23811149597168,
27 "z": "8316db2b.abe9a",
35 "id": "f7dcbe91.e46188",
37 "name": "method self-serve-vf-module-forking-logic",
38 "xml": "<method rpc='self-serve-vf-module-forking-logic' mode='sync'>\n",
41 "x": 237.85719299316406,
42 "y": 138.57143211364746,
43 "z": "8316db2b.abe9a",
51 "id": "66ba1bad.63f02c",
53 "name": "switch: param[].name",
54 "xml": "<switch test=\"`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$p].name`\">\n",
57 "x": 757.5833282470703,
58 "y": 395.1428565979004,
59 "z": "8316db2b.abe9a",
68 "id": "e59ddfff.f29228",
70 "name": "for p in vf-module-input-parameters.param[]",
71 "xml": "<for silentFailure='true' index='p' start='0' end='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param_length`' >\n",
74 "x": 463.6904754638672,
75 "y": 395.64288902282715,
76 "z": "8316db2b.abe9a",
84 "id": "736b235f.f41374",
86 "name": "set tmp.exist.vf_module_label = true",
87 "xml": "<set>\n<parameter name='tmp.exist.vf_module_label' value='true' />",
89 "x": 1299.4762573242188,
90 "y": 444.00002670288086,
91 "z": "8316db2b.abe9a",
95 "id": "8f743c14.96209",
97 "name": "set tmp.exist.sdnc-model-name = true",
98 "xml": "<set>\n<parameter name='tmp.exist.sdnc-model-name' value='true' />\n",
100 "x": 1302.1903648376465,
101 "y": 395.0000419616699,
102 "z": "8316db2b.abe9a",
106 "id": "8ac3a01b.fa2a38",
108 "name": "block : atomic",
109 "xml": "<block atomic=\"true\">",
113 "y": 289.9523696899414,
114 "z": "8316db2b.abe9a",
125 "id": "f1b12470.776ec8",
127 "name": "sdnc_model_name",
128 "xml": "<outcome value='sdnc_model_name'>\n",
131 "x": 1013.7619040352956,
132 "y": 395.0476510184151,
133 "z": "8316db2b.abe9a",
141 "id": "540a60cc.25f5f8",
143 "name": "vf_module_label",
144 "xml": "<outcome value='vf_module_label'>\n",
147 "x": 1016.619026184082,
148 "y": 444.47622299194336,
149 "z": "8316db2b.abe9a",
157 "id": "18b84933.21068f",
158 "type": "get-resource",
159 "name": "get VF_MODEL.sdnc_model_name",
160 "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n key='SELECT sdnc_model_name from VF_MODEL \n \tWHERE customization_uuid = $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-information.onap-model-information.model-customization-uuid \n \tAND sdnc_model_name is not null'\n pfx='db.vf-model-name'>\n\n",
163 "x": 1169.8572235107422,
164 "y": 676.2616033554077,
165 "z": "8316db2b.abe9a",
175 "id": "d95cfab.cfa8f08",
178 "xml": "<outcome value='failure'>\n",
181 "x": 1420.2143478393555,
182 "y": 586.6425437927246,
183 "z": "8316db2b.abe9a",
191 "id": "91b70953.025358",
194 "xml": "<outcome value='not-found'>\n",
197 "x": 1425.928596496582,
198 "y": 773.7854557037354,
199 "z": "8316db2b.abe9a",
207 "id": "4d1797d1.55ba98",
208 "type": "returnFailure",
209 "name": "return failure",
210 "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 to determine self-serve forking criteria\" />\n",
212 "x": 1601.2143287658691,
213 "y": 586.7854509353638,
214 "z": "8316db2b.abe9a",
218 "id": "da046f4e.feca88",
219 "type": "outcomeFalse",
221 "xml": "<outcome value='false'>\n",
224 "x": 921.7026138305664,
225 "y": 676.4518804550171,
226 "z": "8316db2b.abe9a",
234 "id": "71f24135.a396b8",
235 "type": "switchNode",
236 "name": "switch: tmp.exist.sdnc-model-name && tmp.exist.vf_module_label == true",
237 "xml": "<switch test=\"`$tmp.exist.sdnc-model-name == 'true' and $tmp.exist.vf_module_label == 'true'`\">\n",
240 "x": 552.0594329833984,
241 "y": 589.7141094207764,
242 "z": "8316db2b.abe9a",
251 "id": "af375362.061b2",
252 "type": "outcomeTrue",
254 "xml": "<outcome value='true'>\n",
257 "x": 924.6668395996094,
258 "y": 510.0712013244629,
259 "z": "8316db2b.abe9a",
267 "id": "c6dbcf48.080eb8",
268 "type": "get-resource",
269 "name": "get VF_MODULE_MODEL.vf-module-label",
270 "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n key='SELECT vf_module_label from VF_MODULE_MODEL \n \tWHERE vf_customization_uuid = $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-information.onap-model-information.model-customization-uuid\n \tAND vf_module_label is not null '\n pfx='db.vf-module-label'>\n\n",
273 "x": 1698.0953903198242,
274 "y": 676.4998636245728,
275 "z": "8316db2b.abe9a",
285 "id": "89568209.e5f728",
288 "xml": "<outcome value='failure'>\n",
291 "x": 1973.4526138305664,
292 "y": 676.5949945449829,
293 "z": "8316db2b.abe9a",
301 "id": "2dda5e9d.c9b972",
304 "xml": "<outcome value='not-found'>\n",
307 "x": 1984.0239715576172,
308 "y": 724.3092603683472,
309 "z": "8316db2b.abe9a",
317 "id": "aa612980.7b237",
318 "type": "returnFailure",
319 "name": "return failure",
320 "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_MODULE_MODEL table to determine self-serve forking criteria\" />\n",
322 "x": 2147.5951232910156,
323 "y": 677.1664400100708,
324 "z": "8316db2b.abe9a",
328 "id": "cbe36505.a168d8",
331 "xml": "<outcome value='success'>\n",
334 "x": 1977.809684753418,
335 "y": 627.4999189376831,
336 "z": "8316db2b.abe9a",
344 "id": "e5e4f7b1.a891f",
347 "xml": "<outcome value='success'>\n",
350 "x": 1423.8691101074219,
351 "y": 676.2616682052612,
352 "z": "8316db2b.abe9a",
360 "id": "968d6f83.1e8cb8",
362 "name": "initialize tmp.exist.sdnc-model-name && tmp.exist.vf_module_label = false",
363 "xml": "<set>\n<parameter name='tmp.exist.sdnc-model-name' value='false' />\n<parameter name='tmp.exist.vf_module_label' value='false' />\n",
365 "x": 555.5833053588867,
366 "y": 290.22603130340576,
367 "z": "8316db2b.abe9a",
371 "id": "87abb41.4b21fc8",
372 "type": "switchNode",
373 "name": "switch: vf-module-input-parameters.param_length",
374 "xml": "<switch test=\"`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param_length`\">\n",
377 "x": 483.4404830932617,
378 "y": 338.70231533050537,
379 "z": "8316db2b.abe9a",
387 "id": "afd3db14.e78eb",
390 "xml": "<outcome value=''>\n",
393 "x": 747.0119018554688,
394 "y": 338.988055229187,
395 "z": "8316db2b.abe9a",
403 "id": "460cb6a0.e01ee8",
405 "name": "set vf-module-input-parameters.param_length = 0",
406 "xml": "<set>\n<parameter name='vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param_length' value='0' />\n",
408 "x": 1020.7261428833008,
409 "y": 338.84521675109863,
410 "z": "8316db2b.abe9a",
414 "id": "2bea618b.553156",
416 "name": "set ss.self-serve-flag = false",
417 "xml": "<set>\n<parameter name='ss.self-serve-flag' value='false' />\n",
419 "x": 2199.999801635742,
420 "y": 724.2857275009155,
421 "z": "8316db2b.abe9a",
425 "id": "b5bbd060.67f058",
427 "name": "set ss.self-serve-flag = true",
428 "xml": "<set>\n<parameter name='ss.self-serve-flag' value='true' />\n",
431 "y": 508.32147216796875,
432 "z": "8316db2b.abe9a",
436 "id": "cdc75221.415348",
438 "name": "set ss.self-serve-flag = false",
439 "xml": "<set>\n<parameter name='ss.self-serve-flag' value='false' />\n",
441 "x": 1652.857192993164,
442 "y": 773.2857007980347,
443 "z": "8316db2b.abe9a",
447 "id": "69e505b7.70a894",
449 "name": "set ss.self-serve-flag = true",
450 "xml": "<set>\n<parameter name='ss.self-serve-flag' value='true' />\n",
452 "x": 2196.07177734375,
453 "y": 624.7857666015625,
454 "z": "8316db2b.abe9a",