Commit Graph
46 Commits
Author SHA1 Message Date
eeff 9c659c8a99 feat(core): add adapter type NEU_NA_TYPE_NDRIVER 2023-06-08 15:00:43 +08:00
eeff 7d12e488dd fix(core): neu_manager_add_template edge cases
1. Template plugin must exist.
  2. Template not allow singleton plugin.
2023-05-26 00:48:45 +08:00
liyuxi 4b806bf65a refactor:replace plugin name before starting 2023-04-24 03:24:56 +00:00
fengzero 6ef25972c0 fix: load node from 2.2 persistence 2023-03-17 02:50:36 +00:00
liyuxi 9be6f3b4da find the plugin using the old plugin name 2023-01-10 04:11:13 +00:00
liyuxi f63ded6847 add(schema):add schema field in getting plugins api 2023-01-03 10:01:25 +00:00
eeff fdae3b977f feat: make builtin monitor as a dynamic singleton plugin 2022-12-09 11:01:11 +08:00
lixiumei123 d2b85071a1 add(plugin Chinese description):modbus-tcp,ekuiper,mqtt,nano-mqtt 2022-11-16 08:44:43 +00:00
eeff b2c5a7b655 feat(monitor): add default monitor plugin skeleton 2022-09-30 18:35:09 +08:00
fengzeroz 1a6c39d866 Merge pull request #739 from eeff/eeff/dev
Add options `--config_dir` and `--plugin_dir`
2022-08-29 14:17:41 +08:00
eeff 3a3829bc6e feat: pass config_dir and plugin_dir to core and restful plugin 2022-08-26 15:41:02 +08:00
fengzero a0ab69dba1 feat(plugin): single plugin does not allow to create node 2022-08-23 06:36:00 +00:00
fengzero fa46c6b493 feat(plugin): plugin adds a single field
single: indicating that the plugin can only be instantiated once.
2022-08-19 07:31:12 +00:00
fengzero de26f6518c chore(adapter): add node_deleted and get_all_tags msg 2022-08-17 10:22:12 +00:00
eeff fc5dd6e56e feat: start license server at best 2022-08-04 12:00:26 +08:00
fengzero 993530f86b refactor persist & adapter msg 2022-06-20 08:08:40 +00:00
fengzero 1e29e4cb1c remove plugin_info.h & adapter_msg.h 2022-06-17 07:02:32 +00:00
fengzero 2a2379c0a8 remove mtx in plugin_manager 2022-06-15 05:53:37 +00:00
fengzero 7d6e7c7a37 remove unused file 2022-06-10 04:43:05 +00:00
eeff 6f7dea1c61 feat(restful): update get plugin api to return plugin description 2022-05-30 15:19:36 +08:00
fengzero 4a1a34de43 simplify the plugin type to driver and app 2022-05-30 02:45:17 +00:00
fengzero a7781b63ce log: replace log with zlog 2022-05-28 09:27:52 +00:00
fengzero 5da0480eb4 remove libyaml 2022-05-18 05:30:14 +00:00
fengzero 82e061da4d move header to include/neuron 2022-04-07 08:44:04 +00:00
fengzero 1fbc035a45 change dummy plugin type to functional 2022-03-23 07:34:42 +00:00
fengzero e83c4253ba optimize neuron running directory
neuron
  /config/neuron.yaml
  /config/public.pem
  /config/private.key
  /plugins/xxx.so
  /plugins/schema/xxx.json
2022-03-17 07:20:44 +00:00
fengzero 75474e3def error codes classify 2022-02-11 11:54:13 +08:00
Parker Liu 18b1468ad6 Fix memory leak in function load_plugin_library 2022-01-22 16:44:25 +08:00
fengzero db914268be the basic info(plugin name, type, kind...) of the plugin is read from the dynamic library
add dynamic library search path configuration, install to
/etc/ld.so.conf.d/

dynamic library search path priority:
  1. driver.path in neuron.yaml
  2. os path
2022-01-19 16:56:10 +08:00
eeff 75a3ab32f2 Add dummy plugin 2022-01-13 18:04:20 +08:00
eeff c6365fd30c Fix plugin_manager_get_all_plugins 2022-01-11 12:13:19 +08:00
eeff e417205727 Add log label to the logging facilities
1. Add a new label argument in log_log
  2. Add a set of interfaces to assist node name logging
2021-11-30 09:58:49 +08:00
fengzero e41594f6c1 api server: support CORS 2021-10-15 02:28:39 +00:00
lixiumei d91f506e2c fix the problems of test plugin api interface functionality 2021-09-11 10:53:33 +08:00
Parker Liu 94aed75898 Add functions of add/del/update/get plugin lib for plugin lib
* Add functions of add/del/update/get plugin lib in plugin_manager.c
* Add command of add/del/update/get plugin lib in adapter.c
2021-09-03 19:21:52 +08:00
Parker Liu 0a82c55dab Implement a static plugin of default dashboard in rest.c 2021-08-18 17:46:57 +08:00
Parker Liu 401228fd36 Add support static plugin in plugin manager 2021-08-18 15:01:36 +08:00
Parker Liu d7d07cb643 Update plugin_manager.c 2021-08-09 17:18:00 +08:00
fengzero 3d034ba9c6 OS X support AddressSanitizer 2021-08-09 17:18:00 +08:00
Parker Liu 7da6954f77 Improvement the datatag manager and name of plugin/adapter 2021-08-09 07:55:06 +08:00
fengzero dc693c2b84 fix compile warning and add json 2021-08-05 17:43:00 +08:00
Parker Liu 520130243d Change the config of clang-format for AlignAfterOpenBracket 2021-08-03 14:48:57 +08:00
Parker Liu 5b3712e168 Add functions to bind and unbind adapter in manager 2021-08-03 11:22:19 +08:00
Parker Liu bd65bc7c3a Implement the plugin manager and adapter manager 2021-08-02 15:05:16 +08:00
Parker Liu 34f2663033 Change the source code style by clang-format 2021-07-22 18:55:24 +08:00
Parker Liu c7e9b1f8d6 Add plugin manager file 2021-07-22 18:44:21 +08:00