4429 Commits

Author SHA1 Message Date
Igor Kulikov
c7bd92c9f8 Merge branch 'feature/mvel-executor' of github.com:thingsboard/thingsboard into feature/mvel-executor 2022-10-28 14:36:02 +03:00
Igor Kulikov
fabc433ae2 Fix NPE in rule node mvel script engine while metadata unbinding. Update MVEL dependency version 2022-10-28 14:35:49 +03:00
Andrii Shvaika
3f819487d6 Added var for clear code 2022-10-28 13:18:00 +03:00
Andrii Shvaika
001700e14b Merge branch 'feature/mvel-executor' of github.com:thingsboard/thingsboard into feature/mvel-executor 2022-10-28 13:00:42 +03:00
Andrii Shvaika
d00bcbfa83 MVEL executor tests 2022-10-28 13:00:28 +03:00
Igor Kulikov
7c2897226d Update default rule chains with mvel script. Update rule nodes config UI. 2022-10-28 12:21:50 +03:00
Andrii Shvaika
bfe79780dd MVEL executor improvements 2022-10-27 14:03:48 +03:00
Andrii Shvaika
830a612bf8 Refactoring of the JS thread pool size configuration 2022-10-25 10:36:11 +03:00
Andrew Shvayka
4cc7e7b373
Merge pull request #7456 from ViacheslavKlimov/fix/sql-deadlock-info
[3.4.2] SQL batch sort enabled by default; additional deadlock logging
2022-10-24 18:25:16 +03:00
Andrew Shvayka
73868338c8
Merge pull request #7238 from YuriyLytvynchuk/feature/delete_attributes_node
[3.4.2] Feature: New RuleNode "delete attributes"
2022-10-24 13:34:55 +03:00
Andrii Shvaika
3f729a8ca0 MVEL improvements 2022-10-20 17:05:53 +03:00
Andrii Shvaika
609107468c Api Usage Client refactoring 2022-10-20 14:29:11 +03:00
Andrii Shvaika
d4438bf044 Merge branch 'feature/mvel-executor' of github.com:thingsboard/thingsboard into feature/mvel-executor 2022-10-20 12:44:03 +03:00
Andrii Shvaika
5633aeaa6e Merge with master 2022-10-20 12:43:52 +03:00
Igor Kulikov
bfdc4a0801 Minor fixes. Update rule node UI 2022-10-20 12:28:32 +03:00
Andrew Shvayka
9d23c91137
Merge pull request #7403 from ViacheslavKlimov/feature/remote-js-executor-improvements
[3.4.2] Improvements for remote JS executor
2022-10-20 11:37:00 +03:00
ViacheslavKlimov
35960d018e SQL batch sort enabled by default; additional deadlock logging 2022-10-19 18:33:50 +03:00
Andrii Shvaika
2349b16b55 MVEL executor support in rule nodes 2022-10-19 17:49:59 +03:00
Andrii Shvaika
42832aab8c Test script controller and test fixes 2022-10-19 16:26:26 +03:00
Andrii Shvaika
d3f06bd3a4 MVEL executor implementation 2022-10-18 18:39:43 +03:00
Andrii Shvaika
1593c5b92e MVEL Script Service implementation 2022-10-18 15:32:22 +03:00
Andrii Shvaika
813f632deb MVEL executor 2022-10-17 19:03:44 +03:00
Andrii Shvaika
9769f95c27 Refactoring of the JS API to separate module: Script API 2022-10-17 16:36:57 +03:00
Andrew Shvayka
d7aa2e5660
Merge pull request #7214 from volodymyr-babak/bug/edge-shared-attr-subs
[3.4.2][Bug] Notify devices in case shared attribute updates from edge
2022-10-12 12:36:59 +03:00
Andrew Shvayka
b7c188e681
Merge pull request #7093 from volodymyr-babak/bug/edge-sync-cluster
[3.4.2][Bug] Edge sync functionality - added cluster support
2022-10-12 12:31:56 +03:00
Volodymyr Babak
89272a21cf Merge remote-tracking branch 'upstream/master' into bug/edge-shared-attr-subs 2022-10-12 12:31:55 +03:00
Andrew Shvayka
740192b23c
Merge pull request #7371 from ViacheslavKlimov/feature/audit-logs-partitioning-ttl
[3.4.2] TTL and table partitioning for audit logs
2022-10-12 12:29:15 +03:00
Volodymyr Babak
35288bbfe8 Removed required=false. Renamed test name 2022-10-12 12:27:22 +03:00
Volodymyr Babak
2ed85cb294 Tell edge events with normal priority. Updated sync request timeout to 20 seconds 2022-10-12 12:21:18 +03:00
ViacheslavKlimov
d2f67d33d1 Minor refactoring for AuditLogsCleanUpService and SqlPartitioningRepository 2022-10-12 10:12:29 +03:00
ViacheslavKlimov
831332be7b Use hash of tenant id and body when resolving script for remote JS executor 2022-10-11 12:01:55 +03:00
ViacheslavKlimov
100868d8e2 Merge remote-tracking branch 'origin/master' into feature/remote-js-executor-improvements 2022-10-10 16:02:53 +03:00
Andrew Shvayka
990a50391e
Merge pull request #7350 from ViacheslavKlimov/fix/js-invoke-service-limits
[3.4.2] Limits for JS script body, input args and invocation result size
2022-10-07 17:26:03 +03:00
ShvaykaD
673e2cb5be fix typo in alarmActionMsg 2022-10-06 19:48:44 +03:00
ShvaykaD
6e34747b95 added HasRuleEngineProfile interface & refactored DefaultTbContext 2022-10-06 19:42:30 +03:00
ViacheslavKlimov
7aab188d0c Do not send script body to remote JS executor on each invoke request 2022-10-06 19:29:26 +03:00
Andrii Shvaika
a29e2aa894 Fix relation tests 2022-10-05 15:43:39 +03:00
Andrii Shvaika
7e927b7aba Add support of relation add/update/delete events to rule engine 2022-10-05 13:46:01 +03:00
ViacheslavKlimov
b4300b35bf Add tests for audit logs partitions 2022-10-04 15:03:05 +03:00
ViacheslavKlimov
7eea5a6cda Minor refactoring 2022-10-04 13:07:21 +03:00
ViacheslavKlimov
c7c8ea0105 Fix partition overlap error handling in SqlPartitioningRepository 2022-10-04 10:45:43 +03:00
ViacheslavKlimov
a9f776587c Merge with origin/master 2022-10-04 09:35:41 +03:00
ViacheslavKlimov
d85737b84b TTL and table partitioning for audit logs 2022-10-03 18:36:52 +03:00
ViacheslavKlimov
a2c830ce8a Refactoring for JS limit properties 2022-10-03 14:23:02 +03:00
Andrii Shvaika
24aa8dc80d Remove sleeps 2022-10-03 10:54:39 +03:00
Andrii Shvaika
5d7bf3e42b Merge with bug fix branch 2022-10-03 10:50:19 +03:00
nickAS21
e13c238f91 fix_bug: test transactional EntityView add TreadSleep 2022-10-01 09:33:44 +03:00
nickAS21
456ada0cd0 fix_bug: test transactional UnfinishedStubbingException new 2022-09-30 20:55:07 +03:00
nickAS21
262c09c394 fix_bug: test transactional UnfinishedStubbingException 2022-09-30 17:25:47 +03:00
Andrii Shvaika
01acc4c486 Fix for DeviceControllerTest 2022-09-30 12:38:44 +03:00