467 Commits

Author SHA1 Message Date
dshvaika
35e9d007d0 upgrade logic + rate limits validation 2025-05-23 12:30:30 +03:00
dshvaika
a242d3a43b Added missing test for RateLimitServiceTest && refactoring 2025-05-20 16:31:01 +03:00
dshvaika
8af37beb4a New Cassandra rate limits: separated for Read and Write + Core and Rule Engine 2025-05-20 16:19:44 +03:00
ViacheslavKlimov
1d83a2c9d3 Refactoring for TbMsgProto usage 2025-05-07 13:01:09 +03:00
Viacheslav Klimov
0adfaf2b01
Merge pull request #12257 from YevhenBondarenko/feature/prod-4738
Used TbMsgProto instead of ByteString
2025-05-07 12:28:29 +03:00
Igor Kulikov
bee6c19a51 Version 4.1.0-SNAPSHOT 2025-04-22 10:58:36 +03:00
Igor Kulikov
a40f9d6ae4 Ver 4.0.1-RC 2025-04-22 10:56:47 +03:00
Igor Kulikov
757c887034 Version 4.1.0-SNAPSHOT 2025-04-15 13:06:03 +03:00
Igor Kulikov
508f00ab24 Merge branch 'rc' 2025-04-15 12:56:17 +03:00
IrynaMatveieva
48d9aca0ab minor fixes 2025-04-11 12:29:45 +03:00
IrynaMatveieva
a6cdc170cb renamed new msgs 2025-04-11 09:49:58 +03:00
IrynaMatveieva
4882bf26eb removed entity profile cache 2025-04-10 16:45:24 +03:00
ViacheslavKlimov
6678ec2e06 Fix TopicPartitionInfoTest 2025-03-25 17:54:20 +02:00
ViacheslavKlimov
c50d7a3988 EDQS consumer management refactoring 2025-03-25 16:30:21 +02:00
Viacheslav Klimov
61254a6850
Merge pull request #12957 from thingsboard/rc
rc
2025-03-18 16:17:57 +02:00
YevhenBondarenko
597fe5b935 merge with master 2025-03-17 16:25:11 +01:00
Viacheslav Klimov
408cbe441a
Merge pull request #12921 from thingsboard/fix/calculated-fields
Fixes for calculated fields
2025-03-17 16:34:46 +02:00
Igor Kulikov
da2bada90b Merge with RC 2025-03-14 15:52:05 +02:00
Igor Kulikov
3b4ee01aac Version set to 4.0.0-RC 2025-03-14 15:08:04 +02:00
ViacheslavKlimov
b40fa86bac Refactoring and fixes for CF lifecycle events handling 2025-03-13 17:35:00 +02:00
Andrii Shvaika
3d282836e7 CF Cluster mode fixes 2025-03-11 16:46:25 +02:00
Andrii Shvaika
3a62f47edb Merge PR #12789 2025-03-06 16:55:30 +02:00
Viacheslav Klimov
d23c8fc0d5
Merge pull request #12527 from thingsboard/edqs
EDQS
2025-03-06 16:43:25 +02:00
ViacheslavKlimov
32a4a7ce35 EDQS: introduce API auto-enable option 2025-03-05 15:26:58 +02:00
Dmytro Skarzhynets
fbda81d0d0
Save time series strategies: merge with master 2025-02-28 17:28:03 +02:00
ViacheslavKlimov
43f9083f70 Merge branch 'master' of github.com:thingsboard/thingsboard into edqs 2025-02-28 17:12:33 +02:00
Andrii Landiak
94ec82ea6d Merge remote-tracking branch 'upstream/feature/calculated-fields' into feature/calculated-fields-vc 2025-02-28 11:29:38 +02:00
Andrii Shvaika
62da129d6b Review comments fixed 2025-02-27 16:46:55 +02:00
Andrii Landiak
f9c2f97df3 Merge remote-tracking branch 'upstream/feature/calculated-fields' into feature/calculated-fields-vc 2025-02-26 11:55:36 +02:00
ViacheslavKlimov
442603a502 Separate EDQS API service 2025-02-25 17:10:58 +02:00
ViacheslavKlimov
44439584f4 Merge branch 'master' of github.com:thingsboard/thingsboard into feature/calculated-fields 2025-02-25 11:49:56 +02:00
ViacheslavKlimov
e7ed98910a Merge branch 'master' of github.com:thingsboard/thingsboard into edqs 2025-02-25 11:10:31 +02:00
Igor Kulikov
5cf26d4851 Update license header 2025-02-25 09:39:16 +02:00
Igor Kulikov
b7750bc342 Version set to 4.0.0-SNAPSHOT 2025-02-25 09:28:44 +02:00
Igor Kulikov
6a0fff0737 Version set to 3.9.1-RC 2025-02-25 09:27:01 +02:00
ViacheslavKlimov
278ec36f37 Fixes for EDQS 2025-02-21 15:48:33 +02:00
ViacheslavKlimov
965210f17b Multiple improvements for EDQS 2025-02-21 14:39:26 +02:00
ViacheslavKlimov
45a3730708 Fixes for CF 2025-02-20 16:19:13 +02:00
ViacheslavKlimov
7519889c1a Refactoring for EDQS repartitioning 2025-02-20 12:25:08 +02:00
Andrii Landiak
44a7bf82c4 Fix ComponentLifecycleMsg: message and builder 2025-02-17 18:00:12 +02:00
Andrii Shvaika
5efb94dc7a Refactoring 2025-02-10 15:58:01 +02:00
Andrii Shvaika
83b338c697 Entity lifecycle implementation 2025-01-31 13:54:53 +02:00
Andrii Shvaika
5aabbd0f1e Link dispatch implementation 2025-01-29 15:37:36 +02:00
Viacheslav Klimov
86b5378d59 EDQS (#3196)
* Experiments with CSV

* CSV Loader v1

* EDQ tests

* Volatile variables instead of final

* Improvements

* updated loader with new entities

* Fix double memory usage issue

* Basic data structures and load

* Minor improvements

* Snappy + Large String reuse

* added EntityFields classes for each entity

* Basic implementation

* Minor improvements to KeyFilters

* implemented RepositoryUtils.checkKeyFilters

* Generic query implementation

* New structure

* Refactoring and few processors implementation

* extended DeviceData with shared/client attributes and device profile

* Minor refactoring of attribute scopes

* DeviceTypeFilter support

* Strong types of fields for each entity data class

* DeviceType and AssetType filters

* EntityView and Edge queries

* Relations Query

* Relation Query Implementation

* Update EDQS module version

* Sync with EDQS via Kafka

* EDQS: major refactoring

* EDQS API requests via Kafka

* EDQS: full sync with the database

* Refactoring for EDQS sync

* EDQS: major refactoring and new features

* EDQS refactoring, count query support, fix tests

* EDQS: refactoring for query processors

* Fix EDQS pom version

* Cleanup edqs.yml

* EDQS: tenant partitioning strategy; refactoring

* EDQS: latest events queue

* EDQS: support for monolith setup; RocksDB; other improvements

* EDQS: merge sync and events topics, introduce state topic

* EDQS: dynamic repartitioning

* implemented entity data query filters for edqs

* EdqsEntityQueryControllerTest - use in-memory queue

* edqs-filter fixes, added test

* EDQS: blob entity support

* EdqsEntityQueryControllerTest - use in-memory queue

* Use DummyEdqsService when disabled

* Fixes for EDQS

* Refactoring for EDQS tests

* Fix edqs requests partitioning

* EDQS: Fix for attributes handling

* Fix attributes saving in EntityServiceTest

* EDQS: refactoring, fixes

* Minor refactoring for query processor

* added ownerName/ownerType support

* fixed relation query processor

* fixed EntityServiceTest

* refactoring

* added support for parentId for relation query result

* Get rid of EntityNameFetcher

* Add fixme for relation query processor

* db restore with select all edqs fields

* fixed entity deletion

* fixed FieldUtils with new EntityFields

* dao method renamed

* EDQS: instance groups with same partitions; automatic sync; multiple fixes

* Refactoring for EDQS sync

* EDQS: refactoring

* Fix startup with Kafka

* fixed EntityQueryControllerTest

* fixed EdqsEntityServiceTest

* Separate queue admin for EDQS request template

* Implement new EDQS partitioning strategy

* EDQS: multiple fixes and refactoring

* Add mock EdqsRocksDb beans to tests

* added edqs stats for inmemory/grafana

* fixed filter tests

* Update todos

* Refactoring for QueueConfig

* Improvements and refactoring for EDQS consumers

* implemented TODOs

* test fixes

* Consume state topic up to end offsets

* edqs stats refactoring

* EDQS: cleanup on partitions removal; refactoring

* EDQS: minor refactoring

* EDQS: remove CSV loader

---------

Co-authored-by: Andrii Shvaika <ashvayka@thingsboard.io>
Co-authored-by: dashevchenko <dshevchenko@thingsboard.io>
2025-01-27 17:41:12 +02:00
Andrii Shvaika
d3278f05bb WIP: Cluster mode refactoring 2025-01-27 17:34:35 +02:00
Andrii Shvaika
6b9d374a5f Tmp commit for merge 2025-01-22 12:23:42 +02:00
IrynaMatveieva
4ba131ad85 changed partititoning implementation 2025-01-06 14:15:32 +02:00
IrynaMatveieva
a9f39e4917 added cache class 2024-12-24 12:50:27 +02:00
IrynaMatveieva
1482d1c4bb added logic to avoid looping 2024-12-23 17:00:10 +02:00
ViacheslavKlimov
1ea5fdf7fe Merge branch 'master' of github.com:thingsboard/thingsboard into feature/tbmsg-refactoring 2024-12-23 10:51:11 +02:00