1706 Commits

Author SHA1 Message Date
Sergey Matvienko
1adaef31f5 license header CE fixed for DefaultEntityQueryRepositoryTest 2021-10-12 18:28:44 +03:00
Sergey Matvienko
edd96624ae relation query: group by added to the initial pert of recursive query 2021-10-12 18:27:15 +03:00
Sergey Matvienko
f2f3468077 test relations: print all relations added as sql procedure to reproduce exact data in the PostgreSQL 2021-10-12 18:26:16 +03:00
Sergey Matvienko
d65b02df19 test: count entities by query adjusted due to the loop relations in hierarchy 2021-10-12 18:21:57 +03:00
Sergey Matvienko
e4f8c7e878 relational query: Limit the max level to break the infinite loop when circles appear in relation graph 2021-10-12 18:20:33 +03:00
Sergey Matvienko
99476c78c9 relational query failed test when createHorizontalRingRelations added and freeze when createLoopRelations (due to infinite recursion with no level limit) 2021-10-12 18:13:17 +03:00
Sergey Matvienko
9ceb6f0d4d relational query: stable test run with ManyCustomRelationsBetweenTwoNodes, but without Loop Relations 2021-10-12 18:13:14 +03:00
Sergey Matvienko
891024f620 relation-query-improvement, failed relation were disabled temporary and will be enabled on next commits 2021-10-12 18:10:38 +03:00
Sergey Matvienko
a5d446914c tests: relation query - added test cases with many edges between two nodes, horizontal ring (loop) on the same level, loop Tenant-Asset-Device-Tenant. This commit will fail 4 hierarchy tests. Reformat code 2021-10-12 18:04:45 +03:00
Sergey Matvienko
2dc1f18a2d HsqlEventCleanupRepository: sql query timeout 1 hour 2021-10-12 14:27:02 +03:00
Sergey Matvienko
d7c530378b PsqlEventCleanupRepository.java: sql query timeout 1 hour 2021-10-12 14:25:24 +03:00
Sergey Matvienko
305409a0dc JpaBaseEdgeEventDao: sql query timeout 1 hour 2021-10-12 14:24:50 +03:00
Sergey Matvienko
87b3de09ad Merge branch 'master' into feature/sql-query-timeout
# Conflicts:
#	dao/src/main/java/org/thingsboard/server/dao/sql/edge/JpaEdgeDao.java
#	dao/src/main/java/org/thingsboard/server/dao/sql/event/JpaBaseEventDao.java
2021-10-12 14:19:10 +03:00
Volodymyr Babak
427e7ac094 Added swagger API for edge event controller. Added search text usage for edge event type. Code cleanup 2021-10-12 12:58:25 +03:00
Viacheslav Klimov
2814c377ac Refactor rule chains importing 2021-10-11 16:29:46 +03:00
Mykhailo Kratiuk
0026857e27
[3.3.2] Fix bug while deleting devices with relations to one another (#5310)
* Fix bug while deleting devices with relations to one another

* Change log level from error to debug

* Made try catch block more precise
2021-10-11 13:20:16 +03:00
Viacheslav Klimov
a098bf0bf9 Implement concurrent bulk import processing 2021-10-06 18:05:02 +03:00
nickAS21
9186377b97 Lwm2m base64 back fix bug "bas64" on review 2021-09-30 12:24:29 +03:00
nickAS21
e8444f8bdc Lwm2m base64 back fix bug "bas64" and x509 empty 2021-09-29 19:32:19 +03:00
nickAS21
d403afb0e6 Lwm2m credentials base64 validate (with /n and "...BEGIN...") back 2021-09-28 14:11:32 +03:00
nickAS21
287657ae86 Lwm2m credentials base64 validate back 2021-09-27 17:54:28 +03:00
nickAS21
16a520cd80 Lwm2m Fix bug review last 2021-09-17 19:20:05 +03:00
vparomskiy
19d08428ff add support for multi-root relation queries 2021-09-17 13:12:50 +03:00
nickAS21
b297ab231c Lwm2m Fix bug create new Device with X509 Trust / update credential to X509 trust 2021-09-16 08:43:28 +03:00
nickAS21
9e9a8238db Merge branch develop/3.3.2 into current 2021-09-13 19:01:04 +03:00
nickAS21
1b6fc7d72b Merge branch 'develop/3.3.2' into lwm2m_tests_with_cherry
# Conflicts:
#	application/src/test/java/org/thingsboard/server/transport/lwm2m/security/AbstractLwM2MIntegrationTest.java
#	application/src/test/java/org/thingsboard/server/transport/lwm2m/security/sql/PskLwm2mIntegrationTest.java
#	common/util/src/main/java/org/thingsboard/common/util/JacksonUtil.java
#	dao/pom.xml
#	dao/src/main/java/org/thingsboard/server/dao/device/DeviceCredentialsServiceImpl.java
2021-09-13 18:15:58 +03:00
YevhenBondarenko
bf3a88752c LwM2M X509 credentials improvements 2021-09-10 19:41:52 +03:00
YevhenBondarenko
ccc18ec75b LwM2M tests improvements 2021-09-10 17:05:43 +03:00
YevhenBondarenko
ffe16b8dfb Merge remote-tracking branch 'upstream/master' into feature/bulk-import/device-credentials
# Conflicts:
#	ui-ngx/src/app/modules/home/components/import-export/import-export.service.ts
2021-09-09 17:18:28 +03:00
YevhenBondarenko
fe2427e99f added validation for lwm2m device credentials 2021-09-09 17:04:54 +03:00
nickAS21
8dbacbd65f lwm2m: add to JacksonUtil new method "validateFieldsToTree" 2021-09-09 07:46:35 +03:00
nickAS21
d491e0f664 lwm2m: Security key validate in dao 2021-09-08 22:12:08 +03:00
Viacheslav Klimov
3f5e77abb7 Check credentials type for null when saving 2021-09-08 18:37:34 +03:00
Viacheslav Klimov
d14f6a4ddd Refactor device bulk import 2021-09-07 18:52:29 +03:00
Viacheslav Klimov
bd1cfa4491 Merge branch 'master' into feature/bulk-import/device-credentials
# Conflicts:
#	application/src/main/java/org/thingsboard/server/controller/EdgeController.java
2021-09-07 16:32:22 +03:00
Igor Kulikov
b173e0799c Update OS package plugin version. Code cleanup. 2021-09-07 11:47:43 +03:00
Igor Kulikov
049627db97 Version set to 3.3.2-SNAPSHOT 2021-09-06 18:55:10 +03:00
Ivan Panakhno
f2aab72e06 add command IN and NOT_IN for a filter to the dashboard(fix error after code review) 2021-09-06 18:19:14 +03:00
Ivan Panakhno
b95b821694 add command IN and NOT_IN for a filter to the dashboard(fix error) 2021-09-06 17:31:41 +03:00
Ivan Panakhno
7add33f3c8 add command IN and NOT_IN for a filter to the dashboard(fix error) 2021-09-06 17:29:12 +03:00
Ivan Panakhno
58f4c7420d add command IN and NOT_IN for a filter to the dashboard 2021-09-06 16:56:48 +03:00
Igor Kulikov
1bfe1bb61e Save and flush device during transaction to trigger constraint validation. 2021-09-02 19:43:10 +03:00
Igor Kulikov
08c8482f06 Revert "Handle Device service transactional methods exceptions (fix exception handling for devices with same name)"
This reverts commit b67f454b
2021-09-02 19:08:34 +03:00
Igor Kulikov
b67f454ba0 Handle Device service transactional methods exceptions (fix exception handling for devices with same name) 2021-09-02 15:54:17 +03:00
Swoq
827da31d92 Validation fixes 2021-09-02 10:23:02 +03:00
Swoq
57cec85bb1 Tests fix 2021-09-01 18:31:09 +03:00
Swoq
6f1a5ea54a Tests fix 2021-09-01 18:12:17 +03:00
Swoq
e41768f2c8 Tests fix 2021-09-01 17:52:39 +03:00
Viacheslav Klimov
b84b505d9b Refactor 2021-09-01 17:44:11 +03:00
Igor Kulikov
67014b45a0
Merge pull request #5178 from smatvienko-tb/thread-pool-naming-aug-2021
Thread pool naming (aug 2021)
2021-09-01 15:03:08 +03:00