382 Commits

Author SHA1 Message Date
Andrew Shvayka
10dc436417
Merge pull request #9844 from ShvaykaD/hotfix/transform-nodes-with-tb-msg-source
Added hotfix upgrade for transformation rule nodes with TbMsgSource
2023-12-15 15:27:49 +02:00
ShvaykaD
c128a7aecb added additional fix after check bugs on UI 2023-12-14 14:39:56 +02:00
ShvaykaD
b3bfe28cc8 added hotfix upgrade for transformation rule nodes with TbMsgSource 2023-12-14 13:33:37 +02:00
YevhenBondarenko
a537ad9b20 fixed flaky tests 2023-12-11 15:50:03 +01:00
Andrew Shvayka
1cbb6e39ad
Merge pull request #9284 from ShvaykaD/feature/transformation-nodes-enhancements
Transformation rule nodes enhancements
2023-12-05 12:54:33 +02:00
ShvaykaD
5a97b6dc63 refactoring after additional review 2023-11-30 15:40:55 +02:00
ShvaykaD
057c26f8ea added see examples templatization docs && refactoring after review 2023-11-30 15:13:00 +02:00
ShvaykaD
84ba42908b moved save attributes node upgrade to sql file && minor changes to tests 2023-11-23 11:43:59 +02:00
ShvaykaD
2c20de3b58 merge with master 2023-11-21 10:34:48 +02:00
ShvaykaD
ea69f09b85 replaced method source values 2023-11-21 10:33:49 +02:00
ShvaykaD
0fe841a454 removed ExtendWith annotation && added beforeEach method 2023-11-20 19:11:38 +02:00
ShvaykaD
6852879fe9 replaced upgrade script tests with parameterized test 2023-11-20 18:59:33 +02:00
ShvaykaD
af52ea282c updated sql upgrade script & fixed rule chain templates & fixed upgrade in rule node & minor changes to the tests 2023-11-20 18:15:25 +02:00
ShvaykaD
9d97d0c0b5 save attributes node: fixed escaped boolean parameters && minor refactoring to notify device logic 2023-11-16 15:47:25 +02:00
ShvaykaD
cb1b817b49 added backward-compatibility test for notifyDevice feature 2023-11-16 15:28:24 +02:00
ShvaykaD
5f10163dce fixed copy string values from msg to md in TbCopyKeysNode 2023-11-15 13:43:18 +02:00
ShvaykaD
cd13dd6811 Merge branch 'master' into feature/transformation-nodes-enhancements 2023-11-14 13:20:16 +02:00
ShvaykaD
ce8deced90 fixed copy string values from msg to md in TbCopyKeysNode 2023-11-14 13:01:19 +02:00
Andrii Landiak
cb2d95cdf6 After review: update logic for method invoc, update parametrized test 2023-11-07 14:34:28 +02:00
Andrii Landiak
950f4a184f Fix TbHttpClientTest 2023-11-06 13:23:57 +02:00
Andrii Landiak
98661b5388 Add test on upgrade script for TbRestApiCallNode 2023-11-06 13:22:21 +02:00
Andrii Landiak
bdd8f2e8fc Rewrite logic to correct handle specific symbols after json.stringify 2023-11-06 09:17:11 +02:00
YevhenBondarenko
cf32544e71 added SslUtil and tests 2023-10-17 23:20:00 +02:00
YevhenBondarenko
9d19a15413 used bouncycastle for parsing cert pem credentials 2023-10-17 15:12:48 +02:00
ShvaykaD
8b88f7bacf minor refactoring after self review 2023-09-21 12:50:01 +03:00
ShvaykaD
a0cfa0479e updated docs for transformation nodes && added minor fixes && added tests tests for updated logic in to email node 2023-09-19 12:39:48 +03:00
ShvaykaD
40c957aabb init commit for transformation nodes && improved error handling on init for fetchTo based nodes 2023-09-15 17:54:47 +03:00
YevhenBondarenko
902a7a07b4 fixed alarm severity change 2023-09-12 17:10:48 +02:00
Andrii Shvaika
94dbb1a682 Merge with master 2023-09-11 16:02:44 +03:00
ShvaykaD
b4aa911319 fix typo in rule nodes upgrade log & added empty line to the end of test class 2023-09-06 15:50:35 +03:00
ShvaykaD
23ed25b293 fixed upgrade script for get attributes based nodes for case when fetchToData is null 2023-09-06 15:46:08 +03:00
Sergey Matvienko
21ce51c50d TbMsgAttributesNode tests added for filterChangedAttr method 2023-09-05 18:04:56 +02:00
Sergey Matvienko
cc9a47a763 TbMsgAttributesNode updateAttributesOnValueChange renamed with updateAttributesOnlyOnValueChange 2023-09-05 17:06:09 +02:00
Sergey Matvienko
125385b582 TbMsgAttributesNode default config setUpdateAttributesOnValueChange(true), rule-chains template version 1 2023-09-05 14:11:56 +02:00
Sergey Matvienko
5bb70d84af TbMsgAttributesNode implements TbVersionedNode with upgrade method and tests from version 0 2023-09-05 14:11:56 +02:00
Sergey Matvienko
bbef1cdf3f TbMathNode: test optimized 2023-08-31 00:15:10 +02:00
Sergey Matvienko
c28e4157e7 TbMathNode: call processMsgAsync via BiFunction this::processMsgAsync 2023-08-31 00:07:35 +02:00
Sergey Matvienko
168d0980f0 TbMathNode: test added concurrentBySingleOriginator_SingleMsg_manyNodesWithDifferentOutput 2023-08-30 23:29:15 +02:00
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
1c45a6288e TbMathNode tests refactored with parametrized method sources 2023-08-18 02:14:43 +02:00
Sergey Matvienko
a5dabae023 TbMathNode tests refactored 2023-08-18 00:55:02 +02:00
Andrii Shvaika
c3d8546d9d Merge with open-source 2023-08-17 12:22:33 +03:00
Andrii Shvaika
ca6095402f Merge with master 2023-08-17 12:19:02 +03: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
ShvaykaD
cebe1040d4 refactoring after review 2023-08-11 20:27:54 +03:00
ShvaykaD
3d5cfa0c2e added internal type to TbMsg to replace if-return blocks with switch-case 2023-08-10 15:46:01 +03:00
ShvaykaD
fedeab23e8 renamed FetchTo enum to TbMsgSource and move it to util package to reuse as fetchFrom property in other nodes 2023-08-03 15:52:45 +03:00
ShvaykaD
76c4ed6ec3 added test for case when delta is negative and tell failure if delta is negative set to false 2023-07-07 14:07:02 +03:00