Viacheslav Klimov
9ff02dd722
Version set to 4.2.2.3-SNAPSHOT
1 month ago
Volodymyr Babak
6f75542315
fix(cf): prevent integer overflow in calculated field SUM output
SimpleCalculatedFieldState.formatResult cast the double result down to
int via TbUtils.toInt when "Decimals by default" was 0 (the UI default).
BigDecimal.intValue() returns only the low-order 32 bits, so a sum
above ~2.1B wrapped to a negative number (e.g. 3,980,173,734 ->
-314,793,562).
Add TbUtils.toLong(double) alongside toInt (toInt is left untouched to
preserve TBEL script behavior), switch the CF precision=0 path to it,
and add a Long branch in createResultJson so the JSON node is emitted
as a numeric long
2 months ago
dashevchenko
1b8a25d568
fixed MAX aggregation for negative double values
2 months ago
Viacheslav Klimov
2a7eab3db5
Version set to 4.2.2.2-SNAPSHOT
3 months ago
Viacheslav Klimov
f66427fb7c
Version set to 4.2.2.1-SNAPSHOT
4 months ago
Viacheslav Klimov
132b6a1e3f
Version changed to 4.2.2
5 months ago
Sergey Matvienko
77502b6c6c
tests: ensure parseBytesTo methods do not alter input data
5 months ago
Viacheslav Klimov
b244e14ef7
Version set to 4.2.1.3-SNAPSHOT
5 months ago
Viacheslav Klimov
5b5b4dff6b
Update license header
6 months ago
Viacheslav Klimov
f2dadd0791
Version set to 4.2.1.2-SNAPSHOT
6 months ago
Viacheslav Klimov
295d29fc68
Version set to 4.2.1.1-RC
7 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
VIacheslavKlimov
aefb7dcb41
Version set to 4.2.1-RC
9 months ago
Igor Kulikov
cc7c496b13
Version set to 4.2.0-RC
12 months ago
nickAS21
5f6cc76d11
tbel: reName createSetTb to newSet and to toSet
12 months ago
nick
baf68bbbfc
tbel: refactoring
1 year ago
nick
edba3517da
tbel: add ExecutionArrayList with methods: add, addAll, remove, clear, sort, toSorted, toList
1 year 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
Igor Kulikov
ebf6f66cbe
Version set to 4.2.0-SNAPSHOT
1 year ago
Igor Kulikov
2de733ef69
Version set to 4.2.0
1 year ago
ViacheslavKlimov
850af5d126
Version set to 4.1.0-RC
1 year ago
ViacheslavKlimov
5572b6bb4a
TMP version set to 4.1.0-SNAPSHOT
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
Igor Kulikov
bee6c19a51
Version 4.1.0-SNAPSHOT
1 year ago
Igor Kulikov
a40f9d6ae4
Ver 4.0.1-RC
1 year ago
Igor Kulikov
5fbb3194a7
Version 4.0.1-RC
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
Igor Kulikov
757c887034
Version 4.1.0-SNAPSHOT
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
Igor Kulikov
da2bada90b
Merge with RC
1 year ago
Igor Kulikov
3b4ee01aac
Version set to 4.0.0-RC
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