Commit Graph

10766 Commits

Author SHA1 Message Date
Yang Miao
2b58733571
Merge pull request #7971 from EMQ-YangM/fix_hexstring_to_binary
fix: hexstr_to_bin support half byte
2022-05-18 10:14:25 +08:00
Xinyu Liu
071428507a
Merge pull request #7974 from terry-xiaoyu/rule_sql_metrics
fix: rename the rule metrics
2022-05-18 09:20:23 +08: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
JianBo He
84812463d9
Merge pull request #7970 from HJianBo/gw-fixes
fix(gw): override configs while updating gw or listeners
2022-05-17 17:31:19 +08:00
Shawn
c98fd04f8f fix: rename the rule metrics 2022-05-17 17:17:07 +08:00
EMQ-YangM
d8da8f1686 fix: hexstr_to_bin support half byte 2022-05-17 16:47:59 +08:00
JianBo He
61b1731e5c fix(gw): merge the listener and authn confs 2022-05-17 15:16:03 +08:00
Zaiming (Stone) Shi
d1ffba7ff4
Merge pull request #7966 from zmstone/0516-ignore-bad-metrix-value
fix(emqx_map_lib): ignore non-number non-map values
2022-05-17 07:33:15 +01:00
JianBo He
57bd862298 fix(gw): override configs while updating gw or listeners 2022-05-17 11:58:03 +08:00
JianBo He
636626f65f
Merge pull request #7968 from HJianBo/fix_gw_flaky_tests
test(gw): ensure coap client kicked
2022-05-17 09:04:51 +08:00
ieQu1
02eaaace20
Merge pull request #7965 from ieQu1/ci-avoid-duplicate-git-conf
ci: Avoid adding duplicate entries to git config
2022-05-16 18:59:29 +02:00
JianBo He
a6c15967d2 test(gw): ensure coap client kicked 2022-05-16 21:42:16 +08:00
Xinyu Liu
5e35e6bcb9
Merge pull request #7967 from emqx/fix_flaky_connector_tests
fix: change connector name to prevent race condition in tests
2022-05-16 21:04:46 +08: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
ieQu1
12860bf87b ci: Avoid adding duplicate entries to git config 2022-05-16 12:54:48 +02: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
Chris
0c6a66e554 fix: change connector name to prevent race condition in tests 2022-05-16 12:22:57 +02: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
Zaiming (Stone) Shi
5deb0c4878 fix(emqx_map_lib): ignore non-number non-map values 2022-05-16 10:59:18 +02:00
EMQ-YangM
561d8c3912 fix: load connector schema 2022-05-16 16:38:33 +08:00
JianBo He
6e203496c9 chore: rename the exhook server status names 2022-05-16 16:08:54 +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