3768 Commits

Author SHA1 Message Date
Andrew Shvayka
34fa9fe035
Merge pull request #10102 from thingsboard/hotfix/3.6.2
Hotfix/3.6.2 sync up
2024-01-31 13:15:34 +02:00
Andrew Shvayka
df39f8b8d6
Merge pull request #10083 from thingsboard/save-improvements
Performance improvements for entities saving
2024-01-31 13:14:17 +02:00
dashevchenko
ce9351ba27 deleted unused classes 2024-01-30 18:20:23 +02:00
ViacheslavKlimov
5875a40118 Error handling for PartitionChangeEvent listeners 2024-01-30 15:16:53 +02:00
Dmytro Skarzhynets
2159430c1b Fix test for message types with null rule node connections 2024-01-30 12:22:37 +02:00
Dmytro Skarzhynets
d1a9c4432a Add rate limit of at most one event per second per originator in node 2024-01-30 11:56:10 +02:00
dashevchenko
1fce9582af deleted redundant code, yml parameters, reverted deleted PaginatedUpdater for future development 2024-01-29 17:53:39 +02:00
ViacheslavKlimov
feb55f636a Refactoring for dao save 2024-01-29 13:28:24 +02:00
Dmytro Skarzhynets
eadcf916f5 Add optimization using separate service which routes activity actions to device state service directly, when running in monolith. Refactor rule node tests 2024-01-26 16:15:11 +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
Vladyslav_Prykhodko
31dad36129 Merge remote-tracking branch 'upstream/master' into feature/push-notifications 2024-01-25 16:40:22 +02:00
ViacheslavKlimov
2f73512005 Don't remove from myPartitions on queue update 2024-01-25 15:47:26 +02:00
Rhyaldir
4b23a8a96d Support DTLS Connection ID with configuration 2024-01-25 11:15:05 +01:00
ViacheslavKlimov
27f448a543 Improve partition service logs 2024-01-25 12:04:18 +02:00
ViacheslavKlimov
a571153b7c Single update message for multiple queues 2024-01-24 18:08:01 +02:00
Dmytro Skarzhynets
5e846116a8 Use consumer instead of runnable in SimpleTbQueueCallback 2024-01-24 17:27:10 +02:00
Andrii Landiak
d4d019beda Renaming notifications for edge. Minor refactoring 2024-01-24 15:21:43 +02:00
Dmytro Skarzhynets
c9d97553b8 Update license headers with 2024 year. 2024-01-24 11:10:17 +02:00
Dmytro Skarzhynets
085187176a Merge branch 'master' into feature/device-state-node 2024-01-24 11:03:53 +02:00
Igor Kulikov
08f2a23555 Merge branch 'master' into feature/single-switch 2024-01-23 20:03:51 +02:00
Igor Kulikov
7a4503dc5c UI: Improve RPC widget models. Improve basic components/styles. Implement Single Switch RPC widget. 2024-01-23 20:03:14 +02:00
ViacheslavKlimov
f44c05f285 Support for multiple mobile sessions 2024-01-23 16:33:48 +02:00
deaflynx
d98a8cd2fa Update notification and rate limit configurations for edge connectivity/failure events 2024-01-23 13:47:20 +02:00
Andrii Landiak
ad90b4480c Introduce EDGE_CONNECTIVITY and EDGE_FAILURE notification rules to inform about edge's status and errors with connection, bad credentials, etc 2024-01-19 11:22:45 +02:00
Dmytro Skarzhynets
cc5fba1698 Add test to cover case when session is not present when it is reported. 2024-01-18 15:35:01 +02:00
Dmytro Skarzhynets
3d8cd96eb0 Update metadata on every activity recorded. 2024-01-18 13:14:45 +02:00
Dmytro Skarzhynets
65a825ef55 Fix new activity state never created if the underlying session got removed before activity manager tried to create a new state. 2024-01-17 18:46:28 +02:00
Andrii Shvaika
74a2c58fa4 Merge the hotfixes 2024-01-17 16:04:14 +02:00
Andrii Landiak
28e9aae2e5 Merge remote-tracking branch 'upstream/master' into feature/edge-alarm-comment-support 2024-01-15 16:15:08 +02:00
Andrew Shvayka
d8073cdce4
Merge pull request #9990 from thingsboard/feature/grouping-interval-types
New types of the grouping intervals: WEEK, WEEK_ISO, MONTH, QUARTER
2024-01-15 13:40:58 +02:00
Dmytro Skarzhynets
8690e92266 Move getCurrentTimeMillis() to abstract class and changed access modified to protected 2024-01-12 14:09:23 +02:00
ViacheslavKlimov
8e126e57dc Refactoring and fixes for partitions recalculation 2024-01-12 13:46:19 +02:00
Dmytro Skarzhynets
8acbf85e9f Fix license 2024-01-11 19:10:58 +02:00
Dmytro Skarzhynets
d23411f8d2 Refactor: move activity-related logic in transport to abstract TransportActivityManager. DefaultTransportService now extends TransportActivityManager. 2024-01-11 19:09:59 +02:00
Dmytro Skarzhynets
1a0ea09dea Add missed import during cherry picking 2024-01-11 16:42:29 +02:00
Dmytro Skarzhynets
4bbe23f9c3 Fix license 2024-01-11 16:36:18 +02:00
Dmytro Skarzhynets
563debe421 Fix license 2024-01-11 16:33:35 +02:00
Dmytro Skarzhynets
91ec67dd99 Add tests for onReportingPeriodEnd() in integration activity manager 2024-01-11 16:33:00 +02:00
Dmytro Skarzhynets
a31bd5e2c5 Add tests for onActivity() in integration activity manager, add concurrency fix in onActivity() 2024-01-11 16:32:46 +02:00
Dmytro Skarzhynets
47c72fb4e5 Refactor: remove explicit init method from activity manager interface 2024-01-11 16:31:49 +02:00
Dmytro Skarzhynets
a5c06ec70d Refactor: strategy creation, hide implementation details from clients 2024-01-11 16:31:25 +02:00
Dmytro Skarzhynets
07b8140b77 Remove missed comment 2024-01-11 16:31:04 +02:00
Dmytro Skarzhynets
f42ea79726 Additional improvements during testing and add tests for transport activity manager 2024-01-11 16:30:53 +02:00
Dmytro Skarzhynets
76fec46720 Minor refactoring and tests for integration activity manager 2024-01-11 16:30:24 +02:00
Dmytro Skarzhynets
8124192441 Refactor first activity strategy and add tests for all strategies 2024-01-11 16:29:57 +02:00
Dmytro Skarzhynets
315202d9df Fixes after manual testing 2024-01-11 16:29:37 +02:00
Dmytro Skarzhynets
7431233f5d [WIP] Reimplemented activity management 2024-01-11 16:29:14 +02:00
Dmytro Skarzhynets
f93a49be6d [WIP] Refactoring after review 2024-01-11 16:28:54 +02:00
Dmytro Skarzhynets
cfdceb9ae0 Change activity manager names, remove activity after iteration on period end 2024-01-11 16:28:18 +02:00