1859 Commits

Author SHA1 Message Date
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
ShvaykaD
9151ba7324 merge with master 2024-04-26 18:11:24 +03: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
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
Viacheslav Klimov
756bac5135
Merge pull request #10522 from AndriiLandiak/fix/edge-3.7
Edge refactoring: using java 17
2024-04-10 11:50:38 +03:00
Andrii Landiak
d041faae89 Micro refactoring: using java 17 2024-04-09 15:42:54 +03:00
IrynaMatveieva
9c740e147d added tests for copy to view node 2024-04-09 13:46:41 +03:00
Viacheslav Klimov
19c2c5e955
Merge pull request #10300 from irynamatveieva/fix-calculate-delta-rule-node
Added property to ignore delta in output messages if it is zero
2024-04-09 13:13:14 +03:00
Viacheslav Klimov
9cc0e9da7c
Merge pull request #10349 from irynamatveieva/feature/mqtt-node
MQTT node: added ability to send string without quotes.
2024-04-09 13:08:00 +03:00
ShvaykaD
827c898179 added test givenConcurrentAccess_whenOnMsg_thenGetFromDBInvokedOnce 2024-04-02 12:38:37 +03:00
ShvaykaD
95fad7bf1b moved SemaphoreWithTbMsgQueue to separate file & updated logic in CalculateDeltaNode 2024-04-01 12:36:49 +03:00
ShvaykaD
85d229be2d convert ValueWithTs to a record & replace usages of Collections.singletonList to List.of & use single key search for async method 2024-03-29 12:05:44 +02:00
dashevchenko
dae4f313e2 merged with master 2024-03-26 19:09:21 +02:00
Igor Kulikov
dc6ab4d411 Fix conflicts 2024-03-26 18:05:52 +02:00
Sergey Matvienko
add2bea56a Check alarm status node: added tenant and ruleChainName to the log to make a log useful in multi-tenant deployments 2024-03-26 09:04:37 +01:00
Sergey Matvienko
2efd411a36 Check alarm status node: log severity DEBUG for "Failed to parse alarm" for known runtime exceptions. The ERROR severity will fire only on unexpected exception types. This will prevent flooding the error logger 2024-03-25 16:13:50 +01:00
ViacheslavKlimov
03cb21b79a Merge branch 'hotfix/3.6.3' into master-with-hotfix
# Conflicts:
#	common/util/src/main/java/org/thingsboard/common/util/SslUtil.java
2024-03-25 09:56:57 +02:00
IrynaMatveieva
242b712a90 fixed conflicts 2024-03-22 12:35:59 +02:00
Iryna Matveieva
4f860f7896
Merge branch 'master' into fix-calculate-delta-rule-node 2024-03-22 12:31:40 +02:00
ViacheslavKlimov
4ed952a9d6 Merge branch 'master' into develop/3.7 2024-03-19 15:44:23 +02:00
ViacheslavKlimov
b3b27210b0 Merge branch 'master' into hotfix/3.6.3 2024-03-18 18:06:14 +02:00
Igor Kulikov
5da95a15a2 Update rule nodes UI 2024-03-18 12:29:57 +02:00
Viacheslav Klimov
89a1c44673
Merge pull request #10311 from irynamatveieva/fix-error-mqtt-node
Fixed TLS Factory error when no password set in configuration
2024-03-13 12:17:43 +02:00
rusikv
6057c17acc Merge remote-tracking branch 'upstream/master' into queueStatsEntity 2024-03-12 19:15:09 +02:00
IrynaMatveieva
837933a2e0 moved the static toPlainText() method to the JacksonUtil class 2024-03-12 18:53:45 +02:00
IrynaMatveieva
311ef1bb8b added a new line to the end of the file 2024-03-11 15:49:12 +02:00
IrynaMatveieva
3e8f9e3242 added ability to send string without quotes 2024-03-11 15:27:25 +02:00
Sergey Matvienko
71583c5a29 TbAbstractGetAttributesNode: get latest moved to the last step because SqlTimeseriesLatestDao.findLatest() effectively do blocking DB call, so getting attr async will do the job without awaiting the latest response. 2024-03-07 17:45:15 +01:00
IrynaMatveieva
0177b5fdc7 added a method for getting a password with a null checking 2024-03-06 17:56:51 +02:00
IrynaMatveieva
7d4d7f97aa restricted access modifier for CalculateDeltaTestConfig to private 2024-03-06 10:21:00 +02:00
IrynaMatveieva
c18cef5eda changed variable names 2024-03-05 16:37:53 +02:00
thingsboard648
96a71ad8dc changed the check to exclude only 0 deltas from the message 2024-03-05 16:03:00 +02:00