4274 Commits

Author SHA1 Message Date
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
ViacheslavKlimov
79dc46a65b Merge branch 'master' into feature/housekeeper
# Conflicts:
#	application/src/main/java/org/thingsboard/server/install/ThingsboardInstallService.java
2024-04-12 15:33:56 +03:00
ViacheslavKlimov
0b18de1482 Refactor entities deletion 2024-04-12 15:32:07 +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
c4ba6411c8 Add optional to int64 idMsg, idLsb for NotificationMsg 2024-04-11 17:33:03 +03:00
ViacheslavKlimov
9064bfaa76 Delete tenant entities in batches with id offset 2024-04-11 17:18:47 +03:00
Andrii Landiak
5191143c3f Provide support for Notification to Edge 2024-04-11 15:50:57 +03:00
ViacheslavKlimov
feb629f2c2 Alarms deletion in batches with id offset 2024-04-11 14:07:35 +03:00
Volodymyr Babak
2d1a3a9b05 Set edge client version to 3.6.4 2024-04-11 13:28:47 +03:00
nick
934287a380 fix bug: lwm2m tests dif Port Comments 1 2024-04-11 12:25:44 +03:00
ViacheslavKlimov
49a76cad5a Housekeeper: disabled task types; refactoring 2024-04-11 11:53:32 +03:00
nick
6c3c9f99b9 fix bug: lwm2m tests dif Port 4 2024-04-10 17:18:15 +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
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
Viacheslav Klimov
756bac5135
Merge pull request #10522 from AndriiLandiak/fix/edge-3.7
Edge refactoring: using java 17
2024-04-10 11:50:38 +03:00
Andrii Landiak
d041faae89 Micro refactoring: using java 17 2024-04-09 15:42:54 +03:00
Viacheslav Klimov
9cc0e9da7c
Merge pull request #10349 from irynamatveieva/feature/mqtt-node
MQTT node: added ability to send string without quotes.
2024-04-09 13:08:00 +03:00
ViacheslavKlimov
00f8fd2c35 Merge remote-tracking branch 'origin/master' into feature/housekeeper 2024-04-09 12:08:53 +03:00
Andrew Shvayka
b164eea623
Merge pull request #10499 from AndriiLandiak/improve-entity-data-query
Entity Data Query: improvement
2024-04-09 11:04:06 +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
Sergey Matvienko
44096a7cb7 TS latest dao put to Redis WIP 2024-04-08 14:57:20 +02:00
ViacheslavKlimov
641008c262 onClick action from mobile notification center 2024-04-08 14:00:00 +03:00
imbeacon
a6143f3c8a Improvement for update of overwrite activity time 2024-04-08 13:05:58 +03:00
imbeacon
bead94d832 Changes due to comments 2024-04-08 11:45:26 +03:00
Viacheslav Klimov
ae2533162e
Merge branch 'master' into fix_bug_californium_3_11 2024-04-05 16:24:37 +03:00
Andrii Landiak
74fed02b8b Set edgeVersion to 3.7.0 2024-04-04 14:27:46 +03:00
Andrii Shvaika
a88b1ef349 Merge hotfix/3.6.3 to master 2024-04-04 12:56:17 +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
imbeacon
f621d59be3 Added logic when ping requests for gateway device will be also activity events for devices, connected through the gateway 2024-04-04 10:45:41 +03: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 Landiak
9cce187f56 Add V_3_7_0 to edge.proto 2024-04-03 16:01:25 +03:00
Oleksandra Matviienko
85e80a56ae Tests for Validator are added.
Signed-off-by: Oleksandra Matviienko <al.zzzeebra@gmail.com>
2024-04-03 14:03:41 +02:00
Sergey Matvienko
9466578c91 WIP CachedRedisSqlTimeseriesLatestDao.java 2024-04-03 11:46:03 +02:00
Sergey Matvienko
3a86913e24 RedisTbTransactionalCache refactored deprecated methods 2024-04-03 10:05:01 +02:00
Andrew Shvayka
b276d5e3da
Merge pull request #10145 from dashevchenko/queueStatsEntity
Entity for queue statistics
2024-04-02 12:19:33 +03:00
Andrew Shvayka
1e62ed98fa
Merge pull request #10453 from dashevchenko/sortProblemFix
Added default sorting by id for PageLink
2024-04-01 18:57:07 +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
Volodymyr Babak
d338f298a8
Merge pull request #10471 from AndriiLandiak/fix/edge-telemetry-violation-msg
Yaml config for max size of telemetry message sent to Edge
2024-04-01 15:53:45 +03:00
Andrew Shvayka
ffad62892d
Merge pull request #10436 from zzzeebra/transport_log_optimization
[3.7] Http Transport log optimization
2024-04-01 12:08:15 +03:00
Andrii Landiak
0107bc29ad Add yaml parameter to set max size for telemetry message 2024-03-29 16:37:49 +02:00
ViacheslavKlimov
9d1f751f3a Fix race condition on tenant creation; refactoring 2024-03-29 15:20:56 +02:00
ViacheslavKlimov
3e73b7b883 Merge branch 'master' into fix/vc-performance
# Conflicts:
#	application/src/main/java/org/thingsboard/server/service/sync/vc/DefaultEntitiesVersionControlService.java
2024-03-29 12:12:53 +02:00
ShvaykaD
85d229be2d convert ValueWithTs to a record & replace usages of Collections.singletonList to List.of & use single key search for async method 2024-03-29 12:05:44 +02:00
Viacheslav Klimov
ec36558f42
Merge pull request #10417 from dashevchenko/pubsubPrefixFix
Added global queue prefix for pubsub queue factory
2024-03-29 11:55:34 +02:00
nick
4ad4b7fc86 lwm2m/coap: add californium 3.11.0 2024-03-28 11:54:03 +02:00