5648 Commits

Author SHA1 Message Date
VoBa
16f3146fd4
Push entity created event to the device profile rule chain and queue if specified (#4131)
* Remove device from cache in case null value cached in the distributed redis

* Handle case when device was removed from db but message in the queue exists

* Code review chagnes

* Added usage statistics configuration to yml file

* Use msg queue instead of default

* Make private

* Make private

* Push entity created event to the device profile rule chain and queue if specified
2021-02-22 13:56:15 +02:00
ShvaykaD
c01005627b
[3.3] Fix/psql ts partitions remove action (#4130)
* fix psql ts partitions remove action by max ttl

* added forced null assigning

* added fix to upgrade

* added update to upgrade script from 3.1.1 and 3.2.1
2021-02-22 13:50:44 +02:00
vzikratyi-tb
ef33c68727
Added kafka consumer-groups statistics (#4123)
* Added kafka consumer-groups statistics

* Fixed PR notes

* Updated stats.kafka-response-timeout-ms

* Log kafka stats only once for CORE and RULE_ENGINE
2021-02-22 12:03:06 +02:00
AndrewVolosytnykhThingsboard
9728478b0d
Stub for querying entities after deleting dashboard (#4107)
* Code cleaning after review

* Code cleaning

* Refactoring

* Clean solution improved

* Imports standartization

* Correct if statement improved
2021-02-22 12:00:44 +02:00
Andrii Shvaika
5865dd288c Ignore old properties 2021-02-19 13:05:23 +02:00
Andrii Shvaika
d5f70af38a Ignore removed properties. 2021-02-18 15:54:28 +02:00
Andrii Shvaika
a14c10f1bc Merge branch 'master' of github.com:thingsboard/thingsboard 2021-02-18 15:42:12 +02:00
Andrii Shvaika
bfd0ed5d04 Delta Calculation Node improvement 2021-02-18 15:42:01 +02:00
Vladyslav_Prykhodko
b1dd779532 UI: Added to js/JSON editor always working fullscreen button (include fieldset tag disabled) 2021-02-17 17:25:02 +02:00
VoBa
c8d8321f74
Use msg queue instead of default (#4116)
* Remove device from cache in case null value cached in the distributed redis

* Handle case when device was removed from db but message in the queue exists

* Code review chagnes

* Added usage statistics configuration to yml file

* Use msg queue instead of default

* Make private

* Make private
2021-02-17 16:50:41 +02:00
Chantsova Ekaterina
b6488d8b2d Add entity info for single-entity aliases even if no alarms to display 2021-02-16 17:42:16 +02:00
Vladyslav_Prykhodko
3cc9ad5007 UI: Improvement alarm tabs in the entity details: default time interval 30 days 2021-02-16 17:06:03 +02:00
Andrew Volostnykh
6bc902756b Code cleaning after review 2021-02-16 17:04:23 +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
Andrew Volostnykh
e93c975a01 Compound with front-end, fix of incorrect getter use 2021-02-16 17:04:23 +02:00
AndrewVolosytnykhThingsboard
77de9da2a8 DynamicValue: Rename 'useInherit' to correct name 'inheritMode' 2021-02-16 17:04:23 +02:00
AndrewVolosytnykhThingsboard
1c78a59fb2 Logic for inheritance in DynamicValue added 2021-02-16 17:04:23 +02:00
Vladyslav_Prykhodko
5e990da0ba UI: Refactoring alarm-rule inherit 2021-02-16 17:04:23 +02:00
Vladyslav_Prykhodko
ada0af2a41 UI: Added in device profile alarm rule condition to dynamic mode checkbox inherit from owner 2021-02-16 17:04:23 +02:00
YevhenBondarenko
d5b28222a3 fixed unlimited error messages in TbMsgGeneratorNode 2021-02-16 16:17:39 +02:00
Andrii Shvaika
a15e991d23 Added support of BigDecimal to the JsonConverter 2021-02-16 12:52:25 +02:00
Vladyslav_Prykhodko
10cea37abe UI: Add new setting for subscription reloadOnlyOnDataUpdated 2021-02-16 00:37:42 +02:00
Andrii Shvaika
6c1074a8b0 Fix for race condition in the partition change events 2021-02-15 14:25:40 +02:00
VoBa
411c9dabda
Added usage statistics configuration to yml file (#4097)
* Remove device from cache in case null value cached in the distributed redis

* Handle case when device was removed from db but message in the queue exists

* Code review chagnes

* Added usage statistics configuration to yml file
2021-02-15 12:24:30 +02:00
Vladyslav_Prykhodko
d520415d5b UI: Improvement load and update time into time series table 2021-02-12 17:09:17 +02:00
VoBa
eaa2c5785f
Handle case when device was removed from db but message in the queue (#4092)
* Remove device from cache in case null value cached in the distributed redis

* Handle case when device was removed from db but message in the queue exists

* Code review chagnes
2021-02-12 16:06:01 +02:00
Andrii Shvaika
dac7c5250f Improvements to the DeviceStateService 2021-02-12 15:40:54 +02:00
Viacheslav Kukhtyn
c4b1f9ea7a Process alarms on activity and inactivity events when device state is persisted to telemetry 2021-02-12 15:40:54 +02:00
Viacheslav Kukhtyn
d34d38613b Process alarm rules on activity and inactivity events 2021-02-12 15:40:54 +02:00
Igor Kulikov
081ee1e634 Merge branch 'master' of github.com:thingsboard/thingsboard 2021-02-12 13:52:38 +02:00
Igor Kulikov
305e656c71 Fix memory leak in entity data subscription service 2021-02-12 13:52:25 +02:00
Andrii Shvaika
58e31ceb78 Improvement to the restarts of the rule nodes 2021-02-11 18:19:40 +02:00
Igor Kulikov
008c2c5d5f
Merge pull request #4082 from ChantsovaEkaterina/improvement/delete-unused-translations
Delete unused translations
2021-02-11 08:57:30 +02:00
Chantsova Ekaterina
bf21ee3d67 Delete unused translations 2021-02-10 19:07:17 +02:00
Igor Kulikov
5120ccb536 Update rule node UI 2021-02-10 17:17:54 +02:00
Igor Kulikov
743b83d519 Merge branch 'master' of github.com:thingsboard/thingsboard 2021-02-10 17:06:31 +02:00
Igor Kulikov
efad71b5ac Fix TbKafkaNode. Configure directly serializer class for key/values instead of string class name. 2021-02-10 17:06:20 +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
Igor Kulikov
75742b284e Minor improvement 2021-02-09 18:54:15 +02:00
YevhenBondarenko
e184a53b05 fixed TbDeviceProfileNodeTest 2021-02-09 17:26:29 +02:00
YevhenBondarenko
e1be593e04 addede current customer and current tenant dynamic source types to DeviceProfile key filter 2021-02-09 17:26:29 +02:00
Igor Kulikov
86abe35835 Fix deprecation 2021-02-09 17:02:58 +02:00
Andrii Shvaika
32f3da1a81 Merge with master 2021-02-09 16:03:03 +02:00
Andrii Shvaika
bdc9779c6e Merge remote-tracking branch 'origin/master' into YevhenBondarenko-feature/data-pattern 2021-02-09 15:06:44 +02:00
Andrii Shvaika
42d40d2b36 Unit Tests added 2021-02-09 15:03:04 +02:00
Igor Kulikov
2bd28cb021 Merge branch 'master' into feature/jdk11 2021-02-08 18:27:18 +02:00
Andrii Shvaika
4ecd6b2491 Merge branch 'master' into YevhenBondarenko-feature/data-pattern 2021-02-08 18:25:01 +02:00
Andrii Shvaika
8b04bb3d92 Build fix 2021-02-08 18:23:34 +02:00