Amin Ben Romdhane
549a296cbf
Set an empty value as a reference value when the path exists but its linker is empty
2025-06-30 14:37:59 +00:00
Amin Ben Romdhane
aa74995f9b
Added a mechanism to recover blacklisted ubus methods
2025-06-20 18:35:05 +05:30
Suvendhu Hansa
ad2602f114
Blacklist ubus object only in timed out
2025-06-13 12:42:10 +05:30
Amin Ben Romdhane
571a4335a9
Added support for ubus blob API with timeout
2025-06-11 14:03:38 +02:00
Vivek Kumar Dutta
cb405b3b88
Added dependency based on directory
2025-05-27 19:55:08 +05:30
Amin Ben Romdhane
7cce094e03
ubus: Blacklist unsupported or slow methods after repeated failures
2025-05-27 19:54:41 +05:30
Vivek Dutta
dd0c6433aa
Revert "depcheck to check non-zero file"
2025-05-27 19:53:16 +05:30
Vivek Kumar Dutta
6cbfa27973
depcheck to check non-zero file
2025-05-27 14:26:24 +05:30
Amin Ben Romdhane
79a91515e5
Add detailed error logging for ubus_invoke failures
2025-05-20 11:42:02 +00:00
Suvendhu Hansa
3f56ad4595
bbfdm api for reverting dmmap changes
2025-05-14 20:51:16 +05:30
Amin Ben Romdhane
c7e783aecd
Update pipeline to cover all micro-services
2025-05-08 17:34:23 +00:00
Amin Ben Romdhane
ccc15bd9e1
Fix tools to show available datamodel correctly
2025-05-01 17:24:36 +05:30
Amin Ben Romdhane
4a3a7ca0b1
Reference DB: add file lock to prevent race condition when updating reference DB file
...
Added an exclusive file locking mechanism using `flock()` to ensure that
only one process at a time can update the '/var/state/bbfdm_reference_db' file.
This prevents data loss or corruption caused by concurrent access.
This change improves robustness when `bbfdm_refresh_references()` is called
by multiple processes in parallel.
2025-04-25 12:13:20 +02:00
Amin Ben Romdhane
ab5cde2c42
Introduce a new ubus API with timeout
2025-04-23 07:15:22 +00:00
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
Vivek Kumar Dutta
53fdfcfa28
Updated logs
2025-03-16 11:52:42 +05:30
Vivek Kumar Dutta
1fa64da324
Update buffer size of set to 4096
2025-03-13 13:24:10 +00:00
Vivek Kumar Dutta
38636715ad
Fix Max instance log and uci list buffer size
2025-03-04 18:05:30 +05:30
Amin Ben Romdhane
1c417534a8
Added support for setting a list of references
2025-02-26 16:34:54 +01:00
Amin Ben Romdhane
0ad7ad1021
Flags array is missing in get commands
2025-02-24 13:59:06 +01:00
Amin Ben Romdhane
35faf181a9
Fix the Set method comparison
2025-02-24 13:51:09 +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
31d8d5d28e
Include method name in the error log to improve debugging of UBUS object lookups
2025-01-31 14:54:46 +01:00
Amin Ben Romdhane
b7e5e0de5a
Introduce a new libbbfdm-api library version 2
2025-01-27 15:29:04 +01:00
Amin Ben Romdhane
bfe8db9f6d
Save uci changes whenever a set/add/del operation is called
2025-01-21 20:04:20 +01:00
Suvendhu Hansa
e82527cd48
Fix function name dm_base64_decode
...
base64_decode API is also exist in libeasy, so this name gives conflict error in compilation of the package which includes libbbfdm and libeasy both
2025-01-07 14:13:32 +00:00
Vivek Kumar Dutta
f08359f40d
Add support to filter micro-service ubus calls based on proto
2024-12-06 12:20:34 +00:00
Vivek Kumar Dutta
c715185237
Pre-register micro-services
2024-12-05 15:15:51 +05:30
Amin Ben Romdhane
311609a16f
Added a new API that synchronizes uci config sections with dmmap sections based on specific option
2024-12-04 13:03:05 +00:00
Vivek Kumar Dutta
a0e6cab227
Critical service definition
2024-11-15 17:43:14 +00:00
Amin Ben Romdhane
94fd8ccbb7
Improve pipeline to run external modules as micro-service
2024-11-07 10:26:54 +00:00
Amin Ben Romdhane
062c13e833
Move DeviceInfo to sysmngr package
2024-11-06 11:30:31 +01:00
Amin Ben Romdhane
5aa1298df5
Improve event handling
2024-10-22 04:17:05 +00:00
Vivek Kumar Dutta
52dd299af2
Added -g flag for debugging
2024-10-15 14:22:32 +05:30
Vivek Kumar Dutta
2d9c87e5c6
Support to fork a task
2024-10-15 04:17:32 +00:00
Vivek Kumar Dutta
5ea49eb360
Api to schedule a task
2024-10-15 04:17:32 +00:00
Amin Ben Romdhane
e40c677444
Add support for init and clean module
2024-10-14 17:58:04 +02:00
Amin Ben Romdhane
47537bb4ab
Feature #15266 : Add support to assign list of references using JSON plugins
2024-10-07 14:49:59 +00:00
Amin Ben Romdhane
af2b0c0203
Align with new code-analysis docker image
2024-09-20 06:18:52 +00:00
Amin Ben Romdhane
2a97435094
static-analysis: Fix issues reported in libbbfdm-api
2024-09-16 12:22:55 +00:00
Amin Ben Romdhane
17d89ad513
Ensure the validity of reference path when trying to set a reference path with an empty reference value
2024-09-11 19:48:19 +02:00
Suvendhu Hansa
c9c4fd2d8a
Validate datatype on set request
2024-09-02 21:03:15 +05:30
Amin Ben Romdhane
a21c3b36b8
B#15082: bbfdm does not fault on invalid wildcard usages
2024-08-30 15:51:51 +00:00
Amin Ben Romdhane
1537993fc8
Introduce a new library: libbbfdm-ubus
2024-08-29 10:11:30 +00:00
Amin Ben Romdhane
50dfaa491d
Move network related datamodel to netmngr
2024-08-20 10:38:10 +00:00
Vivek Kumar Dutta
3856d77dfd
Align event schema
2024-08-19 21:37:46 +05:30
Amin Ben Romdhane
72207e3aa1
JSON Plugin: Cannot Set an empty value
2024-08-19 10:07:35 +00:00