ShvaykaD
c43d37480c
merge with master
2024-04-22 10:44:59 +03:00
Sergey Matvienko
e3f2974fcd
dependency: bouncycastle jdk15on moved to jdk18on
2024-04-19 23:25:15 +02:00
Sergey Matvienko
da3b496a68
dependency updated to fix userSettingsDao.findByTypeAndPath: hypersistence-utils-hibernate-63:3.7.4 for hibernate-core:6.4.4. Test and notes added
2024-04-19 22:47:30 +02:00
Sergey Matvienko
f471f1351e
alarm repository UUID.fromString for non-blank assigneeId
2024-04-18 21:10:44 +02:00
Sergey Matvienko
b0b54b26dd
alarm repository UUID.fromString for non-null assigneeId
2024-04-18 21:07:49 +02:00
Sergey Matvienko
baed75173c
rollback jakarta.el.version
2024-04-18 20:49:31 +02:00
Sergey Matvienko
38f3a16a31
ThingsboardPostgreSQLDialect fixed with type cast to text. SqlExceptionHelper - ERROR: operator does not exist: character varying ~~* bytea. Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
2024-04-18 20:29:34 +02:00
Sergey Matvienko
c4918d97c9
hibernate UUID cast removed for AlarmRepository and DeviceRepository
2024-04-18 20:24:51 +02:00
Sergey Matvienko
767edd4608
ElasticsearchAuditLogSink refactored performRequestAsync to be compatible with 8.x.x version
2024-04-18 17:31:22 +02:00
Sergey Matvienko
60ccd97832
org.apache.commons.collections replaced with org.apache.commons.collections4
2024-04-18 17:30:31 +02:00
Sergey Matvienko
a3e7e0b4a1
major dependency update
2024-04-18 17:11:29 +02:00
ViacheslavKlimov
3803081b57
Refactor alarms deletion; separate tenant entities deletion task
2024-04-18 13:25:40 +03:00
Igor Kulikov
6f29073556
OAuth2 fix: Detect client registration method according to new spring security API.
2024-04-18 13:20:04 +03:00
dashevchenko
d0ff4a2d86
mobile app QR code initial implementation
2024-04-18 11:25:05 +03:00
Sergey Matvienko
20ec210c32
AbstractRedisClusterContainer refactored
2024-04-17 12:43:14 +02:00
Sergey Matvienko
92793360f3
CachedRedisSqlTimeseriesLatestDao.java removed deprecated findLatestSync
2024-04-17 12:39:54 +02:00
Sergey Matvienko
168525d3b9
mvn license:format
2024-04-17 12:24:16 +02:00
Sergey Matvienko
ec68fe6c96
Merge remote-tracking branch 'ce/master' into feature/latest-ts-redis-cache-aside-dao
...
# Conflicts:
# dao/src/main/java/org/thingsboard/server/dao/sqlts/SqlTimeseriesLatestDao.java
2024-04-17 12:21:14 +02:00
Sergey Matvienko
743b8b1d80
logback-test temporary added TRACE for SqlTimeseriesLatestDao and CachedRedisSqlTimeseriesLatestDao
2024-04-17 12:16:31 +02:00
Sergey Matvienko
67c2392ccc
RedisClusterSqlTestSuite introduced
2024-04-17 12:15:22 +02:00
Sergey Matvienko
a4469f6953
TsLatestRedisCache: added LUA upsert script. load script, eval, evalsha, test for script sha, fetch latest by zRange Redis command
2024-04-17 12:14:42 +02:00
ViacheslavKlimov
49a1a37b06
Refactor deletion events handling
2024-04-17 13:07:50 +03:00
Sergey Matvienko
c49d97f7d1
BaseTimeseriesServiceTest added overwrite TS cases and historical data load case, that fails without condition on update only if ts is the latest
2024-04-16 17:35:04 +02:00
Sergey Matvienko
551325b8c7
added CachedRedisSqlTimeseriesLatestDao and TsLatestRedisCache (prototype impl with string commands). Caffeine cache not implemented yet
2024-04-16 16:53:59 +02:00
Sergey Matvienko
9b41a4e26c
SqlTimeseriesLatestDao refactored to use a common doFindLatestSync for any find request
2024-04-16 16:50:36 +02:00
Sergey Matvienko
771d15a6dd
BaseTimeseriesServiceTest: 3 findLatest related tests added
2024-04-16 16:43:47 +02:00
Sergey Matvienko
3003fccf3b
BaseTimeseriesServiceTest refactored
2024-04-16 16:43:20 +02:00
ViacheslavKlimov
c47946948a
Single entity deletion event when tenant is deleted
2024-04-16 13:01:04 +03:00
ViacheslavKlimov
a80d4650ea
Delete customers last on tenant deletion; tests fixes
2024-04-16 13:00:17 +03:00
ShvaykaD
0fb35a3844
merge with master
2024-04-16 12:40:04 +03:00
ShvaykaD
27d026821a
fixed adter review
2024-04-16 11:56:56 +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
ViacheslavKlimov
881a8048ce
Fix EntityDaoRegistry init
2024-04-15 12:34:16 +03:00
ViacheslavKlimov
40d9789035
More tests
2024-04-12 17:24:06 +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
Igor Kulikov
ce44bbc248
Merge with hotfix/3.6.3
2024-04-11 17:52:26 +03:00
ViacheslavKlimov
9064bfaa76
Delete tenant entities in batches with id offset
2024-04-11 17:18:47 +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
ViacheslavKlimov
feb629f2c2
Alarms deletion in batches with id offset
2024-04-11 14:07:35 +03:00
Viacheslav Klimov
4044649c9c
Merge pull request #10414 from irynamatveieva/fix-error-msg-problem-extrenal-id
...
Fixed error message with external id when saving rule chain.
2024-04-10 13:25:23 +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
IrynaMatveieva
864b862fc7
used Optional.ofNullable
2024-04-10 10:56:34 +03:00
Andrii Landiak
d041faae89
Micro refactoring: using java 17
2024-04-09 15:42:54 +03:00
IrynaMatveieva
d152e0b24b
moved tests to RuleChainServiceTest class
2024-04-09 15:18:47 +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