fengzeroz
9075b76bee
Merge pull request #361 from eeff/eeff/fix
...
Fix restful plugin log handler error code reporting
2022-03-24 18:19:29 +08:00
eeff
853b3c069f
Fix restful plugin log handler error code reporting
2022-03-24 17:23:09 +08:00
fengzero
a4585a4c91
#351 fix the tag id change when modifying the tag attribute
2022-03-22 07:38:11 +00:00
fengzero
be580049a1
modify the license storage directory
2022-03-18 09:24:31 +00:00
fengzero
c2a3dc2159
add fins and QnA3E in license bit
2022-03-18 06:21:24 +00:00
fengzeroz
fb3e07ec83
Merge pull request #342 from eeff/eeff/license
...
Get license api
2022-03-18 14:17:22 +08:00
eeff
dee23a7a15
Add CORS handler for license
2022-03-18 14:16:29 +08:00
eeff
1d7f697036
Add get license endpoint in restful plugin
2022-03-18 14:10:37 +08:00
eeff
43a0643999
Implement restful get license handler
2022-03-18 14:10:09 +08:00
eeff
0e21c4604f
Update license utility functions
2022-03-18 14:07:50 +08:00
eeff
e312ccf722
Add license utility function plugin_bit_str
2022-03-18 14:07:16 +08:00
fengzero
119b4b95bb
remove options in neuron.yaml that do not require user configuration
2022-03-18 03:05:32 +00:00
fengzeroz
075a5b768d
Merge pull request #338 from eeff/eeff/license
...
Add license update api
2022-03-18 10:23:43 +08:00
fengzeroz
595841fd8b
Merge pull request #333 from eeff/eeff/log
...
Update restful log api to return page count
2022-03-18 10:21:27 +08:00
eeff
e6f83be677
Update restful set license handler to sent update license event
2022-03-17 20:52:05 +08:00
eeff
52e1d4ced4
Implement restful plugin set license handler
2022-03-17 20:24:40 +08:00
eeff
285d049daf
Add license IO utilities in restful plugin
2022-03-17 18:04:14 +08:00
eeff
bdff0ba84c
Update get log handler to return page count
2022-03-17 16:05:40 +08:00
eeff
c693d238c9
Add log cache in result log handler
2022-03-17 16:05:40 +08:00
fengzero
70c750db39
move neuron.log to logs/
2022-03-17 07:49:35 +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
1c7c448ef1
delete the auth of the ping api
2022-03-17 02:56:24 +00:00
eeff
5f37f21b97
Add license handler for setting license in restful plugin
2022-03-16 16:10:55 +08:00
eeff
7d0d7d6fd8
Add restful plugin license handler source file
2022-03-16 16:09:37 +08:00
eeff
02d90250b3
Handle license error codes in restful plugin
2022-03-15 16:30:37 +08:00
fengzeroz
42c3655185
Merge pull request #298 from eeff/eeff/log
...
Add log endpoint in restful plugin
2022-03-03 13:49:10 +08:00
eeff
8ef22c88c5
Add log endpoint in restful plugin
2022-03-03 13:22:33 +08:00
eeff
fb97930423
Add log handling code for restful plugin
2022-03-03 13:22:33 +08:00
eeff
609e30ab38
Add helper function http_get_param_uint64
2022-03-03 13:22:33 +08:00
fengzero
ecfab3e6b5
del the global schema, each driver maintains its own schema
2022-03-02 05:34:13 +00:00
fengzero
b823a3b7c0
fix memory leak
2022-03-02 05:34:13 +00:00
gc87
fc5ae5c0a3
Extracting public functions
...
- normal_handle.c/get_tty_file_list -> file.c/tty_file_list_get
2022-02-14 10:13:31 +08:00
fengzero
75474e3def
error codes classify
2022-02-11 11:54:13 +08:00
fengzero
e70c72e043
remove opcua errorcode
2022-02-11 11:54:13 +08:00
fengzero
84accdf861
Delete the first errorcode in the read/write result
2022-02-11 11:54:13 +08:00
fengzero
86cdb6ee85
del unused errorcode
2022-02-09 17:43:22 +08:00
eeff
1d7f343363
Update restful plugin to notify tags add/del/update events
2022-01-21 18:58:34 +08:00
eeff
092dbee9af
Fix restful del tags handler error handling
2022-01-19 17:24:20 +08:00
eeff
657049b879
Fix restful add tags handle error handling
2022-01-19 17:24:20 +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
fengzero
9e60bd2101
plugin: add validate function in plugin funs
...
check whether the tag conforms to the relevant driver specifications
2022-01-17 17:19:50 +08:00
fengzero
477a66a5ff
fix conflicts when multiple threads access group config
2022-01-10 17:42:49 +08:00
lixiumei
654ba660d2
Adding functional tests for opcua RW
2021-12-09 19:07:26 +08:00
eeff
935b20eb40
Fix usage of http_get_param_int
2021-12-08 14:39:33 +08:00
eeff
eb25ff64c1
Fix restful plugin http query parameter parsing.
...
Previously the function get_param used a static variable to store
parsed data which is not re-entrant, and thus cause bugs.
1. fix get_param and http_get_param to return pointer and len
2. Remove http_get_param_int
3. Add http_get_param_uintmax
4. Add http_get_param_uint32
5. add http_get_param_node_id
6. add http_get_param_node_type
2021-12-08 14:39:33 +08:00
gc87
03f2ac2fa1
Add Device error code in opcua
2021-12-08 14:32:51 +08:00
Parker Liu
2e889bda3b
Fix error of clang-format and remove sudo in dev.yml
2021-12-08 11:36:59 +08:00
eeff
a601c441d7
Fix restful plugin datatag handler
2021-12-03 17:30:55 +08:00
eeff
a74e09bace
Add NEU_ERR_TAG_NAME_EXIST error code
2021-12-03 17:30:55 +08:00
lixiumei
e477e8d184
Fix http error code
2021-12-01 16:59:02 +08:00