Igor Kulikov
2d6ad582f9
Fix hsql event cleanup repository
2021-07-14 18:51:08 +03:00
Igor Kulikov
4550302c6d
Fix hsql event cleanup repository
2021-07-14 18:50:38 +03:00
Igor Kulikov
92f9285024
Event cleanup HSQLDB support
2021-07-14 17:05:42 +03:00
ShvaykaD
d769f6749c
updated deviceProfile proto transport configuration validation tests
2021-07-14 15:56:38 +03:00
ShvaykaD
c4133fa41a
added new dynamic-schema based tests for telemetry and attributes upload
2021-07-14 15:56:38 +03:00
AndrewVolosytnykhThingsboard
e3d0da90be
Implement fields validation
2021-07-14 12:26:55 +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
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
Sergey Matvienko
0754cfe9c9
fixed merge for schema-entities-idx.sql
2021-07-09 10:24:35 +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
Sergey Matvienko
9c0aabdcd6
enabled long query for cleanup services stmt.setQueryTimeout((int) TimeUnit.HOURS.toSeconds(1));
2021-07-08 19:26:53 +03:00
Sergey Matvienko
cfa951c1ea
hsqldb version upgrade. postgresql specific syntax enabled for test suite sql.syntax_pgs=true
2021-07-08 18:18:33 +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
059089367a
hsqldb version upgrade. postgresql specific syntax enabled for test suite sql.syntax_pgs=true
2021-07-08 16:26:21 +03:00
Sergey Matvienko
3eac727557
javax.persistence.query.timeout 30 sec
2021-07-08 14:30:26 +03:00
Sergey Matvienko
d1855ee400
javax.persistence.query.timeout with slowQuery repository for manual testing
2021-07-08 14:30:03 +03:00
Volodymyr Babak
3319154513
Code review fixes - moved out .lock from try block
2021-07-08 11:53:17 +03:00
Volodymyr Babak
d2d95a2575
Merge remote-tracking branch 'upstream/master' into edge-3.3
2021-07-08 10:15:29 +03:00
AndrewVolosytnykhThingsboard
2d7ae47f22
Removed redundant function for generating random string
2021-07-07 15:17:39 +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
4ab3db85fc
Redundant params removed
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
YevhenBondarenko
3fc45654e8
fixed search for resources
2021-07-06 14:32:15 +03:00
Volodymyr Babak
759e8ee3c7
Device cache improvements during code review
2021-07-06 14:26:13 +03:00
Sergey Matvienko
2287b05d99
device cache: removeDeviceFromCacheById added
2021-07-06 14:26:13 +03:00
Sergey Matvienko
2880dcf526
device cache by id
2021-07-06 14:26:13 +03:00
Sergey Matvienko
6b622ce44b
cache: CachedAttributesService tiny test refactor
2021-06-30 15:40:47 +03:00
Sergey Matvienko
0b47942986
Merge branch 'master' into cache-attribute-service-performance-improvement
...
# Conflicts:
# dao/src/test/java/org/thingsboard/server/dao/attributes/CachedAttributesServiceTest.java
2021-06-30 15:37:01 +03:00
Sergey Matvienko
e1c1e7ebbc
cache: CachedAttributesService fixed after merge to the latest master, fixed license headers
2021-06-30 15:30:52 +03:00
Andrew Shvayka
4e5f485106
Merge pull request #4682 from thingsboard/feature/cleanup-call-deduplication
...
Refactoring of the TTL cleanup services
2021-06-23 19:33:48 +03:00
Volodymyr Babak
c85aea31a0
Added possibility to disable validation for save edge function
2021-06-23 17:27:06 +03:00
YevhenBondarenko
f1f41851cc
merge with master
2021-06-22 15:46:39 +03:00
AndrewVolosytnykhThingsboard
3c4c7ebd06
Correct generating of random string with fixed length
2021-06-22 13:41:21 +03:00
Volodymyr Babak
da082e2700
Merge remote-tracking branch 'upstream/master' into edge-3.3
2021-06-20 19:22:28 +03:00
Igor Kulikov
a7a7c801f2
Fix license header
2021-06-18 18:31:52 +03:00
Igor Kulikov
d64a0c382d
Fix test properties
2021-06-18 18:22:48 +03:00
Igor Kulikov
5b998717e7
Remove invalid test
2021-06-18 18:00:12 +03:00
Sergey Matvienko
be61b3c841
cache: CachedAttributesService Executor choice depends on local or remote cache type. For local - directExecutor, for remote (IO calls) - dedicated threadPool to unblock any caller thread. Test added.
2021-06-17 16:03:24 +03:00
Sergey Matvienko
c843b2f09e
cache: CachedAttributesService replaced directExecutor with CacheExecutorService
2021-06-17 16:01:11 +03:00
Sergey Matvienko
e4dd517edd
cache: added cache executor service
2021-06-17 16:01:06 +03:00
AndrewVolosytnykhThingsboard
f6c720513d
Validation of version and title
2021-06-17 10:53:36 +03:00
AndrewVolosytnykhThingsboard
f1216c9720
Url validation for Ota Package and tests
2021-06-16 18:58:55 +03:00
Igor Kulikov
2a5ba8e8ad
Add Apple OAuth2 provider.
2021-06-16 18:46:26 +03:00
YevhenBondarenko
e58d5b2d8a
removed rpc status sent, added idx_rpc_tenant_id_device_id
2021-06-14 15:06:21 +03:00
YevhenBondarenko
bafbf7b239
added rpc ttl
2021-06-11 14:34:43 +03:00
Igor Kulikov
1ed624d30b
Introduce mobile app oauth2 request authentication using application token signed by application secret.
2021-06-11 13:37:23 +03:00