357 Commits

Author SHA1 Message Date
desoliture
8f485010f0 refactoring 2022-01-06 16:14:46 +02:00
desoliture
03256deee7 add corresponding tests for schedule from dynamic values 2022-01-06 15:39:00 +02:00
Andrew Shvayka
530765487c
Merge pull request #5550 from van-vanich/upgrade_enrichment_attributes_rule_node
[3.3.3] Upgrade enrichment attributes rule node
2021-12-30 13:08:54 +02:00
van-vanich
551f67ec02 add this feature for target attribute:
use ${metadataKey} for value from metadata, $[messageKey] for value from the message body
2021-12-22 11:14:04 +02:00
van-vanich
436e19d652 refactoring and improve code 2021-11-23 16:14:22 +02:00
van-vanich
a0e06abe1f refactoring tests and some program 2021-11-22 13:55:24 +02:00
van-vanich
866238acda first version refactoring test code 2021-11-22 11:45:58 +02:00
van-vanich
3fec3aa21c refactoring and fix bugs 2021-11-12 15:59:24 +02:00
van-vanich
6d657fed46 add process pattern for rule node:
- customer attribute
 - tenant attribute
 - related attribute

also, refactoring old tests for customer attribute and add tests related and tenant attribute.
2021-11-12 14:02:51 +02:00
Dima Landiak
e9ba765565 added one more test for create relation node 2021-11-05 13:50:48 +02:00
Dima Landiak
e5ff6aba16 added create relation rule node test 2021-11-05 13:50:48 +02:00
Andrew Shvayka
71e098c8c4
Merge pull request #5304 from msqr/master
Add option for HTTP client rule node to not create any message body
2021-11-03 16:26:51 +02:00
Andrew Shvayka
2ba9b463fe
Merge pull request #5358 from smatvienko-tb/TbGetTelemetryNode_Aggregation_feature
Tb get telemetry node aggregation feature
2021-10-13 11:39:09 +03:00
Sergey Matvienko
fe511f080e TbHttpClient for Rest API call node: implemented shared event loop for netty for any rest api call node instance 2021-10-13 11:31:10 +03:00
Sergey Matvienko
3820d2bb1c TbGetTelemetryNodeTest: fixed CE licence header 2021-10-12 14:08:21 +03:00
Sergey Matvienko
7a2a4b9d01 TbGetTelemetryNode Aggregation feature allows you to fetch aggregated telemetry as a single value by <b>AVG, COUNT, SUM, MIN, MAX, NONE</b>. 2021-10-12 12:47:53 +03:00
Matt Magoffin
88017dbd90 Add test case for new ignoreRequestBody configuration in TbRestApiCallNode. 2021-10-02 11:00:02 +13:00
YevhenBondarenko
1539e4550d fixed tests 2021-08-03 16:22:33 +03:00
Igor Kulikov
a50282f1ea Fix device profile tests for repeating values 2021-07-19 15:18:34 +03:00
Andrii Shvaika
6f67e72afd Refactoring of MailService 2021-07-09 13:57:57 +03:00
AndrewVolosytnykhThingsboard
3712d73855
Device profile dynamic value
Co-authored-by: DanyloKobzar <69635327+DanyloKobzar@users.noreply.github.com>
Co-authored-by: Vladyslav_Prykhodko <vprykhodko@thingsboard.io>
2021-07-06 17:23:25 +03:00
Andrii Shvaika
973fb8ec54 Fix conflicts in rulenode-core-config.js 2021-07-06 12:20:51 +03:00
Sergey Matvienko
b397dfb518 js-script-engine-api: js sync calls replaced with completely async calls (CE API only) 2021-06-17 14:10:34 +03:00
Sergey Matvienko
8915b279a0 js-script-engine-api: executeSwitch replaced with asynchronous executeSwitchAsync 2021-06-17 13:48:11 +03:00
Andrew Volostnykh
91d33c6597 Merge branch 'master' of https://github.com/thingsboard/thingsboard into feature/html-emails-copy
# Conflicts:
#	application/src/main/java/org/thingsboard/server/service/mail/DefaultMailService.java
#	rule-engine/rule-engine-api/src/main/java/org/thingsboard/rule/engine/api/MailService.java
#	rule-engine/rule-engine-components/src/main/java/org/thingsboard/rule/engine/mail/TbSendEmailNode.java
#	rule-engine/rule-engine-components/src/main/resources/public/static/rulenode/rulenode-core-config.js
2021-05-06 14:06:59 +03:00
Viacheslav Klimov
6b008e52cb Refactor 2021-04-22 13:15:19 +03:00
AndrewVolosytnykhThingsboard
c7269528fa
[PROD-881] Dynamic alarm severity in Create Alarm Rule Node (#4393)
* Dynamic alarm severity feature added

* Tests for dynamic alarm severity added

* Removed redundant imports

* Join front-end part

* Refactoring: create of method processAlarmSeverity, remove incorrect solution and process severity in correct places

* Correct updating of alarm parsed from msg data

* Removed redundant operations

* Correct exceptions throwing
2021-04-21 15:05:45 +03:00
AndrewVolosytnykhThingsboard
2423398d41 Added missing parameter to test 2021-04-21 13:14:00 +03:00
Igor Kulikov
e17de056c2 Merge with master 2021-03-19 12:16:43 +02:00
Viacheslav Klimov
e30ec49d2b
[3.3] [PROD-806] Implement alarm condition metadata displaying (#4185)
* Implement alarm condition metadata displaying

* Refactor
2021-03-15 17:09:35 +02:00
Andrew Volostnykh
d1da849061 Correction of tests for DeviceProfile 2021-03-15 17:06:36 +02:00
Andrii Shvaika
3cd964327a Constant filters for device profile 2021-02-26 19:26:31 +02:00
Andrew Volostnykh
e70df09b08 Code cleaning and fix of tests 2021-02-16 17:04:23 +02:00
Andrew Volostnykh
6bf2b322af Test and some code cleaning 2021-02-16 17:04:23 +02:00
Andrii Shvaika
cfb8a72f06 Memory leak fix for cases when actors fail to initialize or stopped. Cleanup TbMsgPackProcessingContext as well. 2021-02-10 16:21:42 +02:00
AndrewVolosytnykhThingsboard
0e195bec0d
Tests for DeviceProfile using DynamicValue (#4079)
* Tests for DeviceProfile using DynamicValue

* Rewritten for correct testing, code cleaning
2021-02-10 12:07:34 +02:00
YevhenBondarenko
e184a53b05 fixed TbDeviceProfileNodeTest 2021-02-09 17:26:29 +02:00
Igor Kulikov
22e5771120 JDK 11 Support 2021-02-04 19:31:20 +02:00
Andrii Shvaika
90334db157 Refactoring of HTTP and MQTT client credentials 2021-01-22 17:06:53 +02:00
Viacheslav Kukhtyn
9481654f5b Refactoring, deleting redundant classes 2021-01-19 20:32:18 +02:00
Viacheslav Kukhtyn
fb460d7215 Changes after code review 2021-01-15 16:34:06 +02:00
Viacheslav Kukhtyn
f0ff92eef5 Update headers 2021-01-14 10:32:01 +02:00
Viacheslav Kukhtyn
bcb1fb1800 Merge branch 'master' into feature/rest_api_node_ssl 2021-01-14 10:29:47 +02:00
Igor Kulikov
d31358b2ea Update license header - set 2021 year 2021-01-11 13:42:16 +02:00
Viacheslav Kukhtyn
9c3fae2f8e Merge branch 'master' into feature/rest_api_node_ssl 2021-01-08 17:34:02 +02:00
Viacheslav Kukhtyn
e6a30ca03b Add credentials for REST API call node 2021-01-08 17:32:43 +02:00
Illia Barkov
4aa55bccf8
Added ability to return arrays in transformation script node (#3910)
* Added ability to return arrays in transformation script node

* fix typo

* Refactoring

* Improvements

* Improvements
2021-01-06 14:41:01 +02:00
YevhenBondarenko
8515b6d6e0 alarm rules improvements 2020-11-25 18:19:33 +02:00
Andrii Shvaika
3518a3d927 Merge with master 2020-11-09 10:42:47 +02:00
Andrii Shvaika
78ac876103 Bug fixes for Device Profile node 2020-10-29 13:26:15 +02:00