Volodymyr Babak
cda7c22af0
Fixed incorrect get function usage
2021-07-14 12:35:42 +03:00
Sergey Matvienko
8965ca2721
default state service: added warn on Device belongs to external partition
2021-07-14 12:35:42 +03:00
Sergey Matvienko
fa279c5b13
default state service: refactored events order. long submit task split to a smaller pieces. throw exception at addDeviceUsingState if Device belongs to external partition
2021-07-14 12:35:42 +03:00
Sergey Matvienko
133eddb855
default state service: refactored events order
2021-07-14 12:35:42 +03:00
Sergey Matvienko
a9c655b179
default state service: update active/inactive state after fetching device on initPartition
2021-07-14 12:35:42 +03:00
Sergey Matvienko
254c87e29f
default state service: refactor async DB call with Futures transformAsync
2021-07-14 12:35:42 +03:00
Sergey Matvienko
ff54d190c9
state service: refactored
2021-07-14 12:35:42 +03:00
Sergey Matvienko
fa7da7f96f
state service: prevent initDeviceStatesForPartitions if added NO partitions
2021-07-14 12:35:42 +03:00
Volodymyr Babak
4e29527cd0
Fixed concurrency on application event (device state service)
2021-07-14 12:35:42 +03:00
Volodymyr Babak
fe292248e7
Added more debug logs to the device/integration state services and fix return variable
2021-07-14 12:35:42 +03:00
Volodymyr Babak
a96f2d444c
Additional logging for device state services
2021-07-14 12:35:42 +03:00
Volodymyr Babak
a500aa013a
Revert incorrect try/lock
2021-07-13 21:40:58 +03:00
Volodymyr Babak
08f11b0d1b
Merge remote-tracking branch 'upstream/master' into edge-3.3
2021-07-13 21:37:51 +03:00
Igor Kulikov
4e229ea24e
Merge pull request #4900 from AndrewVolosytnykhThingsboard/lwm2m-tests-fix
...
Lwm2m tests fix
2021-07-13 18:46:24 +03:00
Igor Kulikov
70097c6bf2
Remove unnecessary empty post
2021-07-13 18:45:58 +03:00
Igor Kulikov
93b0cfec2f
Merge pull request #4869 from AndrewVolosytnykhThingsboard/ota-service-url-validation
...
Url validation for Ota Package
2021-07-13 18:27:04 +03:00
Volodymyr Babak
afd35ddf94
Merge remote-tracking branch 'upstream/master' into edge-3.3
2021-07-13 18:24:01 +03:00
Andrii Shvaika
26d4d0de6c
Merge with master
2021-07-13 18:01:05 +03:00
AndrewVolosytnykhThingsboard
4b831d0eea
Merge branch 'master' of https://github.com/thingsboard/thingsboard into lwm2m-tests-fix
2021-07-13 16:00:12 +03:00
AndrewVolosytnykhThingsboard
b881fd262b
Fixed problem of incorrect order of statuses on ota update. Tests improvements
2021-07-13 14:54:34 +03:00
YevhenBondarenko
f473190502
check acknowledgement for persisted rpc
2021-07-13 13:38:33 +03:00
YevhenBondarenko
040473ac80
added edrxCycle to the Lwm2mDeviceTransportConfiguration
2021-07-12 12:26:51 +03:00
Vladyslav_Prykhodko
8ce022b03c
UI: Add support RPC request persistent parameter
2021-07-12 12:24:53 +03:00
Volodymyr Babak
e9419d7f99
Updated msg to be able identify that its expected
2021-07-09 19:55:50 +03:00
Andrii Shvaika
65032092e1
Persistent RPC calls review
2021-07-09 17:07:50 +03:00
AndrewVolosytnykhThingsboard
6d7877921f
Destroy LeshanClient in "finally" block
2021-07-09 14:46:49 +03:00
Andrii Shvaika
6f67e72afd
Refactoring of MailService
2021-07-09 13:57:57 +03:00
Volodymyr Babak
9af40455bb
Removed redundant lock
2021-07-09 11:06:29 +03:00
Volodymyr Babak
00c3e3ebeb
Refactor - rename variables. Remove redundant executor service
2021-07-09 10:53:32 +03:00
Sergey Matvienko
dd9257f6a1
Merge branch 'master' into events-cleanup-performance-improvement-for-big-data
...
# Conflicts:
# application/src/main/data/upgrade/3.2.2/schema_update_event.sql
2021-07-09 10:05:17 +03:00
Sergey Matvienko
2853bbf665
refactored DatabaseSchemaService (Abstract and Psql), psql-specific indexes decoupled with common indexes. SQL simplified and notes added. This fixed hsql test suite tests. PsqlEntityDatabaseSchemaServiceTest added
2021-07-09 09:58:02 +03:00
Volodymyr Babak
47311663cd
Code review changes - implemented grpc sending in async manner
2021-07-08 20:01:55 +03:00
Sergey Matvienko
866c66b186
events: schema_update_event fixed typo with a comment. schema-entities-idx updated. Upgrade order fixed based on review comments.
2021-07-08 18:18:33 +03:00
Sergey Matvienko
6a7a9ac1ec
events: test refactored as Spring Boot test to verify random delay expression and default value in yaml
2021-07-08 18:18:33 +03:00
Sergey Matvienko
efe5677c80
events: fixed update from version (3.2.2)
2021-07-08 18:18:33 +03:00
Sergey Matvienko
babe360507
events: performance improvements: UI fast response with latest events, ttl cleanup speedup (with schema update)
2021-07-08 18:18:33 +03:00
Volodymyr Babak
f4d0aea599
Added lock for new events updates
2021-07-08 13:32:45 +03:00
Volodymyr Babak
3319154513
Code review fixes - moved out .lock from try block
2021-07-08 11:53:17 +03:00
Volodymyr Babak
11a7fc68e3
License header fix
2021-07-08 11:14:45 +03:00
Volodymyr Babak
62c9630e34
Use generics to remove duplication for event fetcher. Use page data iterable
2021-07-08 11:13:55 +03:00
Volodymyr Babak
d2d95a2575
Merge remote-tracking branch 'upstream/master' into edge-3.3
2021-07-08 10:15:29 +03:00
AndrewVolosytnykhThingsboard
b158528c2a
Wrapper for OtaPackageInfo with usesUrl boolean field
2021-07-07 14:54:16 +03:00
Sergey Matvienko
f60137de34
events: schema_update_event fixed typo with a comment. schema-entities-idx updated. Upgrade order fixed based on review comments.
2021-07-07 13:07:59 +03:00
AndrewVolosytnykhThingsboard
22933e5402
Merge branch 'master' into ota-service-url-validation
2021-07-06 17:44:56 +03:00
AndrewVolosytnykhThingsboard
228fddb8cd
[PROD-678] Authorization and password reset vulnerability fix ( #4569 )
...
* Fixed vulnerabilities for password reset and authorization
* Improvements to check user and credentials for null
* Correct messages and logs
* Improvements
* Reset Password Test: added delay after resetting password to synchronize test with server
* Executor removed from controller
* Correct method calling
* Formatting cleaned
2021-07-06 17:24:35 +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
AndrewVolosytnykhThingsboard
85b449b62d
Improvements for case null returned from repository
2021-07-06 16:52:13 +03:00
AndrewVolosytnykhThingsboard
7975e2a96a
Implement of method to find dashboard by name and tenant ID, used to find correct dashboard in case multiple dashboard start with the same name.
2021-07-06 16:52:13 +03:00
AndrewVolosytnykhThingsboard
8b70cbdb55
Handling exceptions to exclude output like [object Object]
2021-07-06 14:38:22 +03:00
Sergey Matvienko
89fe9514d1
DeviceActorMessageProcessor: fixed message on MaxSessionsLimit and test header fixed
2021-07-06 14:15:45 +03:00