15564 Commits

Author SHA1 Message Date
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
b2098fc112 Fix compatibility between CE and PE 2023-10-24 12:30: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
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
be7854fb5b Add 'isolated' to topic and consumer group name for isolated queues 2023-10-19 18:58:41 +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
Andrew Shvayka
eb19583ae7
Merge pull request #9446 from YevhenBondarenko/fix/CertPemCredentials
CertPemCredentials improvements
2023-10-19 11:53:44 +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
Andrew Shvayka
a360995e49
Merge pull request #9443 from thingsboard/fix/delete-queries
Fix delete queries
2023-10-18 16:02:29 +03:00
ViacheslavKlimov
ef292c5cbb Fix delete queries in repositories 2023-10-18 12:56:01 +03:00
Volodymyr Babak
9b6b161d37 Revert changes for getting alarms by ids 2023-10-18 10:15:51 +03:00
Volodymyr Babak
c5c037b874 Update AlarmControllerTest with latest business logic - no edge notification during alarm udpate 2023-10-18 08:47:03 +03:00
YevhenBondarenko
cf32544e71 added SslUtil and tests 2023-10-17 23:20:00 +02: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
YevhenBondarenko
9d19a15413 used bouncycastle for parsing cert pem credentials 2023-10-17 15:12:48 +02: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
ee4fdde56f
Merge pull request #9419 from volodymyr-babak/hotfix/tenantServicePublishEvent_sys_tenant_id_fix
tenant publish event fix: tenant_id instead sys_tenant_id to avoid br…
2023-10-16 15:37:16 +03:00
Andrew Shvayka
68a4e68ff4
Merge pull request #9421 from smatvienko-tb/hotfix/3.6-kafka-analytics-headers-stacktrace-20
TbKafkaProducerTemplate: addAnalyticHeaders - stacktrace level increased from 10 to 20 for TRACE enabled
2023-10-16 15:37:00 +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
Sergey Matvienko
febff6bd00 TbKafkaProducerTemplate: addAnalyticHeaders - stacktrace level increased from 10 to 20 for TRACE enabled 2023-10-16 13:46:37 +02:00
Sergey Matvienko
4700fff7d2 tenant publish event fix: tenant_id instead sys_tenant_id to avoid broadcast messages 2023-10-16 13:52: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
Andrew Shvayka
a6f1b7228c
Merge pull request #9417 from smatvienko-tb/feature/core-notification-stats
TbCoreConsumerStats: core notifications stats by message type
2023-10-16 12:48:20 +03:00
Sergey Matvienko
ec6727ff7d TbCoreConsumerStats: core notifications stats by message type 2023-10-15 22:43:05 +02:00
Andrew Shvayka
94e935636e
Merge pull request #9414 from MrKartoshka/hotfix/3.6
PRC params json hotfix
2023-10-13 17:39:24 +03:00
Maksym Dudnik
ef45ab4f3b rpc params json hotfix 2023-10-13 16:41:36 +03:00