2669 Commits

Author SHA1 Message Date
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
ShvaykaD
c0d290a93e Merge remote-tracking branch 'upstream/develop/3.4' into feature/6169 2022-02-28 11:50:14 +02:00
Andrii Shvaika
4775869786 Merge branch 'master' into develop/3.4 2022-02-28 11:48:31 +02:00
ShvaykaD
163d100173 fix typos after merge with master 2022-02-28 11:39:12 +02:00
ShvaykaD
2cbcd2c89d merge with master 2022-02-28 11:34:16 +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
YevhenBondarenko
4512185cad created Queue entity, dao and ui 2022-02-18 16:41:24 +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
ShvaykaD
1ae1dbef3a added DynamicProtoUtils 2022-02-10 17:25:53 +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
Alexey Markevich
6969882a69 switch to PostgreSQL10Dialect 2022-01-28 23:54:10 +03:00
Viacheslav Klimov
d4784b3096 Prohibit deletion of device profiles that are referenced by OTA packages 2022-01-26 15:56:13 +02:00
deso-deso
80df8d1a45 fix test 2022-01-25 18:52:48 +02:00
deso-deso
54c48e1166 refactor tenantExists method 2022-01-25 13:35:47 +02:00
desoliture
6121f96a9c BaseTenantServiceTest 2022-01-25 12:43:23 +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
desoliture
27efb4adfc replace getting tenant and checking it for null to invocations of 'exists' method 2022-01-21 18:49:35 +02:00
desoliture
6d1969447b add 'exists' method in TenantService and make it cacheable, update corresponding test 2022-01-21 16:55:39 +02:00
Viacheslav Klimov
f83b16c095 Fix NPE during Lwm2mDeviceProfileTransportConfiguration validation 2022-01-21 16:45:04 +02:00
Viacheslav Klimov
d99a8066fe Refactor RateLimitsUpdater; handle rate limits disabling 2022-01-21 15:18:39 +02:00
desoliture
fdc318a526 fix RelationService and TenantServiceTest 2022-01-21 12:12:18 +02:00
desoliture
c28e13c03c remove todo 2022-01-20 17:09:20 +02:00
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
2022-01-20 16:50:40 +02:00
Viacheslav Klimov
487d7165cc Rate limits to tenant profile BE refactoring 2022-01-20 14:31:02 +02:00