Commit Graph

12883 Commits

Author SHA1 Message Date
Yang Miao c91dff349a
Merge pull request #7993 from EMQ-YangM/add_func_float2str
feat: add rule engine function float2str/2
2022-05-19 17:07:35 +08:00
JianBo He dd716e9a05
Merge pull request #7989 from HJianBo/fix-coverage
ci: upload all cover files
2022-05-19 16:31:36 +08:00
EMQ-YangM 005fce63d1 feat: add rule engine function float2str/2 2022-05-19 16:16:05 +08:00
DDDHuang 98c46cb305
Merge pull request #7985 from DDDHuang/bad_node_name_v5
fix: check node name, regular expression (V5.0.0)
2022-05-19 15:57:30 +08:00
JianBo He 0a6276f9fe test: suppress ct:print/2 producing ton of useless logs 2022-05-19 14:16:21 +08:00
JianBo He aae5e55e21 ci: upload all cover files 2022-05-19 14:13:53 +08:00
kiragoo c1fd05c0eb chore: add the content about emqx operator for installing 2022-05-19 11:38:03 +08:00
Swilder-M e20c36f426 chore(readme): modify img and docs link 2022-05-19 11:30:48 +08:00
DDDHuang 809c0bede7 fix: check node name, regular expression 2022-05-19 09:52:00 +08:00
Xinyu Liu 54a6505984
Merge pull request #7982 from terry-xiaoyu/bridge_mode_in_mqtt_connector
fix: add bridge_mode field to the mqtt connector
2022-05-19 08:56:42 +08:00
Shawn a9da88d73b fix(spell): please the spell checker 2022-05-19 08:55:47 +08:00
Xinyu Liu 406bc3502e
Merge pull request #7981 from terry-xiaoyu/improve_bridge_apis
refactor: move some APIs to new module emqx_bridge_resource
2022-05-18 18:31:48 +08:00
Shawn 7e21ef6435 fix: add bridge_mode field to the mqtt connector 2022-05-18 18:28:43 +08:00
Yang Miao bf552f2c4b
Merge pull request #7980 from EMQ-YangM/fix_zero_padding
fix: zero padding should be to the MSB side
2022-05-18 17:22:23 +08:00
EMQ-YangM 66c62f432b fix: zero padding should be to the MSB side 2022-05-18 15:28:01 +08:00
Shawn d89d692d3e refactor: move some APIs to new module emqx_bridge_resource 2022-05-18 15:12:34 +08: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
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