9058 Commits

Author SHA1 Message Date
desoliture
c28e13c03c remove todo 2022-01-20 17:09:20 +02:00
desoliture
16753d2f62 refactor relation service and dao(*), remove redundant todo's, refactor tests
(*): resolve immediate .get() invocation, which producing blocking (checkRelation method), by adding sync checkRelation method and refactor the usages of checkRelationAsync
2022-01-20 16:50:40 +02:00
desoliture
83ae5ba262 refactor 2022-01-19 16:37:51 +02:00
desoliture
a39b56c93c replace remained tenantDao usages to tenantService 2022-01-17 13:35:28 +02:00
desoliture
d9dbd27364 refactor test for tenant deletion 2022-01-17 13:34:28 +02:00
desoliture
bbf02b5f39 add timeout for tenant deletion transaction and fix test for tenant deletion 2022-01-17 13:21:23 +02:00
desoliture
801e747b02 fix names in test for Tenant deletion 2022-01-17 12:52:04 +02:00
desoliture
a0a658c3a4 refactor test for Tenant deletion 2022-01-17 12:19:05 +02:00
desoliture
3d45039455 add test for tenant deletion method
add corresponding test to make sure all related entities are also deleted when tenant is deleted
2022-01-14 18:14:49 +02:00
desoliture
279389bbdf refactor async methods used in tenant deletion transaction
tenant deleting should be transactional, but some services use async methods, what corrupting transaction execution. Withal most of the refactored methods are using instant .get() after getting future, and it is the same if we use non-async methods. Add non-async methods in interfaces of services and dao  and use it for tenant deletion process
2022-01-14 16:09:02 +02:00
desoliture
ba030b07b1 add todo notes 2022-01-13 14:12:59 +02:00
desoliture
cc84069c68 add corresponding tests for caching in TenantService 2022-01-13 13:42:13 +02:00
desoliture
2a93edbac4 add cache support for TenantService 2022-01-13 12:35:01 +02:00
desoliture
653a1225aa refactor services to use tenantService.getTenantById instead of tenantDao.getById 2022-01-13 12:26:02 +02:00
Andrew Shvayka
db6c1075eb Merge branch 'master' of github.com:thingsboard/thingsboard 2022-01-12 11:23:38 +02:00
Andrew Shvayka
b458dddc56 Restore alarm relations update script. Add Bootstrap upgrade script 2022-01-12 11:20:18 +02:00
Igor Kulikov
1f0d6ad92a
Merge pull request #5859 from smatvienko-tb/dao-is-exists
dao: existsById, existsByIdAsync added
2022-01-12 10:56:47 +02:00
Sergey Matvienko
753371cc2e dao: existsById, existsByIdAsync added 2022-01-12 10:48:58 +02:00
Igor Kulikov
76a8f32c21 Fix markdown component styles 2022-01-11 15:51:51 +02:00
Andrew Shvayka
3df6155adf
Merge pull request #5824 from thingsboard/lwm2m_test_shell
[3.3.3] lwm2m add to test shell credentials
2022-01-06 11:09:18 +02:00
nickAS21
22f4589027 lwm2m add to test shell credentials 2022-01-05 17:47:01 +02:00
Andrew Shvayka
501a0aec45
Merge pull request #5822 from volodymyr-babak/fix-for-sessin-clean-up-and-pong
[3.3.3] Do not update ws lastActivity in case of general response
2022-01-05 17:12:12 +02:00
Volodymyr Babak
7589330406 Do not update ws lastActivity in case of general response - only on pong response. Clean up properly subscription map in case canceling subsription 2022-01-05 16:50:48 +02:00
Andrew Shvayka
fe38da0b34
Merge pull request #5814 from ViacheslavKlimov/feature/events-clearing
[3.3.x] Events clearing
2022-01-05 12:08:28 +02:00
Viacheslav Klimov
1ad5b83cb6 Refactor events clearing api 2022-01-04 13:17:50 +02:00
Kalutka Zhenya
6e2c1e3419 Events clearing UI refactoring 2022-01-04 12:31:26 +02:00
Viacheslav Klimov
13a74c784e Events clearing by filter 2022-01-04 12:27:22 +02:00
Kalutka Zhenya
e718e31f63 Update clear Events request 2022-01-04 12:27:16 +02:00
Viacheslav Klimov
4d86a61580 Update event clearing API 2022-01-04 12:27:11 +02:00
Kalutka Zhenya
c3d86624ed Added 'clean' button for rule-node events 2022-01-04 12:26:40 +02:00
Viacheslav Klimov
144da0367a Refactor events clearing 2022-01-04 12:25:05 +02:00
Swoq
b9e6c2b75e Event clearing 2022-01-04 12:25:05 +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
Andrew Shvayka
c875e36dc0
Merge pull request #5200 from van-vanich/command_in
[3.3.3] Add operation IN and NOT_IN for String value type to key filter
2021-12-30 13:05:39 +02:00
Andrew Shvayka
1f8ccfae38
Merge pull request #5566 from ShvaykaD/rest-client/widget-type-methods
[3.3.3] fixed/added widget type methods in rest client
2021-12-30 13:03:27 +02:00
Andrew Shvayka
4061320c8b
Merge pull request #5801 from jagveer-loky/master
Update Log4j 2.17.0 to 2.17.1
2021-12-30 12:59:53 +02:00
Jagveer Loky
9921451b40
Update Log4j 2.17.0 to 2.17.1 2021-12-30 10:14:49 +00:00
Andrew Shvayka
283ec2aa1a
Merge pull request #5583 from thingsboard/develop/3.3.3
Develop 3.3.3 to Master
2021-12-30 11:28:50 +02:00
Sergey Matvienko
79bc08e022 upgrade logback version to pass vulnerability check 2021-12-30 10:43:25 +02:00
Sergey Matvienko
233f58cc46 netty version upgrade from 4.1.71.Final to 4.1.72.Final 2021-12-30 10:43:14 +02:00
Andrew Shvayka
50f5e64195
Merge pull request #5788 from smatvienko-tb/mqtt-handler-log-reduce-severity
[3.3.3] reduce MQTT info logs for connect/disconnect events
2021-12-29 16:13:06 +02:00
YevhenBondarenko
a4c9f8e78e lwm2m refactoring 2021-12-29 16:01:06 +02:00
Andrew Shvayka
1d53b326c8
Merge pull request #5793 from volodymyr-babak/ping-pong
Added functionality to handle pong responses on web sockets
2021-12-29 13:38:34 +02:00
Volodymyr Babak
791b0594fd Fixed dynamic query count statistics. Updated default ping timeout to 30 seconds 2021-12-29 13:32:00 +02:00
Andrew Shvayka
2734757f32
Merge pull request #5765 from volodymyr-babak/edge-event-sort-fix-2
[3.3.3] Edge tests fixes #2
2021-12-29 12:42:23 +02:00
Andrew Shvayka
c77a5d055d
Merge pull request #5792 from ViacheslavKlimov/fix/mqtt-attr-encoding
[3.3.3] Fix invalid serialization of '=' to \u003d in JsonMqttAdaptor
2021-12-29 12:22:05 +02:00
Volodymyr Babak
7570ab5703 Added functionality to handle pong responses on web sockets 2021-12-29 10:56:06 +02:00
Viacheslav Klimov
5d7b8f7c4e Fix invalid serialization of '=' to \u003d in JsonMqttAdaptor 2021-12-29 10:30:51 +02:00
YevhenBondarenko
8c4d40dd68 merge with master 2021-12-29 08:52:56 +02:00
Sergey Matvienko
35e8a53f8c mqtt: log.info replaced with log.debug for connect/disconnect event. It reduces log, CPU and disk overhead when few thousand devices in place. As alternative to debug mqtt - logback.xml adjusted 2021-12-28 19:46:32 +02:00