2478 Commits

Author SHA1 Message Date
ViacheslavKlimov
732c6d76e4 Deleted test testUnassignAlarmOnCustomerRemoving (customer's devices are deleted when customer is deleted, thus all alarms for the device also should be deleted, instead of unassigned) 2024-04-25 15:53:36 +03:00
Viacheslav Klimov
299ecd1cb8
Merge pull request #10612 from thingsboard/fix/notification-request-stats
Limit notification request errors stats
2024-04-25 13:48:08 +03:00
Andrii Landiak
01bfcff415 Merge remote-tracking branch 'upstream/master' into edge-improve-stability-test 2024-04-25 13:29:27 +03:00
Andrew Shvayka
28573bf5f3
Merge pull request #10594 from smatvienko-tb/feature/dep_update_3_7_0
major dependency update 3 7 0
2024-04-25 13:23:17 +03:00
ViacheslavKlimov
285b8803da Limit notification request errors stats to 100 2024-04-25 13:15:51 +03:00
ViacheslavKlimov
327503fd0a Await all housekeeper tasks to be processed in tests 2024-04-25 12:03:12 +03:00
dashevchenko
b216898924 updated default mobile app settings, fixed permission 2024-04-24 20:07:29 +03:00
dashevchenko
67ba644195 moved all apis to one controller 2024-04-24 19:02:14 +03:00
Andrii Landiak
bba7f738eb Change method name 2024-04-24 17:23:41 +03:00
ViacheslavKlimov
80416a7e33 Refactor tenant creation in tests 2024-04-24 17:13:44 +03:00
Andrii Landiak
18a7884cbd Improve stability of EdgeEventControllerTest 2024-04-24 14:59:02 +03:00
ViacheslavKlimov
572b680b29 Refactor tenant deletion in tests 2024-04-24 12:35:47 +03:00
ViacheslavKlimov
1dcc52dad1 Merge remote-tracking branch 'origin/master' into feature/housekeeper 2024-04-24 11:41:04 +03:00
ViacheslavKlimov
dd51aba417 Fix notifications count update race condition in tests 2024-04-23 12:41:41 +03:00
nick
2b734c3582 lwm2m: fix bug SERVER TimeUnit.MINUTES.toSeconds(60) 2024-04-23 08:53:26 +03:00
ViacheslavKlimov
c06c826329 Fix tenant deletion tests 2024-04-22 15:07:53 +03:00
IrynaMatveieva
59daf9123b replaced the use of the deprecated method with the use of a static method 2024-04-22 10:45:39 +03:00
ShvaykaD
c43d37480c merge with master 2024-04-22 10:44:59 +03:00
Sergey Matvienko
9a8e39856b CoapAttributesUpdatesIntegrationTest.java: unused spy wraparound removed 2024-04-19 18:17:33 +02:00
Sergey Matvienko
bdf9da8bab Revert "Jwts.parser().build() refactored for a newer version"
This reverts commit 1f5c95a375ab694ff08709cf9096dd773e0b90c7.
2024-04-19 09:42:06 +02:00
Sergey Matvienko
df08a94bee Revert "JWT factory immutable and test fixed with > 512bit key"
This reverts commit 8dc455edc1a7531adc046d5c01cbdbc512bdd39b.
2024-04-19 09:41:41 +02:00
Sergey Matvienko
8dc455edc1 JWT factory immutable and test fixed with > 512bit key 2024-04-18 22:00:14 +02:00
Sergey Matvienko
1f5c95a375 Jwts.parser().build() refactored for a newer version 2024-04-18 17:40:20 +02:00
ViacheslavKlimov
3803081b57 Refactor alarms deletion; separate tenant entities deletion task 2024-04-18 13:25:40 +03:00
dashevchenko
d0ff4a2d86 mobile app QR code initial implementation 2024-04-18 11:25:05 +03:00
ViacheslavKlimov
0361d34767 Minor refactoring 2024-04-16 14:01:11 +03:00
ViacheslavKlimov
a80d4650ea Delete customers last on tenant deletion; tests fixes 2024-04-16 13:00:17 +03:00
Volodymyr Babak
63c100b4bb
Merge pull request #10548 from AndriiLandiak/feature/edge-notification
Edge - notification support
2024-04-16 11:56:11 +03:00
ViacheslavKlimov
6f9e9305bd Housekeeper refactoring 2024-04-15 16:02:37 +03:00
Andrii Landiak
9c81dbd1e5 Minor improvements after review 2024-04-15 14:47:39 +03:00
ViacheslavKlimov
40d9789035 More tests 2024-04-12 17:24:06 +03:00
Andrew Shvayka
a45c722bf5
Merge pull request #10533 from thingsboard/fix_bug_test_difPort
fix_bug_lwm2m tests dif Port
2024-04-12 16:20:41 +03:00
ViacheslavKlimov
79dc46a65b Merge branch 'master' into feature/housekeeper
# Conflicts:
#	application/src/main/java/org/thingsboard/server/install/ThingsboardInstallService.java
2024-04-12 15:33:56 +03:00
Igor Kulikov
ce44bbc248 Merge with hotfix/3.6.3 2024-04-11 17:52:26 +03:00
Andrii Landiak
e8c238e5a6 Add NotificationEdgeTest 2024-04-11 17:30:05 +03:00
ViacheslavKlimov
9064bfaa76 Delete tenant entities in batches with id offset 2024-04-11 17:18:47 +03:00
nick
0a16214af5 fix bug: lwm2m tests dif Port Comments 2 2024-04-11 16:34:23 +03:00
Andrii Landiak
5191143c3f Provide support for Notification to Edge 2024-04-11 15:50:57 +03:00
ViacheslavKlimov
feb629f2c2 Alarms deletion in batches with id offset 2024-04-11 14:07:35 +03:00
ShvaykaD
211226e230 added fix for mqttv5 test 2024-04-11 13:40:49 +03:00
ShvaykaD
faf172bdb2 fixed claim device flaky tests 2024-04-11 13:11:28 +03:00
nick
934287a380 fix bug: lwm2m tests dif Port Comments 1 2024-04-11 12:25:44 +03:00
ViacheslavKlimov
49a76cad5a Housekeeper: disabled task types; refactoring 2024-04-11 11:53:32 +03:00
nick
d876fc8bfe fix bug: lwm2m tests dif Port 3 2024-04-10 17:14:45 +03:00
nick
d2d68faee7 fix bug: lwm2m tests dif Port 2024-04-10 16:51:51 +03:00
Shvaika Dmytro
cad3011938
Replacement of local cache in rule nodes with cached entity service APIs. (#9552)
* added customer cache && refactored assign/unassing to/from customer nodes

* refactoring of customer action nodes & added common tests

* added tests for upgrade

* updated controller & service tests for customer api

* replaced findCustomerByTenantIdAndTitle with cacheable method

* add new line to end of ../upgrade/3.6.2/schema_update.sql file

* added cache for find user by tenant id and email & relation action nodes refactoring

* fixed synchronization issue & refactored logic & refactored node upgrade tests

* fixed testSaveUserWithSameEmail test in the UserControllerTest. Removed empty space & added exclamation mark

* updated tests for create relation node && added two tests for delete relation node

* replaced Lists with EnumSets where it was possible & replaced MethodSource with EnumSource where it was possible & added test for upgrade for both create and delete relation nodes

* updated upgrade tests & added tests for delete relation node

* refactoring

* updated create & delete relation nodes descriptions

* updated default config for delete relation node

* minor improvements for custom action nodes after self review

* added upgrade for customers with the same titles

* replaced parameterized test annotation when deleteForSingleEntity is false

* fix typo in reSaveCustomerWithNewTitle upgrade logic

* fixes after review & additional improvements

* fixed testAssignAndUnassignEntityViewToCustomer test

* updated upgrade logic & changed logic of public customers lookup

* fixed dao method & added test

* renamed method to findPublicCustomerByTenantId

* fix typo in the find public customer query

* added @Serial annotation for serialVersionUID & rollback saveAndFlush to save in UserServiceImpl

* fixes to async find or create logic

* fixed after review

* fix typo

* set Transactional annotation to findOrCreatePublicCustomer
2024-04-10 12:31:24 +03:00
ViacheslavKlimov
00f8fd2c35 Merge remote-tracking branch 'origin/master' into feature/housekeeper 2024-04-09 12:08:53 +03:00
Andrew Shvayka
7eb825dc3b
Merge pull request #10472 from thingsboard/fix/event-sourcing
Fix tenant creation
2024-04-09 11:01:35 +03:00
Andrew Shvayka
e7f68e3b08
Merge pull request #10420 from thingsboard/fix/mobile-notifications
Improvements for mobile notifications
2024-04-09 10:59:37 +03:00
Viacheslav Klimov
ae2533162e
Merge branch 'master' into fix_bug_californium_3_11 2024-04-05 16:24:37 +03:00