2215 Commits

Author SHA1 Message Date
IrynaMatveieva
dce51e9e2d made methods public 2024-06-06 19:12:21 +03:00
IrynaMatveieva
f9a126df31 refactored parametrized tests 2024-06-06 19:10:09 +03:00
IrynaMatveieva
3368b9480b added test for default config 2024-06-06 16:29:38 +03:00
IrynaMatveieva
6a9a933d48 added tests for check builder 2024-06-06 16:18:43 +03:00
IrynaMatveieva
7ed5b3c1e1 added tests for ttl usage 2024-06-05 18:38:50 +03:00
IrynaMatveieva
6be2c61717 added tests to verify request that is passed to sendRpcRequestToDevice() method 2024-06-05 15:23:59 +03:00
IrynaMatveieva
c92a8de33b Merge remote-tracking branch 'origin/develop/3.7.1' into improvements/save-timeseries-node 2024-06-04 14:48:27 +03:00
IrynaMatveieva
19820d3968 created tests for aws nodes 2024-06-03 19:29:23 +03:00
IrynaMatveieva
7af32ad76b fixed conflicts 2024-06-03 12:19:24 +03:00
Vladyslav_Prykhodko
63d8e6dde7 UI: Updated rulenode-core-config.js change translate, minor-change 2024-05-31 16:26:34 +03:00
IrynaMatveieva
00251f11b1 refactored tests 2024-05-29 11:19:15 +03:00
IrynaMatveieva
6339f0ce63 refactored tests 2024-05-28 18:48:56 +03:00
IrynaMatveieva
4e7170090f refactored tests to cover more test cases 2024-05-28 17:50:09 +03:00
IrynaMatveieva
ba4fb71486 refactored tests 2024-05-28 15:34:43 +03:00
IrynaMatveieva
de7b6dddea refactored tests 2024-05-28 11:49:07 +03:00
IrynaMatveieva
7de6bb7647 removed trimQueue and maxQueueSize parameters 2024-05-28 11:08:23 +03:00
IrynaMatveieva
15defc34c3 removed deprecated useRedisQueueForMessagePersistence parameter from config 2024-05-28 09:46:38 +03:00
YevhenBondarenko
213663268d fixed alarm rule with future ts 2024-05-23 23:45:40 +02:00
IrynaMatveieva
d10f7995d7 added additional tests to DefaultTbClusterServiceTest 2024-05-15 12:39:19 +03:00
IrynaMatveieva
74ac5a949f added rule engine controller and send rest api call reply node 2024-05-14 10:05:41 +03:00
Volodymyr Babak
62d9f76c57 Use local variable to create new alarm instead of field variable - fix inconsistent state of currentAlarm field in case createAlarm is failed 2024-05-08 16:02:51 +03:00
IrynaMatveieva
63156a69df added ability to transfer msg to originator default rule chain and set default value for maxRuleNodeExecutionsPerMessage from tenant profile 2024-05-07 13:59:56 +03:00
IrynaMatveieva
2f452e2193 used AttributesScope value names instead of strings 2024-05-06 09:27:39 +03:00
Andrew Shvayka
bfd7cf9e6f
Merge pull request #10701 from smatvienko-tb/fix/math_node_test
math node flaky test fixed
2024-05-03 12:46:59 +03:00
Sergey Matvienko
f2023cf464 math node flaky test fixed 2024-05-03 10:10:18 +02:00
Vladyslav_Prykhodko
3b8b22703f UI: Updated rulenode-core-config.js 2024-05-02 17:19:39 +03:00
Andrew Shvayka
c8bc0f6793
Merge pull request #10527 from thingsboard/feature/rule-node-caches-replacement
Replacement of local cache in rule nodes with cached entity service APIs
2024-05-02 16:02:06 +03:00
ShvaykaD
9151ba7324 merge with master 2024-04-26 18:11:24 +03:00
Oleksandra Matviienko
3d820bace6 junit-platform.properties and logback-test.xml added to rule-engine-api
Signed-off-by: Oleksandra Matviienko <al.zzzeebra@gmail.com>
2024-04-26 13:39:04 +02:00
Oleksandra Matviienko
e3be868bc6 JUnit5 migration in rule-engine-api
Signed-off-by: Oleksandra Matviienko <al.zzzeebra@gmail.com>
2024-04-26 13:30:15 +02:00
Sergey Matvienko
086c63edb4 TbDeviceStateNodeTest refactored to avoid static mocks that fails some time due to concurrent test run 2024-04-25 17:56:19 +02:00
Sergey Matvienko
0fbc89d893 TbChangeOriginatorNodeTest refactored to use init() in @BeforeEach 2024-04-25 17:55:23 +02:00
Oleksandra Matviienko
1756d19820 JUnit5 migration in rule-engine-components
Signed-off-by: Oleksandra Matviienko <al.zzzeebra@gmail.com>
2024-04-25 13:57:23 +02:00
Andrew Shvayka
28573bf5f3
Merge pull request #10594 from smatvienko-tb/feature/dep_update_3_7_0
major dependency update 3 7 0
2024-04-25 13:23:17 +03:00
ShvaykaD
ba195d1a1d move upgrade to java & refactoring after review 2024-04-22 20:24:20 +03:00
IrynaMatveieva
59daf9123b replaced the use of the deprecated method with the use of a static method 2024-04-22 10:45:39 +03:00
ShvaykaD
c43d37480c merge with master 2024-04-22 10:44:59 +03:00
Sergey Matvienko
e3f2974fcd dependency: bouncycastle jdk15on moved to jdk18on 2024-04-19 23:25:15 +02:00
Sergey Matvienko
60ccd97832 org.apache.commons.collections replaced with org.apache.commons.collections4 2024-04-18 17:30:31 +02:00
IrynaMatveieva
ada9f8b7eb added tests for save to custom table node 2024-04-16 15:40:34 +03:00
ShvaykaD
0fb35a3844 merge with master 2024-04-16 12:40:04 +03:00
ShvaykaD
daa3c766f0 additional fixes in utils classes and tests 2024-04-16 12:08:28 +03:00
ShvaykaD
27d026821a fixed adter review 2024-04-16 11:56:56 +03:00
IrynaMatveieva
2a18f0c2b6 moved creation of entity view to a separate method 2024-04-15 18:36:13 +03:00
IrynaMatveieva
ae273114ad added tests for save timeseries node 2024-04-12 13:50:07 +03:00
IrynaMatveieva
59d75bf2f1 added tests for send rpc request and reply nodes 2024-04-11 19:27:09 +03:00
Igor Kulikov
ce44bbc248 Merge with hotfix/3.6.3 2024-04-11 17:52:26 +03:00
Dmytro Skarzhynets
b43a90d1df Separate create alarm node tests from clear alarm node tests, refactor existing and add more create alarm node tests 2024-04-10 15:24:58 +03:00
IrynaMatveieva
5a3e16f28d added test to check node when there are no matching attributes 2024-04-10 13:40:36 +03:00
Shvaika Dmytro
cad3011938
Replacement of local cache in rule nodes with cached entity service APIs. (#9552)
* added customer cache && refactored assign/unassing to/from customer nodes

* refactoring of customer action nodes & added common tests

* added tests for upgrade

* updated controller & service tests for customer api

* replaced findCustomerByTenantIdAndTitle with cacheable method

* add new line to end of ../upgrade/3.6.2/schema_update.sql file

* added cache for find user by tenant id and email & relation action nodes refactoring

* fixed synchronization issue & refactored logic & refactored node upgrade tests

* fixed testSaveUserWithSameEmail test in the UserControllerTest. Removed empty space & added exclamation mark

* updated tests for create relation node && added two tests for delete relation node

* replaced Lists with EnumSets where it was possible & replaced MethodSource with EnumSource where it was possible & added test for upgrade for both create and delete relation nodes

* updated upgrade tests & added tests for delete relation node

* refactoring

* updated create & delete relation nodes descriptions

* updated default config for delete relation node

* minor improvements for custom action nodes after self review

* added upgrade for customers with the same titles

* replaced parameterized test annotation when deleteForSingleEntity is false

* fix typo in reSaveCustomerWithNewTitle upgrade logic

* fixes after review & additional improvements

* fixed testAssignAndUnassignEntityViewToCustomer test

* updated upgrade logic & changed logic of public customers lookup

* fixed dao method & added test

* renamed method to findPublicCustomerByTenantId

* fix typo in the find public customer query

* added @Serial annotation for serialVersionUID & rollback saveAndFlush to save in UserServiceImpl

* fixes to async find or create logic

* fixed after review

* fix typo

* set Transactional annotation to findOrCreatePublicCustomer
2024-04-10 12:31:24 +03:00