Commit Graph

17137 Commits

Author SHA1 Message Date
Thales Macedo Garitezi 4034bcbb26 fix(rule_runtime): avoid rewriting select clause sources (by @keynslug)
Thanks to @keynslug for the insight and the patch.

With this, we avoid rewriting the parsed select clause sources, and
attempt to reuse the result context when reading values during
evaluation.
2023-07-13 14:46:08 -03:00
Thales Macedo Garitezi 3902c224e3
Merge pull request #11254 from emqx/ci-fix-missing-reboot-check
ci(fix): actually fail check for missing reboot apps
2023-07-13 10:09:01 -03:00
Thales Macedo Garitezi 924ed06760
Merge pull request #11256 from thalesmg/bridge-api-ecpool-400-errors-20230712-r51
fix(bridge_api): return 400 for all ecpool start errors
2023-07-13 10:05:07 -03:00
Thales Macedo Garitezi 26d4ee5780 ci(fix): actually fail check for missing reboot apps 2023-07-13 09:02:20 -03:00
firest 66baea2ba0 chore: update changes 2023-07-13 08:02:36 +00:00
firest 749b8cd2ed test(tdengine): cover multi-table insert && subtable name generation 2023-07-13 07:39:01 +00:00
Ivan Dyachkov d450d34ab3 ci: fix and speedup jmeter download 2023-07-13 09:26:16 +02:00
JianBo He d74ff25130
Merge pull request #11265 from JimMoen/fix-hstream-connector-schema
fix: hstreamdb connector use unified schema
2023-07-13 14:02:22 +08:00
firest fef5087c41 fix(tdengine): fix SQL template errors
1. supports multi-table insert
2. supports constructing subtable names by mixed prefixes and placeholders
2023-07-13 04:44:48 +00:00
JimMoen c23c3a1f78
fix: hstreamdb connector use unified schema 2023-07-13 10:47:45 +08:00
zhongwencool 4f12d0ca67
Merge pull request #11264 from thalesmg/sync-r51-20230712
sync `release-51` back to `master`
2023-07-13 09:06:11 +08:00
Thales Macedo Garitezi 06010f7ca9 Merge remote-tracking branch 'origin/release-51' into sync-r51-20230712 2023-07-12 16:47:45 -03:00
Thales Macedo Garitezi be7918aa41 fix(gcp_pubsub_consumer): fail health check when there are no workers
`ecpool` already returns an error even if the worker process is dead,
but we add the empty worker list clause here just for completeness.
2023-07-12 16:31:21 -03:00
Thales Macedo Garitezi bbff1d6ae9 fix(bridge_api): return 400 for all ecpool start errors
Fixes https://emqx.atlassian.net/browse/EMQX-10460
(https://emqx.atlassian.net/browse/EMQX-10460?focusedCommentId=30126)
2023-07-12 15:32:34 -03:00
Thales Macedo Garitezi bffef386c1 fix(rule_maps): avoid losing data when using `emqx_rule_maps:nested_put`
Fixes https://emqx.atlassian.net/browse/EMQX-10541
2023-07-12 14:28:18 -03:00
Ivan Dyachkov 8ebe099653
Merge pull request #11253 from id/kjell/refactor/http_bridge/EMQX-9568
refactor: HTTP bridge into the emqx_bridge_http application
2023-07-12 15:58:02 +02:00
Thales Macedo Garitezi 84890a416d
Merge pull request #11241 from thalesmg/refactor-schema-registry-master
refactor(schema_registry): refactor schema registry app and modules
2023-07-12 10:44:00 -03:00
Ivan Dyachkov 6180e775f4 test: fix mocking and application start 2023-07-12 14:47:52 +02:00
Ivan Dyachkov 8815e58149 chore: remove docker-ct from emqx_bridge_http since toxiproxy is not used in CT 2023-07-12 14:47:46 +02:00
Ivan Dyachkov 45f94df7b1 fix: add ehttpc as emqx_bridge_http dependency 2023-07-12 14:47:39 +02:00
Ivan Dyachkov ab81d844b3 docs: update PR reference in change log 2023-07-12 14:47:34 +02:00
Thales Macedo Garitezi c94dc2e63f fix: add emqx_dashboard as a dependency of emqx_machine
```
===> Compiling emqx_machine
===> Compiling src/user_default.erl failed
src/user_default.erl:{24,14}: can't find include lib "emqx_dashboard/include/emqx_dashboard.hrl"; Make sure emqx_dashboard is in your app file's 'applications' list

==> emqx_mix
** (Mix) Could not compile dependency :emqx_machine, "/github/home/.mix/elixir/1-14/rebar3 bare compile --paths /__w/emqx/emqx/_build/emqx/lib/*/ebin" command failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile emqx_machine", update it with "mix deps.update emqx_machine" or clean it with "mix deps.clean emqx_machine"
make: *** [Makefile:276: emqx-elixir] Error 1
```
2023-07-12 14:47:28 +02:00
Kjell Winblad 41e9e55ecb docs: add changelog entry for HTTP bridge refactoring 2023-07-12 14:47:09 +02:00
Kjell Winblad 6ce47614d2 refactor: HTTP bridge into the emqx_bridge_http app
Fixes:
https://emqx.atlassian.net/browse/EMQX-9568
2023-07-12 14:47:02 +02:00
Kjell Winblad f28510b3ad refactor: HTTP connector into emqx_bridge_http app 2023-07-12 14:46:43 +02:00
Thales Macedo Garitezi 541d03a0ba refactor(schema_registry): refactor schema registry app and modules
Fixes https://emqx.atlassian.net/browse/EMQX-10361

- Moves `lib-ee/emqx_ee_schema_registry` to `apps/emqx_schema_registry`.
- Removes the `_ee_` segment from module names.
  - Exceptions are the table names which are kept to avoid backwards incompatibilities.
2023-07-12 09:24:15 -03:00
Serge Tupchii cacfb51280 fix(emqx_machine): add emqx_ee_schema_registry to the reboot apps list
As emqx_ee_schema_registry uses Mria tables (schema_registry_shard),
a node joining a cluster needs to restart this application in order to
restart relevant Mria shard processes.
2023-07-12 09:23:28 -03:00
zhongwencool 5b0695ca19
Merge pull request #11249 from zhongwencool/license-setting-api
feat: add license setting get/put api
2023-07-12 18:34:23 +08:00
zhongwencool 8b73a50ca1 chore: delete watermark from /license post api 2023-07-12 17:48:30 +08:00
Ivan Dyachkov e43619b5c8
Merge pull request #11255 from id/0712-add-security-policy
docs: add security policy
2023-07-12 10:53:56 +02:00
zhongwencool 4a07106aa5 fix: don't include emqx_enterprise in community version 2023-07-12 16:48:56 +08:00
Ivan Dyachkov ce65abefc3 docs: add security policy 2023-07-12 10:45:53 +02:00
zhongwencool a8b9b6f27f chore: use put instead of post to update setting 2023-07-12 14:56:24 +08:00
zhongwencool f40d8318b7 fix: license validations is not working 2023-07-12 14:40:38 +08:00
zhongwencool 43866b8e55 test(license): test setting HTTP API 2023-07-12 14:21:51 +08:00
Ivan Dyachkov 3fcfacbaa1
Merge pull request #11252 from id/0711-ci-fix-rerun-apps-check-permissions
ci: fix rerun apps check token scope and improve logging
2023-07-11 18:11:28 +02:00
SergeTupchiy fce3060634
Merge pull request #11251 from SergeTupchiy/EMQX-10392-cluster-topology-api
Add cluster topology HTTP API endpoint
2023-07-11 17:45:00 +03:00
Serge Tupchii 19de10be7c feat(emqx_management): add /cluster/topology HTTP API endpoint
The endpoint shows Mria RLOG cluster topology info:
connections between core and replicant nodes.

Closes: EMQX-10392
2023-07-11 16:25:36 +03:00
Ivan Dyachkov 088ff8b17c ci: fix rerun apps check token scope and improve logging 2023-07-11 14:36:48 +02:00
lafirest 903d81b532
Merge pull request #11250 from lafirest/fix/ws_order
fix(ws): fix MQTT packets may be reversed in the WS
2023-07-11 20:09:55 +08:00
Thales Macedo Garitezi 0fc4a9291b
Merge pull request #11247 from thalesmg/fix-dev-ekka-epmd-switch
ci(dev): fix `--ekka-epmd` flag for elixir
2023-07-11 08:58:17 -03:00
JianBo He 515b414d99
Merge pull request #11236 from HJianBo/perf-speedup-the-empty-conds-query
perf(http): improve the speed of clients querying in default parameters
2023-07-11 19:30:41 +08:00
firest 74f2b3e137 chore: update changes 2023-07-11 18:50:12 +08:00
firest 211486a946 fix(ws): fix MQTT packets may be reversed in the WS
Fix when a WS packet contains many MQTT packets, the order of MQTT packets will be reversed
2023-07-11 18:40:06 +08:00
JianBo He a7d7cd6414
Merge pull request #11248 from Kinplemelon/kinple/for-upgrade-dashboard
chore: upgrade dashboard to e1.1.1-beta.3 for ee
2023-07-11 14:35:05 +08:00
zhongwencool f03d4d090e feat: add license setting get/put api 2023-07-11 11:53:41 +08:00
JianBo He e51a4ae81e chore: avoid dialyzer warnings 2023-07-11 10:41:10 +08:00
JianBo He 964e3cc7e4 chore: update changes 2023-07-11 10:41:10 +08:00
JianBo He 15c91373fe perf(http): improve the speed of clients querying in default parameters
In https://github.com//emqx/emqx/pull/9749 we fixed the problem of
incorrect total calculation. In this PR we added an option to improve
the query speed when the query condition is empty
2023-07-11 10:41:10 +08:00
Kinplemelon 2817dea4d1 chore: upgrade dashboard to e1.1.1-beta.3 for ee 2023-07-11 09:57:38 +08:00