3 "id": "f10269e9.df7498",
7 "x": 775.6666870117188,
17 "id": "c12bcf3b.bb05e",
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": 1083.6663360595703,
26 "y": 312.0000219345093,
27 "z": "55c43f0b.2cfc8",
35 "id": "d31f19c6.9a2f48",
37 "name": "method:bbs-internet-profile-network-topology-operation-common-huawei",
38 "xml": "<method rpc='bbs-internet-profile-network-topology-operation-common-huawei' mode='sync'>\n",
41 "x": 1081.6663513183594,
42 "y": 532.0000991821289,
43 "z": "55c43f0b.2cfc8",
51 "id": "e74f77eb.1000f8",
53 "name": "block : atomic",
54 "xml": "<block atomic=\"true\">\n",
58 "x": 1505.6665496826172,
59 "y": 531.0000991821289,
60 "z": "55c43f0b.2cfc8",
71 "id": "da3c5279.38fd5",
73 "name": "call:validate-bbs-network-input-parameters",
74 "xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-bbs-network-input-parameters' mode='sync' >\n",
77 "x": 1971.6667175292969,
78 "y": 210.00000953674316,
79 "z": "55c43f0b.2cfc8",
85 "id": "134f88fe.350da7",
87 "name": "set:variables",
88 "xml": "<set>\n<parameter name='network-input-parameters.' value='`$network-topology-operation-input.network-request-input.network-input-parameters.`' />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value='http://172.30.0.121:5000' />\n\n",
90 "x": 1861.6672172546387,
91 "y": 316.00020599365234,
92 "z": "55c43f0b.2cfc8",
96 "id": "5508b339.a1114c",
98 "name": "excute:readProperties",
99 "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\n",
102 "x": 1888.6666870117188,
103 "y": 426.1111707687378,
104 "z": "55c43f0b.2cfc8",
110 "id": "af4311d2.58cf3",
112 "name": "for:network-input-paramters",
113 "xml": "<for index='idx' start='0' end='`$network-input-parameters.param_length`' >\n",
116 "x": 1905.1670532226562,
117 "y": 525.0001726150513,
118 "z": "55c43f0b.2cfc8",
126 "id": "9d40c0ce.78fd9",
127 "type": "switchNode",
128 "name": "switch:access_id",
129 "xml": "<switch test=\"`$network-input-parameters.param[$idx].name == 'access_id'`\">\n",
132 "x": 2502.1671142578125,
133 "y": 306.00020694732666,
134 "z": "55c43f0b.2cfc8",
142 "id": "73200882.d46168",
143 "type": "outcomeTrue",
145 "xml": "<outcome value='true'>\n",
148 "x": 2706.16703414917,
149 "y": 306.00017833709717,
150 "z": "55c43f0b.2cfc8",
158 "id": "7fb39d4.2f12264",
160 "name": "set:access_id",
161 "xml": "<set>\n<parameter name='prop.bbs.access_id' value='`$network-input-parameters.param[$idx].value`' />\n",
163 "x": 3425.16739654541,
164 "y": 299.60026264190674,
165 "z": "55c43f0b.2cfc8",
169 "id": "d398654e.b34478",
176 "x": 2151.167095184326,
177 "y": 524.0001811981201,
178 "z": "55c43f0b.2cfc8",
194 "id": "b543b4c2.8bc0f8",
195 "type": "switchNode",
196 "name": "switch:ont_sn",
197 "xml": "<switch test=\"`$network-input-parameters.param[$idx].name == 'ont_sn'`\">\n",
200 "x": 2502.0189094543457,
201 "y": 367.0002088546753,
202 "z": "55c43f0b.2cfc8",
210 "id": "d486cb64.e5cc88",
211 "type": "outcomeTrue",
213 "xml": "<outcome value='true'>\n",
216 "x": 2705.0188121795654,
217 "y": 367.0002727508545,
218 "z": "55c43f0b.2cfc8",
226 "id": "b9b321b1.332a6",
228 "name": "set:ont_sn",
229 "xml": "<set>\n<parameter name='prop.bbs.ont_sn' value='`$network-input-parameters.param[$idx].value`' />\n",
231 "x": 3424.019702911377,
232 "y": 361.60032749176025,
233 "z": "55c43f0b.2cfc8",
237 "id": "e879270a.b17da8",
238 "type": "switchNode",
239 "name": "switch:c_vlan",
240 "xml": "<switch test=\"`$network-input-parameters.param[$idx].name == 'c_vlan'`\">\n",
243 "x": 2497.0191650390625,
244 "y": 726.0003833770752,
245 "z": "55c43f0b.2cfc8",
253 "id": "69b98671.7d9698",
254 "type": "outcomeTrue",
256 "xml": "<outcome value='true'>\n",
259 "x": 2700.0190238952637,
260 "y": 726.000394821167,
261 "z": "55c43f0b.2cfc8",
269 "id": "9515222a.16723",
271 "name": "set:c_vlan",
272 "xml": "<set>\n<parameter name='prop.bbs.c_vlan' value='`$network-input-parameters.param[$idx].value`' />\n",
274 "x": 3419.0197143554688,
275 "y": 722.6004438400269,
276 "z": "55c43f0b.2cfc8",
280 "id": "59bd1f4a.c9cda",
281 "type": "switchNode",
282 "name": "switch:s_vlan",
283 "xml": "<switch test=\"`$network-input-parameters.param[$idx].name == 's_vlan'`\">\n",
286 "x": 2492.019172668457,
287 "y": 669.2226104736328,
288 "z": "55c43f0b.2cfc8",
296 "id": "f5723673.bf6868",
297 "type": "outcomeTrue",
299 "xml": "<outcome value='true'>\n",
302 "x": 2701.0190572738647,
303 "y": 668.2226085662842,
304 "z": "55c43f0b.2cfc8",
312 "id": "ddf0943.130d368",
314 "name": "set:s_vlan",
315 "xml": "<set>\n<parameter name='prop.bbs.s_vlan' value='`$network-input-parameters.param[$idx].value`' />\n",
317 "x": 3421.019630432129,
318 "y": 662.8226985931396,
319 "z": "55c43f0b.2cfc8",
323 "id": "ef73e02f.cdd2b",
324 "type": "switchNode",
325 "name": "switch:accecc_id value",
326 "xml": "<switch test='`$network-input-parameters.param[$idx].value`'>\n",
329 "x": 2917.16703414917,
330 "y": 305.0002088546753,
331 "z": "55c43f0b.2cfc8",
340 "id": "54ae716c.b1246",
343 "xml": "<outcome value='Other'>\n",
346 "x": 3218.1674423217773,
347 "y": 299.00030040740967,
348 "z": "55c43f0b.2cfc8",
356 "id": "ec7666af.6addb8",
357 "type": "switchNode",
358 "name": "switch:ont_sn value",
359 "xml": "<switch test='`$network-input-parameters.param[$idx].value`'>\n",
362 "x": 2917.16703414917,
363 "y": 367.0002088546753,
364 "z": "55c43f0b.2cfc8",
373 "id": "28d7a120.f6fdbe",
376 "xml": "<outcome value='Other'>\n",
379 "x": 3220.1674423217773,
380 "y": 362.00030040740967,
381 "z": "55c43f0b.2cfc8",
389 "id": "d82c6439.435768",
390 "type": "switchNode",
391 "name": "switch:c_vlan value",
392 "xml": "<switch test='`$network-input-parameters.param[$idx].value`'>\n",
395 "x": 2915.1672172546387,
396 "y": 727.0003337860107,
397 "z": "55c43f0b.2cfc8",
406 "id": "ec5e8e39.5e084",
409 "xml": "<outcome value='Other'>\n",
412 "x": 3219.1678161621094,
413 "y": 724.0004281997681,
414 "z": "55c43f0b.2cfc8",
422 "id": "d2a653cd.d6a14",
423 "type": "switchNode",
424 "name": "switch:s_vlan value",
425 "xml": "<switch test='`$network-input-parameters.param[$idx].value`'>\n",
428 "x": 2914.1672172546387,
429 "y": 668.0002937316895,
430 "z": "55c43f0b.2cfc8",
439 "id": "8b4cb76b.dd9ee8",
442 "xml": "<outcome value='Other'>\n",
445 "x": 3217.167625427246,
446 "y": 664.0003852844238,
447 "z": "55c43f0b.2cfc8",
455 "id": "355a14da.2c5f3c",
458 "xml": "<outcome value=''>\n",
461 "x": 3230.1674194335938,
462 "y": 142.0002098083496,
463 "z": "55c43f0b.2cfc8",
471 "id": "6098eadd.045e54",
472 "type": "switchNode",
473 "name": "switch:service_type",
474 "xml": "<switch test=\"`$network-input-parameters.param[$idx].name == 'service_type'`\">\n",
477 "x": 2499.0002975463867,
478 "y": 427.00010681152344,
479 "z": "55c43f0b.2cfc8",
487 "id": "6659ed9b.487de4",
488 "type": "outcomeTrue",
490 "xml": "<outcome value='true'>\n",
493 "x": 2708.0001821517944,
494 "y": 426.0001049041748,
495 "z": "55c43f0b.2cfc8",
503 "id": "1c7da636.5cc66a",
505 "name": "set:service_type",
506 "xml": "<set>\n<parameter name='prop.bbs.service_type' value='`$network-input-parameters.param[$idx].value`' />\n",
508 "x": 3428.0007553100586,
509 "y": 420.6001949310303,
510 "z": "55c43f0b.2cfc8",
514 "id": "e9936527.8493c8",
515 "type": "switchNode",
516 "name": "switch:service_type value",
517 "xml": "<switch test='`$network-input-parameters.param[$idx].value`'>\n",
520 "x": 2921.1483421325684,
521 "y": 425.7777900695801,
522 "z": "55c43f0b.2cfc8",
531 "id": "66781327.c6dddc",
534 "xml": "<outcome value='Other'>\n",
537 "x": 3224.148750305176,
538 "y": 421.77788162231445,
539 "z": "55c43f0b.2cfc8",
547 "id": "71c4f1fc.edbb3",
548 "type": "switchNode",
549 "name": "switch:mac",
550 "xml": "<switch test=\"`$network-input-parameters.param[$idx].name == 'mac'`\">\n",
553 "x": 2497.0002975463867,
554 "y": 487.00010871887207,
555 "z": "55c43f0b.2cfc8",
563 "id": "de221b93.5fc2f8",
564 "type": "outcomeTrue",
566 "xml": "<outcome value='true'>\n",
569 "x": 2706.0001821517944,
570 "y": 486.00010681152344,
571 "z": "55c43f0b.2cfc8",
579 "id": "f8a1e6ae.961418",
582 "xml": "<set>\n<parameter name='prop.bbs.mac' value='`$network-input-parameters.param[$idx].value`' />\n",
584 "x": 3415.0006713867188,
585 "y": 480.6002368927002,
586 "z": "55c43f0b.2cfc8",
590 "id": "e7646b83.e7a718",
591 "type": "switchNode",
592 "name": "switch:mac value",
593 "xml": "<switch test='`$network-input-parameters.param[$idx].value`'>\n",
596 "x": 2919.1483421325684,
597 "y": 485.7777919769287,
598 "z": "55c43f0b.2cfc8",
607 "id": "75a2ecd5.593954",
610 "xml": "<outcome value='Other'>\n",
613 "x": 3222.148750305176,
614 "y": 481.7778835296631,
615 "z": "55c43f0b.2cfc8",
623 "id": "9b583213.a2a04",
624 "type": "switchNode",
625 "name": "switch:down_speed",
626 "xml": "<switch test=\"`$network-input-parameters.param[$idx].name == 'down_speed'`\">\n",
629 "x": 2496.000457763672,
630 "y": 609.0002136230469,
631 "z": "55c43f0b.2cfc8",
639 "id": "839f1adb.47c768",
640 "type": "outcomeTrue",
642 "xml": "<outcome value='true'>\n",
645 "x": 2705.0003423690796,
646 "y": 608.0002117156982,
647 "z": "55c43f0b.2cfc8",
655 "id": "1e0d2a0e.760fd6",
657 "name": "set:down_speed",
658 "xml": "<set>\n<parameter name='prop.bbs.down_speed' value='`$network-input-parameters.param[$idx].value`' />\n",
660 "x": 3425.0009155273438,
661 "y": 602.6003017425537,
662 "z": "55c43f0b.2cfc8",
666 "id": "ed0be0e1.46321",
667 "type": "switchNode",
668 "name": "switch:down_speed value",
669 "xml": "<switch test='`$network-input-parameters.param[$idx].value`'>\n",
672 "x": 2918.1485023498535,
673 "y": 607.7778968811035,
674 "z": "55c43f0b.2cfc8",
683 "id": "ff264a18.42cc48",
686 "xml": "<outcome value='Other'>\n",
689 "x": 3221.148910522461,
690 "y": 603.7779884338379,
691 "z": "55c43f0b.2cfc8",
699 "id": "8cdcb93e.555918",
700 "type": "switchNode",
701 "name": "switch:service_id",
702 "xml": "<switch test=\"`$network-input-parameters.param[$idx].name == 'service_id'`\">\n",
705 "x": 2507.0001487731934,
706 "y": 248.0000114440918,
707 "z": "55c43f0b.2cfc8",
715 "id": "33540082.2a40f",
716 "type": "outcomeTrue",
718 "xml": "<outcome value='true'>\n",
721 "x": 2711.000068664551,
722 "y": 247.9999828338623,
723 "z": "55c43f0b.2cfc8",
731 "id": "4530ebf6.2aea14",
733 "name": "set:service_id",
734 "xml": "<set>\n<parameter name='prop.bbs.service_id' value='`$network-input-parameters.param[$idx].value`' />\n",
736 "x": 3430.000431060791,
737 "y": 241.60006713867188,
738 "z": "55c43f0b.2cfc8",
742 "id": "fe661f10.07386",
743 "type": "switchNode",
744 "name": "switch:service_id value",
745 "xml": "<switch test='`$network-input-parameters.param[$idx].value`'>\n",
748 "x": 2922.000068664551,
749 "y": 247.00001335144043,
750 "z": "55c43f0b.2cfc8",
759 "id": "a6af343c.4c8b58",
762 "xml": "<outcome value='Other'>\n",
765 "x": 3223.000476837158,
766 "y": 241.0001049041748,
767 "z": "55c43f0b.2cfc8",
775 "id": "7561ea5b.dc7884",
776 "type": "switchNode",
777 "name": "switch:up_speed",
778 "xml": "<switch test=\"`$network-input-parameters.param[$idx].name == 'up_speed'`\">\n",
781 "x": 2496.000617980957,
782 "y": 548.0001907348633,
783 "z": "55c43f0b.2cfc8",
791 "id": "d4e39c0e.85738",
792 "type": "outcomeTrue",
794 "xml": "<outcome value='true'>\n",
797 "x": 2705.0005025863647,
798 "y": 547.0001888275146,
799 "z": "55c43f0b.2cfc8",
807 "id": "414afbc2.506fc4",
809 "name": "set:up_speed",
810 "xml": "<set>\n<parameter name='prop.bbs.up_speed' value='`$network-input-parameters.param[$idx].value`' />\n",
812 "x": 3425.001075744629,
813 "y": 541.6002788543701,
814 "z": "55c43f0b.2cfc8",
818 "id": "b7e84644.caee48",
819 "type": "switchNode",
820 "name": "switch:up_speed value",
821 "xml": "<switch test='`$network-input-parameters.param[$idx].value`'>\n",
824 "x": 2918.1486625671387,
825 "y": 546.7778739929199,
826 "z": "55c43f0b.2cfc8",
835 "id": "c8f1867c.dd8f78",
838 "xml": "<outcome value='Other'>\n",
841 "x": 3221.149070739746,
842 "y": 542.7779655456543,
843 "z": "55c43f0b.2cfc8",
851 "id": "e20e053a.4de768",
852 "type": "returnFailure",
853 "name": "return failure",
854 "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"`$network-input-parameters.param[$idx].name +' value is null, please check it.'`\" />\n",
856 "x": 3416.9999389648438,
858 "z": "55c43f0b.2cfc8",
862 "id": "8b23f70.e290f08",
865 "xml": " <record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n <parameter name=\"file\" value=\"/opt/oak/logx.txt\" />\n <parameter name=\"field1\" value=\"bbs-internet-profile-common\" />\n <parameter name=\"field2\" value=\"`$prop.bbs.service-id`\" />\n <parameter name=\"field3\" value=\"`$prop.bbs.access_id`\" />\n <parameter name=\"field4\" value=\"`$prop.bbs.ont_sn`\" />\n <parameter name=\"field5\" value=\"`$prop.bbs.service_type`\" />\n <parameter name=\"field6\" value=\"`$prop.bbs.mac`\" />\n <parameter name=\"field7\" value=\"`$prop.bbs.up_speed`\" />\n <parameter name=\"field8\" value=\"`$prop.bbs.down_speed`\" />\n <parameter name=\"field9\" value=\"`$prop.bbs.s_vlan`\" />\n <parameter name=\"field10\" value=\"`$prop.bbs.c_vlan`\" />",
868 "x": 1837.6666259765625,
870 "z": "55c43f0b.2cfc8",