Sergey Matvienko
77502b6c6c
tests: ensure parseBytesTo methods do not alter input data
5 months ago
Viacheslav Klimov
5b5b4dff6b
Update license header
6 months ago
IrynaMatveieva
4e2b4fc921
added getLatestTs method and added tests
7 months ago
IrynaMatveieva
958e44f7d6
set ts -1 when default value used
7 months ago
nickAS21
5f6cc76d11
tbel: reName createSetTb to newSet and to toSet
12 months ago
nick
baf68bbbfc
tbel: refactoring
12 months ago
nick
edba3517da
tbel: add ExecutionArrayList with methods: add, addAll, remove, clear, sort, toSorted, toList
12 months ago
Dmytro Skarzhynets
a0e8b01429
Add tests for compilation errors when evaluating scripts
1 year ago
Dmytro Skarzhynets
69964a2413
Make script compilation errors unrecoverable during rule node initialization
1 year ago
IrynaMatveieva
da90d8f727
changed msgTs to latestTs
1 year ago
nickAS21
758ed0f189
tbel: Add utility methods to check for Map, List, and Array types in TbUtils
1 year ago
IrynaMatveieva
dd493d1f52
added tests
1 year ago
Sergey Matvienko
2a50e2eaa5
AbstractScriptInvokeService: validate script refactored
1 year ago
IrynaMatveieva
1869296ff2
added ability to preserve last update ts for calculated value
1 year ago
Sergey Matvienko
26d949d22f
invalidate async js scripts
1 year ago
IrynaMatveieva
56598a5247
added tests and moved to common util
1 year ago
IrynaMatveieva
f0bfea12c0
moved geoutils to script api
1 year ago
IrynaMatveieva
e2fdc5a4ba
added methods for check if point in polygon to tbel
1 year ago
IrynaMatveieva
9b870126f1
added util method
1 year ago
Andrii Shvaika
ee3d405ed8
Adding ctx as first argument in CF
1 year ago
IrynaMatveieva
3365d7f34e
added option to round result for simple type
1 year ago
Andrii Shvaika
933d77427c
Merge function
1 year ago
Andrii Shvaika
6265ff45a8
merge function draft
1 year ago
Andrii Shvaika
ac52098207
CF: merge function draft
1 year ago
Andrii Shvaika
62da129d6b
Review comments fixed
1 year ago
mpetrov
0b44abe121
JS func update
1 year ago
IrynaMatveieva
8c86f7fc12
added tests for rolling methods
1 year ago
IrynaMatveieva
72f26d9fe2
fixed functions
1 year ago
IrynaMatveieva
6f1dd5a2d6
added new methods for working with rolling
1 year ago
Igor Kulikov
5cf26d4851
Update license header
1 year ago
Volodymyr Babak
3c137dec77
TbDate - added functions to add years, months, days, etc.
1 year ago
IrynaMatveieva
e018282d04
minor fixes
1 year ago
IrynaMatveieva
6cf314eaa0
added NaN value when is not number in rolling
1 year ago
IrynaMatveieva
a0331655d1
fixed test script
1 year ago
IrynaMatveieva
1e46100cd2
added endTs and startTs to rolling argument
1 year ago
Andrii Shvaika
d7412edceb
Refactoring of the arguments
1 year ago
Andrii Shvaika
4048afecc3
WIP: arguments
1 year ago
nick
3908105ac5
fix_bug: tbel, in the isDecimal method. The mantissa format includes numbers written in exponential form
1 year ago
nick
d961b89f31
tbel: add hexToBytesArray, base64ToBytesList
2 years ago
YevhenBondarenko
0cc55ab989
added tbel metrics, refactored JS stats
2 years ago
thingsboard017
82638895bb
Increased timeout execution for TBEL script compiler
2 years ago
IrynaMatveieva
c75603f57c
added implementation for script type
2 years ago
nick
7369b00071
tbel: fix bug validate decimal with <+>
2 years ago
nick
6581e48055
tbel: fix bug validate decimal with <+>
2 years ago
Dmytro Skarzhynets
bbe328d158
Implemented safe scheduled thread pool
2 years ago
nick
5699c49c53
tbel: refactoring raiseError
2 years ago
nick
03af2564eb
tbel: refactoring tbUtils with docs #2
2 years ago
nick
b86a9d3802
tbel: refactoring tbUtils with docs
2 years ago
Andrii Landiak
c6ee0bff19
Add edgeIdsCache to decrease number of calls to db for findRelatedEdgeByEntityId
2 years ago
Kulikov
297e3941a7
TBEL: added parseBinaryArrayToInt ( #11329 )
* tbel: added new parseBinaryArrayToInt
fix bug: parseLongToBinaryArray:
Writes the bit value to the appropriate location in the bins array, starting at the end of the array, to ensure proper alignment (highest bit to low end).
* tbel: refactoring parseBinaryArrayToInt_Test.
* tbel: refactoring arseByteToBinaryArray add Endian
* tbel: added new hexToBase64
2 years ago