Commit Graph

131 Commits

Author SHA1 Message Date
gc87 64482dee27 MQTT plugin small refactoring
- rename
 - log_xx -> log_xx_node
 - add assert
2022-03-22 10:55:38 +08:00
fengzero 119b4b95bb remove options in neuron.yaml that do not require user configuration 2022-03-18 03:05:32 +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
lixiumei f52bd3c187 Adding tag_id persistence 2022-03-16 12:49:46 +08:00
eeff 6d2b97fc49 Update datatag table unit tests 2022-03-14 23:23:42 +08:00
lixiumei 7e93fb0341 Remove redundant fields from plugin persistence and keep only plugin_lib_name 2022-03-11 17:47:52 +08:00
fengzero ecfab3e6b5 del the global schema, each driver maintains its own schema 2022-03-02 05:34:13 +00:00
gc87 30f019cdde Add base64 codec 2022-03-01 13:55:04 +08:00
Parker Liu 2b177aa015 Fix multi-times load json object from buffer when decode complex json string 2022-02-18 11:21:55 +08:00
Parker Liu 326a7cff88 Add shell script for generate parser files for api 2022-02-18 11:13:02 +08:00
lixiumei 19ba928e0d Fix the name of the persistent parser file 2022-02-16 18:02:05 +08:00
Parker Liu 4b90282802 Update persistance's parser file that generated by new json-autotype 2022-02-16 11:59:55 +08:00
lixiumei 3e4f0e073e Add unit test for getting neu_json_tty 2022-02-14 17:15:26 +08:00
gc87 21a22f7807 Delete all function codes of the MQTT API 2022-02-14 10:13:31 +08:00
fengzero 84accdf861 Delete the first errorcode in the read/write result 2022-02-11 11:54:13 +08:00
lixiumei 6e7fdbcc87 Adding data for pressures tests 2022-02-09 17:42:44 +08:00
eeff 418785d2c2 Fix persistence group config json unit tests 2022-01-24 18:22:59 +08:00
eeff dd0988d9c0 Fix datatag persistence api unit test 2022-01-21 18:58:34 +08:00
eeff acdb7ffcbf Fix unit test UpdateTagDecode of JsonDatatagTableTest 2022-01-21 18:58:34 +08:00
lixiumei 14b24f4f53 Adding tests for adapter,datatag,plugin and datatag persistence api 2022-01-19 17:22:26 +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
gc87 b1cfb43096 Move mqtt components to the base library 2022-01-18 18:11:58 +08:00
gc87 e1b4951b05 Add mqtt client interface layer
By adding an interface layer, you can easily support different mqtt clients, including MQTT-C and nng-mqtt
2022-01-18 18:11:58 +08:00
eeff 7404c64888 Fix plugin manager unit tests 2022-01-14 17:45:50 +08:00
eeff 75a3ab32f2 Add dummy plugin 2022-01-13 18:04:20 +08:00
lixiumei a2cca4a90d Adding tests for persistent group_config codes 2022-01-13 16:51:19 +08:00
lixiumei a82166f421 Add persistence json and API tests 2022-01-12 16:47:35 +08:00
gc87 20415e5e81 Move schema.h to include directory 2022-01-12 11:11:36 +08:00
gc87 258f0a828a Remove the libplugin-opcua project 2022-01-12 11:11:36 +08:00
Parker Liu 06a3929dd2 Fix memory leak issue in DatatagTableToVec test function 2022-01-10 17:08:35 +08:00
Parker Liu b022494450 Change the datatag_table_create to datatag_table in datatag_table_test.cc 2022-01-10 16:49:29 +08:00
Parker Liu 10c7aec8b6 Add function neu_datatag_tbl_to_vector for store datatag table 2022-01-10 16:45:51 +08:00
fengzero fa4724da97 del the test of mqtt in config 2021-12-30 18:12:55 +08:00
eeff 07b0e4f1ae Add unit tests for http_get_param 2021-12-08 14:39:33 +08:00
eeff e1567f1bff Fix datatag_table test cases 2021-12-03 17:30:55 +08:00
eeff a13653f5b5 Fix jwt_test ASAN odr-violation 2021-11-30 15:38:43 +08:00
lixiumei 253d346452 Add login and logout 2021-11-29 18:16:50 +08:00
lixiumei dcf9160735 login 2021-11-29 18:16:50 +08:00
gc87 7575f380fa Remote interface for node management
- Solve the problem of MQTT-C callback function locking
2021-11-24 19:01:58 +08:00
fengzero f839095692 api: node supports updating name 2021-11-24 14:49:21 +08:00
fengzero fbb004e0b3 return the correct node according to the node type 2021-11-24 14:49:21 +08:00
fengzero 2daa9f03e8 Add function test for tag, node state, node ctl and
subscribe/unsubscribe
2021-11-18 16:24:13 +08:00
lixiumei d39111bf72 Automatically generated code replace neu_json_tag 2021-11-17 02:55:50 +00:00
lixiumei 66fc76d806 Automatically generated code replace neu_json_mqtt 2021-11-16 06:32:23 +00:00
lixiumei a28410539d Automatically generated code replace neu_json_rw 2021-11-16 01:44:19 +00:00
lixiumei c65bf3b35a Automatically generated code replace neu_json_group_config 2021-11-15 18:20:52 +08:00
lixiumei 4730a4e30c Changing the location of the neu_parse_write_req_to_val 2021-11-15 18:20:52 +08:00
lixiumei 704fbc35e1 Automatically generated code replace neu_json_plugin 2021-11-15 11:04:34 +08:00
lixiumei 1518af2670 Automatically generated code replace neu_json_node 2021-11-15 11:04:34 +08:00
lixiumei 193e4abea5 Automatically generated code replace neu_json_tag 2021-11-11 22:03:31 +08:00