desoliture
c28e13c03c
remove todo
5 years ago
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
5 years ago
Viacheslav Klimov
487d7165cc
Rate limits to tenant profile BE refactoring
5 years ago
van-vanich
51071a7413
remove unnecessary code and add some clean code
5 years ago
desoliture
83ae5ba262
refactor
5 years ago
Andrii Shvaika
c31ee8e2da
Alarm start ts from message ts
5 years ago
Andrii Shvaika
66b58549c5
Propagate alarms to Customer or Tenant without relations
5 years ago
van-vanich
d02c7ad7bf
fix issue with license
5 years ago
Igor Kulikov
da4c742872
Update license year to 2022
5 years ago
desoliture
a39b56c93c
replace remained tenantDao usages to tenantService
5 years ago
desoliture
d9dbd27364
refactor test for tenant deletion
5 years ago
desoliture
bbf02b5f39
add timeout for tenant deletion transaction and fix test for tenant deletion
5 years ago
desoliture
801e747b02
fix names in test for Tenant deletion
5 years ago
Viacheslav Klimov
3272db6501
Fix events deletion
5 years ago
van-vanich
b54aa55c1f
update tests
5 years ago
desoliture
a0a658c3a4
refactor test for Tenant deletion
5 years ago
Andrii Shvaika
bfe1daf9ea
Improved performance of ts based query
5 years ago
desoliture
3d45039455
add test for tenant deletion method
add corresponding test to make sure all related entities are also deleted when tenant is deleted
5 years ago
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
5 years ago
Sergey Matvienko
92997eee6a
dao test some fixed
5 years ago
desoliture
ba030b07b1
add todo notes
5 years ago
desoliture
cc84069c68
add corresponding tests for caching in TenantService
5 years ago
desoliture
2a93edbac4
add cache support for TenantService
5 years ago
desoliture
653a1225aa
refactor services to use tenantService.getTenantById instead of tenantDao.getById
5 years ago
YevhenBondarenko
ab76d5a7a6
fixed timescale agg by timezone
5 years ago
Sergey Matvienko
753371cc2e
dao: existsById, existsByIdAsync added
5 years ago
nickAS21
1b488781d5
lwm2m for profile bootstrap need input: X509 certificate (instead of X509 public key)
5 years ago
Sergey Matvienko
7d78437258
TenantId new instance replaced with factory method call fromUUID
5 years ago
Sergey Matvienko
6f19efd539
TenantId for SYS_TENANT_ID refactored (new instances replaced with constant)
5 years ago
Emre Kardaşlar
60758375ed
fix problematic letters for different lang
5 years ago
Viacheslav Klimov
13a74c784e
Events clearing by filter
5 years ago
Viacheslav Klimov
144da0367a
Refactor events clearing
5 years ago
Swoq
b9e6c2b75e
Event clearing
5 years ago
Volodymyr Babak
8ec7fd5de8
Removed unused relation dao code
5 years ago
Volodymyr Babak
9d0867e272
Fixed queue start ts display on UI - use value instead of last update ts. Fixed ++ for queuestartts
5 years ago
Volodymyr Babak
34fcf74659
Organize imports
5 years ago
Volodymyr Babak
36103ef01c
Edge events must be sorted by ID as last sort
5 years ago
Volodymyr Babak
1934b7387d
Moved toSort from DaoUtil to PageLink/TimePageLink classes
5 years ago
Volodymyr Babak
5cbc78fbf4
Added sort by ID for edge event to properly fetch events by page in case of repeated createdTime
5 years ago
Sergey Matvienko
0583880ec7
test: ota package refactored to get better output on assertion
5 years ago
Sergey Matvienko
c14bba5b1e
dao util: PageLink unsorted replaced with ORDER BY is ASC
5 years ago
Sergey Matvienko
57b09b2328
device delete transactional and cache evict refactor
5 years ago
YevhenBondarenko
6d61b249e5
improvements (not notify if lates ts has not been deleted)
5 years ago
YevhenBondarenko
b8d49b66a6
send notifications by rewriteLatestIfDeleted
5 years ago
Andrii Shvaika
4bc2eba8a2
Add important index
5 years ago
Sergey Matvienko
e680b33c9c
fixed EntityDataAdapter.convertValue that convert "500D" (valid Java number) into "500" as double.
5 years ago
Sergey Matvienko
34b4aeac49
added code defaults sql.remove_null_chars=true (same as thingsboard.yaml) to simplify test setup
5 years ago
Andrii Shvaika
eebce55d5a
Improved upgrade script performance
5 years ago
Igor Kulikov
b5da8752c5
Use output rule node name instead of label
5 years ago
Andrii Shvaika
d3c20b2e57
Alarm Query performance improvements
5 years ago