Commit Graph

69 Commits

Author SHA1 Message Date
fengzero 203328dffd copyright 2020-2022 2022-06-10 04:43:06 +00:00
fengzero 94ed02a84b remove atomic_data 2022-06-10 04:43:05 +00:00
fengzero 7d6e7c7a37 remove unused file 2022-06-10 04:43:05 +00:00
fengzero c8234633e0 add/del/get group 2022-06-10 04:43:05 +00:00
fengzero a7781b63ce log: replace log with zlog 2022-05-28 09:27:52 +00:00
fengzero d89612a7e4 async queue 2022-05-25 06:05:34 +00:00
eeff 99d1b724b6 fix: string equality comparison using strcmp 2022-05-24 18:39:00 +08:00
fengzero 5da0480eb4 remove libyaml 2022-05-18 05:30:14 +00:00
fengzero b21571fd0f jwt: support pub key 2022-04-26 09:33:48 +00:00
fengzero d210b177ed chore(utils): remove common 2022-04-26 08:27:12 +00:00
lixiumei baaf006275 Add jwt to get iss-grant result judgement 2022-04-26 07:20:48 +00:00
lixiumei 73ca00660d Modify jwt authentication, adapt to bc 2022-04-26 02:11:28 +00:00
eeff dc52d25d4f feat: add ekuiper plugin json decoding utilities 2022-04-15 18:03:20 +08:00
lixiumei ec0c8a1889 Fixing warnings in CI compilation 2022-04-15 08:13:09 +00:00
gc87 d13747cfc8 refactor: remove neu_list dependency
Use sys/queue.h instead of neu_list.h
2022-04-12 16:56:14 +08:00
fengzero 82e061da4d move header to include/neuron 2022-04-07 08:44:04 +00:00
fengzero cfc44903c1 remove uuid.h 2022-03-31 08:53:02 +00:00
fengzero cdb904287c move base64.h to utils 2022-03-31 08:47:05 +00:00
fengzero 04a8674a3f remove atomic_data.h 2022-03-31 08:38:09 +00:00
fengzero 39f9e0697d remove mem_alloc.h 2022-03-31 08:10:55 +00:00
eeff 33fd57670d Add option --log to main program
1. The --log option specifies to which file neuron logs
  2. Log to standard output or file, but not both
2022-03-25 14:55:02 +08:00
eeff 75c594533a Fix log to check quiet flag and level filter correctly 2022-03-25 14:06:44 +08:00
gc87 30f019cdde Add base64 codec 2022-03-01 13:55:04 +08:00
Parker Liu fdd18850b8 Add function neu_json_decode_by_json for partialy decode json buf 2022-02-17 17:51:17 +08:00
Parker Liu 4b90282802 Update persistance's parser file that generated by new json-autotype 2022-02-16 11:59:55 +08:00
gc87 a43e2d56c9 Fix the read function of file string 2022-02-14 17:14:38 +08: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
eeff 45d3be37ab Add syslog callback in neu_log 2022-01-28 21:52:53 +08:00
Parker Liu 28adc16926 Reformatting neu_data_expr.c and hash_table.c to pass CI 2022-01-17 17:38:47 +08:00
Parker Liu ac2246d9ec Clean the warning in connection.c and hash_table.c 2022-01-17 16:25:05 +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 3b606a10b4 Add neu_datatag_alloc and neu_datatag_free 2021-12-03 17:30:55 +08:00
eeff 33cd14a117 Add hash table utils 2021-12-03 17:30:55 +08:00
Parker Liu 6360ef39f1 Add a traverse function for idhash table 2021-12-01 10:57:46 +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
lixiumei 6a824a6e8c API function text add JWT 2021-11-29 18:16:50 +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
fengzero fd07e7fd5c ft: modbus tcp read/write
modbus tcp server simulator
2021-11-29 12:17:33 +08:00
lixiumei 193e4abea5 Automatically generated code replace neu_json_tag 2021-11-11 22:03:31 +08:00
lixiumei d035272b31 The plugin headers are contained in the include directory 2021-11-04 10:57:41 +08:00
fengzero 2f531522cb add unit test of the schema valid 2021-10-25 18:33:28 +08:00
fengzero e738e41b5d Add api: get plugin schema & config node
check the param according to the schema
2021-10-25 18:33:28 +08:00
gc87 693d68e231 Remove uuid-dev dependency and use openssl random number generator to implement uuid v4 2021-10-09 18:40:55 +08:00
Parker Liu f57880ec89 Improve the implementation of serialize/deserialize data value
* Fix some memory leak in serialize/deserialize function
* Modify unit test case for data value
2021-10-09 18:07:57 +08:00
fengzero 662ae1ec2d refactor json parse
separate mqtt parameter decode/encode
2021-09-24 16:06:48 +08:00
fengzero 4f5e858146 modbus: add subscribe/unsubscribe reqeust and check for group config updates 2021-09-22 10:12:50 +08:00
fengzero 44f05110d2 refactor decode/encode json
decode buf to neu_data_val_t
encode neu_data_val_t to buf
compile yaml as a dynamic library
2021-09-22 10:12:50 +08:00
fengzero fb14067105 Add http response function
refactor handle response
2021-09-01 15:13:15 +08:00
Parker Liu c5681f6dfc Add sample code for get nodes/grp_configs/tagtable command
* Move source files of datatag table and tag group config to base
* Fix memleak when execute command of get nodes/grp_configs/tagtable
2021-08-20 15:48:24 +08:00