Commit graph

38 commits

Author SHA1 Message Date
Amin Ben Romdhane
6dab2cf7b8 B#13295: JSON mapping gets cause high CPU % and memory leak 2024-01-15 11:30:57 +01:00
Vivek Kumar Dutta
fcfe8d9043 Optimize dm_parent uci mapping 2022-10-13 06:38:13 +00:00
Sreenivasulu Nellepalle
e70098b866 HF-7178 - dmdynamicjson ubus get value failed
(cherry picked from commit 3209cb83a5)
2022-10-11 05:53:52 +00:00
Amin Ben Ramdhane
6a5a73ecc4 Reduce the memory allocation using json_memhead & main_memhead
(cherry picked from commit d17f7f23fa)
2022-07-29 05:13:57 +00:00
Amin Ben Ramdhane
95c7459bce T#8408: JSON Plugin: Fixed issues when multi-instance object mapping for multiple sections 2022-07-21 13:39:57 +01:00
vdutta
f88bf094f9 Static analysis improvements 2022-06-28 08:45:55 +05:30
suvendhu
a4c67d5a05 Added dependency of DM objects in json plugin 2022-06-22 10:41:19 +00:00
Amin Ben Ramdhane
b36eca90a7 Device.{BBF_VENDOR_PREFIX}URLFilter.Profile.{i}.Name: update permission 2022-06-15 09:50:14 +00:00
Amin Ben Ramdhane
7f306cbede JSON: Add support for object path value 2022-06-14 09:01:10 +01:00
Amin Ben Ramdhane
e23c93e966 T#8117: Support Vendor extension macro in json plugins 2022-06-06 17:17:38 +00:00
Suvendhu Hansa
65fd08a0d6 JSON plugin: Add support for uci list 2022-06-02 08:27:07 +00:00
Amin Ben Ramdhane
5a2aba3430 WiFi.DataElements.: Add support for ChannelScanRequest() operate 2022-03-22 19:31:03 +01:00
Dominic Lake
7f0ca8ccd5 Add support for different ubus arg types
Add support for boolean and integer values in the dynamic JSON ubus args.
2022-03-10 15:12:38 +00:00
suvendhu
889c15feeb Fix ticket#7333 fix cppcheck warnings 2022-02-22 18:24:19 +05:30
Amin Ben Ramdhane
9197f483bc bbf: Operate commands exposed from json file not working properly 2022-02-18 14:36:06 +01:00
vdutta
d522d8011b Fix static code warnings 2022-02-17 16:41:10 +05:30
Amin Ben Ramdhane
080f7b4f85 Ticket refs #7333: fix warnings, code analysis and clean up the code
- Fix all errors catched by cppcheck threadsafety (cppcheck --error-exitcode=0 --addon=threadsafety bbf)
 - Fix some errors catched by cppcheck cert (cppcheck --error-exitcode=0 --addon=cert bbf)
 - Add new str-protected macros instead of using str functions directly to avoid crashes
2022-02-16 10:33:59 +00:00
Amin Ben Ramdhane
65939b90aa bbf: add a header file for libbbf_api 2021-12-20 15:43:08 +00:00
Amin Ben Ramdhane
d9561d43c9 Ticket refs #6735: NumberOfEntries parameter json dm option cause a segfault 2021-12-06 11:42:55 +01:00
vdutta
0ef1ad0dd7 Fix segfault in json plugin 2021-12-06 11:06:52 +05:30
Amin Ben Ramdhane
c9789e90d6 bbf: don't remove the dot at the end of the value if there is already a dot at the end 2021-11-26 09:43:17 +01:00
Amin Ben Ramdhane
8d2581bacb bbf: fix a crash when the 'access' option is not defined in the JSON file 2021-11-26 09:42:12 +01:00
Amin Ben Ramdhane
35633a3bc8 Ticket refs #6623: remove static code analysis warnings 2021-11-22 11:47:14 +01:00
Amin Ben Ramdhane
a2ac2601d3 Improve JSON mapping && Fix some issues in browse function 2021-11-19 11:47:33 +01:00
Amin Ben Ramdhane
428f8d50c8 Ticket refs #6546: Implement mapping as per json_mapping_v1 2021-11-15 13:08:25 +01:00
Neeraj Bijalwan
2864ddeacd Add version in parameters 2021-11-03 09:30:12 +01:00
Amin Ben Ramdhane
f51f84d647 Ticket refs #6099: JSON method doesn't support passing the index in path argument 2021-11-01 13:44:30 +01:00
Amin Ben Ramdhane
35143273fe Add test cases for event and command exposed from json plugin 2021-10-29 18:20:08 +01:00
suvendhu
d895f2d4cd Support of event and operates from json plugin 2021-10-29 12:55:21 +00:00
suvendhu
0d04be3ad4 Enable/disable plugin support using compilation flags 2021-10-27 11:25:02 +05:30
Amin Ben Ramdhane
7f8d825a52 Improve memory api 2021-10-22 12:35:32 +01:00
Amin Ben Ramdhane
d04a757b2c Add input value validation to vendor extension mechanisms 2021-10-22 12:35:02 +01:00
Amin Ben Ramdhane
42bc8e95a7 Ticket refs #5773: improve and simplify handle instance in browser and add functions 2021-09-09 16:56:02 +00:00
Amin Ben Ramdhane
c6b88c7668 Ticket refs #5811: BBF JSON doesn't support indexes 2021-08-26 09:07:28 +00:00
Amin Ben Ramdhane
6a252f514c Ticket refs #5505: Move operate commands to there own datamodel files 2021-07-22 15:18:01 +01:00
Amin Ben Ramdhane
9d116f7577 bbf: cannot get new objects exposed via json files if root path contains '.{i}.' at the end 2021-05-18 13:53:14 +01:00
Amin Ben Ramdhane
e9fb75eb97 bbf: implement unit and functional tests 2021-05-03 18:29:28 +01:00
Amin Ben Ramdhane
5e97bdb5e4 bbf: add support for vendor extension 2021-03-25 16:06:31 +01:00
Renamed from dmentryjson.c (Browse further)