1284 Commits

Author SHA1 Message Date
Sergey Matvienko
b82a5381e3 MathNodeTest: assertThrown replaced with tellFailure verification 2023-08-28 18:00:42 +02:00
Sergey Matvienko
923e41c029 MathNode: tellFailure and process the next message in the queue in case we are the last consumer 2023-08-28 16:56:59 +02:00
Sergey Matvienko
be928e8162 TbMathNode code cleanup 2023-08-16 20:13:49 +02:00
Sergey Matvienko
44ea477b7b TbMathNode: refactored to act in non-blocking style. All messages go through queue by originator with single semaphore and never wait on tryAcquire. Test refactored to provide more details on how slaw and fast messages being submitted and processed 2023-08-15 22:40:01 +02:00
Sergey Matvienko
16fdfc518d TbMathNode: test added for concurrent calls by the same originator utilizing the whole rule-dispatcher pool. 1 failed. non-blocking implementation wanted; Additional refactoring: JUnit5 and mock init 2023-08-15 14:55:09 +02:00
Sergey Matvienko
97ee45be24 TbMathNode: refactored for easier testing. Semaphores - WEAK reference type. calculateResult method - removed unused args. 2023-08-15 14:15:49 +02:00
Andrew Shvayka
14378f4876
Merge pull request #8996 from smatvienko-tb/feature/mqtt-client-channel-handler-invokeHandlersForIncomingPublish
MQTT client channel handler invoke handlers for incoming publish (master branch base)
2023-07-31 17:25:23 +03:00
Sergey Matvienko
825eaf640c RuleEngineException cause added to be able to analyse cause by rate limit exceptions 2023-07-27 21:38:02 +02:00
Sergey Matvienko
ed6614af71 MqttClientConfig - ownerId added for exceptions logging purposes. MqttChannelHandler - improved logging 2023-07-27 20:59:58 +02:00
Sergey Matvienko
7e27c5b683 mqtt-client: messages processing moved from netty event loop pool and to the handlerExecutor to make netty handlers non-blocking 2023-07-26 12:10:06 +02:00
Igor Kulikov
3c2d5eeb30 Minor fix 2023-07-11 16:15:51 +03:00
Igor Kulikov
788ac46f08 External rule nodes improvement: When force ack create new message to free memory after acknowledgment. Set request timeout for some external nodes. 2023-07-11 16:13:55 +03:00
Andrii Shvaika
7dcebed624 Ability to force ack for external nodes 2023-06-22 15:59:36 +03:00
Andrii Shvaika
649898566c Add unrecoverable initialization error for actors. Fix timeouts on missing rule chain id in the rule chain input node 2023-06-21 19:05:42 +03:00
Vladyslav_Prykhodko
9a37fe7853 UI: Math function rule node fixed validation 2023-06-08 12:27:42 +03:00
Igor Kulikov
5b08e5d5a3 Update rule nodes UI 2023-05-31 12:54:13 +03:00
Igor Kulikov
c422e39724 Version set to 3.5.1-SNAPSHOT 2023-05-22 16:26:54 +03:00
Vladyslav_Prykhodko
a08f9f750b Updated rulenode-core-config.js: Fixed incorrect show credentials 2023-05-04 16:47:42 +03:00
YevhenBondarenko
fbf9773a61 optimize imports 2023-05-02 10:57:58 +02:00
Vladyslav_Prykhodko
49ee303273 Updated rulenode-core-config: added support TBEL linter 2023-04-27 12:03:58 +03:00
Andrew Shvayka
4dd5280191
Merge pull request #8414 from thingsboard/feature/singleton-rule-node
Feature/singleton rule node
2023-04-25 14:34:08 +03:00
Andrew Shvayka
b6efa77605
Merge pull request #8425 from YevhenBondarenko/fix/log-node
fexed NPE in log node
2023-04-24 19:34:35 +03:00
YevhenBondarenko
bd05d35f73 fexed NPE (if spript lang is null) 2023-04-24 17:55:44 +02:00
Andrew Shvayka
76f24827aa
Merge pull request #8398 from dashevchenko/newMessageTypes
Added new message types to rule engine
2023-04-24 15:00:33 +03:00
YevhenBondarenko
da0bd1dc92 renamed SingletonSupport to ClusteringMode and refactoring due to comments 2023-04-24 13:49:57 +02:00
dashevchenko
62e9605971 renamed ALARM_ASSIGN to ALARM_ASSIGNED 2023-04-24 13:01:06 +03:00
dashevchenko
7d749af391 refactoring 2023-04-24 12:07:37 +03:00
YevhenBondarenko
5b3be81886 renamed msg types 2023-04-21 18:41:23 +02:00
YevhenBondarenko
a0b0e31e7d Merge branch 'develop/3.5' of github.com:thingsboard/thingsboard into feature/singleton-rule-node 2023-04-21 10:07:17 +02:00
YevhenBondarenko
3261cf4fe3 implemented rule node singleton mode 2023-04-20 16:07:14 +02:00
Andrew Shvayka
f71e6437c1
Merge pull request #8389 from thingsboard/fix/device-by-id-async
Remove usages of findDeviceByIdAsync
2023-04-20 13:10:46 +03:00
ShvaykaD
fbb0043323 fix deduplication node description 2023-04-20 13:04:29 +03:00
dashevchenko
01c6147766 added new message types to rule engine 2023-04-20 10:12:02 +03:00
ViacheslavKlimov
079b2a5ab7 Remove findDeviceByIdAsync from DeviceService 2023-04-18 18:25:35 +03:00
ShvaykaD
6bb1fd4f12 PROD-1948: bugfixes for delay and deduplication nodes 2023-04-17 12:02:26 +03:00
Andrew Shvayka
8e72404c18
Merge pull request #8348 from volodymyr-babak/originator-node
Originator node
2023-04-12 18:01:50 +03:00
Andrew Shvayka
90a0edd2d4
Merge pull request #8350 from dashevchenko/redundantNotNull
Deleted redundant @NotNull annotations
2023-04-12 17:34:31 +03:00
dashevchenko
abfaeac087 deleted redundant @NonNull annotation 2023-04-11 16:09:54 +03:00
Volodymyr Babak
567bfd67ef Set Edge as last in the list to avoid issues with compatibility 2023-04-11 14:35:38 +03:00
Volodymyr Babak
b1502ee11f Added Edge relation type for originator type switch 2023-04-11 14:33:40 +03:00
Volodymyr Babak
80f1ec2fcd Handle properly cases when state persistent to timeseries 2023-04-10 17:52:05 +03:00
Volodymyr Babak
fa8c3cc6e5 Push edge connect/disconnect events to rule chain 2023-04-10 17:35:42 +03:00
Andrew Shvayka
eb9cd79c7e
Merge pull request #7858 from AndriiLandiak/feature/rest-api-node
Rest API Call node - Add ability to remove quotes from Body
2023-04-07 18:15:46 +03:00
Andrew Shvayka
42f4c0c2be
Merge pull request #8293 from adovh/bug/fix-1899-rulechain-messages-sent-to-wrong-tenant
fix rulechain messages sent to wrong tenant
2023-04-06 13:09:09 +03:00
Vladyslav_Prykhodko
61537ac5cb Updated rule node core config 2023-04-06 11:49:36 +03:00
ViacheslavKlimov
7aa215f49d Fix notification request update handling in cluster mode; Rule nodes fixes 2023-04-05 14:28:50 +03:00
Vladyslav_Prykhodko
ef94a8c198 UI: Add new rule node and refactoring code 2023-04-04 18:08:44 +03:00
ViacheslavKlimov
a4ad8feb7f Merge remote-tracking branch 'origin/improvements/notification-system' into improvements/notification-system 2023-04-04 12:58:57 +03:00
ViacheslavKlimov
bbaf2a5054 Notification rule trigger via ClusterService 2023-04-04 12:58:47 +03:00
Vladyslav_Prykhodko
c4bb1d8476 Merge remote-tracking branch 'upstream/develop/3.5' into improvements/notification-system 2023-04-04 12:52:24 +03:00