Commit Graph

3813 Commits

Author SHA1 Message Date
Thales Macedo Garitezi
2e05e45245
Merge pull request #7385 from thalesmg/bump-ekka-0-12-3
chore: bump ekka -> 0.12.3, mria -> 0.2.2
2022-03-24 11:47:28 -03:00
Dmitrii
f4125fbe0d
Merge pull request #7386 from ieQu1/doc-schema-3
docs(schema): Add descriptions to the schema
2022-03-24 14:05:38 +01:00
Zaiming (Stone) Shi
14e12a79d8
Merge pull request #7388 from zmstone/chore-delete-epmd-related
chore: delete epmd related ports and settings
2022-03-24 13:16:54 +01:00
Thales Macedo Garitezi
a310d2390e
Merge pull request #7381 from thalesmg/fix-telemetry-mac-symlink
fix(test): use a real copy of BUILD_INFO for testing
2022-03-24 09:04:28 -03:00
DDDHuang
88403559af
fix(conf): auto subscription, batter docs
Co-authored-by: Dmitrii <99872536+ieQu1@users.noreply.github.com>
2022-03-24 18:42:54 +08:00
Dmitrii
fa8ab06368
docs: Apply remark
Co-authored-by: Thales Macedo Garitezi <thalesmg@gmail.com>
2022-03-24 11:39:35 +01:00
Dmitrii
1c65176362
docs: Apply remark
Co-authored-by: Thales Macedo Garitezi <thalesmg@gmail.com>
2022-03-24 11:39:11 +01:00
DDDHuang
08de17e631 fix: api examples spec error 2022-03-24 18:01:47 +08:00
firest
8c8162facb test(prometheus): improve test coverage to 88% 2022-03-24 16:17:40 +08:00
DDDHuang
9037b807ae fix: add api auth failed code def & fix bad spelling 2022-03-24 12:12:19 +08:00
DDDHuang
ad12c3a4e3 fix(doc): add auto sub docs & more notes 2022-03-24 10:02:59 +08:00
JianBo He
5a6023676e
Merge pull request #7360 from JimMoen/fix-authz-cluster-update-config
fix authz cluster update config
2022-03-24 09:21:27 +08:00
Zaiming (Stone) Shi
0a5d1b0f52 chore: delete epmd related ports and settings 2022-03-23 22:16:10 +01:00
Zaiming (Stone) Shi
5458490bc3 chore: add namespace to bridge schema 2022-03-23 21:12:55 +01:00
ieQu1
077ef073e5 docs(schema): Add descriptions to the schema 2022-03-23 19:05:25 +01:00
Thales Macedo Garitezi
29ca83184a
chore: bump ekka -> 0.12.3, mria -> 0.2.2 2022-03-23 14:41:10 -03:00
Thales Macedo Garitezi
d312bc0f28
feat: add advanced mqtt features to telemetry 2022-03-23 14:05:04 -03:00
Thales Macedo Garitezi
7e3b9bb356
fix(test): use a real copy of BUILD_INFO for testing
On macOS, apparently symlinks can cause problems when rebar3 tries to
copy files to the `_build` directory.  So we now use a copy of
`rel/BUILD_INFO`.  Unfortunately, this has the downside of this copy
possibly going stale over time.
2022-03-23 13:29:11 -03:00
Dmitrii
b163fce35b
Merge pull request #7382 from ieQu1/doc-schema-2
docs: Add definitions to the schema
2022-03-23 15:19:20 +01:00
JimMoen
d20388cf01 test(authz): acl file rules update 2022-03-23 21:14:43 +08:00
JimMoen
fc687bed27 test(authz): authz mnesia suite json body 2022-03-23 21:14:43 +08:00
JimMoen
41c808a262 fix(authz): write acl and cert files after nodes config synced 2022-03-23 21:14:43 +08:00
JimMoen
c2e1c38fdf refactor(authz): prepend and append only allow one source 2022-03-23 21:14:43 +08:00
JimMoen
843e12ad16 refactor(authz): unifined function names and var names 2022-03-23 21:14:43 +08:00
Chris Hicks
e659748153
Merge pull request #7306 from mononym/EMQX-3917-add-test-cases-for-connectors-mongo-db
refactor: refactor mongo connector test suite
2022-03-23 14:01:26 +01:00
ieQu1
8967e13eee docs(schema): Move descriptions from emqx.conf.all 2022-03-23 13:52:54 +01:00
ieQu1
ee805f12a6 docs(schema): Add documentation for prometheus and logger 2022-03-23 13:52:54 +01:00
ieQu1
d1e8fefa1f docs(schema): Add descriptions of events 2022-03-23 13:52:51 +01:00
JianBo He
617022f276
Merge pull request #7372 from lafirest/fix/coap_events
fix(coap): trigger disconnect logic when the client manually disconne…
2022-03-23 19:36:23 +08:00
Dmitrii
a0bec0d921
Merge pull request #7103 from ieQu1/doc-schema
docs: Add to the schema
2022-03-23 10:46:11 +01:00
firest
ab2f5b9bb7 fix(coap): fix system topic case 2022-03-23 17:25:52 +08:00
ieQu1
503c7f00ae docs(schema): Fix typos 2022-03-23 08:40:59 +01:00
firest
ab51d8ab8e fix(coap): trigger disconnect logic when the client manually disconnected 2022-03-23 14:19:00 +08:00
JianBo He
97c05d3a72 chore(emqx): fmt codes 2022-03-23 09:53:18 +08:00
JianBo He
a889b0b6a9 test: update test/emqx_channel_SUITE.erl
Co-authored-by: Thales Macedo Garitezi <thalesmg@gmail.com>
2022-03-23 09:53:18 +08:00
JianBo He
df74c180b7 fix(channel): send will_msg if client has been kicked 2022-03-23 09:53:18 +08:00
JianBo He
87a29beb5f fix(channel): send DISCONNECT packet if connection has been kicked
fix #7241
2022-03-23 09:53:18 +08:00
ieQu1
6f4e7dc118 docs(schema): Formatting 2022-03-22 20:19:18 +01:00
Zaiming (Stone) Shi
ab40036a45
Merge pull request #7363 from zmstone/docs-add-more-desc
docs: add doc for stats
2022-03-22 19:41:35 +01:00
Thales Macedo Garitezi
fbfbaa8a9a
test: add more tests to telemetry 2022-03-22 15:28:42 -03:00
Thales Macedo Garitezi
35a523230f
feat: add mqtt runtime insights to telemetry data 2022-03-22 15:28:19 -03:00
ieQu1
c6b0e8806f docs(schema): Add descriptions to the schema 2022-03-22 19:09:20 +01:00
Zaiming (Stone) Shi
f08c317939 docs: fix spellcheck 2022-03-22 14:07:51 +01:00
Thales Macedo Garitezi
4d3157743e
style: format emqx_modules 2022-03-22 09:31:55 -03:00
Thales Macedo Garitezi
650683ac19
Merge pull request #7333 from thalesmg/telemetry-revamp1
Telemetry revamp part 1

- Remove obsolete `active_modules`.
- Don't use `mnesia(boot)` callback for indirect initialization.
- Add build info and vm specs to the exported data.
2022-03-22 09:03:13 -03:00
Zaiming (Stone) Shi
7a9ad86574 chore: increase line width to 120
and fix bad formats from erlfmt
2022-03-22 11:34:29 +01:00
Zaiming (Stone) Shi
f9bad0412b docs: add doc for stats 2022-03-22 11:34:29 +01:00
JianBo He
83e16a5bc5
Merge pull request #7343 from HJianBo/fix-gw-bugs 2022-03-22 17:49:02 +08:00
firest
49fc1ab1c0 fix(exhook): use emqx_hook_metrics to count hook call information 2022-03-22 16:59:49 +08:00
lafirest
7e8bf82573
Merge pull request #7352 from lafirest/fix/auto_sub_empty_topic
fix(auto_subscribe): make a warning if the topic is empty when auto s…
2022-03-22 15:15:18 +08:00
firest
d657a161db fix(auto_subscribe): improve log information 2022-03-22 15:02:25 +08:00
firest
0c3d02b02d test(coap): add a observe test case 2022-03-22 11:57:49 +08:00
Thales Macedo Garitezi
7ec6947c02
fix: add http timeout to prevent hanging 2022-03-21 14:24:40 -03:00
Thales Macedo Garitezi
bf82b2d45c
style: fix typo 2022-03-21 14:24:40 -03:00
Thales Macedo Garitezi
e8682a1107
feat: add build info and vm specs to telemetry 2022-03-21 14:24:40 -03:00
Thales Macedo Garitezi
5b49f3eee8
chore: rm active_modules 2022-03-21 14:24:40 -03:00
Thales Macedo Garitezi
98f950881f
chore: drop mnesia(boot), create tables on start up 2022-03-21 14:24:40 -03:00
Zaiming (Stone) Shi
91bcf02970 chore: format code apps/emqx 2022-03-21 16:51:31 +01:00
Xinyu Liu
ecf4d4b206
Merge pull request #7356 from DDDHuang/update_version
chore: release 5.0.0 beta4
2022-03-21 21:16:48 +08:00
Yang Miao
79b8c63b54
Merge pull request #7355 from EMQ-YangM/upstream_master
fix(rule): replace sql crlf with spaces
2022-03-21 21:15:15 +08:00
zhouzb
9820728e5c
Merge pull request #7351 from JimMoen/fix-authz-api-pem-check
fix authz api flaky status code.
2022-03-21 20:55:36 +08:00
DDDHuang
e86fd9c4cb feat: release V5.0.0 beta4 2022-03-21 19:45:03 +08:00
EMQ-YangM
6cff53ad67 fix(rule): replace sql crlf with spaces
get around the hocon bug: error handling escape character \n
2022-03-21 19:26:06 +08:00
JianBo He
6da4592bb0 chore: fix elivs warnings 2022-03-21 18:52:41 +08:00
JianBo He
094c4ad262 fix(exproto): don't carry the ssl confs if ssl.enable is false 2022-03-21 18:44:01 +08:00
firest
bad04e3571 fix(auto_subscribe): make a warning if the topic is empty when auto subscribe 2022-03-21 18:37:33 +08:00
JianBo He
670749493b fix(coap): reject duplicated connection request 2022-03-21 18:17:24 +08:00
JianBo He
053f9b422c fix(stomp): fix client.disconnect not trigger 2022-03-21 18:17:24 +08:00
JianBo He
5682dcb72e fix(gw): enrich conninfo for coap&lwm2m 2022-03-21 18:17:24 +08:00
JianBo He
edb1460b56 chore(rule-engine): more safe generate even_msg content 2022-03-21 18:17:24 +08:00
JianBo He
3645cb244b fix(gw): throw the exproto start grpc server starting failure error 2022-03-21 18:17:24 +08:00
JimMoen
3769044a57 fix(authz_api): ssl pem check failed returns 400 2022-03-21 18:05:43 +08:00
Zhongwen Deng
946d62e40a test: don't run api_plugins_SUITE for now 2022-03-21 17:57:57 +08:00
Zhongwen Deng
88e0c4067f fix: api_plugins common test failed bump dashboard to v0.25.0. 2022-03-21 17:56:22 +08:00
Zhongwen Deng
5c9a87f251 chore: fix elvis warning: len_length is too long. 2022-03-21 17:56:22 +08:00
Zhongwen Deng
df6141e4b8 test: fix plugin ct failed 2022-03-21 17:56:22 +08:00
Zhongwen Deng
2c879b7e13 chore: simplify nest case function 2022-03-21 17:56:22 +08:00
Zhongwen Deng
bf6339ebf4 chore: upgrade hocon to 0.26.3 to fix dialyzer warning 2022-03-21 17:56:22 +08:00
Zhongwen Deng
f81eb8f62f fix: remove TODO from hot-config-schema.json. 2022-03-21 17:56:22 +08:00
Zhongwen Deng
267fd398a6 fix: elvis warning 2022-03-21 17:56:22 +08:00
Zhongwen Deng
f051424b3b test: add zones udpate/delete common test 2022-03-21 17:56:22 +08:00
Zhongwen Deng
be0c26130a feat: add transate_to meta to root schema. 2022-03-21 17:56:22 +08:00
Zhongwen Deng
18886f657b feat: add emqx_config_logger. 2022-03-21 17:56:22 +08:00
DDDHuang
eb4be03012
Merge pull request #7329 from DDDHuang/fix_api
fix: generate http api response code
2022-03-21 17:30:20 +08:00
zhongwencool
2c8cd8a44a
Merge pull request #7331 from lafirest/test/emqx_psk_coverage
test(psk): improve test coverage
2022-03-21 17:24:51 +08:00
JimMoen
1ed8e783f4 fix(authz_api): rm authz sources full update 2022-03-21 16:43:08 +08:00
JimMoen
0b7f1ab69c refactor(authz_api): avoid copy paste 2022-03-21 16:43:08 +08:00
JimMoen
0ee3e49db7 chore: rm unused macro and func, fix unchanged product name 2022-03-21 16:43:08 +08:00
JimMoen
188d876b1c fix(api): fix unmatched position parsing 2022-03-21 16:43:08 +08:00
Xinyu Liu
5456a2efa1
Merge pull request #7350 from terry-xiaoyu/update_rule_keep_metrics
fix(rule): update rules without reset the metrics
2022-03-21 16:41:58 +08:00
DDDHuang
9a6653d152 fix(api): slow subs update config return 2022-03-21 15:55:54 +08:00
Yang Miao
fe95e6ffbb
Merge pull request #7349 from EMQ-YangM/http_code
fix: unify http response code for auhtn & authz
2022-03-21 15:32:32 +08:00
Shawn
50ee6ad2e2 fix(rule): update rules without reset the metrics 2022-03-21 15:06:34 +08:00
DDDHuang
e517b41a4d fix(api): desc & remove useless api 2022-03-21 15:03:37 +08:00
EMQ-YangM
dc8408e378 fix(emqx_authz_api): fix error code 2022-03-21 14:42:09 +08:00
EMQ-YangM
a34e750ebe fix: unify http response code for auhtn & authz 2022-03-21 14:16:52 +08:00
DDDHuang
010dbbdb26 fix: bad code style 2022-03-21 14:12:19 +08:00
DDDHuang
e1b6c0770d fix: getway bad api spec 2022-03-21 14:12:19 +08:00
DDDHuang
66c6ea4c23 fix: dashboard swagger desc & description check 2022-03-21 14:12:19 +08:00
DDDHuang
b9b5e376a6 fix: dialyzer & bad func spec 2022-03-21 14:12:19 +08:00