zmstone
c3d27347b0
docs: update changlog for pr 12940
2024-04-28 15:06:12 +02:00
zmstone
07cbdc6e90
feat(mgmt): add ignore_readonly qeury-string to PUT /configs API
2024-04-28 14:45:53 +02:00
zmstone
10625eacac
chore: upgrade to hocon-0.42.2
...
hocon pretty-print quotes more string values
if a string has '.' or '-', or if it starts with a digit 0-9,
then it's quoted.
see details here: https://github.com/emqx/hocon/pull/293
2024-04-28 14:05:30 +02:00
firest
d6c203b4fd
fix(dynamo): fixed the keys checking for Dynamo
2024-04-28 16:59:01 +08:00
zmstone
e76c350d30
docs: add changelog for PR 12940
2024-04-27 21:19:40 +02:00
zmstone
5f4215b333
fix(mgmt): avoid 500 error when hocon syntax error
2024-04-27 21:12:42 +02:00
zmstone
b96c6c243a
docs: improve mqtt_path doc
2024-04-27 15:19:59 +02:00
JimMoen
a3320ab51b
Merge pull request #12910 from JimMoen/EMQX-12187/feat-plugin-config-ui
...
feat(plugin): avro config schema store and encode/decode
2024-04-27 00:51:58 +08:00
Ilia Averianov
002dc8541b
Merge pull request #12936 from savonarola/0426-improve-authz-rule-typespecs
...
chore(authz): improve and clarify types
2024-04-26 19:43:41 +03:00
JimMoen
b98f3d27b8
docs: add change log entry for #12910
2024-04-26 22:30:08 +08:00
JimMoen
43ac4f5dfe
fix: make bpapi check happy
2024-04-26 21:17:01 +08:00
JimMoen
5ff4e76904
refactor: rename plugins config api functions
2024-04-26 20:51:20 +08:00
Kjell Winblad
db48a977bb
test(mongodb authn, authz): add test cases for use_legacy_protocol
...
This commit adds test cases that check that the authn and authz modules
for MongoDB support the use_legacy_protocol configuration option.
Fixes:
https://emqx.atlassian.net/browse/EMQX-12245
2024-04-26 12:41:50 +02:00
JimMoen
00cab33fde
fix: plugin's internal config api
2024-04-26 18:10:55 +08:00
Ilya Averyanov
aaf57ecfbc
chore(authz): improve and clarify types
2024-04-26 12:09:18 +03:00
JimMoen
11389bc086
fix: i18n file renamed
2024-04-26 11:12:24 +08:00
JimMoen
28e8131984
refactor: avoid make when do serde
2024-04-26 10:37:15 +08:00
JimMoen
e5bd747b32
refactor: read avsc file when make serde
2024-04-26 10:25:19 +08:00
JimMoen
670ddae57c
chore: fix typo
2024-04-26 10:25:18 +08:00
JimMoen
c884dfb451
test: make eunit happy
2024-04-26 10:25:17 +08:00
JimMoen
1869f6fd0a
fix: enusre plugin installed when do config operation
2024-04-26 10:25:16 +08:00
JimMoen
b0aa3bb70f
fix(plugin): get plugin config api
2024-04-26 10:25:15 +08:00
JimMoen
f343cd2021
fix: get plugin config in json
2024-04-26 10:25:14 +08:00
JimMoen
d2ecccc2ff
fix: call json encoder/decoder for plugin config
2024-04-26 10:25:12 +08:00
JimMoen
c180b6a417
fix(api): plugin api docs
2024-04-26 10:25:11 +08:00
JimMoen
1f00ce789f
fix(plugin): gen_server call timeout infinity
2024-04-26 10:25:10 +08:00
JimMoen
c0429ca333
fix(plugin): refine schema serde log
2024-04-26 10:25:09 +08:00
JimMoen
27d1f91cac
refactor: refine function name
2024-04-26 10:25:08 +08:00
JimMoen
2686a66b14
fix: make eunit happy
2024-04-26 10:25:07 +08:00
JimMoen
d2e0c09f2e
fix: make static check happy
2024-04-26 10:25:06 +08:00
JimMoen
d06f410fd5
fix(plugins): read avsc file
2024-04-26 10:25:05 +08:00
JimMoen
8db5e51592
feat: plugin config with avro schema and apis
2024-04-26 10:25:04 +08:00
JimMoen
71cdcc860a
fix(plugin): plugin's mgmt api schema codes
2024-04-26 10:25:03 +08:00
Zaiming (Stone) Shi
6af651cf2f
Merge pull request #12931 from zmstone/0425-fix-acl.conf-topic-template-render-fialure-handling
...
0425 fix acl.conf topic template render fialure handling
2024-04-25 20:30:02 +02:00
Kjell Winblad
47c0bdf172
Merge pull request #12932 from kjellwinblad/kjell/http_connector_retry_when_status_is_503/EMQX-12217
...
fix(HTTP connector): retry on 503 Service Unavailable response
2024-04-25 18:28:09 +02:00
Ilia Averianov
a0e0a27f87
Merge pull request #12418 from savonarola/0129-fix-auth-claim-schema
...
feat(jwt_auth): improve verify_claims handling and docs
2024-04-25 19:05:13 +03:00
chengshq
75dab4dff0
fix: STOMP heartbeat
2024-04-25 23:33:15 +08:00
zmstone
01923147a2
fix(variform and authz): do not initialize empty client_attrs field
...
when client_attrs_init expression renders to empty string,
do not initialize the attribute.
also fixed an ACL error: a template render failure for a topic
would stop the ACL checks for the following topics if more
than one topic is configured.
2024-04-25 17:32:07 +02:00
zmstone
d30b52f0f9
docs: refine acl.conf comments
2024-04-25 17:32:07 +02:00
Kjell Winblad
6ab9460c16
docs: add change log entry
2024-04-25 17:10:30 +02:00
Kjell Winblad
15594b4db6
fix(HTTP connector): retry on 503 Service Unavailable response
...
Previously, if an HTTP request received a 503 (Service Unavailable)
status, it was marked as a failure without retrying. This has now been
fixed so that the request is retried a configurable number of times.
Fixes:
https://emqx.atlassian.net/browse/EMQX-12217
https://github.com/emqx/emqx/issues/12869 (partly)
2024-04-25 17:05:18 +02:00
Ilya Averyanov
407b0cd0ca
feat(jwt_auth): improve verify_claims handling and docs
2024-04-25 17:49:29 +03:00
Kjell Winblad
cad5d8bc31
Merge pull request #12916 from kjellwinblad/kjell/fix_traces/EMQX-12025
...
Improve log structure for HTTP action and add after render trace to other actions
2024-04-25 16:40:46 +02:00
Ilia Averianov
c42583550d
Merge pull request #12514 from savonarola/0214-fix-ft-responses
...
fix(ft): report ft assemble status from a dedicated process
2024-04-25 15:10:26 +03:00
Kjell Winblad
ff09f14191
fix(http connector): remove sensitive info from headers lazily
...
In production code we don't need to redact the headers for a trace that
will never appear anywhere so we can improve performance by doing
removal of sensitive information lazily.
2024-04-25 13:27:14 +02:00
Kjell Winblad
ef9884cf47
refactor(rule trace): templates rendered trace to increase code reuse
...
* The code for passing the trace context to a sub process has been
improved to increase code reuse. This code is used when the action
templates are rendered in a sub process.
* A macro has also been added for the error term that is thrown when the
action shall be stopped after the templates has been rendered. This is
also done to reduce code duplication and to reduce the risk of
introducing bugs due to typos.
* Fix incorrect type spec
Thanks to @zmstone for suggesting these improvements in comments to a PR
(https://github.com/emqx/emqx/pull/12916 ).
2024-04-25 13:15:36 +02:00
Kjell Winblad
0dbaef4316
feat: add stop after render and after render trace to tdengine action
2024-04-25 11:51:46 +02:00
Kjell Winblad
d6ceeb3b30
feat: add stop after render and after render trace to rabbitmq action
2024-04-25 11:51:46 +02:00
Kjell Winblad
11d9d30fc0
feat: add stop after render and after render trace to syskeeper action
2024-04-25 11:51:46 +02:00
Kjell Winblad
a0b2357abb
feat: add stop after render and after render trace to sqlserver action
2024-04-25 11:51:46 +02:00