108 Commits

Author SHA1 Message Date
YevhenBondarenko
118407d982 implemented versioned cache 2024-06-26 15:51:32 +02:00
ViacheslavKlimov
c554246218 Ignore tenant not found for Cassandra rate limits 2024-05-06 14:21:40 +03:00
Andrew Shvayka
c8bc0f6793
Merge pull request #10527 from thingsboard/feature/rule-node-caches-replacement
Replacement of local cache in rule nodes with cached entity service APIs
2024-05-02 16:02:06 +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
ShvaykaD
ba195d1a1d move upgrade to java & refactoring after review 2024-04-22 20:24:20 +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
Andrew Shvayka
1673d3d065
Merge pull request #9225 from dashevchenko/tls_for_redis
Added ssl support for redis
2024-02-08 14:02:40 +02:00
YevhenBondarenko
d2961e39e7 merge with master 2024-02-06 22:40:27 +01:00
dashevchenko
6a755ab0b7 deleted java keystore type of creds support 2024-02-06 15:10:09 +02:00
ViacheslavKlimov
a729967a93 Fix DefaultRateLimitService init 2024-01-26 16:06:50 +02:00
ViacheslavKlimov
3ee8a8c56d Refactor rate limit service 2024-01-26 12:17:37 +02:00
dashevchenko
e27ef320e7 updated env variable name and descriptions 2024-01-22 12:31:01 +02:00
dashevchenko
9af96ad5be resolved conflicts after merge 2024-01-18 14:39:14 +02:00
dashevchenko
b33d1f9c69 Merge remote-tracking branch 'upstream/develop/3.7' into tls_for_redis 2024-01-18 12:19:53 +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
YevhenBondarenko
61602330ec merge with 3.7 2023-12-28 12:16:14 +01:00
Igor Kulikov
bc35df1dd7 Version set to 3.6.3-SNAPSHOT 2023-12-27 12:58:15 +02:00
YevhenBondarenko
feb44656f1 merge with master 2023-12-26 00:58:31 +01:00
YevhenBondarenko
8ccd70fc65 Used ProtoUtils instead of ProtoWIthFSTService for serialization 2023-12-20 17:33:04 +01:00
YevhenBondarenko
5b9eae4a6f license format 2023-12-14 20:08:52 +01:00
YevhenBondarenko
5869378c2c Implemented Json serialization, added custom serializer for the Device redis cache 2023-12-14 20:02:53 +01:00
YevhenBondarenko
8ac80476ad added encode/decode time stats and refactoring 2023-11-27 23:13:03 +01:00
YevhenBondarenko
d6b56177a2 fst stats in Grafana 2023-11-21 16:00:30 +01:00
Andrew Shvayka
36739e7469
Merge pull request #9591 from dashevchenko/cacheFix
Transactional cache issue
2023-11-16 16:06:22 +02:00
Andrii Shvaika
df24c363ce Version set to 3.6.2-SNAPSHOT 2023-11-13 17:07:32 +02:00
dashevchenko
6551658bfc updated TbTransactionalCache with method that retrieve but doesn`t put value in cache 2023-11-10 13:17:23 +02:00
Andrii Shvaika
162bf8a1f2 Device Cache fix 2023-11-06 17:36:38 +02:00
Andrii Shvaika
33abe0ebe5 Fix cache key for device cache 2023-11-06 14:34:50 +02:00
Andrii Shvaika
dd4b874b5f Version set to 3.6.1-SNAPSHOT 2023-09-27 17:38:27 +03:00
Igor Kulikov
8cefca23ac Version set to 3.6.1-SNAPSHOT 2023-09-25 11:27:00 +03:00
dashevchenko
b92f543833 updated default value for redis ssl config 2023-09-19 12:03:44 +03:00
dashevchenko
b2b5573a61 added ssl support for redis 2023-09-11 16:57:28 +03:00
Igor Kulikov
98c245e293 Switch to version 3.6.0 2023-09-05 18:28:15 +03:00
YevhenBondarenko
b194f98ebf fixed resource cache 2023-07-03 14:26:10 +02:00
Andrii Shvaika
002f780905 Merge branch 'develop/3.5.2' into develop/3.6 2023-06-30 16:13:03 +03:00
YevhenBondarenko
1a12d3c395 merge with develop/3.6 2023-06-29 23:40:43 +02:00
Andrii Shvaika
ecae72e994 Merge with develop/3.5.2 2023-06-29 17:00:23 +03:00
dashevchenko
e2ba34bbf3 refactoring 2023-06-28 13:48:46 +03:00
dashevchenko
eab633632a added cache for TBResourceInfo 2023-06-28 11:35:54 +03:00
Andrew Shvayka
7bb8f8732c
Merge pull request #8682 from AndriiLandiak/feature/redis-sentinel
[3.5.2] Redis Sentinel support
2023-06-07 15:24:18 +03:00
YevhenBondarenko
db6f310284 migration to spring boot 3.1 2023-06-05 15:24:47 +02:00
Andrii Landiak
c2a87aba60 Add redis-sentinel mode support 2023-06-01 14:47:47 +03:00
Igor Kulikov
9ae1f1e329 Version set to 3.5.2-SNAPSHOT 2023-05-22 16:32:24 +03:00
Igor Kulikov
59cc8244b5 Version set to 3.5.1-SNAPSHOT 2023-05-22 16:31:19 +03:00
Igor Kulikov
c422e39724 Version set to 3.5.1-SNAPSHOT 2023-05-22 16:26:54 +03:00
Andrii Shvaika
6120fb132a Version set to 3.5.2. Migration script improved 2023-05-22 13:16:06 +03:00
YevhenBondarenko
f2545fb942 Merge branch 'develop/3.6' of github.com:thingsboard/thingsboard into feature/java-17 2023-05-19 19:06:45 +02:00
YevhenBondarenko
bba26ca676 merge with develop/3.5.1 2023-05-19 18:20:27 +02:00