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
Vivek Kumar Dutta
ec0fba3fb5
Start refresh timer after transaction commit
2024-03-08 14:01:17 +00:00
Vivek Kumar Dutta
870d903d0c
bbfdm: Use object name in ubus for microservices
2024-03-08 12:43:16 +05:30
Vivek Kumar Dutta
3d83590251
microservice: add support to register multiple objects
2024-03-06 04:17:26 +00:00
Amin Ben Romdhane
e22698c246
Use the correct version when running JSON Plugin as micro-service
2024-02-23 12:10:50 +01:00
Vivek Kumar Dutta
f08912d4c2
Support vendor prefix object name in microservice
2024-02-21 11:14:19 +05:30
Amin Ben Romdhane
b1be97457c
bbfdm-api: Enhance replace_str API to utilize provided buffer
2024-02-05 16:11:22 +01:00
Amin Ben Romdhane
147168fcd5
Micro-service via JSON plugin: remove dot from the main object when loading the tree
2024-01-24 10:57:19 +00:00
Amin Ben Romdhane
b3945f8b0e
Feature #13148 : Replace vendor implementation with DotSo plugin
2024-01-23 20:52:37 +00:00
Amin Ben Romdhane
36a805cac4
Feature #13149 : Move event notification mappings to micro-services
2024-01-23 14:53:42 +01:00
Vivek Kumar Dutta
6beb5e0e91
Avoid uci commit when restart_service is false
2024-01-23 13:51:09 +00:00
Amin Ben Romdhane
f571d45304
bbfdmd: Add support for search expression without quotes
2024-01-18 12:00:08 +01:00
Amin Ben Romdhane
8d32f02f35
T#12237: Add support to show password for SecuredRoles
2024-01-09 12:37:39 +00:00
Vivek Kumar Dutta
822b4b2117
Optimized instance handler
2023-12-29 18:04:59 +05:30
Suvendhu Hansa
c66b1b1168
Fix warnings
2023-12-15 14:39:40 +00:00
Amin Ben Romdhane
ec1fe4c5ad
bbfdm cli: commit/revert dmmap changes while calling get method
2023-12-14 17:48:48 +01:00
Amin Ben Romdhane
1a7d15e1c5
T#12957: minimize tools dependency
2023-12-13 14:26:52 +00:00
Amin Ben Romdhane
7e708fba40
Fixed the transaction issue discovered by usp
2023-11-29 17:41:02 +00:00
Amin Ben Romdhane
f43885b47d
T#11633: bbfdm: Support transaction commit/abort for microservices
2023-11-28 14:47:36 +00:00
Michael Polyntsov
5b52a9c6c3
Fix warnings found when compilling with glibc
2023-11-27 10:28:04 +00:00