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