3 "id": "1005a4d7.cdc89b",
8 "y": 337.9999974966049,
9 "z": "b5d9a62e.6044f8",
17 "id": "84618843.f74f18",
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": 465.03089904785156,
26 "y": 338.0000194311142,
27 "z": "b5d9a62e.6044f8",
35 "id": "39d6495c.2a8966",
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": 463.0309143066406,
42 "y": 558.0000966787338,
43 "z": "b5d9a62e.6044f8",
51 "id": "bc585204.23434",
53 "name": "block : atomic",
54 "xml": "<block atomic=\"true\">\n",
58 "x": 887.0311126708984,
59 "y": 557.0000966787338,
60 "z": "b5d9a62e.6044f8",
71 "id": "641b9dc3.c76d44",
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": 1353.0312805175781,
78 "y": 236.00000703334808,
79 "z": "b5d9a62e.6044f8",
85 "id": "22e9e7f6.319e28",
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<parameter name='prop.bbs.service_id' value='`$network-topology-operation-input.service-information.service-id`' />\n\n",
90 "x": 1243.03178024292,
91 "y": 342.00020349025726,
92 "z": "b5d9a62e.6044f8",
96 "id": "5806343e.90d4bc",
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",
103 "y": 452.1111682653427,
104 "z": "b5d9a62e.6044f8",
110 "id": "ff7e2b0b.240d18",
112 "name": "for:network-input-paramters",
113 "xml": "<for index='idx' start='0' end='`$network-input-parameters.param_length`' >\n",
116 "x": 1286.5316162109375,
117 "y": 551.0001701116562,
118 "z": "b5d9a62e.6044f8",
126 "id": "87370c41.174ad",
127 "type": "switchNode",
128 "name": "switch:ip_remote_id",
129 "xml": "<switch test=\"`$network-input-parameters.param[$idx].name == 'ip_remote_id'`\">\n",
132 "x": 1883.5316772460938,
133 "y": 332.0002044439316,
134 "z": "b5d9a62e.6044f8",
142 "id": "6f712c2f.00fd94",
143 "type": "outcomeTrue",
145 "xml": "<outcome value='true'>\n",
148 "x": 2087.531597137451,
149 "y": 332.0001758337021,
150 "z": "b5d9a62e.6044f8",
158 "id": "82c53c1.cbe2cc",
160 "name": "set:remote_id",
161 "xml": "<set>\n<parameter name='prop.bbs.remote_id' value='`$network-input-parameters.param[$idx].value`' />\n",
163 "x": 2806.5319595336914,
164 "y": 325.60026013851166,
165 "z": "b5d9a62e.6044f8",
169 "id": "405ee64e.c6f528",
176 "x": 1532.5316581726074,
177 "y": 550.000178694725,
178 "z": "b5d9a62e.6044f8",
193 "id": "c3b38917.be7dd8",
194 "type": "switchNode",
195 "name": "switch:ont_sn",
196 "xml": "<switch test=\"`$network-input-parameters.param[$idx].name == 'ont_sn'`\">\n",
199 "x": 1883.383472442627,
200 "y": 393.0002063512802,
201 "z": "b5d9a62e.6044f8",
209 "id": "fcb34afe.c01578",
210 "type": "outcomeTrue",
212 "xml": "<outcome value='true'>\n",
215 "x": 2086.3833751678467,
216 "y": 393.0002702474594,
217 "z": "b5d9a62e.6044f8",
225 "id": "1cf31c48.ca8d04",
227 "name": "set:ont_sn",
228 "xml": "<set>\n<parameter name='prop.bbs.ont_sn' value='`$network-input-parameters.param[$idx].value`' />\n",
230 "x": 2805.384265899658,
231 "y": 387.6003249883652,
232 "z": "b5d9a62e.6044f8",
236 "id": "9df0c6fb.c3cff8",
237 "type": "switchNode",
238 "name": "switch:c_vlan",
239 "xml": "<switch test=\"`$network-input-parameters.param[$idx].name == 'c_vlan'`\">\n",
242 "x": 1878.3837280273438,
243 "y": 752.0003808736801,
244 "z": "b5d9a62e.6044f8",
252 "id": "9f06e43c.6bf558",
253 "type": "outcomeTrue",
255 "xml": "<outcome value='true'>\n",
258 "x": 2081.383586883545,
259 "y": 752.0003923177719,
260 "z": "b5d9a62e.6044f8",
268 "id": "da1647b1.e6b208",
270 "name": "set:c_vlan",
271 "xml": "<set>\n<parameter name='prop.bbs.c_vlan' value='`$network-input-parameters.param[$idx].value`' />\n",
273 "x": 2800.38427734375,
274 "y": 748.6004413366318,
275 "z": "b5d9a62e.6044f8",
279 "id": "c04f9f0a.fdecd",
280 "type": "switchNode",
281 "name": "switch:s_vlan",
282 "xml": "<switch test=\"`$network-input-parameters.param[$idx].name == 's_vlan'`\">\n",
285 "x": 1873.3837356567383,
286 "y": 695.2226079702377,
287 "z": "b5d9a62e.6044f8",
295 "id": "c02cb5b5.2a9368",
296 "type": "outcomeTrue",
298 "xml": "<outcome value='true'>\n",
301 "x": 2082.383620262146,
302 "y": 694.2226060628891,
303 "z": "b5d9a62e.6044f8",
311 "id": "e8f72dd1.3f17a",
313 "name": "set:s_vlan",
314 "xml": "<set>\n<parameter name='prop.bbs.s_vlan' value='`$network-input-parameters.param[$idx].value`' />\n",
316 "x": 2802.38419342041,
317 "y": 688.8226960897446,
318 "z": "b5d9a62e.6044f8",
322 "id": "1531c27c.bf6ace",
323 "type": "switchNode",
324 "name": "switch:ip_remote_id value",
325 "xml": "<switch test='`$network-input-parameters.param[$idx].value`'>\n",
328 "x": 2298.531597137451,
329 "y": 331.0002063512802,
330 "z": "b5d9a62e.6044f8",
339 "id": "7088f31b.2c3bac",
342 "xml": "<outcome value='Other'>\n",
345 "x": 2599.5320053100586,
346 "y": 325.0002979040146,
347 "z": "b5d9a62e.6044f8",
355 "id": "b65719a8.25dce8",
356 "type": "switchNode",
357 "name": "switch:ont_sn value",
358 "xml": "<switch test='`$network-input-parameters.param[$idx].value`'>\n",
361 "x": 2298.531597137451,
362 "y": 393.0002063512802,
363 "z": "b5d9a62e.6044f8",
372 "id": "693a2d60.620f14",
375 "xml": "<outcome value='Other'>\n",
378 "x": 2601.5320053100586,
379 "y": 388.0002979040146,
380 "z": "b5d9a62e.6044f8",
388 "id": "6d16f565.8a456c",
389 "type": "switchNode",
390 "name": "switch:c_vlan value",
391 "xml": "<switch test='`$network-input-parameters.param[$idx].value`'>\n",
394 "x": 2296.53178024292,
395 "y": 753.0003312826157,
396 "z": "b5d9a62e.6044f8",
405 "id": "c393438f.bba03",
408 "xml": "<outcome value='Other'>\n",
411 "x": 2600.5323791503906,
412 "y": 750.000425696373,
413 "z": "b5d9a62e.6044f8",
421 "id": "ad861806.5a6d18",
422 "type": "switchNode",
423 "name": "switch:s_vlan value",
424 "xml": "<switch test='`$network-input-parameters.param[$idx].value`'>\n",
427 "x": 2295.53178024292,
428 "y": 694.0002912282944,
429 "z": "b5d9a62e.6044f8",
438 "id": "bcb8e5a5.9e5928",
441 "xml": "<outcome value='Other'>\n",
444 "x": 2598.5321884155273,
445 "y": 690.0003827810287,
446 "z": "b5d9a62e.6044f8",
454 "id": "ead29df7.edff2",
457 "xml": "<outcome value=''>\n",
460 "x": 2611.531982421875,
461 "y": 168.00020730495453,
462 "z": "b5d9a62e.6044f8",
470 "id": "70d3b64e.02f668",
471 "type": "switchNode",
472 "name": "switch:ip_service_type",
473 "xml": "<switch test=\"`$network-input-parameters.param[$idx].name == 'ip_service_type'`\">\n",
476 "x": 1880.364860534668,
477 "y": 453.00010430812836,
478 "z": "b5d9a62e.6044f8",
486 "id": "920a7410.841ae8",
487 "type": "outcomeTrue",
489 "xml": "<outcome value='true'>\n",
492 "x": 2089.3647451400757,
493 "y": 452.0001024007797,
494 "z": "b5d9a62e.6044f8",
502 "id": "5db34f7f.78458",
504 "name": "set:service_type",
505 "xml": "<set>\n<parameter name='prop.bbs.service_type' value='`$network-input-parameters.param[$idx].value`' />\n",
507 "x": 2809.36531829834,
508 "y": 446.6001924276352,
509 "z": "b5d9a62e.6044f8",
513 "id": "a417f2d7.b944f",
514 "type": "switchNode",
515 "name": "switch:ip_service_type value",
516 "xml": "<switch test='`$network-input-parameters.param[$idx].value`'>\n",
519 "x": 2302.5129051208496,
520 "y": 451.777787566185,
521 "z": "b5d9a62e.6044f8",
530 "id": "2cc279ab.a0af76",
533 "xml": "<outcome value='Other'>\n",
536 "x": 2605.513313293457,
537 "y": 447.7778791189194,
538 "z": "b5d9a62e.6044f8",
546 "id": "518351b3.5bba",
547 "type": "switchNode",
548 "name": "switch:ip_rg_mac_addr",
549 "xml": "<switch test=\"`$network-input-parameters.param[$idx].name == 'ip_rg_mac_addr'`\">\n",
552 "x": 1878.364860534668,
553 "y": 513.000106215477,
554 "z": "b5d9a62e.6044f8",
562 "id": "8a32b1ef.5d1bd",
563 "type": "outcomeTrue",
565 "xml": "<outcome value='true'>\n",
568 "x": 2087.3647451400757,
569 "y": 512.0001043081284,
570 "z": "b5d9a62e.6044f8",
578 "id": "201d0bf8.38ef94",
581 "xml": "<set>\n<parameter name='prop.bbs.mac' value='`$network-input-parameters.param[$idx].value`' />\n",
584 "y": 506.6002343893051,
585 "z": "b5d9a62e.6044f8",
589 "id": "d637aef8.5a4c4",
590 "type": "switchNode",
591 "name": "switch:ip_rg_mac_addr value",
592 "xml": "<switch test='`$network-input-parameters.param[$idx].value`'>\n",
595 "x": 2300.5129051208496,
596 "y": 511.77778947353363,
597 "z": "b5d9a62e.6044f8",
606 "id": "2891a7be.4e6178",
609 "xml": "<outcome value='Other'>\n",
612 "x": 2603.513313293457,
613 "y": 507.777881026268,
614 "z": "b5d9a62e.6044f8",
622 "id": "363ebd91.fb5852",
623 "type": "switchNode",
624 "name": "switch:ip_downstream_speed",
625 "xml": "<switch test=\"`$network-input-parameters.param[$idx].name == 'ip_downstream_speed'`\">\n",
628 "x": 1877.3650207519531,
629 "y": 635.0002111196518,
630 "z": "b5d9a62e.6044f8",
638 "id": "bb19ad4b.b256c",
639 "type": "outcomeTrue",
641 "xml": "<outcome value='true'>\n",
644 "x": 2086.364905357361,
645 "y": 634.0002092123032,
646 "z": "b5d9a62e.6044f8",
654 "id": "541d49b3.202258",
656 "name": "set:down_speed",
657 "xml": "<set>\n<parameter name='prop.bbs.down_speed' value='`$network-input-parameters.param[$idx].value`' />\n",
659 "x": 2806.365478515625,
660 "y": 628.6002992391586,
661 "z": "b5d9a62e.6044f8",
665 "id": "fdc80625.9b6288",
666 "type": "switchNode",
667 "name": "switch:ip_downstream_speed value",
668 "xml": "<switch test='`$network-input-parameters.param[$idx].value`'>\n",
671 "x": 2299.5130653381348,
672 "y": 633.7778943777084,
673 "z": "b5d9a62e.6044f8",
682 "id": "6796c19d.201ef",
685 "xml": "<outcome value='Other'>\n",
688 "x": 2602.513473510742,
689 "y": 629.7779859304428,
690 "z": "b5d9a62e.6044f8",
698 "id": "f9293ec6.f63f5",
699 "type": "switchNode",
700 "name": "switch:service_id",
701 "xml": "<switch test=\"`$network-input-parameters.param[$idx].name == 'service_id'`\">\n",
704 "x": 1888.3647117614746,
705 "y": 274.0000089406967,
706 "z": "b5d9a62e.6044f8",
714 "id": "5b9ff78a.e4ef68",
715 "type": "outcomeTrue",
717 "xml": "<outcome value='true'>\n",
720 "x": 2092.364631652832,
721 "y": 273.9999803304672,
722 "z": "b5d9a62e.6044f8",
730 "id": "666554a.9b343ac",
732 "name": "set:service_id",
733 "xml": "<set>\n<parameter name='prop.bbs.service_id' value='`$network-input-parameters.param[$idx].value`' />\n",
735 "x": 2811.3649940490723,
736 "y": 267.6000646352768,
737 "z": "b5d9a62e.6044f8",
741 "id": "bd60c3c1.753f3",
742 "type": "switchNode",
743 "name": "switch:service_id value",
744 "xml": "<switch test='`$network-input-parameters.param[$idx].value`'>\n",
747 "x": 2303.364631652832,
748 "y": 273.00001084804535,
749 "z": "b5d9a62e.6044f8",
757 "id": "db0298c0.2da528",
760 "xml": "<outcome value='Other'>\n",
763 "x": 2604.3650398254395,
764 "y": 267.0001024007797,
765 "z": "b5d9a62e.6044f8",
773 "id": "3d4326b7.055a3a",
774 "type": "switchNode",
775 "name": "switch:ip_upstream_speed",
776 "xml": "<switch test=\"`$network-input-parameters.param[$idx].name == 'ip_upstream_speed'`\">\n",
779 "x": 1877.3651809692383,
780 "y": 574.0001882314682,
781 "z": "b5d9a62e.6044f8",
789 "id": "b44522a4.559ad",
790 "type": "outcomeTrue",
792 "xml": "<outcome value='true'>\n",
795 "x": 2086.365065574646,
796 "y": 573.0001863241196,
797 "z": "b5d9a62e.6044f8",
805 "id": "d48daabb.434658",
807 "name": "set:up_speed",
808 "xml": "<set>\n<parameter name='prop.bbs.up_speed' value='`$network-input-parameters.param[$idx].value`' />\n",
810 "x": 2806.36563873291,
811 "y": 567.600276350975,
812 "z": "b5d9a62e.6044f8",
816 "id": "dd2d9b7b.ed18c8",
817 "type": "switchNode",
818 "name": "switch:ip_upstream_speed value",
819 "xml": "<switch test='`$network-input-parameters.param[$idx].value`'>\n",
822 "x": 2299.51322555542,
823 "y": 572.7778714895248,
824 "z": "b5d9a62e.6044f8",
833 "id": "45350699.e53268",
836 "xml": "<outcome value='Other'>\n",
839 "x": 2602.5136337280273,
840 "y": 568.7779630422592,
841 "z": "b5d9a62e.6044f8",
849 "id": "b35dde56.d6c17",
850 "type": "returnFailure",
851 "name": "return failure",
852 "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",
854 "x": 2798.364501953125,
855 "y": 166.99999749660492,
856 "z": "b5d9a62e.6044f8",
860 "id": "b035a2d5.a72c7",
863 "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.remote_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`\" />",
866 "x": 1221.253345489502,
867 "y": 657.5555566549301,
868 "z": "b5d9a62e.6044f8",