eeff
00e285917d
feat(restful): add GET /api/v2/template
2023-03-17 11:30:49 +08:00
eeff
3af830c30f
feat(restful): add POST /api/v2/template
2023-03-16 15:55:06 +08:00
eeff
55c1c9d32d
feat(restful): get global config nodes
2023-02-27 09:59:16 +08:00
eeff
66c2bce7f0
feat: put utils/http_handler.h functions in namespace neu
2022-12-08 12:26:03 +08:00
eeff
942b361109
feat: move handle.h from restful plugin to neuron base
2022-12-08 12:24:02 +08:00
eeff
ec019a71e6
feat: put utils/http.h functions in namespace neu
2022-12-07 18:19:52 +08:00
eeff
07411406a6
feat: move http.h from restful plugin to neuron base
2022-12-07 18:19:52 +08:00
fengzero
da97600c02
feat(rest): change the api port to 7000
2022-11-03 08:13:52 +00:00
eeff
e528d2a70a
feat(restful): remove license api
2022-10-28 15:44:33 +08:00
eeff
30e1ad8d5a
revert: "feat(restful): add node statistics api"
...
This reverts commit a583abfa32 .
2022-10-17 16:17:35 +08:00
eeff
b22120eb07
refactor(restful): expose some utilities for monitor plugin
2022-10-09 18:23:53 +08:00
eeff
4d6999cec0
chore: copy license file for backward compatiblity
2022-09-23 16:13:00 +08:00
fengzero
ceeb792d7b
chore(rest): log unhandle msg
2022-09-14 06:48:27 +00:00
eeff
a583abfa32
feat(restful): add node statistics api
2022-09-08 14:51:21 +08:00
eeff
ac85afe960
fix(restful): eliminate stack allocated arrays larger than 64 bytes
2022-08-30 10:32:21 +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
4aeff9a6a9
feat(api): get all driver groups
2022-08-26 07:18:56 +00:00
fengzeroz
dca1447df4
Merge pull request #701 from eeff/eeff/dev
...
eKuiper api proxy
2022-08-10 13:54:41 +08:00
eeff
55c80a87bb
feat(restful): add proxy handler
2022-08-08 17:07:49 +08:00
fengzero
1fa0e73d35
api: get all nodes state
2022-08-04 10:07:49 +00:00
eeff
e19923b131
Revert "feat(restful): enable websocket logging"
...
This reverts commit 0ed6b39b28 .
2022-07-19 18:31:36 +08:00
eeff
0ed6b39b28
feat(restful): enable websocket logging
2022-07-01 17:44:56 +08:00
fengzero
98306b5adb
connection: add buf used log
2022-06-24 11:34:22 +00:00
fengzero
1e29e4cb1c
remove plugin_info.h & adapter_msg.h
2022-06-17 07:02:32 +00:00
fengzero
da7639eb85
connection: add log
2022-06-16 06:32:56 +00:00
fengzero
f44a8db699
plugin: remove argument in open()
2022-06-15 06:49:02 +00:00
fengzero
2d38ae5f50
refactor plugin interface config
2022-06-15 06:40:30 +00:00
fengzero
203328dffd
copyright 2020-2022
2022-06-10 04:43:06 +00:00
fengzero
dc65873e93
async process op msg
2022-06-10 04:43:06 +00:00
fengzero
2446fa8c6d
read/write tag
2022-06-10 04:43:05 +00: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
lixiumei
73ca00660d
Modify jwt authentication, adapt to bc
2022-04-26 02:11:28 +00:00
fengzero
82e061da4d
move header to include/neuron
2022-04-07 08:44:04 +00: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
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
lixiumei
253d346452
Add login and logout
2021-11-29 18:16:50 +08:00
fengzero
8893ffbb19
refactor node state and ctl(start/stop)
...
plugin add start/stop interface
open: init plugin struct
init: initialize other context
start: plugin start workflow
2021-11-24 16:28:05 +08:00
Parker Liu
72d0adf8d9
Add error processing for function dashb_plugin_open
2021-11-19 16:34:28 +08:00
fengzero
6eaa2908bf
api: read/write subscribe/unsubscribe
2021-10-15 07:20:23 +00:00
fengzero
60989fb4a3
del context in msg
2021-10-15 03:17:47 +00:00
fengzero
e41594f6c1
api server: support CORS
2021-10-15 02:28:39 +00:00
fengzero
a84853692a
Add parser yaml config module
...
del unused file
dashboard plugin read config from neuron.yaml
2021-09-11 11:09:50 +08:00
fengzero
bb4ebdd75e
refactor api server, add datatag api
...
use different server process api and web
rename tags field
merge json read/write
2021-09-07 16:56:33 +08:00
fengzero
d204f8f633
refactor http api server
...
default response header
static var plugin
http request macro
2021-09-03 14:38:05 +08:00
fengzero
288175996c
Add plugin cmd function
...
add NEU_REQRESP_GET_SELF_NODE_ID cmd
add get_datatags_table func
define neu_addt_str_t
fix compile warning
add magic number and check function in neu_plugin_common_t
2021-09-02 11:22:51 +08:00