8742 Commits

Author SHA1 Message Date
dashevchenko
60736e1237 fixed entity removal from CustomerData 2025-02-04 12:23:35 +02:00
yevhenii
726e6f7902 Fix error in resource processing
- Added a check that the resource is not updatable
2025-02-04 12:02:58 +02:00
IrynaMatveieva
0295fefb02 fixed limits 2025-02-04 12:02:39 +02:00
Sergey Matvienko
4dfd4737a4 Device Actor processor remove subscriptions on MaxSessionsLimit 2025-02-03 18:17:15 +01:00
dashevchenko
0e9d0b3ba3 fixed EntityServiceTest 2025-02-03 18:27:36 +02:00
IrynaMatveieva
e62e7fb20b implemented linkMatches() method and deletion of state from db 2025-02-03 12:26:32 +02:00
IrynaMatveieva
1a67769f1c added api limits and fixed tests 2025-02-03 12:01:06 +02:00
Viacheslav Klimov
cf53074d13
Merge pull request #12497 from YevhenBondarenko/fix/prod-5464
fixed NPE in sendRpcResponseToTbCore
2025-02-03 11:44:20 +02:00
IrynaMatveieva
7e055ec353 merge with feature/calculated-fields 2025-02-03 08:34:59 +02:00
Igor Kulikov
9625985568 Merge with master 2025-01-31 18:39:58 +02:00
Igor Kulikov
c76cd05b12 Merge branch 'rc' 2025-01-31 18:38:24 +02:00
Volodymyr Babak
3b8be75a14 DeviceEdgeTest.testSendOutdatedAttributeToCloud - improved stability for concurrent issue 2025-01-31 18:24:50 +02:00
Yevhenii
0f7142cfef ERRORs processing DEVICE PROFILE
- Added saving the DELETED action when the edge is offline.
- Added synchronization of Device Profile twice for its relation with Ota Package.
2025-01-31 18:11:51 +02:00
Yevhenii
99effb6918 ERRORs processing RESOURCES
- Disabled duplicate validation on cloud for resource message
2025-01-31 18:00:24 +02:00
Igor Kulikov
58249e3e30
Merge pull request #12511 from vvlladd28/bug/updated_device_attributte/rename-click-function
Fixed issues where 'Update Device Attribute' widgets failed when send data
2025-01-31 17:45:55 +02:00
IrynaMatveieva
6905cb530b added new protos for states 2025-01-31 17:12:02 +02:00
Volodymyr Babak
af4785d0e2 BaseTelemetryProcessor - Fixed import 2025-01-31 17:02:07 +02:00
Volodymyr Babak
ce4c654e21 BaseTelemetryProcessor - use scope from msg, and not hardcoded CLIENT_SCOPE 2025-01-31 16:58:12 +02:00
Igor Kulikov
f290246aad UI: Maps - implement tooltip tag actions. 2025-01-31 16:54:33 +02:00
Volodymyr Babak
5f793b11f9 BaseTelemetryProcessor - use async instead of .get() 2025-01-31 16:06:52 +02:00
Igor Kulikov
66608d3e2b UI: Update map widgets 2025-01-31 15:03:15 +02:00
Andrii Shvaika
83b338c697 Entity lifecycle implementation 2025-01-31 13:54:53 +02:00
ViacheslavKlimov
2aeacf80c5 Clean up upgrade for next version 2025-01-31 13:26:52 +02:00
IrynaMatveieva
c01024f6da changed endpoint 2025-01-31 12:11:09 +02:00
IrynaMatveieva
c1c9fb4f5a implemented calculated field debug events persistence 2025-01-31 11:29:38 +02:00
Igor Kulikov
3c94c86098 UI: Map data layer click action 2025-01-30 16:48:15 +02:00
ViacheslavKlimov
c8db304ce6 Optimized postgres sync (#3208)
* optimized postgres sync

* Fix consumer stopping when stopWhenRead enabled

* Fix NPE on EDQS repartitioning

* fixed EntityServiceTest

* Fix EDQS yml props

---------

Co-authored-by: ViacheslavKlimov <viacheslavklimov11@gmail.com>
2025-01-30 12:43:14 +02:00
IrynaMatveieva
a4aa2444ac added new endpoint 2025-01-30 11:01:45 +02:00
IrynaMatveieva
731a8a3dd2 merge with feature/calculated-fields 2025-01-29 16:04:21 +02:00
Andrii Shvaika
5aabbd0f1e Link dispatch implementation 2025-01-29 15:37:36 +02:00
IrynaMatveieva
5e16db275c state and argument refactoring 2025-01-29 14:44:28 +02:00
Andrii Landiak
89b5cf35e2 Merge remote-tracking branch 'origin/edge-refactoring' into edge-refactoring 2025-01-29 10:42:29 +02:00
Andrii Landiak
3ae8020451 Merge remote-tracking branch 'upstream/master' into edge-refactoring 2025-01-29 10:42:09 +02:00
IrynaMatveieva
71bb1c0250 merge with upstream 2025-01-28 09:51:30 +02:00
IrynaMatveieva
d54cb300d4 added new endpoint 2025-01-28 08:43:29 +02:00
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
0e1cd69e34 updated cf consumer 2025-01-27 15:55:40 +02:00
Artem Dzhereleiko
8bbdf89a3d UI: Scada energy widget bundle 2025-01-24 16:29:07 +02:00
Andrii Shvaika
e09ef84f43 Merge with origin 2025-01-24 15:47:44 +02:00
Andrii Shvaika
c332e7373f WIP: CalculatedFieldConsumer refactoring 2025-01-24 15:45:00 +02:00
IrynaMatveieva
a652b31d7f implementation processing notification 2025-01-24 15:41:00 +02:00
Vladyslav_Prykhodko
a0c5f72b0f UI: Fixed error when used 'Update device attribute' widgets 2025-01-24 15:37:48 +02:00
Andrii Shvaika
85119d0247 WIP: cluster mode implementation 2025-01-24 11:37:32 +02:00
IrynaMatveieva
5641626443 added processNotification impl 2025-01-24 10:53:13 +02:00
Igor Kulikov
c0eda85e10 UI: Map: image map. 2025-01-23 18:00:52 +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
4c71b9d5f6 WIP: Cluster mode implementation 2025-01-23 13:56:44 +02:00