Commit graph

120 commits

Author SHA1 Message Date
Amin Ben Romdhane
aa74995f9b
Added a mechanism to recover blacklisted ubus methods 2025-06-20 18:35:05 +05:30
Amin Ben Romdhane
ae1c44524d bbfdmd: make ubus timeout configurable for every service using JSON register service 2025-06-16 18:53:16 +05:30
Amin Ben Romdhane
22cc348d27 Added a mechanism to recover blacklisted services 2025-06-16 12:22:42 +00:00
Amin Ben Romdhane
08cf6a9725 bbfdmd: Show only usp schema when registering the services 2025-05-22 10:55:57 +02:00
Amin Ben Romdhane
a20a15888b
Store data model schema during service registration 2025-05-21 15:50:18 +00:00
Amin Ben Romdhane
79a91515e5 Add detailed error logging for ubus_invoke failures 2025-05-20 11:42:02 +00:00
Amin Ben Romdhane
d017aa025c
bbfdmd: Prevent repeated async calls to unstable services 2025-05-19 19:22:48 +05:30
Amin Ben Romdhane
56937cd498
Update reference db refresh 2025-04-15 15:20:55 +00:00
Amin Ben Romdhane
45a6d7e0c7 Redesign the handling of references based on uci reference_translation 2025-04-08 09:29:09 +02:00
Amin Ben Romdhane
e3757b5f37
Remove bbfdm.linker request and response events 2025-03-20 11:56:23 +00:00
Amin Ben Romdhane
d8842b9968 Fix the protocol value for objects that have restrictions on the service protocol 2025-03-18 12:53:53 +01:00
Vivek Kumar Dutta
53fdfcfa28
Updated logs 2025-03-16 11:52:42 +05:30
Amin Ben Romdhane
95848b941b bbfdmd: Increase ubus timeout '5' -> '10' 2025-03-13 11:38:34 +01:00
Amin Ben Romdhane
2976fdda4a
Increase ubus timeout to 5s for sync calls 2025-03-04 09:19:09 +00:00
Amin Ben Romdhane
1c417534a8 Added support for setting a list of references 2025-02-26 16:34:54 +01:00
Amin Ben Romdhane
0327469ad8
Get RPC: Added support for pretty format 2025-02-26 12:23:51 +00:00
Amin Ben Romdhane
ba86b19b5b Wrong delimeter in reference list value 2025-02-24 14:32:22 +01:00
Amin Ben Romdhane
0ad7ad1021 Flags array is missing in get commands 2025-02-24 13:59:06 +01:00
Amin Ben Romdhane
f21814dd4e
Optimize bbfdmd
* All core Data Model move to core micro-service
* New bbfdmd daemon to use async call to optimize RPCs handling
2025-02-21 09:55:09 +00:00
Vivek Kumar Dutta
c8967d6bf4 log when max instance reached 2025-02-05 17:01:29 +05:30
Amin Ben Romdhane
b7e5e0de5a Introduce a new libbbfdm-api library version 2 2025-01-27 15:29:04 +01:00
Vivek Kumar Dutta
52dd299af2 Added -g flag for debugging 2024-10-15 14:22:32 +05:30
Amin Ben Romdhane
af2b0c0203
Align with new code-analysis docker image 2024-09-20 06:18:52 +00:00
Amin Ben Romdhane
9a6dfdfe3e
Split 'bbfdmd' into two binaries: 'bbfdmd' (main tree) and 'dm-service' (micro-service tree) 2024-09-10 09:30:50 +00:00
Amin Ben Romdhane
1537993fc8
Introduce a new library: libbbfdm-ubus 2024-08-29 10:11:30 +00:00
Vivek Kumar Dutta
3856d77dfd Align event schema 2024-08-19 21:37:46 +05:30
Amin Ben Romdhane
fa69524868
Multiple updates
- Transaction APIs removed
- Use different save dirs per proto
- In process instance update notifier
- Use event based refresh timer
- Commit changes from main daemon for default proto
- For add request commit changes without reload for default proto
- extend bbf.config to monitor based on input
- extend bbf.config to reload/commit based on input
- extend bb.config to provide list of service changes based on proto
2024-08-17 07:18:35 +00:00
Amin Ben Romdhane
75195a112e
T#14683: reduce cpu usages 2024-08-07 11:12:13 +00:00
Amin Ben Romdhane
2d8844df87 Operate/event: Store output data in blob message 2024-07-31 11:49:09 +02:00
Vivek Kumar Dutta
48bbad8151 Fix segfault while loading json plugins 2024-07-27 17:59:44 +05:30
Vivek Kumar Dutta
b7c27fc718
Fix crash in debug logging 2024-07-16 14:32:40 +00:00
Vivek Kumar Dutta
948821e1a7 Fix typo in input blob for events 2024-07-16 08:13:16 +05:30
Vivek Kumar Dutta
56312c7b03 Fix Add/Del events in operate commands 2024-07-15 11:36:28 +05:30
Suvendhu Hansa
c252002089 Added alias value in schema for cwmp GPN 2024-07-12 18:52:06 +05:30
Amin Ben Romdhane
1eaf1298af Move Instance Alias handling to icwmp 2024-07-12 14:50:47 +05:30
Vivek Kumar Dutta
6730d2784b Fix Add object notification for operate commands 2024-06-29 13:39:08 +05:30
Amin Ben Romdhane
40d22bedaf Introduce bbf.config with C code 2024-06-04 12:18:02 +02:00
Amin Ben Romdhane
0d16ce491a B#14541: micro-services not getting re-registered if bbfdmd restarts 2024-06-04 09:48:08 +00:00
Vivek Kumar Dutta
2d65ca3a36 Remove redundant func 2024-05-29 17:30:42 +00:00
Amin Ben Romdhane
694f363934 Move TR-143 Data Model to tr143d 2024-05-18 21:57:14 +02:00
Amin Ben Romdhane
eee1130299 B#14347: usp events not working for multi-instance objects 2024-05-07 19:23:54 +02:00
Vivek Kumar Dutta
d5d84ae1da Fix crash with operate without input 2024-04-25 11:03:49 +05:30
Amin Ben Romdhane
73356e08a4 Introduce a new ubus obj 'bbf.config' to commit/revert uci config/dmmap changes and restart the required services
- Delete dmmap commit from Get Value/Get Name/ Get Instances methods
- dmmap changes can only be committed if restart_services is set to true during transaction commit
2024-04-23 17:15:03 +00:00
Amin Ben Romdhane
115d945afd bbfdmd: Fix memory leaks 2024-04-23 16:43:33 +02:00
Vivek Kumar Dutta
63fad00eee Multiple improvements
- New input daemon option, 'service_name' to easily configure micro-service
- service_name used with 'dm_' prefix in process name
- service_name with 'dm_' prefix and '_inst' suffix for forked instance updater
- Unified signal handler for micro-service and main process
- Cli argument '-m' overloaded to support module name in place of plugin path
- Test alignments and improvements
2024-04-15 13:46:49 +00:00
Amin Ben Romdhane
970ae77bde Start refresh timer after handling any event by bbfdmd 2024-03-25 14:31:42 +01:00
Vivek Kumar Dutta
e36b827c96 Fix the refresh instances order 2024-03-21 10:29:55 +00:00
Vivek Kumar Dutta
8c998e886c Fix probable crash and signal handler 2024-03-19 12:51:11 +00:00
Amin Ben Romdhane
7997de62b7 Define memhead list inside bbf context structure 2024-03-18 15:31:20 +00:00
Vivek Kumar Dutta
0f8a98b500 Remove expected_services_num from service list 2024-03-11 10:47:49 +00:00