Commit Graph

121 Commits

Author SHA1 Message Date
fengzero 2c983c8fe6 rename neu_plugin.h 2022-04-07 10:33:59 +00:00
fengzero 82e061da4d move header to include/neuron 2022-04-07 08:44:04 +00:00
fengzero c1c17c1fd7 move adapter.h to neuron/ 2022-04-07 08:02:51 +00:00
fengzero 55d0aa0001 fix write tag crash 2022-04-02 08:45:26 +00:00
lixiumei 7b21728007 Crash when getting a null tag in a read response 2022-04-02 07:44:46 +00:00
fengzero b62e1a3fef replace tag id with tag name in write request 2022-04-01 06:15:39 +00:00
fengzero cab9712850 replace node id with node name in write request 2022-04-01 03:43:17 +00:00
fengzero 00a9a14de2 replace node id with node name in read request 2022-04-01 03:19:03 +00:00
lixiumei e9c80f1b1c Replace tag_id with tag_name in the read api 2022-03-31 11:18:00 +00:00
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