JimMoen
fab9ad91de
fix(schema): nullable => required
2022-03-04 10:06:36 +08:00
Zhongwen Deng
e2f386383d
fix: replace local ref by remote ref
2022-03-04 09:13:56 +08:00
Zhongwen Deng
71d20d153b
fix: replace deep_merge with merge.
2022-03-03 22:52:46 +08:00
Zhongwen Deng
4dfcb90b16
fix: get_roots broken
2022-03-03 20:31:30 +08:00
Thales Macedo Garitezi
f3e7ec43dd
Merge pull request #7190 from thalesmg/fix-typos
...
docs: fix a few typos
2022-03-03 08:57:51 -03:00
Zhongwen Deng
a862eb0252
chore: add more test for emqx_config_handler
2022-03-03 17:39:32 +08:00
Ilya Averyanov
4b19fb575a
Merge pull request #7187 from savonarola/mongo-no-double-pooling
...
chore(mongodb): do not use mongodb internal pool
2022-03-03 11:47:41 +03:00
lafirest
c0df5cd80f
Merge pull request #7193 from lafirest/fix/retainer_api
...
fix(retainer): fix config lookup error
2022-03-03 10:58:35 +08:00
JianBo He
7ba1db759e
Merge pull request #7182 from HJianBo/mqttsn-replay-register
2022-03-03 10:55:45 +08:00
lafirest
be61d918bf
fix(retainer): fix config lookup error
2022-03-03 10:43:08 +08:00
JianBo He
cc7db4a104
Merge pull request #7183 from lafirest/refactor/retainer_api
...
refactor(retainer): refactor the api use swagger
2022-03-03 09:55:13 +08:00
Zaiming (Stone) Shi
4e64010a3b
build: more structured build info
2022-03-02 21:22:03 +01:00
Thales Macedo Garitezi
4aa15c1e78
docs: fix a few typos
2022-03-02 16:21:07 -03:00
Ilya Averyanov
a0cd877669
chore(mongodb): do not use mongodb internal pool
2022-03-02 16:26:39 +03:00
JianBo He
61251be20b
Merge pull request #7185 from lafirest/fix/retainer_update
...
fix(retainer): trap exit message
2022-03-02 18:16:06 +08:00
lafirest
4a9ba7f8b8
fix(retainer): trap exit message
2022-03-02 17:06:48 +08:00
lafirest
d7321e8b77
fix(slow_subs): change enable to false when unload
2022-03-02 16:54:25 +08:00
JianBo He
63ef00a208
fix(gw): add takeover_session/3 for cm_proto_v1
2022-03-02 16:43:53 +08:00
lafirest
ddb7786d30
refactor(retainer): refactor the api use swagger
2022-03-02 16:37:54 +08:00
JianBo He
7ade24b344
feat(mqttsn): support to register unknown topic-name to the client
2022-03-02 14:58:43 +08:00
JianBo He
5b1ba335cb
chore(session): add obtain_next_pkt_id/1
...
In the current implement, mqtt-sn gateway is using the emqx_session as
its session structure. We need a method to get a pkt_id for sending like
REGISTER related messages
2022-03-02 14:58:43 +08:00
JianBo He
ddf3585b22
refactor(gw): support session takeover
2022-03-02 14:58:43 +08:00
JianBo He
123b667eb0
Merge pull request #7128 from lafirest/refactor/retainer_flow_control
...
refactor(emqx_retainer): use hierarchical limiter for the flow control
2022-03-02 14:46:56 +08:00
lafirest
9bdebabdbc
fix(retainer): fix/add some comment
2022-03-02 11:34:19 +08:00
JianBo He
8d837f88de
Merge pull request #7171 from lafirest/fix/auto_subscribe
...
fix(emqx_auto_subscribe): fix config update not work in cluster
2022-03-02 10:16:46 +08:00
JianBo He
480e17ccb5
Merge pull request #7178 from lafirest/fix/topic_rewrite
...
fix(emqx_rewrite): fix config update not work in cluster
2022-03-02 10:14:52 +08:00
firest
df2da949f1
fix(emqx_rewrite): fix config update not work in cluster
2022-03-01 23:11:21 +08:00
Dmitrii
b4439c6710
Merge pull request #7176 from ieQu1/fix-add-hook
...
test(emqx_hook): Fix flaky t_add_hook_order test
2022-03-01 15:52:22 +01:00
Zaiming (Stone) Shi
f39ae6dfa7
Merge pull request #7177 from zmstone/docs-add-more-detailed-desc-for-strict-mode
...
docs: add more details desc for strct_mode config
2022-03-01 14:58:14 +01:00
ieQu1
87d7698e1e
test(emqx_hook): Fix flaky t_add_hook_order test
2022-03-01 14:15:11 +01:00
JimMoen
88b69dd806
Merge pull request #7175 from JimMoen/mqtt-frame-utf8-check
...
feat(frame): utf-8 string check in `strict_mode`
2022-03-01 21:02:26 +08:00
Zaiming (Stone) Shi
be34b927ad
docs: add more detailed description for strict_mode config
2022-03-01 13:11:16 +01:00
JimMoen
0849a2d4c7
test(frame): malformed utf-8 packet
2022-03-01 18:55:31 +08:00
JimMoen
9a75004759
feat(frame): utf-8 string check in `strict_mode`
2022-03-01 18:51:56 +08:00
lafirest
32a995ffe9
fix(emqx_auto_subscribe): fix config update not work in cluster
2022-03-01 18:10:31 +08:00
lafirest
24cba8efa1
fix(emqx_event_message): fix config update not work in cluster
2022-03-01 15:08:21 +08:00
Zaiming (Stone) Shi
b3745715c4
build: support a default edition
2022-02-28 17:03:42 +01:00
Zaiming (Stone) Shi
d029a73b99
refactor: make release edition static info at compile time
2022-02-28 16:37:47 +01:00
Zaiming (Stone) Shi
8ac89bb1a5
Merge pull request #7161 from zmstone/chore-pin-hocon-0.26.1
...
chore: pin hocon 0.26.1
2022-02-28 14:59:23 +01:00
DDDHuang
9bd55b0340
Merge pull request #7154 from DDDHuang/tc_status
...
fix(test): add status api test suite
2022-02-28 20:24:15 +08:00
Zaiming (Stone) Shi
7df2a4655a
chore: pin hocon 0.26.1
...
0.26.0 had a bug where 'mapping' field is encoded as a integerx- list
2022-02-28 12:54:49 +01:00
DDDHuang
dbfa7a7f0c
fix(test): improve subscriptions api suite
2022-02-28 17:54:05 +08:00
DDDHuang
384d508b13
fix(test): add status api test suite
2022-02-28 17:54:05 +08:00
Zaiming (Stone) Shi
4a336b6b4e
test: add eunit test for schema dump
2022-02-28 10:47:10 +01:00
Zaiming (Stone) Shi
29a898cc2e
feat: parameterise schema module for schema dump
2022-02-28 09:59:56 +01:00
Zaiming (Stone) Shi
e22104476a
fix(data_dir): get data_dir config in the right way
...
now data_dir config is respected by boot script as well as
EMQX application after booted
2022-02-28 09:59:56 +01:00
DDDHuang
d8cf4421aa
Merge pull request #7153 from DDDHuang/etm_urlencode
...
fix: remove bindings params url decode (url decode by minirest)
2022-02-28 13:38:09 +08:00
JimMoen
d82a5544da
fix: topic_metrics example
2022-02-28 11:38:18 +08:00
Xinyu Liu
47a4fa5732
Merge pull request #7140 from EMQ-YangM/tmp_change_status
...
refactor(emqx_resource): change the status of emqx_resource to 'conne…
2022-02-28 11:13:47 +08:00
DDDHuang
0e3310f1cf
fix: remove bindings params url decode (url decode by minirest)
2022-02-28 11:13:23 +08:00
JianBo He
48cc641ec0
Merge pull request #7114 from lafirest/refactor/coap_api
...
refactor(emqx_coap): refactor CoAP API
2022-02-28 10:14:26 +08:00
firest
ec17c4d63c
fix(emqx_limiter): fix schema error
2022-02-27 23:37:20 +08:00
Zaiming (Stone) Shi
edb16f902e
chore: pin hocon 0.16.0 for 'mappings' in generated config doc
2022-02-27 14:44:28 +01:00
Zaiming (Stone) Shi
b603d544b2
refactor(emqx_gateway_schema): use remote ref instead of redefine
...
the ssl_client_opts struct
2022-02-27 14:44:28 +01:00
firest
6b6acaec43
refactor(emqx_coap): refactor CoAP API
2022-02-26 17:30:34 +08:00
Thales Macedo Garitezi
69e0f9c6cf
Merge pull request #7109 from thalesmg/elixir-plugin-test
...
Add Elixir Plugin Template Test
2022-02-25 11:31:41 -03:00
DDDHuang
e8f92b422c
Merge pull request #7061 from DDDHuang/new_monitor
...
New monitor
2022-02-25 20:57:34 +08:00
DDDHuang
103df6f06b
fix: dashboard monitor bpapi
2022-02-25 18:38:10 +08:00
zhongwencool
8d26ba6e9f
Merge pull request #7108 from thalesmg/fix-sys-mon-portinfo
...
fix(sys_mon): guard before calling `erlang:port_info`
2022-02-25 17:38:24 +08:00
DDDHuang
00b83121a4
fix(test): add api test SUITE & bug fix
2022-02-25 17:36:07 +08:00
DDDHuang
c21bc9d329
feat: dashboard monitor granularity adapter
2022-02-25 17:36:07 +08:00
DDDHuang
a88e8b0c9e
fix(doc): remove annotation
2022-02-25 17:36:07 +08:00
DDDHuang
8c1c87a8d6
fix(test): add monitor SUITE, TODO: API Test SUITE
2022-02-25 17:36:07 +08:00
DDDHuang
fedfa6c653
feat: monitor api, TODO: test suite
2022-02-25 17:36:07 +08:00
DDDHuang
21b9943df9
feat: new monitor TODO: API
2022-02-25 17:36:07 +08:00
DDDHuang
f4a669b3bc
fix(doc): reflactor monitor
2022-02-25 17:36:07 +08:00
zhongwencool
13a0eff678
Merge pull request #7125 from zhongwencool/schema-json
...
feat: generate hot config's schema.json and remove nullable option.
2022-02-25 17:18:20 +08:00
JianBo He
f45a00f3c1
Merge pull request #7126 from HJianBo/force-kill-takeover-failure-proc-5.0
...
refactor(cm): force kill the proc that failed to response takeover call
2022-02-25 17:11:37 +08:00
EMQ-YangM
e54f4b75da
fix(emqx_connector): fix resource status
2022-02-25 16:47:32 +08:00
JianBo He
829fa2004a
Merge pull request #7136 from lafirest/fix/delayed_publish
...
fix(emqx_delayed): fix config update not working
2022-02-25 16:10:32 +08:00
Zhongwen Deng
1667a03c18
chore: rename hot-config-schema.json; keep schema.json for spellcheck.
2022-02-25 16:04:30 +08:00
EMQ-YangM
fa21fa2432
fix(emqx_bridge): fix bridge status
2022-02-25 15:26:40 +08:00
EMQ-YangM
376c9ee261
refactor(emqx_resource): change the status of emqx_resource to 'connected/connecting/disconnecting'
2022-02-25 15:02:41 +08:00
Zhongwen Deng
3aa9afc5bf
fix: rpc get node info maybe crash when emqx_sys process is not start yet.
2022-02-25 14:20:19 +08:00
Zhongwen Deng
4eec83b0e5
fix: memsup's memory alway false.
2022-02-25 14:19:57 +08:00
firest
2053d21bd5
fix(emqx_delayed): fix config update not working
2022-02-25 11:24:30 +08:00
firest
19d4dabd04
fix(emqx_retainer): fix test case error
2022-02-25 10:08:44 +08:00
Thales Macedo Garitezi
0e319d5e4e
fix: rm useless `catch`
2022-02-24 16:28:00 -03:00
Thales Macedo Garitezi
427866f8ad
test(sys_mon): add test for closed port
2022-02-24 15:13:18 -03:00
Thales Macedo Garitezi
b46af91e74
test: disable export warning during tests
2022-02-24 14:20:36 -03:00
Thales Macedo Garitezi
60e791e0e3
test: add test case for elixir plugin
2022-02-24 14:20:36 -03:00
Thales Macedo Garitezi
d89925ce7b
fix(sys_mon): guard before calling `erlang:port_info`
...
Sometimes, the `emqx_sys_mon:procinfo/1` might be called with
something that is not a port, like `[]`. Not sure on the conditions
for this to happen.
```
2022-02-18T20:05:02.671592+00:00 [error] Generic server emqx_sys_mon terminating. Reason: {badarg,[{erlang,port_info,[[]],[{error_info,#{module => erl_erts_errors}}]},{emqx_sys_mon,portinfo,1,[{file,"/emqx/apps/emqx/src/emqx_sys_mon.erl"},{line,205}]},{emqx_sys_mon,'-handle_info/2-fun-5-',2,[{file,"/emqx/apps/emqx/src/emqx_sys_mon.erl"},{line,150}]},{emqx_sys_mon,suppress,3,[{file,"/emqx/apps/emqx/src/emqx_sys_mon.erl"},{line,184}]},{gen_server,try_dispatch,4,[{file,"gen_server.erl"},{line,695}]},{gen_server,handle_msg,6,[{file,"gen_server.erl"},{line,771}]},{proc_lib,wake_up,3,[{file,"proc_lib.erl"},{line,236}]}]}. Last message: {monitor,<0.7796.0>,busy_dist_port,[]}. State: #{events => [{busy_dist_port,#Port<0.127>}],timer => #Ref<0.2758388682.1853620226.133920>}.
```
2022-02-24 14:07:09 -03:00
Zhongwen Deng
114db2d14e
chore: fix ct failed
2022-02-25 00:01:39 +08:00
Zhongwen Deng
db584f79d6
feat: upgrade hocon to 0.25.0 to replace nullable with required.
2022-02-24 22:39:03 +08:00
Chris Hicks
2b8bcfac5e
Merge pull request #7127 from mononym/EMQX3142-my-sql
...
refactor(emqx_connector): refactor mysql tests to use resource api
2022-02-24 14:08:21 +01:00
JianBo He
ffafbfaaa6
test(cm): refine testcases
2022-02-24 21:00:54 +08:00
JianBo He
9c1fe4336b
refactor(cm): force kill the proc that failed to response takeover call
...
port from: #7026
2022-02-24 21:00:45 +08:00
firest
5bf1d77993
refactor(emqx_retainer): use hierarchical limiter for the flow control
2022-02-24 18:06:40 +08:00
Chris Hicks
f7d78d0600
Merge pull request #7003 from mononym/EMQX-3145-redis
...
feat: add basic redis tests and bring redis connector module in line …
2022-02-24 10:38:41 +01:00
JianBo He
fa921775e7
Merge pull request #6999 from lafirest/feat/esockd_limiter
...
feat(emqx_limiter): use hierarchical limiter for esockd
2022-02-24 17:33:51 +08:00
Chris
7e20369253
refactor(emqx_connector): refactor mysql tests to use resource api
2022-02-24 09:56:53 +01:00
Chris Hicks
a1dbe6f31c
Merge pull request #7123 from mononym/EMQX-3143-postgre-sql
...
refactor: update postgres connector tests to use resource apis
2022-02-24 09:13:38 +01:00
Zhongwen Deng
334d315838
feat: gen hot conf schema.json.
2022-02-24 15:46:51 +08:00
Zhongwen Deng
574bbafc9b
fix(schema): Ensure enum is atom or int.
2022-02-24 15:36:04 +08:00
JimMoen
cf61349aef
test(api_metrics): test `node_metrics` without aggergate
2022-02-24 11:33:10 +08:00
JimMoen
806cf3719b
refactor(api): api_nodes spec use dashboard_swagger
2022-02-24 11:33:10 +08:00
Chris
d306baf92f
feat: add basic redis tests
2022-02-23 15:25:11 +01:00
Chris
5c6e3fce6a
refactor: update postgres connector tests to use resource apis
2022-02-23 14:37:51 +01:00
Thales Macedo Garitezi
278361e6b6
Merge pull request #7110 from thalesmg/fix-flaky-order-prop
...
test(fix): fix flaky prop
2022-02-23 09:09:23 -03:00
Zaiming (Stone) Shi
e6380a1911
Merge pull request #7104 from zmstone/fix-windows-build-5.0
...
[5.0] Fix windows build
2022-02-23 10:22:45 +01:00
JimMoen
7eb3c0d4e5
Merge pull request #7099 from HJianBo/swagger_api_mgmt_metrics
...
refactor(mgmt): refactor api_metrics with dashboard_swagger
2022-02-23 16:34:14 +08:00
zhongwencool
b7f808db9e
Merge pull request #7027 from DDDHuang/error_code
...
feat: support http error code & error code api
2022-02-23 16:12:20 +08:00
JianBo He
4b04dfa85f
fix(mgmt): fix api_metrics case_clause
...
Co-authored-by: JimMoen <LnJimMoen@outlook.com>
2022-02-23 15:45:21 +08:00
firest
511be52326
fix(emqx_limiter): fix dialyzer error
2022-02-23 10:29:25 +08:00
firest
c027eee151
fix(emqx_slow_subs): relax the check range of the test case
2022-02-23 10:15:53 +08:00
firest
e1875880bb
fix(emqx_limiter): rename emqx_htb_generic to emqx_esockd_htb_limiter
2022-02-23 09:56:26 +08:00
Zaiming (Stone) Shi
08d1b38bbe
chore: refine console printout about quic not started
2022-02-22 22:33:33 +01:00
Thales Macedo Garitezi
8141c38ce1
test(fix): fix flaky prop
...
Failing when duplicate elements were being generated.
```
An exception was raised: error:{assertEqual,
[{module,emqx_hooks_SUITE},
{line,65},
{expression,"Order"},
{expected,
[{5,'',''},
{5,'',''},
{4,'\223',''},
{2,'}Ijrµ\036',''}]},
{value,
[{5,'',''},
{4,'\223',''},
{2,'}Ijrµ\036',''}]}]}.
```
2022-02-22 17:57:00 -03:00
Thales Macedo Garitezi
b784c2e1ec
refactor: allow testing different plugin repos more easily
2022-02-22 15:03:53 -03:00
Thales Macedo Garitezi
3d19e77f00
Merge pull request #7090 from thalesmg/fix-use-tags-in-deps
...
fix(deps): use tags for dependencies
2022-02-22 09:09:37 -03:00
JimMoen
d735fecfba
Merge pull request #7097 from JimMoen/fix-stomp-conninfo
...
fix(gateway): enrich stomp conninfo before run hooks
2022-02-22 18:26:03 +08:00
JianBo He
073743cd57
Merge pull request #7098 from HJianBo/autosubs
...
Gateway should ignore the `{subscribe, TopicTabels}` message produced by auto-subscribe module
2022-02-22 17:21:06 +08:00
Dmitrii
f5d50f8461
Merge pull request #7091 from ieQu1/doc-schema
...
docs(node): Add documentation for the node
2022-02-22 10:16:23 +01:00
DDDHuang
ea860f1ca6
fix: emqx_cluster_rpc start link
2022-02-22 17:14:35 +08:00
DDDHuang
240bac0235
fix(api): bridge api bad spec
2022-02-22 17:14:35 +08:00
DDDHuang
a5d8f2ce3b
fix(api): banned api error code format
2022-02-22 17:14:35 +08:00
DDDHuang
98a11f3c15
fix(api): emqx_connector_api error code format
2022-02-22 17:14:35 +08:00
DDDHuang
90ee450a84
feat: support http error code & error code api
2022-02-22 17:14:35 +08:00
JianBo He
42da72309a
refactor(mgmt): refactor api_metrics with dashboard_swagger
2022-02-22 16:56:14 +08:00
JianBo He
20e3b721a8
chore(gw): ignore auto-subscribe msg
2022-02-22 15:43:04 +08:00
JimMoen
05f1593386
fix(gateway): enrich stomp conninfo before run hooks
2022-02-22 15:42:21 +08:00
JianBo He
cc3a4f0c5f
chore: don't send subscribe msg if topic list is empty
2022-02-22 14:42:10 +08:00
JimMoen
437feefdc0
fix(channel): server_keepalive only for MQTT v5.0
2022-02-22 10:50:49 +08:00
ieQu1
2b2c6a4d1b
docs(node): Add documentation for the node
2022-02-21 19:53:11 +01:00
Thales Macedo Garitezi
16ad442bc3
fix(deps): use tags for dependencies
...
Some dependencies, like `bcrypt` and `quic`, have their references
declared as `branch`, yet there are no branches with those names, but
tags. Despite rebar3 managing somehow to handle that, if a project
managed by Mix tries to declare EMQX as its dependency, it's not able
to fetch those dependencies.
```
$ mix deps.get
* Updating emqx (https://github.com/emqx/emqx - v5.0-beta.3)
* Updating lc (https://github.com/qzhuyan/lc.git - 0.1.2)
* Updating gproc (https://github.com/uwiger/gproc - 0.8.0)
* Updating typerefl (https://github.com/k32/typerefl - 0.8.6)
* Updating jiffy (https://github.com/emqx/jiffy - 1.0.5)
* Updating cowboy (https://github.com/emqx/cowboy - 2.9.0)
* Updating esockd (https://github.com/emqx/esockd - 5.9.0)
* Updating ekka (https://github.com/emqx/ekka - 0.11.1)
* Updating gen_rpc (https://github.com/emqx/gen_rpc - 2.5.1)
* Updating hocon (https://github.com/emqx/hocon.git - 0.22.1)
* Updating pbkdf2 (https://github.com/emqx/erlang-pbkdf2.git - 2.0.4)
* Updating recon (https://github.com/ferd/recon - 2.5.1)
* Updating snabbkaffe (https://github.com/kafka4beam/snabbkaffe.git - 0.16.0)
* Updating bcrypt (https://github.com/emqx/erlang-bcrypt.git - origin/0.6.0)
error: pathspec 'origin/0.6.0' did not match any file(s) known to git
** (Mix) Command "git --git-dir=.git checkout --quiet origin/0.6.0" failed
```
Therefore, we change them to `tag`s.
2022-02-21 15:36:24 -03:00
JimMoen
e816e3e4a3
Merge pull request #7075 from JimMoen/refactor-authz-sources-api
...
refactor: authz_api_sources swagger spec
2022-02-22 01:24:42 +08:00
Zhongwen Deng
9f9bf059b9
fix(schema): remove unuse to_bin function; simplify body schema.
2022-02-21 23:02:49 +08:00
k32
d4458618b2
fix(hook): Executed hooks in deterministic order
2022-02-21 14:27:24 +01:00
JimMoen
4d5ee355bb
fix(authz): authz http pool_type use default value `random`
2022-02-21 18:09:04 +08:00
k32
115c3f2d29
chore: Fix URLs
2022-02-21 10:13:09 +01:00
Ilya Averyanov
2aeb1bc0e8
Merge pull request #7059 from savonarola/elixir-stylecheck
...
chore(codestyle): add formatting check for Elixir code
2022-02-21 11:43:14 +03:00
JimMoen
eaa659f2a1
refactor: authz_api_settings refactor with hoconsc
2022-02-21 16:40:47 +08:00
JimMoen
ff68e2a20f
fix(http): connector and authn/authz http `keep-alive` default 30s , max 1000
2022-02-21 16:35:15 +08:00
JimMoen
000020617c
refactor: authz_api_sources spec
2022-02-21 16:33:08 +08:00
lafirest
be2c36cfa0
feat(emqx_limiter): use hierarchical limiter for esockd
2022-02-21 11:37:38 +08:00
Zaiming (Stone) Shi
1be3eb1446
chore: rename EMQX Broker to just EMQX
2022-02-19 12:51:34 +01:00
k32
9fb35a1d64
docs: Fix typo
...
Co-authored-by: Thales Macedo Garitezi <thalesmg@gmail.com>
2022-02-18 18:35:16 +01:00
Ilya Averyanov
634d861b90
chore(codestyle): add formatting check for Elixir code
2022-02-18 19:43:48 +03:00
k32
1c62c6e60b
docs: Add documentation for the sysmon roots
2022-02-18 16:26:18 +01:00
k32
8566d2e246
Merge pull request #7051 from k32/schema-typos
...
docs: Fix typos
2022-02-18 15:38:51 +01:00
Zaiming (Stone) Shi
e330f789af
fix(ekka): pin version 0.12.1
...
print lock owner status before killing it
2022-02-18 09:19:57 +01:00
Zaiming (Stone) Shi
25c535effa
Merge pull request #7039 from zmstone/refactor-mgmt-api-node-info
...
Refactor: mgmt api node info
2022-02-18 09:02:29 +01:00
zhongwencool
0b74373464
Merge pull request #7043 from lafirest/test/ratelimiter
...
test(emqx_limiter): improve the code coverage of RateLimit to 87%
2022-02-18 09:59:23 +08:00
k32
5638bcb92b
docs: Fix typos
2022-02-17 23:22:31 +01:00
Zaiming (Stone) Shi
8f203696ed
refactor(emqx_mgmt_api_nodes): delete config_path
...
config path is not always relative to file:get_cwd.
also rephrase some of the descriptions
2022-02-17 21:15:03 +01:00
Zaiming (Stone) Shi
2a6d11c7f1
Merge pull request #7038 from zmstone/chore-rename-emqx-no-space-source-code
...
chore: EMQ X -> EMQX in source code
2022-02-17 21:13:43 +01:00
Zaiming (Stone) Shi
6a354d910e
chore: rename EMQ_X to EMQX in hrl file macros
2022-02-17 15:55:46 +01:00
zhongwencool
c88504f918
Merge pull request #7023 from zhongwencool/license-alarm-support
...
License alarm support
2022-02-17 22:09:51 +08:00
lafirest
3c92906405
test(emqx_limiter): improve the code coverage of RateLimit to 87%
2022-02-17 14:50:27 +08:00
lafirest
6f1431d283
Merge pull request #7008 from lafirest/fix/flakey_test
...
fix(emqx_slow_subs): fix flakey test case
2022-02-17 14:14:17 +08:00
Zaiming (Stone) Shi
64db085163
chore: EMQ X -> EMQX in source code
2022-02-16 22:08:12 +01:00
Zaiming (Stone) Shi
0528262705
chore(app.src): EMQ X -> EMQX in .app.src files
2022-02-16 17:51:45 +01:00
Zaiming (Stone) Shi
b3d9605722
chore(conf): EMQ X -> EMQX in conf files
2022-02-16 17:50:41 +01:00
k32
e2e92e9a46
Merge pull request #7032 from k32/fix-prom-mria
...
fix(prometheus): Convert all non-numeric values to undefined
2022-02-16 15:48:06 +01:00
k32
0922f3bde3
fix(prometheus): Convert all non-numeric values to undefined
2022-02-16 14:45:30 +01:00
Zaiming (Stone) Shi
79d7832a07
Merge pull request #7020 from zmstone/docs-more-renames-in-descriptive-info
...
docs: More EMQ X -> EMQX rename in descriptive strings
2022-02-16 13:43:19 +01:00
zhongwencool
310a97305a
Merge pull request #6997 from zhongwencool/epoch-rfc3339-convert
...
feat(schema): schema support epoch_second, epoch_millisecond type.
2022-02-16 16:51:38 +08:00
Yang Miao
78cad0a528
Merge pull request #6989 from EMQ-YangM/up_master
...
refactor(emqx_resource): Improve grouping strategy for emqx_resource_instance
2022-02-16 16:26:28 +08:00
lafirest
7b49daba1f
fix(emqx_slow_subs): fix test case error
2022-02-16 15:10:23 +08:00
zhongwencool
34fe5082c4
fix(schema): schema global validations not working
2022-02-16 14:20:15 +08:00
EMQ-YangM
f70fc1a3b0
fix(emqx_bridge, emqx_retainer): hard code group name
2022-02-16 14:02:13 +08:00
Zaiming (Stone) Shi
2e94880bb6
docs: More EMQ X -> EMQX rename in descriptive strings
2022-02-15 22:39:11 +01:00
k32
689ea6546e
Merge pull request #7018 from k32/mria-prom-metrics
...
feat(mria): Add prometheus metrics
2022-02-15 21:26:25 +01:00
k32
c00f4ef83c
fix: Add replayq_len
...
Co-authored-by: Thales Macedo Garitezi <thalesmg@gmail.com>
2022-02-15 20:02:46 +01:00
k32
6d49754988
feat(mria): Add prometheus metrics
2022-02-15 19:10:05 +01:00
Zaiming (Stone) Shi
667d66eb1e
docs(README): EMQ X -> EMQX
2022-02-15 16:19:26 +01:00
lafirest
1dbfe0dce6
Merge pull request #7012 from lafirest/fix/trap_exit
...
fix(emqx_slow_subs): add trap exit flag
2022-02-15 17:38:21 +08:00
lafirest
1724536afa
Merge pull request #7011 from lafirest/fix/exhook_ssl
...
fix(emqx_exhook): replace ssl-config schema with emqx_schema:client_s…
2022-02-15 16:55:12 +08:00
lafirest
667dccc3f6
fix(emqx_slow_subs): add trap exit flag
2022-02-15 16:44:15 +08:00
lafirest
28bf20a366
fix(emqx_exhook): replace ssl-config schema with emqx_schema:client_ssl_opts_schema
2022-02-15 16:25:23 +08:00
JimMoen
0c108035a8
test(connector): connector require `ecpool` start
2022-02-15 12:45:50 +08:00
JimMoen
23c6a404b9
test(connector): avoid define macro duplicate
2022-02-15 10:42:08 +08:00
JimMoen
0e5105db6e
test(authn): mongo health check more than once
2022-02-15 10:41:26 +08:00
JimMoen
2a1fba97da
test(auth): resource use connector provided default port
2022-02-15 10:41:26 +08:00
JimMoen
28735dc6d7
refactor(connector): parse servers for `rs` and `sharded` mongo_type
2022-02-15 10:41:26 +08:00
lafirest
65fa7a85ad
fix(emqx_slow_subs): fix flakey test case
2022-02-15 10:33:53 +08:00
JimMoen
ab7c2b72e3
refactor(connector): db connector provide default port
2022-02-15 00:51:48 +08:00
Chris Hicks
15d3e86089
Merge pull request #7002 from mononym/EMQX-3144-mongo-db
...
feat: add basic mongodb test suite
2022-02-14 14:57:22 +01:00
Chris Hicks
b1fbc08e3e
Merge pull request #6976 from mononym/EMQX3142-my-sql
...
feat: Add mysql tests for connector
2022-02-14 14:22:15 +01:00
Chris
7962583ac8
feat: add basic mongodb test suite
2022-02-14 13:11:15 +01:00
JianBo He
3f8c0072ce
Merge pull request #6986 from HJianBo/more-fields-for-client-online-offline
...
feat(event): add `connected_at` into client_disconnected event
2022-02-14 18:06:50 +08:00
EMQ-YangM
48942f9c93
refactor(emqx_resource): move unused macro to test
2022-02-14 17:40:39 +08:00
Chris
c635e7306d
feat: Add mysql tests for connector
2022-02-14 10:31:04 +01:00
zhongwencool
1413809b81
Merge pull request #6948 from zhongwencool/fix-watermark-master
...
fix(watermark): watermark should use > instead of >=
2022-02-14 16:11:47 +08:00
zhongwencool
80169ccb68
chore: add more eunit for emqx_datetime
2022-02-14 15:30:03 +08:00
JianBo He
229a62bcc9
Merge pull request #6988 from HJianBo/acl-metrics-add
...
feat(metrics): add acl metrics statistics
2022-02-14 15:06:04 +08:00
EMQ-YangM
75b2963efc
test(authn,authz): fix create function
2022-02-14 14:10:10 +08:00
zhongwencool
498434826a
feat(schema): schema support epoch_second, epoch_millisecond type.
2022-02-14 11:35:32 +08:00
Zaiming (Stone) Shi
b9343891e4
Merge pull request #6946 from zmstone/refactor-license-simplify-parser-error
...
refactor: treat throw exception as `{error, Reason}` return
2022-02-11 19:09:40 +01:00
Zaiming (Stone) Shi
e2a67760b1
fix(emqx_authz_file): throw exception for catch
2022-02-11 17:16:00 +01:00
Ilya Averyanov
5f32d4cbd8
chore(mongo): reduce test flackyness
2022-02-11 15:52:35 +03:00
EMQ-YangM
79badcb403
fix(emqx_retainer): fix function 'create_resource'
2022-02-11 18:36:55 +08:00
EMQ-YangM
fae91d72f2
fix(emqx_authz): fix function 'create_resource'
2022-02-11 18:36:55 +08:00
EMQ-YangM
580901b678
fix(emqx_authn): fix create api
2022-02-11 18:36:55 +08:00
EMQ-YangM
d8819559f7
fix(emqx_resource): fix emqx_bridge create
2022-02-11 18:36:55 +08:00
EMQ-YangM
df57daaabb
refactor(emqx_resource): improve grouping strategy for emqx_resource_instance
2022-02-11 18:36:55 +08:00
JianBo He
f471214956
feat(metrics): add acl metrics statistics
2022-02-11 15:20:18 +08:00
JianBo He
e895de2c5e
Merge branch 'master' into port/slow_subs
2022-02-11 14:37:10 +08:00
zhongwencool
9d5a7ead0c
Merge pull request #6984 from zhongwencool/improve-qos-type
...
chore(schema): use emqx_schema:qos() instead of union integer.
2022-02-11 12:17:38 +08:00
JianBo He
29af3d4023
Merge pull request #6982 from lafirest/fix/ssl_verify
...
fix(emqx_exhook): add verify field in the ssl conf
2022-02-11 11:26:27 +08:00
DDDHuang
fbefc92178
Merge pull request #6969 from DDDHuang/ws_client_metrics
...
feat(metrics): ws client support more send&recv metrics
2022-02-11 11:14:56 +08:00
JianBo He
94609e31e4
feat(event): add `connected_at` into client_disconnected event
...
port from v4.3: https://github.com/emqx/emqx/pull/6822
2022-02-11 11:01:59 +08:00
zhongwencool
372f628c9e
Merge pull request #6980 from thalesmg/bugfix-find-alias-clause-50
...
fix(channel): wrong case clause when alias is inexistent (5.0)
2022-02-11 10:38:31 +08:00
zhongwencool
f5415589e9
chore(schema): use emqx_schema:qos() instead of union integer.
2022-02-11 10:09:59 +08:00
DDDHuang
511060adb4
fix(test): ws conn metrics
2022-02-11 09:38:41 +08:00
DDDHuang
0826084ce9
feat(metrics): ws client support more send&recv metrics
2022-02-11 09:38:41 +08:00
DDDHuang
97e22cc6a8
Merge pull request #6971 from DDDHuang/ab_hocon
...
fix(api): auto subscribe api hocon support
2022-02-11 09:33:12 +08:00
firest
4063bcea9f
fix(emqx_exhook): add verify field in the ssl conf
2022-02-11 06:24:05 +08:00
Thales Macedo Garitezi
609d8a5efa
fix(channel): wrong case clause when alias is inexistent (5.0)
...
Fixes #6978 .
2022-02-10 16:23:54 -03:00
Chris Hicks
ddbb78557a
Merge pull request #6958 from mononym/EMQX-3143-postgre-sql
...
feat: create tests for connector pgsql module and refactoring
2022-02-10 14:41:10 +01:00
Zaiming (Stone) Shi
91366a71a4
fix: try Expr of only catches exceptions in Expr but not cases clauses
2022-02-10 13:12:22 +01:00
Zaiming (Stone) Shi
7363e6b1fd
fix(emqx_conf): fix MFA arity type spec
2022-02-10 12:40:46 +01:00
Zaiming (Stone) Shi
49d3163471
fix(emqx_cluster_rpc): do not log throw stacktrace
...
also not logging the call arguments as it may containe sensitive info
2022-02-10 12:40:46 +01:00
Zaiming (Stone) Shi
a86b684535
fix(emqx_config_handler): do not log throw exception
2022-02-10 12:40:46 +01:00
Zaiming (Stone) Shi
774c0a3d7f
chore: remove a space from CLI command cluster_call usage printout
2022-02-10 12:40:46 +01:00
Chris Hicks
c456434e38
Merge pull request #6954 from mononym/remove_unused_functions_from_resource_and_connector
...
refactor: remove unused/old functions
2022-02-10 11:10:20 +01:00
JianBo He
9f648631fe
Merge pull request #6964 from HJianBo/fix_stomp_unexpected_linefeed_for_5
...
fix(stomp): fix unexpected_linefeed error if the packet truncated on …
2022-02-10 17:52:41 +08:00
Chris
14630568d6
feat: create tests for connector pgsql module and refactoring
2022-02-10 10:40:46 +01:00
firest
361ca5be42
fix(emqx_slow_subs): change rpc call to bpapi
2022-02-10 17:40:19 +08:00
firest
b9884de1d0
fix: fix proper test error
2022-02-10 16:09:17 +08:00
DDDHuang
5d17bd8441
fix(api): auto subscribe api hocon support
2022-02-10 15:40:12 +08:00
firest
2fcc24dea6
fix(emqx_slow_subs): fix test case error
2022-02-10 15:16:37 +08:00
lafirest
b09683bfcd
fix(emqx_slow_subs): fix some errors and test cases
2022-02-10 14:55:19 +08:00
lafirest
0c48bd92db
feat: port slow subs from v4.4
2022-02-10 14:51:37 +08:00
JianBo He
e2b330e8be
fix(stomp): fix unexpected_linefeed error if the packet truncated on headers
2022-02-10 12:26:13 +08:00
DDDHuang
29790a0c1e
fix(test): ifdb test SUITE & version compatibility
2022-02-10 10:33:39 +08:00
DDDHuang
fbb8f46fcd
fix(api): qos shcema & code formate
2022-02-10 10:33:39 +08:00
DDDHuang
471e867bf3
fix(api): rename client info recv_msg.dropped.await_pubrel_timeout
2022-02-10 10:33:25 +08:00
Shawn
fd87bce8f7
Merge pull request #6950 from terry-xiaoyu/remove_extra_spaces
...
fix: format the code to remove extra spaces
2022-02-10 09:35:18 +08:00
Thales Macedo Garitezi
e861f3963e
Merge pull request #6947 from thalesmg/fix-mgmt-cluster-print
...
fix(ctl): fix formatting when printing messages without arguments
2022-02-09 11:50:59 -03:00
Shawn
81edbd232d
fix: reformat some code style
2022-02-09 18:57:36 +08:00
Shawn
8207090419
fix: format the code to remove extra spaces
2022-02-09 18:46:49 +08:00
Shawn
e6997dc1ce
Merge pull request #6942 from terry-xiaoyu/hook_delivery_drop
...
Hook delivery drop
2022-02-09 18:28:56 +08:00
Chris
c2772fdd09
refactor: remove unused/old functions
2022-02-09 10:14:13 +01:00
zhongwencool
94b0676ac6
Merge pull request #6922 from k32/static-seeds-type
...
refactor(schema): Refactor cluster_static seeds type
2022-02-09 16:34:30 +08:00
zhongwencool
47b1dde7fd
Merge pull request #6949 from zhongwencool/add-qos-type
...
feat(schema): support qos type.
2022-02-09 16:13:11 +08:00
Chris Hicks
bf4672b863
Merge pull request #6917 from mononym/EMQX-3155-emqx-connector-and-emqx-bridge-test-suites-rely-on-leftover-test-state-from-the-emqx-dashboard-tests
...
fix: decouple suite tests
2022-02-09 09:03:01 +01:00
Shawn
9118cfb4ad
fix(connection): revert metric names for 'recv_msg.dropped.await_pubrel_timeout'
2022-02-09 15:41:28 +08:00
zhongwencool
36cf00108c
feat(schema): support qos type.
2022-02-09 15:16:43 +08:00
Yang Miao
e9c65447c4
Merge pull request #6863 from EMQ-YangM/fix_hc
...
fix(emqx_resource_instance): create health_check process when create …
2022-02-09 13:36:34 +08:00
Shawn
e220810b90
fix(sn): update calling to session APIs
2022-02-09 12:08:06 +08:00
zhongwencool
b2d77cac39
fix(watermark): watermark should use greater than(>), not greater than or equal to(>=).
2022-02-09 11:17:45 +08:00
Shawn
ce05c14ef2
Merge pull request #6936 from terry-xiaoyu/empty_rule_id
...
fix(rule): deny POST empty rule ids
2022-02-09 10:16:27 +08:00
lafirest
de75edd176
Merge pull request #6925 from lafirest/fix/flaky-test
...
fix(emqx_ratelimiter): relax the rate bound of test cases
2022-02-09 10:01:38 +08:00
Thales Macedo Garitezi
152bbe6bb3
refactor: rm unused fn
2022-02-08 18:18:18 -03:00
Thales Macedo Garitezi
01794c2d2c
fix(ctl): fix formatting when printing messages without arguments
...
Without passing an empty argument list to `emqx_ctl:print`, formatting
instructions like `~n` are being printed literally.
```
Ignore.~nJoin the cluster successfully.~nCluster status: #{running_nodes =>
['emqx@emqx-0.int.thalesmg','emqx@emqx-1.int.thalesmg',
'emqx@emqx-2.int.thalesmg','emqx@emqx-3.int.thalesmg',
'emqx@emqx-4.int.thalesmg'],
stopped_nodes => []}
```
2022-02-08 17:48:19 -03:00
Chris
d0b0b05aa4
fix: decouple suite tests
2022-02-08 14:53:01 +01:00
Shawn
b69dca4f08
feat(rule): add testcase for '/delivery_dropped'
2022-02-08 20:37:40 +08:00
k32
5a1b18ae86
fix(system_monitor): Fix conditional start
2022-02-08 12:46:27 +01:00
Shawn
707284db31
fix(session): update calling to session APIs
2022-02-08 18:49:38 +08:00
Shawn
93092657b9
fix(session): update testcases
2022-02-08 18:33:06 +08:00
zhongwencool
3b4eade1ad
Merge pull request #6900 from zhongwencool/restricted-shell
...
feat(shell): add restricted shell and user_default
2022-02-08 17:25:28 +08:00
Shawn
2879001694
fix(metrics): rename metrics 'messages.dropped.expired' to 'messages.dropped.await_pubrel_timeout'
2022-02-08 17:14:59 +08:00
Shawn
06168f7080
refactor(session): pass ClientInfo as first params to APIs of emqx_session
2022-02-08 16:52:47 +08:00
zhongwencool
f3fa302d84
chore: print only the port number when bound on all interfaces.
2022-02-08 15:25:22 +08:00
zhongwencool
5f2618912f
chore(format): format port by ts
2022-02-08 11:03:54 +08:00
zhongwencool
00fe866392
chore(test): add restricted_shell CT test.
2022-02-08 10:49:11 +08:00
Shawn
b2f027bcf7
feat(rule): add 'delivery.dropped' hook for rules
2022-02-08 10:32:25 +08:00
zhongwencool
b50ceac9bb
chore(listener): change the listener binding format 0.0.0.0:port to :port.
2022-02-08 10:28:10 +08:00
Shawn
261e9929b6
fix(rule): deny POST empty rule ids
2022-02-08 09:57:44 +08:00
Ilya Averyanov
17599432d1
feat(license): add license application
2022-02-07 19:05:47 +03:00
k32
9c5d35e0db
chore(ekka): Bump version to 0.12.0
2022-02-07 14:39:43 +01:00
k32
78c762479f
feat(router): Mark CM_SHARD and ROUTE_SHARD as dirty
2022-02-07 12:38:59 +01:00
k32
dbe1282d32
chore(mria): Bump version to 0.2.0
2022-02-07 12:37:13 +01:00
EMQ-YangM
3b3f3fed76
refactor(emqx_resource_instance): add function create_default_checker
2022-02-07 17:49:51 +08:00
EMQ-YangM
8976e25b7a
fix(emqx_resource_instance): create health_check process when create resources synchronously
2022-02-07 17:49:51 +08:00
zhongwencool
f24c05b1bd
chore(shell): make restricted_shell prompt more friendly.
2022-02-07 15:33:59 +08:00
zhongwencool
b189d594c3
chore: fix dialyzer warning.
2022-02-07 15:33:59 +08:00
zhongwencool
3efa583830
feat(shell): add emqx version to prompt.
2022-02-07 15:33:59 +08:00
zhongwencool
6a701e098f
feat(shell): add restricted shell and user_default
2022-02-07 15:33:59 +08:00
lafirest
467bb830b1
fix(emqx_ratelimiter): relax the rate bound of test cases
2022-02-07 13:57:48 +08:00
k32
f699de9773
feat(system_monitor): Bump version to 3.0.0
2022-02-07 02:22:11 +01:00
k32
987945def3
refactor(schema): Refactor cluster_static seeds type
2022-02-04 23:37:59 +01:00
k32
a54b4ddfd0
fix(emqx_schema): Set gen_rpc_client_driver automatically
2022-02-02 13:58:27 +01:00
k32
3050f86f09
Merge pull request #6906 from k32/gen-rpc-docs
...
Gen rpc docs
2022-02-01 13:50:03 +01:00
k32
470db453cb
docs(rpc): Add descriptions for gen_rpc and logger
2022-02-01 01:16:07 +01:00
Zaiming (Stone) Shi
507952c473
feat: dump schema json file to dashbarod static dir
2022-01-31 16:38:41 +01:00
Zaiming (Stone) Shi
fe24892b6d
fix(emqx_limiter): no white space in schema map name
2022-01-31 16:04:37 +01:00
Zaiming (Stone) Shi
f7703c906e
refactor: move plain_check impl to emqx_hocon
2022-01-29 10:16:55 +01:00
zhongwencool
92cbf86951
Merge pull request #6890 from zhongwencool/dashboard-bind-support-ip
...
feat(dashboard): support bind specific ip(port or ip:port).
2022-01-29 16:09:05 +08:00
zhongwencool
928555546d
Merge pull request #6869 from EMQ-YangM/fix_start_pool
...
fix(emqx_connector): when start_pool fails, return error and reason
2022-01-29 10:45:45 +08:00
zhongwencool
8041524d20
chore(dashboard): warning wehn stop dashboard listener not found.
2022-01-29 10:36:53 +08:00
k32
5e01961dba
Merge pull request #6895 from k32/fix-graph
...
fix(emqx_mgmt): Fix network graph
2022-01-28 15:43:55 +01:00
k32
1127057291
fix(emqx_mgmt): Fix network graph
2022-01-28 13:39:27 +01:00
Zaiming (Stone) Shi
bda1b6d35e
Merge pull request #6892 from zmstone/docs-fix-override-conf-note
...
docs: fix override conf note
2022-01-28 12:35:23 +01:00
Zaiming (Stone) Shi
8da27899ea
docs: fix override conf note
2022-01-28 11:05:06 +01:00
zhongwencool
ec5d1b1463
feat(dashboard): support bind specific ip(port or ip:port).
2022-01-28 16:52:03 +08:00
k32
052bd9081d
docs(schema): Fix typos in the schema files
2022-01-27 22:39:19 +01:00
k32
4fe87b5e32
docs(emqx_conf): Fix spelling
2022-01-27 22:32:53 +01:00
Zaiming (Stone) Shi
0cde9e6ecf
Merge pull request #6878 from zmstone/slog-ftw
...
refactor: delete deprecated logging macros
2022-01-27 16:15:47 +01:00
Zaiming (Stone) Shi
d6f7ffec3c
Merge pull request #6881 from zmstone/refactor-upgrade-hocon-0.23.0
...
refactor: upgrade to hocon 0.23.0
2022-01-27 15:48:23 +01:00
zhongwencool
c049e296d4
Merge pull request #6852 from zhongwencool/fix-keepalive-init
...
fix(keepalive): keepalive desc improvement.
2022-01-27 22:41:10 +08:00
Zaiming (Stone) Shi
815c47e169
test: call logger apis directly
2022-01-27 15:19:50 +01:00
Thales Macedo Garitezi
bd0d331b64
Merge pull request #6636 from emqx/elixir-packages-mkII
...
ci(mix): build emqx packages with elixir
2022-01-27 11:10:30 -03:00
k32
8378f52d06
Merge pull request #6882 from kianmeng/fix-typos
...
(docs): fix typos
2022-01-27 13:25:44 +01:00
Kian-Meng Ang
fc92e4c8bf
docs: fix typos
2022-01-27 12:29:38 +01:00
zhongwencool
a7676d0163
fix(doc): Update the documentation/keepalive according to the review.
2022-01-27 18:57:35 +08:00
Zaiming (Stone) Shi
6bf5f2c426
test: fix old hocon API calls
2022-01-27 08:21:31 +01:00
zhongwencool
3ce3c5c805
fix(doc): Update the documentation according to the review
2022-01-27 10:54:11 +08:00
Zaiming (Stone) Shi
cf1f19258e
refactor(emqx_resource): catch only hocon throw exceptions
2022-01-27 00:23:08 +01:00
Zaiming (Stone) Shi
252d7e85d9
refactor: call new hocon apis
2022-01-27 00:23:08 +01:00
Zaiming (Stone) Shi
8c114db168
chore: pin hocon 0.23.0
2022-01-27 00:23:08 +01:00
Zaiming (Stone) Shi
1718360156
refactor: delete deprecated logging macros
2022-01-26 23:25:11 +01:00
Zaiming (Stone) Shi
586ecaf031
refactor(exhook): log with ?SLOG macro
2022-01-26 22:29:06 +01:00
Zaiming (Stone) Shi
9946f2ecf4
refactor: remove dollar sign from config fields
2022-01-26 22:19:01 +01:00
Thales Macedo Garitezi
d6a9a73431
Merge pull request #6874 from emqx/bump-ekka-0-11-3
...
chore(ekka): update ekka -> 0.11.3
2022-01-26 17:06:56 -03:00
Thales Macedo Garitezi
12f1757328
chore(mix): fix include path for mix
2022-01-26 16:59:50 -03:00
Ilya Averyanov
5ed27f92b7
Merge pull request #6855 from savonarola/ph-interpolation
...
refactor(authn,authz): unify variable interpolation
2022-01-26 21:01:11 +03:00
Thales Macedo Garitezi
f34e87daeb
chore(ekka): update ekka -> 0.11.3
...
This ekka tag contains the core node discovery callback feature.
2022-01-26 14:19:39 -03:00
Zaiming (Stone) Shi
b9e507110c
build: add EMQX_ENTERPRISE compile flag
2022-01-26 14:25:59 +01:00
Zaiming (Stone) Shi
391e480824
build: parameterise package version
...
so that community and enterprise edition can be built from the
same branch
2022-01-26 14:25:59 +01:00
k32
6f8aa016c3
test(bapapi): Print errors to the console
2022-01-26 11:59:32 +01:00
k32
bdc6d18589
feat(bpapi): Version negotiation
2022-01-26 11:59:21 +01:00
zhongwencool
abc0a3526e
fix(keepalive): keepalive init with right recv_oct
2022-01-26 18:27:15 +08:00
zhongwencool
e458d4790c
chore(docs): update mqtt schema desc
2022-01-26 16:38:24 +08:00
EMQ-YangM
e9f3fa7b6b
fix(emqx_connector): when start_pool fails, return error and reason
2022-01-26 16:07:46 +08:00
lafirest
2522a36b0c
Merge pull request #6862 from lafirest/fix/coap
...
fix(emqx_coap): handle invalid query string in parse
2022-01-26 14:30:50 +08:00
lafirest
d422afdf0d
Merge pull request #6864 from lafirest/fix/ignore_auto_sub
...
fix(emqx_coap): ignore auto subscribe
2022-01-26 13:38:29 +08:00
zhongwencool
53b707b9f8
Merge pull request #6845 from zmstone/refactor-config-3-layers
...
Refactor config 3 layers
2022-01-26 11:28:10 +08:00
firest
97c18bb0f2
fix(emqx_coap): ignore auto subscribe
2022-01-26 11:25:24 +08:00
firest
a544f162c9
fix(emqx_coap): handle invalid query string in parse
2022-01-26 11:08:12 +08:00
Yang Miao
2ea4c1c7ef
Merge pull request #6816 from EMQ-YangM/moreReason
...
fix(emqx_plugin_libs_pool): throw error with Reason
2022-01-26 10:42:49 +08:00
JimMoen
05d6c40717
Merge pull request #6848 from JimMoen/refactor-api
...
refactor api swagger spec via hoconsc
2022-01-26 09:49:23 +08:00
Ilya Averyanov
6441978b08
refactor(authn,authz): unify variable interpolation
2022-01-25 20:54:12 +03:00
Shawn
6affac0fe9
Merge pull request #6780 from EMQ-YangM/moreTest
...
test(emqx_resource): improve emqx_resource test coverage from 73% to 80%
2022-01-25 19:10:28 +08:00
Zaiming (Stone) Shi
2105d1f22b
test: call ct helpers to load config
2022-01-25 11:50:18 +01:00
EMQ-YangM
8cfbdc2730
test(emqx_resource): improve emqx_resource test coverage to 80%
2022-01-25 17:59:29 +08:00
Zaiming (Stone) Shi
2a01c7a077
test: ensure clean config for retainer test
2022-01-25 10:42:19 +01:00
JimMoen
4e9e95c317
fix(swagger): spec remove needless description, fix property name
2022-01-25 15:52:13 +08:00
Zaiming (Stone) Shi
bf7ac80a83
feat: add api to delete override conf files
...
used in tests
2022-01-25 08:29:04 +01:00
EMQ-YangM
d312f315ac
test(emqx_resource_health_check): add more test to
...
health_check_timeout_checker
2022-01-25 15:07:54 +08:00
EMQ-YangM
cb9f14f658
feat(emqx_resource_health_check): add timeout params to health_check_timeout_checker
2022-01-25 14:54:40 +08:00
EMQ-YangM
127384a9ae
test(emqx_resource_SUITE): add more test
2022-01-25 14:39:35 +08:00
JimMoen
d3381710cd
refactor(api): mgmt_status (node running status) swagger spec
2022-01-25 12:22:26 +08:00
JimMoen
8eb7bf261c
refactor(api): mgmt_stats (node internal stats) swagger spec
2022-01-25 12:22:26 +08:00
DDDHuang
e07ecd5211
fix(api): client subscriptions formatter fun bad match
2022-01-25 11:18:01 +08:00
DDDHuang
6b020b4a01
fix(api): query client subscriptions from cluster empty check
2022-01-25 10:56:56 +08:00
Zaiming (Stone) Shi
21183f3b16
docs: fix authz config doc
2022-01-24 13:30:42 +01:00
Zaiming (Stone) Shi
f1937e261c
refactor(emqx_config): apply cluster|local overrides on top of base
2022-01-24 13:30:42 +01:00
EMQ-YangM
11f76db67d
fix(emqx_resource_validator): remove unused code
2022-01-24 16:11:32 +08:00
EMQ-YangM
40b73fb199
fix(emqx_resource_api): remove unused module
2022-01-24 16:11:32 +08:00
Yang Miao
a3e3f2216c
Merge pull request #6793 from EMQ-YangM/health_check_timeout
...
feat(emqx_resource_health_check): add timeout to single health_check
2022-01-24 16:07:43 +08:00
lafirest
232d67f0c0
Merge pull request #6825 from lafirest/fix/exhook_cover
...
fix(emqx_exhook): improve test coverage of the emqx_exhook
2022-01-24 15:34:40 +08:00
Yang Miao
b528862c67
Merge branch 'master' into health_check_timeout
2022-01-24 14:48:55 +08:00
EMQ-YangM
c870a2c78c
test(emqx_resource_health_check): add async_create to create_local
2022-01-24 14:24:31 +08:00
lafirest
2327302c28
fix(emqx_exhook): improve test coverage of the emqx_exhook
2022-01-24 12:20:00 +08:00
EMQ-YangM
8506bed489
fix(emqx_resource_health_check): link heath_check, health_check_timeout_checker
2022-01-24 10:18:18 +08:00
JimMoen
8046f3de6f
Merge pull request #6826 from JimMoen/refactor-event-message-api
...
refactor(api): event_message swagger spec
2022-01-24 09:43:55 +08:00
Ilya Averyanov
7c5e638732
Merge pull request #6832 from savonarola/fix-resource-leakage
...
fix(emqx_resource): fix resource leakage
2022-01-22 01:03:40 +03:00
Ilya Averyanov
acc4ad0542
fix(emqx_resource): fix resource leakage
2022-01-21 22:50:30 +03:00
k32
ffa857ccd9
Merge pull request #6829 from k32/bpapi-lockdown
...
ci(bpapi): Fail static check on BPAPI violations
2022-01-21 16:08:17 +01:00
k32
d90566be5c
ci(bpapi): Fail static check on BPAPI violations
2022-01-21 13:55:09 +01:00
k32
f67278b13d
Merge pull request #6815 from k32/bpapi-gateway
...
Bpapi gateway
2022-01-21 13:18:21 +01:00
firest
1d832c3026
fix(emqx_exhook): improve test coverage of the emqx_exhook_metrics
2022-01-21 18:05:01 +08:00
JimMoen
f30c16e47c
refactor(schema): description use binary
2022-01-21 17:52:57 +08:00
JimMoen
ab94b49762
refactor(api): event_message swagger spec
2022-01-21 17:45:53 +08:00
k32
c4cb9973a6
fix(emqx_gateway): Apply remarks
2022-01-21 10:42:55 +01:00
JimMoen
1a0862913e
refactor(api): swagger api tag `mqtt`
2022-01-21 17:26:54 +08:00
firest
a28d1efd39
fix(emqx_exhook): improve test coverage of the emqx_exhook_mgr
2022-01-21 16:12:21 +08:00
JimMoen
b950042cbf
refactor(api): prometheus swagger spec
2022-01-21 14:09:42 +08:00
DDDHuang
baa56a3416
Merge pull request #6813 from DDDHuang/up_minirest
...
fix(minirest): app version to 1.2.10 support string desc in api spec
2022-01-21 10:40:53 +08:00
DDDHuang
e2ba0fc4ae
fix(minirest): app version to 1.2.10 support string desc in api spec
2022-01-21 09:41:13 +08:00
DDDHuang
5001852c6f
Merge pull request #6812 from DDDHuang/bad_spec
...
fix(api): emqx mgmt api clients bad schema
2022-01-21 09:39:45 +08:00
k32
925654978e
refactor(emqx_gateway): Reuse emqx_gateway_cm APIs
2022-01-20 19:16:30 +01:00
k32
706d9a899a
fix(emqx_gateway_cm): Fix channel ID in set_chan_stats
2022-01-20 18:12:50 +01:00
k32
ab8ab21383
refactor(emqx_gateway): Decorate RPCs
2022-01-20 18:12:50 +01:00
k32
9fad296385
Merge pull request #6809 from k32/bpapi-resource
...
refactor(emqx_resource): Decorate RPCs
2022-01-20 12:54:46 +01:00
EMQ-YangM
78ca7f2521
fix(emqx_plugin_libs_pool): throw error with Reason
2022-01-20 17:54:18 +08:00
DDDHuang
42580ab298
fix(api): emqx_mgmt_api_clients bad schema
2022-01-20 16:32:02 +08:00
JimMoen
f969bc2631
Merge pull request #6802 from JimMoen/refactor-statsd-api
...
refactor(api): statsd api swagger spec
2022-01-20 15:10:17 +08:00
JimMoen
824e7c4662
refactor(api): statsd api swagger spec
2022-01-20 13:51:20 +08:00
JimMoen
e97e7f6fdd
Merge pull request #6762 from JimMoen/refactor-topic-metrics-api
...
refactor(api): topic_metrics api swagger spec
2022-01-20 13:48:58 +08:00
zhongwencool
5bbe2ec1c6
Merge pull request #6766 from zhongwencool/fix-trace-api-return
...
fix(trace): create_trace return new trace; delete_trace return 204
2022-01-20 10:41:45 +08:00
JimMoen
31edd49f76
fix(topic_metrics): `POST` `PUT` need response
2022-01-20 10:15:06 +08:00
JimMoen
f5cfefc0a5
refactor(api): topic_metrics api swagger spec
2022-01-20 10:15:06 +08:00
k32
c2e5dfae97
fix(bpapi): Ignore emqx_plugin_libs_rule:cluster_call/3 function
2022-01-19 22:00:34 +01:00
k32
542c9a2b68
refactor(emqx_resource): Decorate RPCs
2022-01-19 22:00:34 +01:00
k32
177c9c7f77
fix(bpapi): Ignore pmap for now
2022-01-19 19:09:55 +01:00
k32
7061e6eefe
refactor(emqx_exhook): Decorate RPCs
2022-01-19 18:18:20 +01:00
k32
ded45b161a
test(emqx_cm_SUITE): Fix flaky test
2022-01-19 16:48:53 +01:00
k32
a469c466a6
test(emqx_mgmt): Exempt do_query function from BPAPI static check
2022-01-19 16:48:53 +01:00
k32
97078002f2
refactor(emqx_cm): Decorate RPCs
2022-01-19 16:48:53 +01:00
k32
5a9f289f1c
Merge pull request #6801 from k32/bpapi-mgmt3
...
refactor(emqx_mgmt): Decorate get_full_config RPC
2022-01-19 14:42:20 +01:00
k32
80e8790482
Merge pull request #6799 from k32/bpapi-fix-format
...
fix(emqx_mgmt): Fix formatting of client stats
2022-01-19 14:32:10 +01:00
k32
6940a41743
refactor(emqx_mgmt): Decorate get_full_config RPC
2022-01-19 13:25:50 +01:00
k32
da8b424ff2
fix(emqx_mgmt): Fix formatting of client stats
...
Fixes : #6798
2022-01-19 12:04:14 +01:00
EMQ-YangM
fd7e0c800a
feat(emqx_resource_health_check): add timeout to single health_check
2022-01-19 16:45:56 +08:00
DDDHuang
e7dd401de9
Merge pull request #6776 from DDDHuang/client_metrics_5x
...
feat(metrics): client metrics with more detail
2022-01-19 13:36:57 +08:00
DDDHuang
3a80baa087
fix(api): clients api docs
2022-01-19 10:21:09 +08:00
k32
36f10e929d
test(lwm2m): Fix flaky test
2022-01-18 17:36:10 +01:00
k32
4e9fb00a0e
refactor(mgmt_trace): Decorate RPCs
2022-01-18 16:46:32 +01:00
k32
6e3b05d665
refactor(emqx_plugin): Decorate RPCs
2022-01-18 15:25:34 +01:00
k32
39766d0ab4
refactor(emqx_bridge): Decorate remote procedure calls
2022-01-18 15:25:34 +01:00
k32
e969eff702
fix(emqx_conf): Fix type
2022-01-18 15:25:34 +01:00
k32
fbd7b132ca
docs(bpapi): Clarify deprecation procedure
2022-01-18 15:25:34 +01:00
k32
2ccf02cea9
refactor(emqx_mgmt): Decorate RPCs
2022-01-18 14:07:02 +01:00
DDDHuang
98e7ce7b7c
fix(test): for paho qos3
2022-01-18 18:06:47 +08:00
JianBo He
e1933261c8
chore: remove the pool_size maximum limit
2022-01-18 14:22:23 +08:00
lafirest
6d87db80c1
Merge pull request #6772 from lafirest/fix/exhook_lint
...
fix(exhook): fix some lint error
2022-01-18 11:41:43 +08:00
DDDHuang
f87f80f6e4
feat(metrics): client metrics with more detail
2022-01-18 11:28:41 +08:00