3834 Commits

Author SHA1 Message Date
Andrii Shvaika
3d42a4ca04 Actor system implementation draft 2025-01-27 17:57:39 +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
IrynaMatveieva
a652b31d7f implementation processing notification 2025-01-24 15:41:00 +02:00
IrynaMatveieva
69dc8b4b5d merge with upstream 2025-01-23 15:56:25 +02:00
IrynaMatveieva
2cc0d6f513 added implementations for consumer/producer methods 2025-01-23 15:49:31 +02:00
Andrii Shvaika
ebfb51a59e Merge PR #12487 2025-01-23 10:47:13 +02:00
IrynaMatveieva
fdada09ea2 Merge branch 'feature/calculated-fields' of github.com:thingsboard/thingsboard into calculated-fields 2025-01-23 10:46:52 +02:00
IrynaMatveieva
c047d5f4f0 added debug event entity 2025-01-22 17:01:28 +02:00
Andrii Shvaika
f0a71aa3bd Merge branch 'master' of github.com:thingsboard/thingsboard into feature/calculated-fields 2025-01-21 15:24:49 +02:00
ViacheslavKlimov
0f34f131c9 Return TimeseriesSaveResult 2025-01-21 14:30:27 +02:00
IrynaMatveieva
f0a36d5008 fixed tests 2025-01-21 10:03:50 +02:00
Viacheslav Klimov
ab2b1d7ff8
Merge pull request #12451 from thingsboard/rc
rc
2025-01-14 17:42:01 +02:00
dashevchenko
55fb35bf44 fixed nullpointer for mobile app bundle id 2025-01-14 14:43:15 +02:00
dashevchenko
2bb368b45d return empty object for app store and version info to fit UI component behaviour 2025-01-13 12:26:20 +02:00
IrynaMatveieva
6611f017c7 changed Argument structure 2025-01-10 16:58:26 +02:00
dashevchenko
796632d6f9 fixed mobile app store info validation 2025-01-09 18:14:46 +02:00
IrynaMatveieva
46180e33d7 cache refactoring 2025-01-08 17:20:20 +02:00
IrynaMatveieva
03c3341265 added logic to send msgs to RE when not my partition 2025-01-08 12:39:49 +02:00
IrynaMatveieva
e2ac2708b6 changed CF links config 2025-01-06 17:37:33 +02:00
Andrii Shvaika
22339199dc Merge with origin 2025-01-03 15:53:33 +02:00
Igor Kulikov
1a8116cb93 Merge with rc 2024-12-31 11:52:06 +02:00
IrynaMatveieva
f93ea868bf merge with master 2024-12-31 10:48:17 +02:00
Volodymyr Babak
cf9204416b
Fixed case when seqId started new cycle. Improved edge trace/debug logging (#12342)
* Fixed case when seqId started new cycle. Improved edge trace/debug logging

* Edge downlink logging improved

* Edge downlink logging improved #2
2024-12-30 10:04:41 +02:00
IrynaMatveieva
5f088a751e refactored code 2024-12-27 18:20:20 +02:00
Igor Kulikov
94f294aebf Fix load of JS Module extensions during installation or upgrade. 2024-12-27 15:32:17 +02:00
Igor Kulikov
cef94b9708 Merge branch 'rc' 2024-12-23 16:54:42 +02:00
ViacheslavKlimov
a70e20fe44 Don't send separate notification when notification clear rule is met 2024-12-23 15:31:24 +02:00
Viacheslav Klimov
155c701822
Merge pull request #12305 from dashevchenko/constraintNameFix
Updated constraint name to valid one
2024-12-23 12:07:10 +02:00
IrynaMatveieva
7d2160178d merge with master 2024-12-23 11:50:22 +02:00
Viacheslav Klimov
a1fd1e3ea4
Merge pull request #12297 from thingsboard/feature/telemetry-service-refactoring
Telemetry service refactoring
2024-12-23 10:45:12 +02:00
ViacheslavKlimov
ad97199f04 Fix cached entity was updated during inlineImages 2024-12-19 18:12:00 +02:00
dashevchenko
edf0712812 updated constraint name to valid one 2024-12-19 16:31:07 +02:00
ViacheslavKlimov
823d89dca6 Refactor delete for latest and history 2024-12-18 17:34:35 +02:00
ViacheslavKlimov
ead308470b Merge branch 'rc' of github.com:thingsboard/thingsboard into master-rc 2024-12-18 12:10:03 +02:00
ViacheslavKlimov
eb7bc8695b Refactor deleteAndNotify and deleteAndNotifyInternal for attributes 2024-12-17 17:27:41 +02:00
Daria Shevchenko
fc905e4e09
Added domain validation (#12248)
* added domain validation

* deleted empty line

* fixed controller test

* deleted redundant check
2024-12-16 11:45:57 +02:00
IrynaMatveieva
4668bece03 fixed tests 2024-12-13 11:14:56 +02:00
IrynaMatveieva
a73affea23 removed CF type LAST_RECORDS and implemented this functionality as a script(added new argument type TS_ROLLING) 2024-12-12 17:04:24 +02:00
Viacheslav Klimov
ccddca23a1
Merge pull request #12211 from dashevchenko/schema-entities-fix
Fixed qr code settings migration for disabled android/ios configuration #3075
2024-12-09 11:45:43 +02:00
dashevchenko
2a19107929 fixed primary key name 2024-12-06 14:43:29 +02:00
Igor Kulikov
f21275b4bd Merge branch 'rc' 2024-12-06 13:06:24 +02:00
Viacheslav Klimov
3d43a227e6
Merge pull request #12190 from dashevchenko/mobileOauth2ClientsFix
Oauth2 clients retrieval fix
2024-12-06 11:25:22 +02:00
Igor Kulikov
a8de539ea0 Merge branch 'rc' 2024-12-05 15:10:22 +02:00
Viacheslav Klimov
87cf2f7083
Merge pull request #12174 from thingsboard/feature/new-widget-resources-export
Dashboard/widget resources export - process whole config
2024-12-05 12:49:26 +02:00
ViacheslavKlimov
a2ae5b06c0 Non-null check for updateResourcesUsage 2024-12-05 12:44:50 +02:00
dashevchenko
9fc597a5a4 fixed oauth2 client fetch by for mobile apps 2024-12-04 18:28:44 +02:00
Igor Kulikov
77d2826f96 Version set to 4.0.0-SNAPSHOT 2024-12-04 16:53:19 +02:00
Igor Kulikov
190bba72f9 Temp Version set to 3.9.0-RC 2024-12-04 16:52:14 +02:00
Igor Kulikov
8ac0468edd Version set to 4.0.0-SNAPSHOT 2024-12-04 16:51:03 +02:00