157 Commits

Author SHA1 Message Date
nick
03af2564eb tbel: refactoring tbUtils with docs #2 2024-09-03 14:22:29 +03:00
nick
b86a9d3802 tbel: refactoring tbUtils with docs 2024-09-02 21:44:23 +03:00
Andrii Landiak
c6ee0bff19
Add edgeIdsCache to decrease number of calls to db for findRelatedEdgeByEntityId 2024-08-27 12:41:39 +03:00
Viacheslav Klimov
5443897172
Merge pull request #11334 from AndriiLandiak/optimize-imports
Optimize imports
2024-08-02 11:22:12 +03:00
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
2024-08-02 11:11:26 +03:00
Andrii Landiak
5ca6ad03e3 CE: optimize java imports 2024-08-01 11:12:10 +03:00
Kulikov
ea235b7769
TBEL: added padStart, padEnd, parseByteToBinaryArray, parseBytesToBinaryArray, parseLongToBinaryArray (#11323)
* tbel: added String.prototype.padStart() and String.prototype.padEnd() ;

* tbel: added binary String format

* tbel: added parseByteToBinaryArray, parseBytesToBinaryArray, parseLongToBinaryArray
2024-07-31 13:40:53 +03:00
Kulikov
b48474861e
TBEL: added parseBytesIntToFloat, parseBytesLongToDouble, byteArrayToExecutionArrayList (#11296)
* tbel: added  parseBytesIntLongToFloat

* tbel: added  to doubleToHex_Test() String valueHex = "0x000000000000000A";

* tbel: added  byteArray to ExecutionArrayList;
2024-07-30 11:20:30 +03:00
nick
7fcb82cea9 tbel: added new version tbel and new test hexToBytes 2024-07-25 13:22:21 +03:00
nick
c347c067e7 tbel: added some parseBytesTo Int/Long/Float/Double methods with length 2024-07-23 16:28:17 +03:00
nick
2f838c4fbf tbel: added some double methods 2024-07-23 12:37:48 +03:00
nick
7e0a9bbebf tbel: added some float methods 2024-07-22 17:39:46 +03:00
Kulikov
99d4eb0d9c
TBEL: new methods (#11129)
* tbel: number to string by radix

* Revert "tbel: number to string by radix"

This reverts commit 0fd285d76b5f25002f84768ab490e750539509d0.

* tbel: number to string by radix and new Error

* tbel: number to Hexadecimal must be even-length.

* tbel: add tests isBinary...isHexadecimal

* tbel: Comments 1

* tbel: Comments 2

* tbel: Comments 3
2024-07-10 14:31:11 +03:00
Igor Kulikov
468c007882 Version set to 3.7.1-SNAPSHOT 2024-06-20 15:53:41 +03:00
Oleksandra Matviienko
63df92e995 JUnit5 migration in common. Junit-platform.properties and logback-test.xml where added to java resource directories if needed.
Signed-off-by: Oleksandra Matviienko <al.zzzeebra@gmail.com>
2024-04-26 23:55:17 +02:00
nick
4e9d03fce4 tbel: encodeURI() decodeURI() comments 2 2024-04-17 13:09:54 +03:00
nick
332c676317 tbel: encodeURI() decodeURI() comments 1 2024-04-17 11:50:51 +03:00
nick
10aa7ae795 tbel: encodeURI() decodeURI() == mdn 3 2024-04-17 11:12:43 +03:00
nick
2923c9dbd3 tbel: encodeURI() decodeURI() == mdn 2 2024-04-16 18:17:30 +03:00
nick
e488f71444 tbel: encodeURI() decodeURI() == mdn 1 2024-04-16 17:56:18 +03:00
nick
5f7f57cb63 tbel: encodeURI() decodeURI() == mdn 2024-04-16 17:33:12 +03:00
Sergey Matvienko
b6ce95b99d NashornJsInvokeService: defaults added for max_memory and max_cpu_time to improve deployment experience 2024-03-27 09:03:47 +01:00
Sergey Matvienko
eba645c542 Nashorn LOCAL_JS_SANDBOX_MAX_MEMORY introduced 2024-03-26 19:25:44 +01:00
ViacheslavKlimov
4ed952a9d6 Merge branch 'master' into develop/3.7 2024-03-19 15:44:23 +02:00
Volodymyr Babak
f03a1cc946 TbDate - use strict constructors instead of constructors with var args 2024-02-23 11:48:24 +02:00
Andrii Shvaika
5acf527f1a Version set to 3.7.0-SNAPSHOT 2024-01-16 11:43:44 +02:00
YevhenBondarenko
60be820915 merge with master 2024-01-15 18:51:00 +01:00
Igor Kulikov
c5a72ed8df Update license header to 2024 year. 2024-01-09 10:46:16 +02:00
Andrew Shvayka
8c1fe956ff
Merge pull request #9921 from thingsboard/fiix_bug_testsDateJDKVer
TbDateTests_JDK_ver
2024-01-05 15:15:27 +02:00
nick
c636ea2c0e fix_bug: TbDateTests -> JDK ver 2023-12-28 14:51:45 +02:00
Igor Kulikov
bc35df1dd7 Version set to 3.6.3-SNAPSHOT 2023-12-27 12:58:15 +02:00
YevhenBondarenko
1fc704bae1 test fixes and minor refactoring 2023-12-26 11:08:06 +01:00
YevhenBondarenko
feb44656f1 merge with master 2023-12-26 00:58:31 +01:00
nick
7e00acd44b tbDate: fix bug comments 3 2023-12-15 12:18:05 +02:00
nick
3bf585ec80 tbel fix_bug tbDate delete String... options 2023-12-09 09:30:31 +02:00
nick
c14fe5b2cd tbel fix_bug tbDate delete String... options 2023-12-08 23:13:07 +02:00
nick
fbfecf3410 tbel fix_bug tbDate tests Constructor class 2023-12-07 19:40:02 +02:00
nick
a12c9e11f8 tbel fix_bug tbDate test 2023-12-07 15:05:45 +02:00
nick
272cc27257 tbel fix_bug tbDate parameters date as String with patter + locale 2023-12-06 15:10:26 +02:00
nick
a246b3c4a7 tbel fix_bug tbDate parameters Locale and TZ as String 2023-12-06 11:27:05 +02:00
nick
39b0959c77 tbel fix_bug tbDate from String without TZ RFC_1123 2023-12-06 08:10:58 +02:00
nick
91552b18b8 tbel fix_bug tbDate from String without TZ add test 2023-12-05 22:27:59 +02:00
nick
b58befc4a0 tbel fix_bug tbDate from String without TZ 2023-12-05 22:21:20 +02:00
Andrii Shvaika
fc698b4f31 Revert changes to JacksonUtil 2023-12-05 13:22:59 +02:00
nick
bc5a1b4be9 tbel fix_bug tbDate Default zoneId - ZoneId.systemDefault() 2023-12-04 22:22:31 +02:00
nick
240cd25cf4 tbel fix_bug tbDate parse toString with Object Mapper 2023-12-04 19:10:22 +02:00
nick
3af8b1a33e stringToBytes: comments2 2023-11-27 18:24:22 +02:00
nick
ee8dd9f987 stringToBytes: comments2 2023-11-27 18:23:05 +02:00
nick
3ab4c8d468 stringToBytes: refactoring 2023-11-26 22:28:50 +02:00
nick
baa684f72b stringToBytes: refactoring test 2023-11-26 21:58:29 +02:00