Shawn
b74a9bfda1
fix(swagger): duplicate keys in swagger doc
2021-12-31 22:20:22 +08:00
Shawn
658f819aab
fix(bridges): keep multiple bridges from affecting each other on crash
2021-12-31 21:28:32 +08:00
Shawn
f65eca4c47
fix(authn): update testcase for resource not running
2021-12-31 21:08:07 +08:00
Shawn
657ecef67b
fix(resource): don't crash on resource stopped
2021-12-31 20:57:34 +08:00
Zaiming (Stone) Shi
071b03b29c
refactor: statsd supervisor API no need to return error
...
Also to make dialyzer happy
2021-12-31 12:27:25 +01:00
zhongwencool
2a0d8752bd
fix(statsd): already_started crash and diaylizer warning
2021-12-31 17:32:51 +08:00
zhongwencool
d0e8285e93
fix(trace): download trace request not compelete but the zip file is delete sometimes
2021-12-31 17:32:07 +08:00
zhongwencool
87bff075ad
fix(api_key): set api_key unexpired when update expired_at=undefined
2021-12-31 17:32:07 +08:00
JianBo He
231aeb6068
fix(statsd): fix dialyzer warnings
2021-12-31 16:41:35 +08:00
DDDHuang
54ea7a5871
Merge pull request #6582 from DDDHuang/config_bugfix
...
fix(config): update configs in cluster
2021-12-31 16:03:41 +08:00
DDDHuang
d27aecc985
Merge pull request #6590 from DDDHuang/delayed_b64
...
fix(delayed): base64 encode twice
2021-12-31 16:02:32 +08:00
lafirest
6404efd0ec
fix(emqx_slow_subs): fix default expire value
2021-12-31 15:59:47 +08:00
Shawn
e299d8d138
fix(rule): rules not triggered after the ingress mqtt bridge received some msg
2021-12-31 15:47:03 +08:00
JianBo He
2411c22b42
fix(gw): fix bad listners field on http response
2021-12-31 14:59:17 +08:00
JianBo He
990514a048
fix(gw): stop xml_object_db process synchronously
2021-12-31 14:32:03 +08:00
JianBo He
2a20f110b9
fix(gw): use emqx_http_lib to parse uri
2021-12-31 14:32:03 +08:00
DDDHuang
6cde540fd1
fix(test): close app at end_per_suite
2021-12-31 14:17:50 +08:00
DDDHuang
388fdc6057
Merge pull request #6589 from DDDHuang/statsd_cluster_config
...
fix(statsd): update config in cluster
2021-12-31 14:09:05 +08:00
DDDHuang
d18a2ab57c
fix(delayed): base64 encode twice
2021-12-31 14:07:34 +08:00
EMQ-YangM
c7693246fe
feat(emqx_resource): add health_ckeck process, it will periodically perform health checks, and print error logs and generate alarms when the checks fail.
2021-12-30 21:53:51 -08:00
JianBo He
6e6643f974
fix: fix dialyzer warnings
2021-12-31 12:51:35 +08:00
JianBo He
ebbb473d7a
refactor(topic-metrics): cluster supported
2021-12-31 12:50:23 +08:00
DDDHuang
3a38e8d68d
fix(statsd): update config in cluster
2021-12-31 12:48:24 +08:00
DDDHuang
173ae46538
fix(auto_subscribe): bad test suite
2021-12-31 12:46:29 +08:00
DDDHuang
a630044688
fix: update result by row_config
2021-12-31 12:46:29 +08:00
DDDHuang
f0330d9334
fix(event_message): update config in cluster
2021-12-31 12:46:29 +08:00
DDDHuang
6c52fb4806
fix: code format
2021-12-31 12:46:29 +08:00
DDDHuang
23cf74d829
fix(delayed): update config in cluster
2021-12-31 12:46:29 +08:00
DDDHuang
f19ccdfcde
fix(auto_subscribe): update config in cluster
2021-12-31 12:46:29 +08:00
Shawn
9ba454a63d
fix(bridge): filter the topic of received msgs got from remote MQTT broker
2021-12-31 12:00:43 +08:00
Shawn
14ee053a0e
Merge pull request #6563 from terry-xiaoyu/bridge_bug_fixes_1
...
Bridge bug fixes 1
2021-12-31 11:57:28 +08:00
lafirest
922fc0ad9f
Merge pull request #6578 from lafirest/fix/retainer_config
...
fix(emqx_retainer): fix config update error
2021-12-31 11:13:44 +08:00
lafirest
86001765cb
fix(emqx_retainer): fix config update error
2021-12-31 09:56:25 +08:00
Shawn
94a5965560
fix(rule): dead lock when update configs for rules
2021-12-31 00:03:03 +08:00
Shawn
626a4c4713
fix(machine): some apps not restarted after joining into the cluster
2021-12-31 00:03:03 +08:00
Shawn
a42ab3d9da
fix(rule): use emqx_conf:update/3 to make changes to all nodes
2021-12-31 00:03:03 +08:00
Shawn
ea2d4674df
fix(resource): metrics were cleared after updating the resource
2021-12-31 00:03:03 +08:00
Shawn
e2d899ad6e
fix(bridge): HTTP reqeust crash if using GET an DELETE method
2021-12-31 00:03:03 +08:00
Shawn
9d733c2ec5
fix(resource): typos on restart a resource
2021-12-30 23:48:41 +08:00
Shawn
d11cf6ad64
fix(bridges): store connector name and bridge name to config files
2021-12-30 23:48:41 +08:00
Shawn
110ae62b24
fix(bridge): don't concat names into ids
2021-12-30 23:48:41 +08:00
Shawn
14089a572e
fix(bridge): changes timeouts from 30s to 15s
2021-12-30 23:48:41 +08:00
Shawn
aefcd6275b
fix(bridges): ingress MQTT bridges didn't increase counters on msg received
2021-12-30 23:48:41 +08:00
Shawn
c23436166b
fix(bridge): HTTP connector should failed on non-200 status codes
2021-12-30 23:48:41 +08:00
Shawn
ea1aaa9806
fix(bridge): remove clientid config from MQTT bridges
...
Don't allow the user provide the clientid for connecting the remote broker.
We generate the clientid using the bridge id and node name.
2021-12-30 23:48:41 +08:00
zhongwencool
d16362af96
Merge pull request #6547 from zhongwencool/trace-formatter
...
feat(trace): replace logger_formatter by emqx_trace_formatter
2021-12-30 23:40:59 +08:00
zhongwencool
489fb7f806
fix(trace): copy binary:encode_hex/2 from binary.erl
2021-12-30 21:38:23 +08:00
JimMoen
ff3707fbdc
Merge pull request #6565 from JimMoen/fix-redis-servers-field
...
fix(connector): redis cluster `servers` field
2021-12-30 19:33:12 +08:00
DDDHuang
c2e36b041b
fix: dashboard return type
2021-12-30 18:53:09 +08:00
lafirest
0e62a6772c
fix(emqx_slow_subs): fix config update error
2021-12-30 16:58:33 +08:00
JimMoen
da68dfc8f4
test(authz): `servers` field use string
2021-12-30 15:38:04 +08:00
JimMoen
8cb9482542
fix(authz): `servers` field use string
2021-12-30 15:37:53 +08:00
JimMoen
39c29b2396
fix(connector): redis cluster `servers` field
2021-12-30 15:37:53 +08:00
lafirest
f466a9f2de
fix(emqx_slow_subs): fix timer management error
2021-12-30 15:30:25 +08:00
lafirest
c6cc92c608
Merge pull request #6575 from lafirest/fix/slow_subs_api
...
fix(emqx_slow_subs): limit the max size of top-k table
2021-12-30 14:53:37 +08:00
DDDHuang
bd241f4220
Merge pull request #6568 from DDDHuang/api_authbeta3
...
fix(api): auth failed with basic type check
2021-12-30 14:53:16 +08:00
lafirest
ed086728cf
fix: Revert "fix(emqx_retainer): add support for RAP falg"
...
This reverts commit b80a01554b
.
2021-12-30 11:32:08 +08:00
lafirest
d60c586bfb
fix(emqx_slow_subs): limit the max size of top-k table
2021-12-30 10:38:32 +08:00
DDDHuang
db9d269034
fix(dashboard): batter auth failed response message
2021-12-30 10:29:20 +08:00
JianBo He
e8acec7f56
Merge pull request #6549 from HJianBo/gw-review-r3
...
- Add endpoint_name, like_endpoint_name, gte_lifetime, lte_lifetime query parameters for Swagger docs
- Optimize the atomicity of the gateway creation procedure and reduce the side effects if creation failed
2021-12-30 09:54:54 +08:00
zhongwencool
43141dffee
Merge branch 'release-5.0-beta.3' into trace-formatter
2021-12-29 22:37:59 +08:00
zhongwencool
b8bb5ff738
fix(trace): delete duplicate topic from msg
2021-12-29 22:33:34 +08:00
DDDHuang
34dfc327f3
fix(api): auth failed with basic type check
2021-12-29 19:34:13 +08:00
zhongwencool
04313dc044
fix(trace): download trace api not working
2021-12-29 19:03:54 +08:00
zhongwencool
121d906992
chore(log): add SLOG/3 to add meta info
2021-12-29 14:48:48 +08:00
JianBo He
6280c8c9f0
chore: fix dialyzer warnings
2021-12-29 14:02:45 +08:00
tigercl
d769401869
Merge pull request #6555 from tigercl/chore/new-epgsql
...
chore: support prepared query in postgresql connector
2021-12-29 13:37:29 +08:00
zhongwencool
8b5b3a448a
fix(test): trace_handler ct fail
2021-12-29 11:06:31 +08:00
zhongwencool
4b6bba11eb
feat(trace): struct log for trace
2021-12-29 00:26:54 +08:00
zhongwencool
b78cfa0a1c
fix(api_key): support expired_at never expired when undefined
2021-12-29 00:22:59 +08:00
zhongwencool
0712fc1e75
chore(schema): remove emqx_schema:unicode_binary/0
2021-12-28 23:50:12 +08:00
zhongwencool
47be5b9ef2
Merge pull request #6539 from zhongwencool/fix-override-conf-not-load
...
fix(conf): can't include local/overide-conf file
2021-12-28 18:03:56 +08:00
Shawn
3a39db4f97
Merge pull request #6550 from terry-xiaoyu/fix_utf8_topic_rewrite
...
Fix utf8 topic rewrite
2021-12-28 17:08:23 +08:00
Shawn
1d4be368cb
Merge pull request #6556 from terry-xiaoyu/fixes_for_bridges
...
Bug fixes for data bridges
2021-12-28 17:07:54 +08:00
zhongwencool
e44f7de596
chore(conf): update hocon to 0.22.1
2021-12-28 16:17:19 +08:00
tigercl
6a686c3314
Merge pull request #6503 from tigercl/feat/authz-config
...
feat(authz): support sync configuration in the cluster
2021-12-28 14:39:56 +08:00
Shawn
07997ab865
fix(bridge): Bridges should send a JSON message if payload template not set
2021-12-28 14:18:14 +08:00
Shawn
4406589980
fix(bridge): time unit error for MQTT keepalive
2021-12-28 14:12:28 +08:00
zhouzb
487b84f166
test: fix test case
2021-12-28 11:37:51 +08:00
Shawn
eb992ad2ad
fix(bridge): add test cases for sending msgs via http bridge
2021-12-28 11:35:47 +08:00
zhouzb
1a22d5ca46
fix: fix undef function call
2021-12-28 11:21:41 +08:00
Shawn
bf2392f682
chore(typerefl): update typerefl to 0.8.6
2021-12-28 10:52:30 +08:00
lafirest
c68499e39a
fix(api): fix the payload in the result of the api of emqx_retainer & emqx_dealy
2021-12-28 10:25:53 +08:00
lafirest
e2240bdf03
feat(emqx_limiter): improve burst implementation
2021-12-28 10:13:55 +08:00
Shawn
1cd226c18b
fix(bridge): make direction defaults to egress if not provided
2021-12-28 10:12:39 +08:00
zhouzb
d26042703e
chore: provide prepared_query and equery
2021-12-28 09:52:31 +08:00
lafirest
afe51446b0
Merge pull request #6538 from lafirest/fix/rap
...
fix(emqx_retainer): add support for RAP falg
2021-12-28 09:31:57 +08:00
zhouzb
fc89fb0f8a
chore: using prepared query in postgresql connector
2021-12-28 09:16:00 +08:00
JianBo He
8203b1f328
refactor(gw): simplify massive repeated codes
2021-12-27 16:50:39 +08:00
Shawn
e9c2b5d1cf
fix(rewrite): don't check and translate body for topic rewrite APIs
2021-12-27 16:17:59 +08:00
JianBo He
76b35910b7
chore(gw): fix elvis warnings
2021-12-27 16:03:31 +08:00
JianBo He
fca5a3bc21
chore(gw): add cli testcases
2021-12-27 16:03:31 +08:00
zhongwencool
668180388c
feat(trace): replace logger_formatter by emqx_trace_formatter
2021-12-27 14:40:40 +08:00
tigercl
d781dc73a5
Merge pull request #6536 from tigercl/fix/authn-ssl
...
fix(authn): attempt to convert certificate content only when TLS is enabled
2021-12-27 09:50:11 +08:00
zhongwencool
0b099432c5
fix(conf): can't include local/overide-conf file
2021-12-24 19:20:36 +08:00
lafirest
b80a01554b
fix(emqx_retainer): add support for RAP falg
2021-12-24 18:03:55 +08:00
zhongwencool
6326e436d3
Merge pull request #6532 from zhongwencool/fix-banned-bad-peerhost-crash
...
fix(banned): crash by bad peerhost; add banned http API tests
2021-12-24 17:04:26 +08:00
zhouzb
72a27e9d8f
fix: fix undefined function call
2021-12-24 13:44:28 +08:00
zhouzb
9769ddeb14
fix(authn): attempt to convert certificate content only when TLS is enabled
2021-12-24 13:40:13 +08:00
zhongwencool
33a6568654
fix(banned): crash by bad peerhost; add banned http API tests
2021-12-24 10:56:41 +08:00