Commit Graph

21354 Commits

Author SHA1 Message Date
Andrew Mayorov
83366cbed0
fix(s3-aggreg): ensure action works in Rule SQL contexts 2024-04-30 10:48:16 +02:00
Andrew Mayorov
a1a313d992
fix(s3-aggeg): apply CSV column order setting consistently
Otherwise, columns that are part of column order could appear and
disappear from consecutive uploads, depending on if they are part
of the very first buffered event or not.
2024-04-30 10:48:16 +02:00
Andrew Mayorov
f6e5eea4f7
feat(s3-aggreg): handle delivery shutdowns gracefully 2024-04-30 10:48:15 +02:00
Andrew Mayorov
339036045d
feat(s3-aggreg): support custom and default S3 object HTTP headers
I.e. configured container decides default `Content-Type` header.
2024-04-30 10:48:15 +02:00
Andrew Mayorov
5b15b2d641
docs(s3-bridge): document aggregated upload action schema 2024-04-30 10:48:15 +02:00
Andrew Mayorov
ccbcc0c4e3
feat(s3-bridge): implement aggregated upload action 2024-04-30 10:48:15 +02:00
Andrew Mayorov
b91ff97170
feat(s3): separate streaming upload logic into dedicated module
And use it in `emqx_s3_uploader`, while also turning it into a simple
gen_server.
2024-04-30 10:48:12 +02:00
zmstone
c8d6976b14 feat: add conditions to variform expressions
- refactored `coalesce` function to allow lazy evaluation
- added `iif(Cond, IfExpr, EleseExpr)` to allow simple conditions
2024-04-30 07:28:27 +02:00
zmstone
ad91ca4401 chore: upgrade to rulesql 0.2.1 from 0.2.0
a minor enhancement: rule SQL without WHERE or FROM will
return "Missing FROM or WHERE" instead of "syntax error before {SELECT"
2024-04-29 22:01:32 +02:00
zmstone
9917293fd0 fix(schema): description should be in binary() type 2024-04-29 21:44:55 +02:00
Thales Macedo Garitezi
bd7ff8a03f
Merge pull request #12847 from thalesmg/fix-kill-hc-procs-m-20240408
fix(resource manager): clean up any running health checks when terminating, account for ongoing channel health checks, update data and reply immediately when receiving an update
2024-04-29 16:29:18 -03:00
Thales Macedo Garitezi
2972d2df7c docs: update supported otp versions 2024-04-29 15:44:03 -03:00
Thales Macedo Garitezi
ffedce014f fix(message validation): validate duplicated topics
Fixes https://emqx.atlassian.net/browse/EMQX-12254
2024-04-29 15:44:03 -03:00
Thales Macedo Garitezi
a847389159 fix(http connector): deobfuscate sensitive headers
Fixes https://emqx.atlassian.net/browse/EMQX-12213
2024-04-29 15:20:46 -03:00
Thales Macedo Garitezi
5cf92dcb73 refactor: use spawn_link instead of spawn_monitor
This should cover the case when the resource manager is brutally killed.
2024-04-29 15:20:32 -03:00
Thales Macedo Garitezi
475077c798 fix(resource): account for ongoing channel health checks, update data and reply immediately when receiving an update 2024-04-29 15:20:32 -03:00
Thales Macedo Garitezi
79526d539a fix(resource manager): clean up any running health checks when terminating
Fixes https://github.com/emqx/emqx/pull/12812#discussion_r1555564254
2024-04-29 15:20:32 -03:00
Zaiming (Stone) Shi
1e64e531f0
Merge pull request #12939 from zmstone/0426-unhide-zone-config-for-listener
docs: expose zone config in schema doc
2024-04-29 20:18:59 +02:00
zmstone
154eb18657 chore: pin mimerl 1.2.0
for some reason, mix pulls 1.3.0 (the lastest from hex.pm)
2024-04-29 15:45:32 +02:00
Ivan Dyachkov
0bb4308a48
Merge pull request #12946 from id/0429-bump-builder-version
chore: bump builder version to 5.3-4
2024-04-29 13:57:54 +02:00
zmstone
7a05a4754f docs: expose zone config in schema doc 2024-04-29 13:57:18 +02:00
Zaiming (Stone) Shi
70d2c6c6cd
Merge pull request #12935 from zmstone/0426-improve-websocket-listener-config-mqtt_path-doc
docs: improve mqtt_path doc
2024-04-29 13:48:10 +02:00
Zaiming (Stone) Shi
a41652ec31
Merge pull request #12940 from zmstone/0427-catch-hocon-syntax-error
feat(mgmt): add ignore_readonly to  configs API
2024-04-29 13:22:12 +02:00
Ivan Dyachkov
67ef42220e chore: bump builder version to 5.3-4 2024-04-29 11:49:07 +02:00
zmstone
1db932df21 chore(mgmt): PUT /configs?ignore_readonly=true, lower log to info level 2024-04-29 10:20:47 +02:00
lafirest
9602deacfa
Merge pull request #12941 from lafirest/fix/dynkeys
fix(dynamo): fixed the keys checking for Dynamo
2024-04-29 15:35:31 +08:00
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
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
JimMoen
00cab33fde
fix: plugin's internal config api 2024-04-26 18:10:55 +08: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