Commit Graph

10454 Commits

Author SHA1 Message Date
Shawn 8650842994 fix: pin jq v0.3.2 2022-05-22 14:14:02 +08:00
Shawn 7bc2d9edbb fix: remove bison from the required tools when building emqx 2022-05-21 14:17:12 +08:00
Kjell Winblad efd6461e15 docs: chinese documentation for jq timeout configuration
Co-authored-by: Zaiming (Stone) Shi <zmstone@gmail.com>
2022-05-21 07:07:29 +02:00
Kjell Winblad 402ab7e759 chore: remove unnecessary repeated code
Co-authored-by: Zaiming (Stone) Shi <zmstone@gmail.com>
2022-05-18 07:21:16 +02:00
Kjell Winblad 05032467bd feat(rule_engine): default timeout for jq/2 and jq/3 with timeout
This commit adds a default timeout of 10 seconds to the rule engine's
`jq/2` function, and adds a new function `jq/3` (where the last parameter is
a timeout value). The default timeout can be configured with the setting
"rule_engine.jq_function_default_timeout".

Having a timeout when executing jq code in the rule engine is important
as jq code can potentially run forever. Also, the Erlang jq library
limits the number of jq programs that can execute concurrently so a jq
program that loops forever could potentially also prevent a "non-buggy"
jq program from ever starting.
2022-05-17 19:36:32 +02:00
Thales Macedo Garitezi cab5ed09ff
Merge pull request #7949 from thalesmg/fix-telemetry-num-clients
fix(telemetry): use the live connection count instead of max conns
2022-05-16 09:16:25 -03:00
Xinyu Liu 9d5fef1513
Merge pull request #7961 from terry-xiaoyu/emqx_build_5.0-15
chore: ping emqx-builder to 5.0-15
2022-05-16 19:20:32 +08:00
Xinyu Liu 5d5a6a14cf
Merge pull request #7957 from EMQ-YangM/fix_other_events
fix: ignore all other events
2022-05-16 18:23:36 +08:00
Shawn c4faaee555 chore: release 5.0.0-rc.3 2022-05-16 18:10:42 +08:00
Shawn 5d65bdaa47 chore: ping emqx-builder to 5.0-15 2022-05-16 18:10:42 +08:00
JianBo He 4d35338cd1
Merge pull request #7963 from HJianBo/add-proto-name-for-client-disconnected-v5
feat(rule-engine): add proto_name/proto_ver for $event/client_disconnected event
2022-05-16 18:06:06 +08:00
Zaiming (Stone) Shi addb48af7d
Merge pull request #7959 from zmstone/ci-jq-temp-fix-for-aclocal-path
ci(jq): temp fix for ACLOCAL paths
2022-05-16 10:06:10 +01:00
EMQ-YangM 574a40b327 fix: wait for test_resource stop 2022-05-16 17:00:42 +08:00
EMQ-YangM 561d8c3912 fix: load connector schema 2022-05-16 16:38:33 +08:00
Zaiming (Stone) Shi 4664a9fc53 ci(jq): temp fix for ACLOCAL paths 2022-05-16 09:56:50 +02:00
JianBo He d8ec51a0c2 feat(rule-engine): add proto_name/proto_ver for $event/client_disconnected event 2022-05-16 15:12:41 +08:00
EMQ-YangM b5addf7e05 fix: log all ignore events 2022-05-16 15:08:03 +08:00
EMQ-YangM bbbfea1b5b fix: ignore all other events 2022-05-16 15:08:03 +08:00
Zaiming (Stone) Shi 3524fb6994
Merge pull request #7775 from zmstone/0426-5.0-hint-metrics-merge-errors
fix: hint metrics merge errors
2022-05-16 07:42:01 +01:00
JianBo He 3847901b3a
Merge pull request #7958 from HJianBo/master
Update the issue templates
2022-05-16 14:01:53 +08:00
Zaiming (Stone) Shi 1c95c417f7
Merge pull request #7951 from zmstone/0514-fix-flaky-authn-test-case
0514 fix flaky authn test case
2022-05-16 06:55:28 +01:00
JianBo He 4efe7bd96c
Merge pull request #7891 from wuxingzhong/fix_chart
fix: use storageClassName instead of annotation
2022-05-16 13:44:21 +08:00
JianBo He ee9560718b chore: add description for feature-request 2022-05-16 11:56:19 +08:00
JianBo He 1ec111ad2e chore: update issue-template config.yml 2022-05-16 11:43:18 +08:00
JianBo He 70981455ea chore: update issue template 2022-05-16 11:35:43 +08:00
Yang Miao 09cf28056f
Merge pull request #7956 from EMQ-YangM/fix_status_when_connecting_health_check
fix: when connecting health check failed, update status.
2022-05-16 11:34:09 +08:00
EMQ-YangM 1a1c82932a fix: when connecting health check failed, update status. 2022-05-16 10:47:20 +08:00
Xinyu Liu bd51edf989
Merge pull request #7912 from emqx/EMQX-4203-delete-old-emqx-resource-instance-based-implementation
refactor: delete now unused emqx_resource modules
2022-05-16 10:23:59 +08:00
Chris 93799e3ac6 refactor: delete now unused emqx_resource modules 2022-05-16 09:54:26 +08:00
JianBo He b5132e6afb chore: remove tailing space 2022-05-16 09:40:35 +08:00
wuxingzhong b120b0d521 fix: use storageClassName instead of annotation 2022-05-16 09:40:07 +08:00
Xinyu Liu 74bef22299
Merge pull request #7947 from emqx/fix_flaky_tests
fix: fix tests for connector so they do not fail
2022-05-16 09:35:00 +08:00
Xinyu Liu c4fd31ae25
Merge pull request #7916 from emqx/EMQX-4204-auto-timer-based-retry-when-in-disconnected-state
feat: add auto_retry for disconnected state in resource manager
2022-05-16 09:34:08 +08:00
JianBo He 3f59650e4b
Merge pull request #7944 from EMQ-YangM/fix_bridge_status
fix: restart resource should not clear metrics
2022-05-16 09:16:12 +08:00
zhongwencool 850df81840
Merge pull request #7952 from zhongwencool/emqx-service-not-found
fix: emqx can't start with systemctl
2022-05-15 23:36:52 +08:00
Zhongwen Deng ec625363cf fix: emqx can't start with systemctl 2022-05-15 17:13:56 +08:00
Zaiming (Stone) Shi ed0ab70aaf test: fix flaky-ness of authn api tests
if api test suite runs after the JWT suite, it failes as
the config is not clean
2022-05-15 09:19:31 +02:00
Zaiming (Stone) Shi 522bd935ba fix(authn): check authenticator config existence in pre-update callback
prior to this change, the authenticator existence check was done
in the post-update callback, this causes confusion as teh list
already contains duplication.
2022-05-15 09:19:31 +02:00
Zaiming (Stone) Shi 00198abfd7 chore: hint how to fix fmt in pre-commit hook 2022-05-15 09:19:31 +02:00
Zaiming (Stone) Shi 9527561125 refactor: ensure auth mechanism is binary 2022-05-15 09:19:28 +02:00
Zaiming (Stone) Shi 382d9079e1
Merge pull request #7923 from zmstone/0511-pin-lc-0.3.0-fix-memory-usage-false-alarm
pin lc 0.3.0 fix memory usage false alarm
2022-05-13 21:55:23 +01:00
Zaiming (Stone) Shi 2eb621ba57 fix: hint metrics merge errors 2022-05-13 21:38:51 +02:00
Zaiming (Stone) Shi d48528d74f chore(emqx_os_mon): no need for special handling of 0 2022-05-13 21:12:08 +02:00
Zaiming (Stone) Shi 5f3780a032 fix(os_mon): ensure float point number for ~f format 2022-05-13 20:55:28 +02:00
Zaiming (Stone) Shi 99d50d2455
Merge pull request #7496 from zmstone/0401-5.0-add-parallel-map-lib
refactor: refine pmap with nolink_apply
2022-05-13 18:40:36 +01:00
JimMoen 0c88457b4e
Merge pull request #7945 from DDDHuang/dash_m
feat: dashboard monitor missed topics field
2022-05-14 00:15:43 +08:00
Ilya Averyanov 4d661cd67b
Merge pull request #7939 from savonarola/authz-generalize
feat(authz): add default authn-based authz source
2022-05-13 17:12:56 +03:00
Zaiming (Stone) Shi 3644650b46
Merge pull request #7849 from zmstone/0429-5.0-per-group-shared-sub-strategy
feat(shared_sub): Per-group shared subscription and local strategy
2022-05-13 15:06:55 +01:00
Zaiming (Stone) Shi c355c40ea8 refactor: call emqx_alarm:ensure_deactivated everywhere 2022-05-13 16:02:55 +02:00
Zaiming (Stone) Shi 4013dd2f14 refactor: refine pmap implementation 2022-05-13 15:22:42 +02:00