6058 Commits

Author SHA1 Message Date
Andrew Shvayka
c21b10f088
Merge pull request #9585 from YevhenBondarenko/fix/audit-logs
fixed query timeout exception
2023-11-08 18:14:52 +02:00
YevhenBondarenko
1631f80da9 fixed query timeout exception 2023-11-08 15:53:51 +01:00
YevhenBondarenko
f2278d33b6 fixed getUsersForAssign if originator was removed 2023-11-03 10:09:15 +01:00
Andrew Shvayka
b36d9c2b0a
Merge pull request #9535 from smatvienko-tb/hotfix/3.6-transport-api-performance
Hotfix/3.6 transport api performance
2023-11-01 12:08:53 +02:00
Sergey Matvienko
b30fe6ce26 DefaultTransportApiService validations refactored to a sync style to avoid excessive context switching 2023-11-01 10:51:09 +01:00
Andrew Shvayka
c6be73d77b
Merge pull request #9461 from AndriiLandiak/feature/core-proto-subtype-implementation
Core msg proto implementation as replacement of raw byte encoding
2023-10-31 18:02:19 +02:00
Sergey Matvienko
96235dc41e DefaultTransportApiService: handlerExecutor implemented with TB_QUEUE_TRANSPORT_MAX_CORE_HANDLER_THREADS; submit validateCredentials to the handlerExecutor; TB_QUEUE_TRANSPORT_MAX_CORE_HANDLER_THREADS=16 2023-10-31 14:34:39 +01:00
Andrii Landiak
ddfac584a0 Make componentLifecycle bytes deprecated. Cleaning code with a single line for TbClusterService 2023-10-31 09:58:41 +02:00
Andrii Landiak
dc6956cb3d Add tests required after review 2023-10-31 09:21:10 +02:00
ViacheslavKlimov
9e408cd6f3 Distribute partitions between Rule Engines based only on tenant id 2023-10-27 14:43:12 +03:00
Andrii Landiak
b98567ddfb Minor refactoring 2023-10-26 09:31:53 +03:00
Andrii Landiak
00000f7d05 Leave old messaged, mark them as deprecated, for removal; Left intentionally to avoid throwNotHandled 2023-10-26 09:30:04 +03:00
Andrii Landiak
be4c408324 Merge remote-tracking branch 'upstream/hotfix/3.6' into feature/core-proto-subtype-implementation 2023-10-25 16:30:43 +03:00
Andrew Shvayka
4705be61f1
Merge pull request #9474 from volodymyr-babak/edge-testIsolatedTenantProfile-fix
Fixed testIsolatedTenantProfile - correct expected number of downlink msgs
2023-10-24 13:29:19 +03:00
Andrew Shvayka
5c404649f3
Merge pull request #9453 from thingsboard/re-consumer-service-refactoring
Rule Engine consumer service refactoring
2023-10-24 13:24:19 +03:00
ViacheslavKlimov
9ca568d070 Improvements for queue-related tests 2023-10-24 13:23:14 +03:00
Andrew Shvayka
464eef2315
Merge pull request #9425 from volodymyr-babak/hotfix/edge-remove-redundant-edge-event-save
Optimizations for Edge Queue Event Storage and Server Load Reduction
2023-10-24 13:12:17 +03:00
Andrii Shvaika
0571f7e6dd Fix compatibility between CE and PE 2023-10-24 12:24:01 +03:00
Volodymyr Babak
802890cdc0 Fixed testIsolatedTenantProfile - correct expected number of downlink msgs 2023-10-23 19:37:38 +03:00
ViacheslavKlimov
60900a0b96 Merge branch 'hotfix/3.6' into re-consumer-service-refactoring
# Conflicts:
#	application/src/main/java/org/thingsboard/server/service/queue/DefaultTbRuleEngineConsumerService.java
2023-10-23 16:41:38 +03:00
Andrii Landiak
dd73ae900b Remove deprecated coreMsgs from log 2023-10-23 11:11:40 +03:00
Andrii Landiak
f01cbe0e36 Refactoring ToCoreNotificationMsg: implement replacement for raw bytes messages 2023-10-23 10:10:02 +03:00
Andrew Shvayka
f47dff7fa9
Merge pull request #9430 from smatvienko-tb/feature/componentLifeCycleProto
ComponentLifecycleMsgProto implemented as replacement of raw byte encoding
2023-10-20 17:55:33 +03:00
ViacheslavKlimov
6d7cb95492 Bigger timeout in tests for msg processing 2023-10-20 15:46:53 +03:00
ViacheslavKlimov
aea4d267ff Minor improvements 2023-10-20 15:26:25 +03:00
ViacheslavKlimov
23cd7f0865 Fix testNotificationRuleProcessing_exceededRateLimits 2023-10-20 15:03:24 +03:00
ViacheslavKlimov
2d1640a002 Don't interrupt consumer loop task on stop 2023-10-19 15:29:46 +03:00
ViacheslavKlimov
049f40a62e Clear interruption status after exiting consumer while loop 2023-10-19 14:00:04 +03:00
ViacheslavKlimov
5108e98f38 Minor refactoring 2023-10-19 11:09:58 +03:00
ViacheslavKlimov
ea4eadb47f Cancelling consumer loop task on stop 2023-10-19 11:09:56 +03:00
ViacheslavKlimov
921b2ae4b7 Tests for Rule Engine consumer manager 2023-10-19 11:09:52 +03:00
ViacheslavKlimov
cf951ee2b2 Multiple improvements for Rule Engine consumer services 2023-10-19 11:09:34 +03:00
ViacheslavKlimov
92e0c65a37 Minor refactoring 2023-10-19 11:09:29 +03:00
Andrii Shvaika
c56132d6e8 Minor todos 2023-10-19 11:09:21 +03:00
Andrii Shvaika
3a0afd8a5a Refactoring of the consumer service 2023-10-19 11:09:16 +03:00
Andrii Shvaika
45fd970898 Refactoring in progress 2023-10-19 11:09:11 +03:00
Sergey Matvienko
92a2a90a0b ComponentLifecycleMsgProto implemented as replacement of raw byte encoding 2023-10-18 18:06:40 +02:00
Volodymyr Babak
c5c037b874 Update AlarmControllerTest with latest business logic - no edge notification during alarm udpate 2023-10-18 08:47:03 +03:00
Volodymyr Babak
04cfa2021d Fixed edge controller tests 2023-10-17 18:50:42 +03:00
Andrii Shvaika
7ccad683ab prettify script 2023-10-17 18:41:22 +03:00
Volodymyr Babak
3946b058cd Do not push ALARM update to edge automatically - only using push to edge rule node 2023-10-17 18:09:38 +03:00
Andrii Shvaika
71dd96b084 Fix the widgets_bundle_widget table after upgrade 2023-10-17 18:00:04 +03:00
Volodymyr Babak
8c94ec5c52 Edge: do not sync User login actions. Edge: do not save particular edge events in case edge is not activated or disconnected 2023-10-16 18:05:12 +03:00
Andrew Shvayka
4155f67b04
Merge pull request #9422 from thingsboard/fix/notification-rule-processor-blocking
DefaultNotificationRuleProcessor - submit to executor sooner
2023-10-16 15:24:10 +03:00
Andrew Shvayka
5a1031a8db
Merge pull request #9418 from volodymyr-babak/hotfix/edge-event-processing-executor-service
Edge events are processed in a separate threads to avoid blocking cor…
2023-10-16 15:17:19 +03:00
ViacheslavKlimov
ee080538a4 DefaultNotificationRuleProcessor - submit to notificationExecutor sooner not to block the caller 2023-10-16 15:15:25 +03:00
Volodymyr Babak
8681d2de62 DefaultEdgeNotificationService - Increased deadline timeout to 60 seconds 2023-10-16 15:06:57 +03:00
Volodymyr Babak
e33c3b43a5 DefaultEdgeNotificationService - onSuccess() make ASAP 2023-10-16 13:36:47 +03:00
Volodymyr Babak
fb5c593bb5 Edge events are processed in a separate threads to avoid blocking core consumer threads 2023-10-16 12:54:10 +03:00
Sergey Matvienko
ec6727ff7d TbCoreConsumerStats: core notifications stats by message type 2023-10-15 22:43:05 +02:00