Commit Graph

4070 Commits

Author SHA1 Message Date
Zaiming (Stone) Shi
6fd902ebc8 chore: update dependency app versions
lc: 0.2.1
emqtt: 1.5.0
2022-04-04 21:07:02 +02:00
Thales Macedo Garitezi
af4ad5721f
feat(telemetry): add gateway info to reported data 2022-04-04 15:21:02 -03:00
Thales Macedo Garitezi
7d807ce6bb
feat(gateway): export basic gateway info for telemetry 2022-04-04 15:20:48 -03:00
Thales Macedo Garitezi
b1902cff27
test: silence export warning 2022-04-04 15:20:48 -03:00
Ilya Averyanov
8f0497c441 chore(emqx_modules): add tests and refactor
* improve `emqx_rewrite_api` coverage
* improve `emqx_telemetry_api` coverage
* refactor `emqx_telemetry` to use config clustering for settings
2022-04-04 18:16:07 +03:00
Zaiming (Stone) Shi
5080c17ad6
Merge pull request #7512 from zmstone/0404-5.0-add-test-coverage-for-observer-cli
test: add test coverage for emqx_observer_cli
2022-04-04 13:47:05 +01:00
Thales Macedo Garitezi
1df850710e
Merge pull request #7457 from thalesmg/telemetry-revamp-part3
feat(telemetry): add authn and authz info to telemetry data
2022-04-04 09:12:37 -03:00
Zaiming (Stone) Shi
c24d61efcd test: add test coverage for emqx_observer_cli 2022-04-04 11:57:33 +02:00
Zaiming (Stone) Shi
9ed44e3bd7
Merge pull request #7494 from zmstone/0401-5.0-perf-demonitor
perf: improve demonitor performance
2022-04-02 08:23:58 +02:00
firest
0db6b8d47e test(gateway): integration stomp && exproto test with http authn 2022-04-02 14:06:36 +08:00
firest
25ebe2535e test(gateway): integration MQTT-SN test with http authn 2022-04-02 14:00:37 +08:00
firest
ec243d8946 test(gateway): integration CoAP && LwM2M test with http authn 2022-04-02 14:00:33 +08:00
Thales Macedo Garitezi
59d5478d4e
Merge pull request #7463 from thalesmg/mria-shard-transport
feat: allow customizing per-shard transaction log transport
2022-04-01 13:16:28 -03:00
Zaiming (Stone) Shi
850a95a43e style: avoid using function-like macros in catch clauses 2022-04-01 16:58:51 +02:00
Zaiming (Stone) Shi
67608f623f perf: improve demonitor performance
demonitor(Ref, [flush]) often will not be be able to get optimised
by the compiler hence fallback to a full mailbox scan to drain
the DOWN message.

This commit tries to avoid the 'flush' when it's for sure
that there is no 'DOWN' message sent.
2022-04-01 16:58:51 +02:00
Thales Macedo Garitezi
f425665449
fix(test): fix flaky test 2022-04-01 09:27:53 -03:00
Thales Macedo Garitezi
c0d2243e72
refactor(telemetry): move authn/authz info fns to their own apps 2022-04-01 09:27:52 -03:00
Thales Macedo Garitezi
b07b705621
feat(telemetry): add authn and authz info to telemetry data 2022-04-01 09:24:51 -03:00
Thales Macedo Garitezi
5c069319a7
fix(authz): make acl_conf_file mockable 2022-04-01 09:23:42 -03:00
Thales Macedo Garitezi
1fa68a277e
docs: fix some typos 2022-04-01 09:23:41 -03:00
Thales Macedo Garitezi
8513580f5a
fix: use api for setting advanced mqtt features in use 2022-04-01 09:23:41 -03:00
JianBo He
acb3544d4b style(authz): reformat authz subdir source files 2022-04-01 09:55:47 +08:00
JianBo He
3022ee081d style(authn): reformat authn subdir source files 2022-04-01 09:55:02 +08:00
JianBo He
8500200e81 Merge remote-tracking branch 'ce/master' into fmt-gw 2022-04-01 09:52:12 +08:00
Zaiming (Stone) Shi
4d74296fb9
Merge pull request #7484 from JimMoen/erlfmt-authn-authz
Erlfmt authn and authz
2022-04-01 00:24:53 +02:00
Ilya Averyanov
8f5812e61f
Merge pull request #7479 from savonarola/emqx_topic_metrics-cov
chore(emqx_modules): improve emqx_topic_metrics coverage
2022-03-31 23:15:35 +03:00
Ilya Averyanov
871e69a88f
Merge pull request #7483 from savonarola/emqx_delayed-cov
Improve emqx_delayed coverage
2022-03-31 23:07:28 +03:00
JimMoen
82559b9b08 style: erlfmt apps/emqx_authz 2022-04-01 02:19:46 +08:00
JimMoen
aae2d01582 style: erlfmt apps/emqx_authn 2022-04-01 02:19:46 +08:00
Ilya Averyanov
ce437ac5b2 chore(emqx_modules): improve emqx_delayed coverage 2022-03-31 20:29:46 +03:00
Ilya Averyanov
12f6b8fab0 chore(emqx_modules): improve emqx_delayed_api coverage 2022-03-31 18:44:29 +03:00
lafirest
9ffc58071d
Merge pull request #7467 from lafirest/test/exhook_metrics
test(exhook): add test case for exhook metrics
2022-03-31 20:05:32 +08:00
Ilya Averyanov
f34fce7c70 chore(emqx_modules): improve emqx_topic_metrics coverage 2022-03-31 14:29:42 +03:00
JianBo He
989f0a7c2c
Merge pull request #7449 from JimMoen/rm-authz-dry-run
fix(authz): rm authz source update dry_run
2022-03-31 18:15:08 +08:00
JianBo He
2dce43ac8e chore: ignore 'if' expression checking 2022-03-31 17:41:43 +08:00
JianBo He
f2168f5b0d style(modules): reformat emqx_modules appplication 2022-03-31 17:41:43 +08:00
JianBo He
244b123742 style(emqx): reformat emqx application 2022-03-31 17:41:43 +08:00
JianBo He
3f6d78dda0 style(gateway): format gateway application 2022-03-31 17:41:32 +08:00
Ilya Averyanov
a6031d6695
Merge pull request #7464 from savonarola/emqx_topic_metrics_api-cov
chore(emqx_modules): add emqx_topic_metrics_api tests
2022-03-31 11:27:58 +03:00
firest
57cdf86977 fix(exhook): fix elvis error 2022-03-31 16:04:40 +08:00
firest
877db375ed test(exhook): add test case for exhook metrics 2022-03-31 15:29:52 +08:00
JimMoen
4746204f6f fix(authz): rm authz source update dry_run 2022-03-31 10:34:33 +08:00
JianBo He
8431387408 chore(exproto): set proto_name default to exproto 2022-03-31 10:02:12 +08:00
JianBo He
6a4d823b24 fix(sys): compatible with binary type protocol 2022-03-31 09:54:56 +08:00
Ilya Averyanov
0728b1e3f4 chore(emqx_modules): add emqx_topic_metrics_api tests 2022-03-30 21:18:27 +03:00
Thales Macedo Garitezi
5748b9b492
feat: allow customizing per-shard transaction log transport 2022-03-30 11:11:30 -03:00
Thales Macedo Garitezi
2a48f143bd
style: please elvis checks 2022-03-30 11:11:30 -03:00
ieQu1
b6d93e91e6 docs(schema): Document fields for HTTP auth 2022-03-30 13:05:56 +02:00
ieQu1
d23a88d0a9 docs(schema): Minor improvements to spelling and formatting. 2022-03-30 13:05:56 +02:00
ieQu1
edb91e2e4a docs(schema): Add descriptions for authZ and connector 2022-03-30 13:01:01 +02:00
ieQu1
80cd1350a5 docs(schema): Add documentation for connector records 2022-03-30 11:53:53 +02:00
ieQu1
d8e16b37da docs(schema): Add documentation for the fields and records 2022-03-30 11:53:53 +02:00
ieQu1
ce450b7da7 docs(schema): Document the records 2022-03-30 11:53:53 +02:00
ieQu1
c0e5139e9f docs(schema): Add description for clientinfo_override 2022-03-30 11:53:51 +02:00
ieQu1
abb4d42406 docs(schema): Document conn_congestion fields 2022-03-30 11:53:38 +02:00
ieQu1
866a0b2687 docs(schema): Document exhook records 2022-03-30 11:53:38 +02:00
Dmitrii
dd61f86c2f
Merge pull request #7436 from ieQu1/doc-schema-5
docs(schema): Add descriptions for the records
2022-03-30 11:35:19 +02:00
Dmitrii
fcc99b484f
docs(schema): Apply suggestions from code review
Co-authored-by: Thales Macedo Garitezi <thalesmg@gmail.com>
2022-03-30 10:12:04 +02:00
lafirest
694d3b1782
Merge pull request #7439 from lafirest/fix/empty_topic_5
fix(frame): forbidden empty topic in strict mode
2022-03-30 09:54:33 +08:00
lafirest
55516364ae
Merge pull request #7444 from lafirest/test/delayed_api
test(delayed): add test case for emqx_delayed_api
2022-03-30 09:53:06 +08:00
Yang Miao
97ff2a78bb
Merge pull request #7448 from EMQ-YangM/fix_use_maps_get
fix: use masp:get/3 to avoid crash after match failure
2022-03-30 09:37:33 +08:00
Thales Macedo Garitezi
187079859b
chore: bump hocon -> 0.26.6 2022-03-29 15:54:45 -03:00
Thales Macedo Garitezi
f9597bb247
fix: set default db backend in etc/emqx_conf.conf 2022-03-29 15:54:00 -03:00
Ilya Averyanov
eac09eed7c
Merge pull request #7446 from savonarola/emqx_telemety-total-memory-macos-fix
fix(emqx_telemety): use total_memory memsup key
2022-03-29 15:44:05 +03:00
ieQu1
465e0e418c docs(schema): Document rate_limit fields 2022-03-29 14:09:32 +02:00
ieQu1
410b69d616 docs(schema): Document records for gateway 2022-03-29 14:09:32 +02:00
ieQu1
fff6bffa0c docs(schema): Add descriptions of the records 2022-03-29 14:09:32 +02:00
ieQu1
aecfa77985 chore(hocon): Bump version 2022-03-29 14:09:32 +02:00
EMQ-YangM
3b43cca5bf fix: use masp:get/3 to avoid crash after match failure 2022-03-29 18:51:10 +08:00
firest
410bc8005e test(delayed): add test case for emqx_delayed_api 2022-03-29 17:23:00 +08:00
firest
ed7ce7078a test(frame): add test case for empty topic check 2022-03-29 17:14:36 +08:00
Ilya Averyanov
f85fc98b39 fix(emqx_telemety): use total_memory memsup key 2022-03-29 11:56:50 +03:00
Yang Miao
d72da3ecf6
Merge pull request #7440 from EMQ-YangM/add_connack_and_cac
feat: add rule events: 'client.connack', 'client.check_authz_complete'
2022-03-29 16:50:18 +08:00
EMQ-YangM
4c8deeb544 fix(emqx_access_control): reformat code 2022-03-29 14:11:45 +08:00
EMQ-YangM
ccc134d061 fix(emqx_rule_api_schema): add rule events schema 2022-03-29 14:03:15 +08:00
firest
978350b643 fix(frame): make elvis && erlfmt happy 2022-03-29 11:58:59 +08:00
EMQ-YangM
4791c64b73 feat: add rule event 'client.check_authz_complete' 2022-03-29 11:24:36 +08:00
firest
5febf480a2 fix(frame): forbidden empty topic in strict mode 2022-03-29 10:34:50 +08:00
JimMoen
e9ce91b60c
Merge pull request #7429 from JimMoen/fix-authn-redis-api
fix authn redis api and eredis_cluster version
2022-03-29 09:57:02 +08:00
Thales Macedo Garitezi
7b6a71c117
Merge pull request #7369 from thalesmg/telemetry-revamp-part2
Telemetry revamp part2
2022-03-28 09:03:45 -03:00
JimMoen
e0fbf08d7e chore: update eredis_cluster version to 0.7.1 2022-03-28 14:37:38 +08:00
EMQ-YangM
65164fb046 feat: add rule event 'client.connack' 2022-03-28 11:32:07 +08:00
JimMoen
9554255449 fix(authn): fix delete authn redis crashed 2022-03-28 10:56:11 +08:00
ieQu1
32584650de docs(schema): Fix definition 2022-03-25 16:12:32 +01:00
Zaiming (Stone) Shi
39d477e77c
Merge pull request #7413 from zmstone/docs-add-more-schema-desc
docs: add more schema desc
2022-03-25 16:10:00 +01:00
Thales Macedo Garitezi
105ec5104a
fix: set own app environment and expose convenient api
... for accessing advanced mqtt features in use.
2022-03-25 10:12:50 -03:00
zhouzb
3b387cfd9e chore: revert ee vsn bump 2022-03-25 19:49:13 +08:00
zhouzb
098ba91351 chore: bump release vsn 2022-03-25 19:43:22 +08:00
JimMoen
81243b43e8 fix(os_mon): fix wrongly high mem alarm 2022-03-25 19:21:03 +08:00
zhongwencool
d7bd09b2e1
Merge pull request #7416 from zhongwencool/conf-readyonly
fix: cluster conf must be readonly; add dashboard listener update hook
2022-03-25 19:06:26 +08:00
Zhongwen Deng
86f455fd3a fix: cluster conf must be readonly; add dashboard listener update hook 2022-03-25 18:43:15 +08:00
Xinyu Liu
0f4f6b4fb4
Merge pull request #7419 from EMQ-YangM/fix_health_check_crash
fix(emqx_resource_instance): improve the pattern match of the call_health_check
2022-03-25 18:42:22 +08:00
EMQ-YangM
9a2d70f98e fix(emqx_resource): remove extra space 2022-03-25 18:26:18 +08:00
EMQ-YangM
6b662d87ba fix(emqx_resource): fix dialyzer warning 2022-03-25 18:15:23 +08:00
Zaiming (Stone) Shi
036266769c docs: add more schema desc 2022-03-25 10:52:58 +01:00
EMQ-YangM
bb12378806 fix(emqx_resource_instance): improve the pattern match of the function call_health_check 2022-03-25 17:35:55 +08:00
Xinyu Liu
1fc2124ff9
Merge pull request #7414 from terry-xiaoyu/list_connectors_with_default_values
fix: list connectors with default values
2022-03-25 16:52:25 +08:00
zhongwencool
aa831d6c3f
Merge pull request #7406 from zhongwencool/monitor-api-crash
fix: dashboard_monitor crash
2022-03-25 16:30:30 +08:00
Shawn
79222e694e fix: list connectors with default values 2022-03-25 15:15:27 +08:00
Zhongwen Deng
8d46332b30 chore: upgrade hocon to 0.26.4 to limit HOCON_MAP's key format 2022-03-25 15:00:51 +08:00
JianBo He
e6cd3ad3ac
Merge pull request #7405 from HJianBo/remove-event-message
refactor: remove event_messages mod
2022-03-25 14:22:19 +08:00
Zhongwen Deng
55f805bac0 fix: dashboard_monitor crash 2022-03-25 14:18:56 +08:00
DDDHuang
16f943459e
Merge pull request #7391 from DDDHuang/as_doc
fix(doc): add auto sub docs & more notes
2022-03-25 13:54:32 +08:00
JianBo He
7f1082a0bb chore: make xref happy 2022-03-25 11:20:18 +08:00
zhongwencool
f1b511023d
Merge pull request #7400 from DDDHuang/fix_examples_spec
fix: api examples spec error
2022-03-25 11:03:27 +08:00
JianBo He
ec0c698914 refactor: remove event_messages mod 2022-03-25 10:20:11 +08:00
lafirest
68961c7479
Merge pull request #7397 from lafirest/test/prometheus_coverage
test(prometheus): improve test coverage to 88%
2022-03-25 02:40:13 +08:00
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
DDDHuang
4d4348759d fix: generate connector & exhook & retainer api response code 2022-03-21 14:12:19 +08:00
DDDHuang
60f107f91f fix: generate dashboard api response code 2022-03-21 14:12:19 +08:00
DDDHuang
15b8203ac1 fix: generate ggateway api response code 2022-03-21 14:12:19 +08:00
DDDHuang
74e6fa5a94 fix: generate bridge api response code
fix: generate connector api response code SUITE

fix: generate exhook api response code
2022-03-21 14:12:19 +08:00
JianBo He
c597cdc0e5
Merge pull request #7321 from HJianBo/mqtt-sn-resume-subs-5
feat(sn): introduce subs_resume option
2022-03-21 11:38:04 +08:00
firest
b71eaf1290 fix(psk): fix spell error 2022-03-21 11:28:29 +08:00
firest
ea52e0c05d fix(psk): fix too long style error 2022-03-21 11:28:29 +08:00
firest
435b22273d test(psk): improve test coverage 2022-03-21 11:28:29 +08:00
lafirest
841024461c
Merge pull request #7346 from lafirest/fix/spellcheck
fix(retainer): fix spellcheck in schema
2022-03-21 10:48:37 +08:00
JimMoen
a5a9613512
Merge pull request #7338 from JimMoen/fix-mongo-servers-schema
fix(mongo): servers for mongo_sharded and mongo_rs
2022-03-21 10:19:20 +08:00
firest
8e5c118562 fix(retainer): fix spellcheck in schema 2022-03-21 10:14:05 +08:00
JianBo He
a85b31d904
Merge pull request #7337 from lafirest/fix/retainer_update_api
fix(retainer): don't translate config content, keep it in raw
2022-03-20 06:52:48 +08:00
Xinyu Liu
40f1bfb3ab
Merge pull request #7332 from EMQ-YangM/add_authn_authz_status_api
feat: add authn, authz status api
2022-03-18 18:12:25 +08:00
firest
114f676150 fix(limiter): make elvis happy 2022-03-18 18:04:47 +08:00
JimMoen
ed021d125f fix(mongo): servers for mongo_sharded and mongo_rs 2022-03-18 17:58:27 +08:00
firest
5459e38e15 fix(retainer): don't translate config content, keep it in raw 2022-03-18 17:16:03 +08:00
EMQ-YangM
339e459589 fix(emqx_authn): disable invalid_dynamic_call
cc

aa
2022-03-18 17:07:56 +08:00
firest
beba7c9692 fix(limiter): improve code style and description 2022-03-18 16:00:42 +08:00
firest
d28b34f0d1 fix(limiter): improve test case and fix some bugs 2022-03-18 16:00:42 +08:00
firest
32030c8369 feat(limiter): remove the group(zone) level 2022-03-18 16:00:42 +08:00
lafirest
e7dec7835f feat(limiter): change zone to group and simplify config 2022-03-18 16:00:42 +08:00
EMQ-YangM
d1857ba454 feat: add authn, authz status api 2022-03-18 14:36:33 +08:00
lafirest
d231b2222e
Merge pull request #7328 from lafirest/fix/delayed_lookup
fix(delayed): make it possible to lookup/delete other node's delayed …
2022-03-18 00:53:53 +08:00
Thales Macedo Garitezi
89c8ba7e1a
Merge pull request #7326 from thalesmg/bump-gen-rpc
chore: bump gen_rpc
2022-03-17 13:50:28 -03:00
JianBo He
43c01117bb fix(sn): fix typos 2022-03-17 18:40:13 +08:00
JianBo He
fbc0240f26 feat(sn): introduce subs_resume option
As the mqtt-sn v1.2 spec metioned, the gateway will be able to sync the
subscriptions topic-name registry to client when the client resume
it's session

port from: https://github.com/emqx/emqx/pull/7300
2022-03-17 18:38:54 +08:00
firest
3fc4236565 fix(delayed): make it possible to lookup/delete other node's delayed message 2022-03-17 14:36:55 +08:00
lafirest
6453479f44
Merge pull request #7324 from lafirest/fix/delayed_terminate_v5
fix(delayed): cancel the publish timer when terminate
2022-03-17 10:55:56 +08:00
Thales Macedo Garitezi
c45578c130
chore: bump gen_rpc 2022-03-16 15:20:13 -03:00
firest
43a935286a fix(delayed): cancel the publish timer when terminate 2022-03-16 17:51:29 +08:00
Zhongwen Deng
9c355994e9 fix: add apps error code. 2022-03-16 17:20:26 +08:00
Yang Miao
e6fcef16ba
Merge pull request #7319 from EMQ-YangM/ignore_authz_authn_metrics_status
Ignore authz, authn metrics status
2022-03-16 14:41:37 +08:00
Xinyu Liu
ef8ad9b1f0
Merge pull request #7314 from terry-xiaoyu/demo0315
Fix some issues in rule engine found in the demo session
2022-03-16 13:52:05 +08:00
EMQ-YangM
37c4d68f40 fix: ignore authn, authz status and metrics 2022-03-16 11:14:21 +08:00
EMQ-YangM
eb5570dd07 fix: disable authn_api, authz_api_sources swagger spec 2022-03-16 10:16:50 +08:00
Shawn
a892ff9006 fix(dialyzer): update the specs for the rule() 2022-03-16 10:13:16 +08:00
Zaiming (Stone) Shi
4fce9d4cc3
Merge pull request #7305 from zmstone/chore-split-ct-jobs
ci: run ct in concurrent jobs
2022-03-15 21:15:19 +01:00
Zaiming (Stone) Shi
d9ebca3294 test: fix emqx_retainer_api_SUITE infinity wait for table 2022-03-15 20:40:28 +01:00
Zaiming (Stone) Shi
9d96d3d10a test: fix auto_subscribe test case 2022-03-15 20:40:28 +01:00
Zaiming (Stone) Shi
4a35aaa50e
Merge pull request #7304 from zmstone/update-emqtt-to-1.4.8
chore: update emqtt to 1.4.8
2022-03-15 17:50:38 +01:00
Shawn
93c5fa60b4 fix(rules): store rule configs to cluster config files 2022-03-16 00:39:01 +08:00
Shawn
869dc1a081 fix(rules): ensure create_at unchanged after rule is updated 2022-03-16 00:38:42 +08:00
Zaiming (Stone) Shi
d7d0525733
Merge pull request #7313 from zmstone/chore-pin-ekka-0.12.2
chore: pin ekka 0.12.2
2022-03-15 14:30:18 +01:00