1634 Commits

Author SHA1 Message Date
Viacheslav Klimov
1b48a98fa0 Save relations after all other entities are saved on import; refactoring 2022-04-08 13:53:28 +03:00
Viacheslav Klimov
cecf49a67d Fix dashboard import to update entity aliases 2022-04-05 18:55:20 +03:00
Viacheslav Klimov
7c00cd449f Add option to find existing entity by name when importing; refactoring 2022-04-05 17:12:51 +03:00
Viacheslav Klimov
18b2fd4664 Fix permission checks for export/import api 2022-04-05 15:01:26 +03:00
Viacheslav Klimov
9b8fca9973 Export/import api improvements 2022-04-05 10:45:13 +03:00
Viacheslav Klimov
2a77c90d13 More tests for export/import api; refactoring 2022-04-04 15:09:46 +03:00
Viacheslav Klimov
e37a075031 Export/import API: refactor, rename packages 2022-04-01 15:22:44 +03:00
Viacheslav Klimov
19a27f93f4 Export/import API improvements and refactoring 2022-03-31 20:29:39 +03:00
Viacheslav Klimov
6dc962882e Add more options for entity export and import settings; refactoring 2022-03-30 18:42:12 +03:00
Viacheslav Klimov
ab5d6f3c0d Entities export/import API refactoring 2022-03-30 13:31:43 +03:00
Viacheslav Klimov
5ee056ff8d Export/import API refactoring 2022-03-25 15:32:54 +02:00
Viacheslav Klimov
4062dc70fb Initial export/import API for devices, device profiles, assets, rule chains, dashboards and customers 2022-03-16 15:03:55 +02:00
Igor Kulikov
d7efbd6eba Merge with master 2022-03-15 12:42:18 +02:00
Viacheslav Klimov
5bf9107deb Merge branch 'master' into fix/ota-device-profile
# Conflicts:
#	application/src/main/java/org/thingsboard/server/service/install/SqlDatabaseUpgradeService.java
2022-03-02 17:32:41 +02:00
Andrii Shvaika
da8bff5209 Rule Chain Service improvement for invalid rule chain ids 2022-02-28 17:27:48 +02:00
Andrii Shvaika
a7196c4fa7 Automatic conversion of rule chain metadata on the back end 2022-02-28 17:17:31 +02:00
Andrii Shvaika
4775869786 Merge branch 'master' into develop/3.4 2022-02-28 11:48:31 +02:00
Volodymyr Babak
1b9d70f2fe Refactoring validators - moved them to a separate classes 2022-02-21 19:18:27 +02:00
Igor Kulikov
3af76140cd Merge with master 2022-02-21 11:54:41 +02:00
Igor Kulikov
c3dde26c69 Implement events batch insert. Remove 'region' filter from tenant find queries. 2022-02-18 16:57:48 +02:00
Andrii Shvaika
64d3f5c803 Remove redundant event types from cleanup procedure 2022-02-18 12:12:39 +02:00
Andrii Shvaika
7cc2508479 Improvement to events cleanup script 2022-02-18 12:08:43 +02:00
Andrew Shvayka
1c656378f7
Merge pull request #6009 from van-vanich/fix_AbstractJpaDaoTest
[3.4] Fix AbstractJpaDaoTest
2022-02-08 15:21:53 +02:00
Viacheslav Klimov
30527b547f Merge branch 'master' into fix/ota-device-profile 2022-02-07 11:40:42 +02:00
Viacheslav Klimov
f51a66b585 Delete OTA update packages of device profile with cascade when this profile is deleted 2022-02-04 18:06:40 +02:00
Volodymyr Babak
ffcc5be0ae Removed edge license and cloud endpoint from edge instance - refactoring edge ce 2022-02-04 17:34:46 +02:00
van-vanich
6318c7636c fix issue with failure test, because before other tests saved and don't delete Alarm 2022-02-04 15:55:31 +02:00
van-vanich
172501e12f added test for JpaAuditLogDaoTest 2022-02-04 13:43:46 +02:00
van-vanich
2c3110c3f0 added test for testFindAssetsByTenantIdAndCustomerIdAndType() and testFindAssetsByTenantIdAndType(). Also improve and refactoring code 2022-02-04 12:56:39 +02:00
van-vanich
f5aff76d81 delete unnecessary code and refactoring test after code review. Also remove unnecessary file 2022-02-03 18:42:59 +02:00
van-vanich
62ee824530 refactoring JpaBaseComponentDescriptorDaoTest 2022-02-03 12:18:09 +02:00
van-vanich
97a9854f41 refactoring JpaWidgetsBundleDaoTest and remove unnecessary System.out.println from JpaAlarmDaoTest 2022-02-03 11:53:24 +02:00
van-vanich
ff1fa2d2ca improve and fix JpaUserDaoTest 2022-02-03 11:35:28 +02:00
van-vanich
adb062a562 improve and fix JpaWidgetTypeDaoTest 2022-02-02 18:54:40 +02:00
van-vanich
e877e71445 improve and fix JpaDeviceCredentialsDaoTest 2022-02-02 18:39:09 +02:00
van-vanich
e5f05e7327 improve and fix JpaBaseEventDaoTest 2022-02-02 18:19:42 +02:00
van-vanich
19f73c8307 refactoring JpaWidgetsBundleDaoTest 2022-02-02 17:54:27 +02:00
van-vanich
00540a8b09 improve and fix JpaWidgetsBundleDaoTest 2022-02-02 17:51:23 +02:00
van-vanich
7f104e5159 improve and fix JpaUserCredentialsDaoTest 2022-02-02 17:48:15 +02:00
van-vanich
6c92640117 delete componentDescriptors after test for JpaBaseComponentDescriptorDaoTest 2022-02-02 17:40:28 +02:00
van-vanich
770965a5d7 add fix for JpaDeviceDaoTest 2022-02-02 17:36:38 +02:00
van-vanich
3f649d8c0b remove extends AbstractTransactionalJUnit4SpringContextTests for AbstractJpaDaoTest 2022-02-02 17:29:28 +02:00
van-vanich
64f4fc8cfd changed forgotten classes with CrudRepository to JpaRepository and remove unnecessary import 2022-02-01 18:08:38 +02:00
van-vanich
6d7a40664f change CrudRepository to JpaRepository 2022-02-01 15:21:14 +02:00
Viacheslav Klimov
35528e687a Add test for deleting device profile referenced by OTA 2022-01-31 13:21:59 +02:00
Viacheslav Klimov
d4784b3096 Prohibit deletion of device profiles that are referenced by OTA packages 2022-01-26 15:56:13 +02:00
Andrew Shvayka
847630259c
Merge pull request #5947 from ViacheslavKlimov/fix/lwm2m-config-validation-npe
[3.3.3] Fix NPE during Lwm2mDeviceProfileTransportConfiguration validation
2022-01-24 13:02:12 +02:00
Viacheslav Klimov
f83b16c095 Fix NPE during Lwm2mDeviceProfileTransportConfiguration validation 2022-01-21 16:45:04 +02:00
Andrii Shvaika
c31ee8e2da Alarm start ts from message ts 2022-01-19 16:12:16 +02:00
Andrii Shvaika
66b58549c5 Propagate alarms to Customer or Tenant without relations 2022-01-19 11:49:38 +02:00