Zaiming (Stone) Shi
14ba75502f
chore: update copyright year
2023-01-02 14:54:38 +01:00
DDDHuang
64a455bf8e
fix: old date format style example & some code format
2022-05-26 16:06:04 +08:00
DDDHuang
e1ad8aab46
fix: date format funs & logger conf & appup & change log
2022-05-26 13:13:00 +08:00
DDDHuang
4fc5cb2817
fix: rule engine date format fun & date to timestamp
2022-05-26 12:57:53 +08:00
EMQ-YangM
7b38c66538
feat: add rule engine function float2str/2
2022-05-19 14:18:22 +08:00
EMQ-YangM
de1d8909c3
fix: hexstr2bin support half byte
2022-05-18 17:45:26 +08:00
EMQ-YangM
8558a62ee2
feat: add some date format functions
2022-05-07 17:04:45 +08:00
JimMoen
6168745f90
chore: update copyright
2022-04-14 11:23:25 +08:00
EMQ-YangM
1886893fa1
fix: add zip_compress functions
2022-04-13 14:19:32 +08:00
EMQ-YangM
62eff94249
feat(emqx_rule_funcs): add functions gzip, gunzip, zip, unzip
2022-03-22 15:16:31 +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
Shawn
196fef0255
chore(rule): migrate rule-engine from enterprise version
2021-02-22 13:53:51 +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
c3159420bb
feat(funcs): add bitsize/1 and subbits/2,3,6 functions
2020-12-22 11:18:16 +08:00
Zaiming Shi
3a91ff8a7b
chore(proj): resync apps
2020-12-11 08:19:26 +01:00
Shawn
15d048d8ec
feat(funcs): add bitsize/1 and subbits/2,3,6 functions
...
Given following Rule SQL:
```
select
subbits(payload, 1, 8) as firstByte,
case
when firstByte = 123 then 't/{'
when firstByte = 125 then 't/}'
else 't/' + str(firstByte)
end as tp
from "t/#"
```
Input Payload: `{x}`
Output: `{"tp": "t/{", "firstByte": 123}`
Input Payload: `}x`
Output: `{"tp": "t/}", "firstByte": 125}`
Input Payload: `a`
Output: `{"tp": "t/97", "firstByte": 97}`
2020-12-10 11:26:07 +08:00
Zaiming Shi
2fda0a1565
chore(apps): Sync again all apps
2020-12-07 21:30:21 +01:00
Zaiming Shi
686c006d6e
refactor(proj): Add apps
2020-12-04 22:11:53 +01:00