zhongwencool
e62fde321c
Emqx alarm ( #5994 )
...
* chore(alarm): normalize_message outside emqx_alarm
* chore(alarm): don't cache config in emqx_alarm; remove dirty_write/read; add desc/example to alarm; add more test
* chore(alarm_api): alarm_api with hocon schema
* fix: activted's nullable is true
* fix(swagger): translate map to object
* fix(cluster_rpc): debug failed cluster_rpc test
* fix: Update schema description
Co-authored-by: Zaiming (Stone) Shi <zmstone@gmail.com>
Co-authored-by: Zaiming (Stone) Shi <zmstone@gmail.com>
2021-10-28 18:03:51 +08:00
JimMoen
4a07d5e1f3
refactor(paginate): use exported fun call `{M,F}`
2021-10-26 16:16:37 +08:00
JianBo He
b36865e970
fix(api): escape the searching string
2021-10-26 10:34:03 +08:00
zhongwencool
d784e63b9f
emqx_conf ( #5939 )
...
* feat(emqx_conf): move conf manager for emqx_machine to emqx_conf
* chore(emqx_conf): change emqx:get_config/2 to emqx_conf:get/2
* fix: common test failed
* fix: badmatch by typo wrong key
* fix(emqx_conf): get the wrong core nodes
* fix(emqx_conf): get core node's tnx_id not latest tnx_id
* fix: add ro_transation when copy conf file
* fix: delete debug info
* fix: change ekka_rlog to mria_rlog
* fix: remove cluster_rpc from emqx_machine.
* fix: don't call ekka:start/0 explicitly
* fix: ekka should be start in emqx_machine
2021-10-21 18:08:51 +08:00
k32
8e58699ff5
Merge pull request #5937 from k32/mria
...
feat(mria): Replace ekka_mnesia with mria
2021-10-20 13:15:23 +02:00
JimMoen
a8bb2a60b0
fix(gateway_api): client ip and port as two fields when clients query
2021-10-19 15:36:02 +08:00
JimMoen
6fb1d22e0c
fix(mgmt_api): client ip and port as two fields when clients query
2021-10-19 15:36:02 +08:00
k32
d14b8e7da9
chore(mria): ekka_rlog -> mria_rlog
2021-10-18 22:04:05 +02:00
k32
e14a62d4d6
chore(mria): ekka_mnesia:start/stop -> mria:start/stop
2021-10-18 22:04:05 +02:00
k32
ff48322e0c
chore(mria): ekka_mnesia:running_nodes -> mria:running_nodes
2021-10-18 22:04:05 +02:00
Tobias Lindahl
aa19c2a908
chore: Remove emqx_ct_helpers as dependency
2021-10-15 10:40:57 +02:00
JimMoen
40ab0064ae
fix(api): invalid params HTTP Code 400
2021-10-14 18:57:33 +08:00
JimMoen
cc36c7e48d
fix(mgmt_api): add page limit check.
2021-10-14 18:57:33 +08:00
William Yang
dcca1d7544
Merge pull request #5867 from qzhuyan/dev/william/olp
...
feat(olp): first PR for overload protection
2021-10-14 10:00:01 +02:00
William Yang
23fc8afc50
feat(olp): rename olp mgmt API
...
on -> enable
off -> disable
2021-10-13 10:18:57 +02:00
zhongwencool
d80f20aca3
feat(swagger): define mgmt config_api by hocon schema ( #5814 )
...
* feat(swagger): define mgmt config_api by hocon schema
* fix: enum can't defined by integer, use union.
* fix: hocon schema union to enum
2021-10-13 14:04:43 +08:00
lafirest
3524942766
fix: change all ~s in io format to ~ts
...
we should use unicode to replace latin1
2021-10-12 15:09:24 +08:00
JimMoen
19456d84a5
style: code format fix
2021-10-12 10:37:45 +08:00
JimMoen
321d941eaf
fix(mgmt_api): rows too big fixing.
2021-10-11 21:11:34 +08:00
JimMoen
3960204ce3
refactor(mgmt_api): `select_table_with_count`.
2021-10-11 21:11:34 +08:00
JimMoen
ea7aa5bc41
refactor(mgmt_api): use `select_table` congruously.
2021-10-11 21:11:34 +08:00
JimMoen
b65c9908a1
refactor(mgmt_api): Clearer variable name.
2021-10-11 21:11:34 +08:00
JimMoen
77516d3854
refactor(mgmt_api): `node_query`.
2021-10-11 21:11:34 +08:00
JimMoen
e26804b9ac
refactor(mgmt_api): `cluster_query`.
2021-10-11 21:11:34 +08:00
JimMoen
705ed0ce7b
refactor(mgmt_api): Fuzzy filter using `select_table`.
2021-10-11 21:11:34 +08:00
JimMoen
5daef544a0
refactor(mgmt_api): `select_table`.
2021-10-11 21:11:34 +08:00
JimMoen
b4433f77c8
refactor(mgmt_api): Add `page_start`.
2021-10-11 21:11:34 +08:00
JimMoen
9657d7e628
refactor(mgmt_api): Use Continuation with ets selecting.
2021-10-11 21:11:34 +08:00
William Yang
67267acb70
feat(olp): management API
2021-10-04 14:36:30 +02:00
zhanghongtong
9b3917e0d3
chore(authz mnesia api): get method supports paging
...
Signed-off-by: zhanghongtong <rory-z@outlook.com>
2021-09-26 16:19:47 +08:00
JimMoen
e737f18548
fix(mgmt_api): Friendly HTTP Status Code for Listeners.
2021-09-24 14:28:52 +08:00
JimMoen
54b3dd8718
fix(mgmt_api): update listener on specific node.
2021-09-24 14:28:52 +08:00
JimMoen
2e088c0ae8
fix(mgmt_api): return 404 when node not found.
2021-09-24 14:28:52 +08:00
JimMoen
deac54c847
chore(for editor): Add comments for Emacs major mode.
2021-09-16 15:43:30 +08:00
Jim Moen
294c1a5f69
fix(emqx_mgmt): clients api query params supports epoch(milliseconds).
2021-09-16 13:54:11 +08:00
Jim Moen
8cbec2ec6e
chore(emqx_mgmt): test suite for clients api times using rfc3339.
2021-09-16 13:54:11 +08:00
Jim Moen
834a688062
fix(emqx_mgmt): clients api times using rfc3339.
2021-09-16 13:54:11 +08:00
lafirest
9ad9f619c1
Merge pull request #5676 from lafirest/feat/coap_api
...
feat(emqx_coap): add emqx_coap_api
2021-09-08 22:23:22 +08:00
DDDHuang
e2d9d9bfcb
fix: banned api rfc time & login hidden error type ( #5681 )
2021-09-08 17:53:52 +08:00
lafirest
89f48f89eb
feat(emqx_coap): add emqx_coap_api
...
1. add a request api for emqx_coap
2. fix some emqx_coap logic error
2021-09-07 19:20:52 +08:00
DDDHuang
8b2488e099
fix: routes api add params ( #5675 )
...
* fix: routes api add topic query params
* fix: routes api add node query params
2021-09-07 18:31:40 +08:00
DDDHuang
b1023d9733
fix: clients ip address params trans ( #5657 )
...
* fix: clients ip address params trans
2021-09-06 13:32:29 +08:00
Zaiming (Stone) Shi
7a4fdd7620
Merge pull request #5647 from zmstone/feat-generate-config-doc-from-schema
...
refactor(schema): prepare for hocon schema doc generation
2021-09-03 17:54:01 +02:00
Zaiming Shi
ec13463f4a
refactor(schema): prepare for hocon schema doc generation
2021-09-03 11:02:31 +02:00
DDDHuang
07821b9574
fix: cli error & routes api doc ( #5639 )
2021-09-03 16:07:34 +08:00
DDDHuang
be0fd6fddd
fix: add sub api doc & test suite ( #5634 )
...
* fix: add sub api doc & test suite
2021-09-03 10:57:54 +08:00
JianBo He
fd12a7ac9c
chore(gw): improve the gateway api swagger codes
2021-09-03 09:50:07 +08:00
JianBo He
0a7a14f4cd
chore(mgmt): callback query function with table name param
2021-09-03 09:50:07 +08:00
DDDHuang
3bc92e5845
fix: mgmt listener cli ( #5632 )
...
* fix: mgmt cli linteners
2021-09-02 17:16:13 +08:00
DDDHuang
516f2fd06e
fix: listener api doc ( #5627 )
2021-09-02 15:30:53 +08:00