JianBo He
89c65b6535
Merge tag 'v4.3.14-rc.4' into merge-main-v4.3-into-v4.4
2022-04-16 11:28:07 +08:00
JianBo He
c8c52dfc39
Merge remote-tracking branch 'ce/main-v4.3' into merge-main-v4.3-into-v4.4
2022-04-14 11:56:35 +08:00
JimMoen
6168745f90
chore: update copyright
2022-04-14 11:23:25 +08:00
Shawn
ae8f03a188
fix(rules): deny POST /rules with an existing Id
2022-04-13 23:16:29 +08:00
EMQ-YangM
1886893fa1
fix: add zip_compress functions
2022-04-13 14:19:32 +08:00
Xinyu Liu
8f4e390891
Merge branch 'main-v4.4' into cp-of_main-v4.3
2022-04-07 17:53:40 +08:00
Yang Miao
75486efb11
Merge pull request #7534 from EMQ-YangM/dev/v4.3.14
...
fix: change rule_speed record type
2022-04-07 10:37:27 +08:00
EMQ-YangM
0e02e8df9d
fix: change rule_speed record type
2022-04-07 09:50:31 +08:00
JianBo He
dfea07fd0f
Merge remote-tracking branch 'ce/main-v4.3' into merge-v43-to-v44
2022-04-07 09:37:47 +08:00
Zaiming (Stone) Shi
d1e773d83c
test: fix float point number compare
2022-04-06 21:09:10 +02:00
Thales Macedo Garitezi
a1705f5653
fix: flaky test
2022-04-06 09:11:09 -03:00
Zaiming (Stone) Shi
f3a7c75871
Merge remote-tracking branch 'origin/main-v4.3' into dev/v4.4.3
2022-04-06 13:24:37 +02:00
EMQ-YangM
299c369d80
feat: enhanced rule engine error handling when json parsing error
2022-04-02 16:24:07 +08:00
EMQ-YangM
326634c287
feat: impl api PUT /rules/{id}/reset_metrics
2022-03-31 18:00:57 +08:00
EMQ-YangM
059fc6e3c7
feat(emqx_rule_events): add field 'is_cache'
2022-03-25 18:05:25 +08:00
EMQ-YangM
3eab6b436b
fix(appup): load_module emqx_access_control
2022-03-25 11:27:28 +08:00
EMQ-YangM
e0d142c625
feat: add client.check_acl_complete event
2022-03-25 11:08:30 +08:00
EMQ-YangM
3410e20fbe
feat(emqx_rule_engine_events): add client_connack event
2022-03-24 14:58:41 +08:00
EMQ-YangM
62eff94249
feat(emqx_rule_funcs): add functions gzip, gunzip, zip, unzip
2022-03-22 15:16:31 +08:00
Thales Macedo Garitezi
e053700441
style: please elvis checks
2022-02-09 11:02:05 -03:00
Thales Macedo Garitezi
b968d4c416
fix(ctl): fix formatting when printing messages without arguments (4.3)
...
Without passing an empty argument list to `emqx_ctl:print`, formatting
instructions like `~n` are being printed literally.
```
Ignore.~nJoin the cluster successfully.~nCluster status: #{running_nodes =>
['emqx@emqx-0.int.thalesmg','emqx@emqx-1.int.thalesmg',
'emqx@emqx-2.int.thalesmg','emqx@emqx-3.int.thalesmg',
'emqx@emqx-4.int.thalesmg'],
stopped_nodes => []}
```
2022-02-09 09:36:27 -03:00
EMQ-YangM
7605fa5e64
fix(rule_engine_metric): remove unused metrics 'overall_metrics'
2022-01-11 22:09:38 -08:00
EMQ-YangM
2074dd63f9
test(rule_engine_metrics): add more test
2022-01-05 21:11:52 -08:00
EMQ-YangM
e5993c9f72
refactor(rule_engine_metrics): remove function 'message()'
2022-01-05 02:08:40 -08:00
EMQ-YangM
c2870b3322
test(rule_engint_metrics): add test for 'FOREACH'
2022-01-05 01:57:18 -08:00
EMQ-YangM
88913a9144
test(rule_engine_metrics): add test 't_metrics'
2022-01-05 01:20:53 -08:00
EMQ-YangM
a5a8aa3b6d
feat(rule_metrics): add more metrics to the rule engine
2022-01-05 00:20:06 -08:00
Zaiming Shi
6354e75626
chore: update copyrights
2021-04-23 20:43:00 +02:00
Shawn
19a9bab3a4
feat(rule_engine): add rule sql functions for datetime rfc3339
2021-04-22 10:32:44 +08:00
wwhai
f7b34cb098
feat(rule-engine): list rule support order by timestrap
2021-03-12 17:35:13 +08:00
Shawn
6d83bc3e9b
fix(rule): destroy the actions when disabling the rule ( #4232 )
...
Merge the following PR from enterprise version:
https://github.com/emqx/emqx-rule-engine/pull/231
2021-02-24 13:24:23 +08:00
Shawn
196fef0255
chore(rule): migrate rule-engine from enterprise version
2021-02-22 13:53:51 +08:00
Shawn
7778cd8623
Add hooks only when creating the rules ( #4160 )
...
* refactor(rules): add hook only when creating rules
* fix(rule): update hooks after application restarted
* fix(rule): remove the extra guard
2021-02-22 11:16:47 +08:00
Shawn
1e047e84c2
feat(resource): keep restart disconnected resources after emqx bootup ( #4125 )
...
* feat(resource): keep restart disconnected resources after emqx bootup
* feat(resource): improve the restart monitor
* fix(test): improve emqx_rule_monitor_SUITE
* fix(resource): refresh resource should be only applied on local node
* fix(test): improve the test case for restart_resource
* fix(resource): rename some functions
2021-02-20 17:10:50 +08:00
Shawn
c2e1bc039b
feat(rule): add more sql functions #4143 ( #4144 )
2021-02-20 17:10:10 +08:00
Zaiming Shi
4a877a3a69
chore(apps): relocate some apps
...
emqx_telemetry is for opensource onlyh
emqx_rule_engiune is common
2021-02-19 11:24:41 +01:00
Zaiming Shi
8f477e8411
refactor(proj): Move opensource apps to lib-opensource
...
One step closer for better code abstraction for opensorce vs enterprise
So far this relocation is to make opensource to enterprise merges
conflict free.
2021-02-11 16:45:05 +01:00
Shawn
70a490114d
fix(rulesql): proc cassandra cql with apostrophes failed
2021-02-05 15:30:16 +08:00
Shawn
a2fa84255f
fix(rulesql): proc_sql_param_str incorrect with apostrophes #4135 ( #4137 )
2021-02-05 10:41:54 +08:00
wwhai
a3206f5e0b
fix(rule-engine): reformat code style
2021-01-29 19:32:05 +08:00
bignullnull
67bfb4f10a
fix(rule_engine): resource update problem and add cli ( #3991 )
2021-01-15 09:12:24 +08:00
Shawn
d86b5ef210
fix(rule_engine): compile warnings on the macro RAISE
2020-12-31 17:03:39 +08:00
bignullnull
efb32e9903
test(rule_engine): add update resource unit test case ( #3964 )
...
* test(rule_engine): add update resource unit test case
* feat(rule_engine): add update resource support
Co-authored-by: wwhai <cnwwhai@gmail.com>
2020-12-28 14:59:28 +08:00
JianBo He
9e22f492c7
refactor(rule-engine): add proc_sql_param_str/2 to handle sql params
2020-12-28 10:51:13 +08:00
Shawn
6b5878cdd0
fix(test): solve verification issue when verify the resource numbers
2020-12-23 16:39:40 +08:00
zhanghongtong
3ef08f9ce3
test(meck): add meck unload after meck load
2020-12-22 13:39:49 +08:00
Shawn
e15c0c325e
fix(rule_engine): nested_get value from binary was supported in 4.1
2020-12-22 11:18:16 +08:00
Shawn
86d20b060c
fix(metrics): counters not created before incr 'rule.matched'
2020-12-22 11:18:16 +08:00
Shawn
c3159420bb
feat(funcs): add bitsize/1 and subbits/2,3,6 functions
2020-12-22 11:18:16 +08:00
Shawn
e72cbd22c4
fix(rule_validator): fill default values when validating the params
2020-12-18 11:08:17 +08:00