Commit graph

81 commits

Author SHA1 Message Date
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
Vivek Kumar Dutta
1f9a6b0e06
Fix return from default config 2023-11-25 10:56:15 +05:30
Vivek Kumar Dutta
e9c216f497
Use input defaults if failed to read input file 2023-11-24 18:11:37 +05:30
Vivek Kumar Dutta
2358c7ce39
Fix ubus shutdown order 2023-11-21 16:46:24 +05:30
Amin Ben Romdhane
7ecae3f6d1 Update bbfdm tools 2023-11-20 13:36:36 +00:00
Amin Ben Romdhane
d0deece9ff bbfdm: Fix instance wildcard issue 2023-11-03 17:44:02 +01:00
Vivek Kumar Dutta
86f5bdb84d
Fix input json macro 2023-10-25 10:30:45 +05:30
Amin Ben Romdhane
a0a0dbd2c5 Remove the handling of instance wildcard from bbfdmd 2023-10-24 17:05:36 +02:00
Vivek Kumar Dutta
9d93c075af
Signal handler for microservice 2023-10-23 18:16:11 +05:30
Vivek Kumar Dutta
7ddd1064e4
Updated include headers 2023-10-19 16:28:42 +05:30
Vivek Kumar Dutta
4ff4f09126 Support loading plugins from microservices 2023-10-17 10:23:58 +00:00
Vivek Kumar Dutta
6f7a1ae87e Run instance updater from services 2023-10-17 07:36:45 +00:00
Vivek Kumar Dutta
c550b59832
bbfdm: support usp only events 2023-10-13 16:50:01 +05:30
Amin Ben Romdhane
a66cb2c4e8 Remove unused linker function and minor issues 2023-10-04 16:47:27 +02:00
Amin Ben Romdhane
24281e06e0 Feature #12110: Update linkers based on unique keys 2023-10-02 08:36:00 +00:00
Vivek Kumar Dutta
5b409cb46a Fix gpn with invalid path in cwmp proto 2023-09-19 03:49:55 +00:00
Vivek Kumar Dutta
2eac512589
Added number of expected micro-services 2023-09-18 10:00:53 +05:30
Vivek Kumar Dutta
bdce9e9f05
Optimized service handling 2023-09-17 18:37:16 +05:30
Amin Ben Romdhane
74bf316022 bbfdm: Add support for external linker in micro-services 2023-09-14 09:31:18 +02:00
Vivek Kumar Dutta
5197103b42
Add schema update event 2023-08-28 11:13:47 +05:30
Vivek Kumar Dutta
35f7a1778a
Updated deprecated uloop api 2023-08-21 18:01:26 +05:30