7098 Commits

Author SHA1 Message Date
ShvaykaD
ba195d1a1d move upgrade to java & refactoring after review 2024-04-22 20:24:20 +03:00
ShvaykaD
c43d37480c merge with master 2024-04-22 10:44:59 +03:00
Volodymyr Babak
558d2421e6 Added details description of EDGES_RPC_CLIENT_MAX_KEEP_ALIVE_TIME_SEC, EDGES_RPC_KEEP_ALIVE_TIME_SEC, EDGES_RPC_KEEP_ALIVE_TIMEOUT_SEC 2024-04-18 12:12:12 +03:00
Volodymyr Babak
63c100b4bb
Merge pull request #10548 from AndriiLandiak/feature/edge-notification
Edge - notification support
2024-04-16 11:56:11 +03:00
Andrii Landiak
9c81dbd1e5 Minor improvements after review 2024-04-15 14:47:39 +03:00
Andrew Shvayka
a45c722bf5
Merge pull request #10533 from thingsboard/fix_bug_test_difPort
fix_bug_lwm2m tests dif Port
2024-04-12 16:20:41 +03:00
Igor Kulikov
d62875db98 Merge branch 'master' of github.com:thingsboard/thingsboard 2024-04-11 18:41:23 +03:00
Igor Kulikov
69e38fe372 Fix API annotations 2024-04-11 18:41:10 +03:00
Viacheslav Klimov
c667764233
Merge pull request #10534 from dskarzh/swagger-required-deprecation
Replace usages of deprecated `@Schema(required = ...)` with `@Schema(requiredMode = ...)`
2024-04-11 18:15:48 +03:00
Igor Kulikov
ce44bbc248 Merge with hotfix/3.6.3 2024-04-11 17:52:26 +03:00
Andrii Landiak
fed295017d Improve NotificationMsgConstructorImpl 2024-04-11 17:31:51 +03:00
Andrii Landiak
e8c238e5a6 Add NotificationEdgeTest 2024-04-11 17:30:05 +03:00
nick
0a16214af5 fix bug: lwm2m tests dif Port Comments 2 2024-04-11 16:34:23 +03:00
Andrew Shvayka
0bec132f8a
Merge pull request #10539 from ShvaykaD/bugfix/claim-device-flaky-tests
Fixed claim device flaky tests
2024-04-11 16:06:30 +03:00
ViacheslavKlimov
6c592a249e 3.6.3 to 3.6.4 upgrade script 2024-04-11 15:57:06 +03:00
Andrii Landiak
5191143c3f Provide support for Notification to Edge 2024-04-11 15:50:57 +03:00
ShvaykaD
211226e230 added fix for mqttv5 test 2024-04-11 13:40:49 +03:00
ShvaykaD
faf172bdb2 fixed claim device flaky tests 2024-04-11 13:11:28 +03:00
nick
934287a380 fix bug: lwm2m tests dif Port Comments 1 2024-04-11 12:25:44 +03:00
Dmytro Skarzhynets
5c7ad51641 Replace usages of deprecated @Schema(required = ...) with @Schema(requiredMode = ...) 2024-04-10 17:17:24 +03:00
nick
d876fc8bfe fix bug: lwm2m tests dif Port 3 2024-04-10 17:14:45 +03:00
nick
d2d68faee7 fix bug: lwm2m tests dif Port 2024-04-10 16:51:51 +03:00
Igor Kulikov
77d2552d6d Merge branch 'master' into feature/state-chart 2024-04-10 16:24:08 +03:00
Igor Kulikov
dde2a55d3d UI: Implement new version of State chart widget based on Echarts. 2024-04-10 16:23:22 +03:00
Viacheslav Klimov
80ec3609de
Merge pull request #10355 from irynamatveieva/improve-script-node
Changed the logic to be able to find the last IN event despite its order in the debug records.
2024-04-10 13:19:55 +03:00
Shvaika Dmytro
cad3011938
Replacement of local cache in rule nodes with cached entity service APIs. (#9552)
* added customer cache && refactored assign/unassing to/from customer nodes

* refactoring of customer action nodes & added common tests

* added tests for upgrade

* updated controller & service tests for customer api

* replaced findCustomerByTenantIdAndTitle with cacheable method

* add new line to end of ../upgrade/3.6.2/schema_update.sql file

* added cache for find user by tenant id and email & relation action nodes refactoring

* fixed synchronization issue & refactored logic & refactored node upgrade tests

* fixed testSaveUserWithSameEmail test in the UserControllerTest. Removed empty space & added exclamation mark

* updated tests for create relation node && added two tests for delete relation node

* replaced Lists with EnumSets where it was possible & replaced MethodSource with EnumSource where it was possible & added test for upgrade for both create and delete relation nodes

* updated upgrade tests & added tests for delete relation node

* refactoring

* updated create & delete relation nodes descriptions

* updated default config for delete relation node

* minor improvements for custom action nodes after self review

* added upgrade for customers with the same titles

* replaced parameterized test annotation when deleteForSingleEntity is false

* fix typo in reSaveCustomerWithNewTitle upgrade logic

* fixes after review & additional improvements

* fixed testAssignAndUnassignEntityViewToCustomer test

* updated upgrade logic & changed logic of public customers lookup

* fixed dao method & added test

* renamed method to findPublicCustomerByTenantId

* fix typo in the find public customer query

* added @Serial annotation for serialVersionUID & rollback saveAndFlush to save in UserServiceImpl

* fixes to async find or create logic

* fixed after review

* fix typo

* set Transactional annotation to findOrCreatePublicCustomer
2024-04-10 12:31:24 +03:00
Andrii Landiak
d041faae89 Micro refactoring: using java 17 2024-04-09 15:42:54 +03:00
IrynaMatveieva
bb77d4edd7 Merge branch 'improve-script-node' of github.com:irynamatveieva/thingsboard into improve-script-node 2024-04-09 15:00:21 +03:00
IrynaMatveieva
c4ad105f73 used Optional.ofNullable instead of explicitly checking for null 2024-04-09 14:56:34 +03:00
Andrew Shvayka
7eb825dc3b
Merge pull request #10472 from thingsboard/fix/event-sourcing
Fix tenant creation
2024-04-09 11:01:35 +03:00
Andrew Shvayka
e7f68e3b08
Merge pull request #10420 from thingsboard/fix/mobile-notifications
Improvements for mobile notifications
2024-04-09 10:59:37 +03:00
Viacheslav Klimov
9fe5784fd2
Merge pull request #10515 from dashevchenko/attributeScopeInMetadataFix
Attribute scope was missed for rule engine message metadata
2024-04-09 10:37:32 +03:00
dashevchenko
140f8dc489 attribute scope is prepared correctly for rule engine message metadata 2024-04-08 16:21:35 +03:00
ViacheslavKlimov
641008c262 onClick action from mobile notification center 2024-04-08 14:00:00 +03:00
Viacheslav Klimov
ae2533162e
Merge branch 'master' into fix_bug_californium_3_11 2024-04-05 16:24:37 +03:00
Andrii Shvaika
a88b1ef349 Merge hotfix/3.6.3 to master 2024-04-04 12:56:17 +03:00
Andrii Shvaika
d5cdd2b13d Merge branch 'master' of github.com:thingsboard/thingsboard 2024-04-04 12:46:10 +03:00
Andrew Shvayka
05dcbeae15
Merge pull request #10452 from smatvienko-tb/feature/nashorn-memory-limit
Nashorn js executor sandbox memory limit
2024-04-04 12:42:29 +03:00
Andrew Shvayka
7480035556
Merge pull request #10332 from zzzeebra/feature/validator-optimization
[3.7] Validator performance optimization
2024-04-04 12:37:51 +03:00
Oleksandra Matviienko
e00b14bf84 validateId refactoring
Signed-off-by: Oleksandra Matviienko <al.zzzeebra@gmail.com>
2024-04-03 21:11:05 +02:00
Andrew Shvayka
eab88dd500
Merge pull request #10416 from AndriiLandiak/fix/kv-proto-util
Fix KvProtoUtils order for matching KeyValueType and DataType
2024-04-03 17:39:51 +03:00
Andrii Shvaika
bd2cf904e4 Merge branch 'improve-entity-data-query' of github.com:AndriiLandiak/thingsboard 2024-04-03 17:01:32 +03:00
Sergey Matvienko
93adbd116c Validator: some old method usage replaced with a new ones with functions 2024-04-03 15:28:28 +02:00
Oleksandra Matviienko
a993f2133a Changes according to comments
Signed-off-by: Oleksandra Matviienko <al.zzzeebra@gmail.com>
2024-04-03 14:03:41 +02:00
Oleksandra Matviienko
816f6e35c5 Changed the usage of validate methods in Validator from methods with an errorMessage to methods with functions.
Signed-off-by: Oleksandra Matviienko <al.zzzeebra@gmail.com>
2024-04-03 14:03:41 +02:00
Andrew Shvayka
b276d5e3da
Merge pull request #10145 from dashevchenko/queueStatsEntity
Entity for queue statistics
2024-04-02 12:19:33 +03:00
Andrii Landiak
87e564f8c0 Use stringUtils to check if search text is not null and is not empty 2024-04-01 16:39:44 +03:00
Andrew Shvayka
20c4ec1917
Merge pull request #10377 from thingsboard/fix/vc-performance
VC restore: optional rollback on error to vastly increase performance
2024-04-01 16:35:56 +03:00
Andrii Landiak
2888ac5db9 Improve EntityDataQuery using 2 query: filter and sort to find entityIds and using entityIds as List to map with telemetry and entity fields 2024-04-01 12:32:32 +03:00
Andrii Landiak
be611d0aec Set limitation for max telemetry for edge to 0 2024-03-29 16:49:48 +02:00