Dmytro Skarzhynets
5af56899d0
refactor: remove unreliable performance tests
Remove environment-dependent performance tests that use arbitrary
time thresholds. These tests are flaky in CI and don't provide
meaningful assertions.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
7 months ago
Oleksandra_Matviienko
84752472b7
Added @NotNull for null-safety for audit/entity services.
Added getOrEmptyId method to validate if entityId is zero.
Changed logs to debug in DefaultTbTenantProfileService.
Added Throwable cause to Exceptions in catch blocks in DefaultTbTenantProfileService.
Signed-off-by: Oleksandra_Matviienko <al.zzzeebra@gmail.com>
7 months ago
Oleksandra Matviienko
90404d80fd
sysadmin audit log refactored after review
Signed-off-by: Oleksandra_Matviienko <al.zzzeebra@gmail.com>
7 months ago
Oleksandra Matviienko
164ff0d467
Refactored audit logs for save/delete tenant profile operations;
moved setDefaultTenantProfile to the service layer;
added Awaitility-based audit log checks in controller tests;
allowed SYS_ADMIN access to audit endpoints;
made BuildProperties optional with version fallback;
used tenantAdminUser in updateDefaultTenantProfile;
updated logging config for audit debugging.
Signed-off-by: Oleksandra_Matviienko <al.zzzeebra@gmail.com>
1 year ago
Sergey Matvienko
59ff87d2bc
DeviceProfileDataValidator - refactored validation to allow use-defined ports for LWM@M (also useful for tests in parallel).
Addressing the issue: DeviceProfile object is invalid: [LwM2M Server "Port" value = 53197. This value for security PSK must be 5686!]
7 months ago
Sergey Matvienko
243fbec930
tests: spring.main.banner-mode=off
8 months ago
Sergey Matvienko
b35f46a8ee
tests: reducing logging noise for dao, cache for CaffeineCacheMetrics
8 months ago
Sergey Matvienko
9a2489f5b6
tests: DefaultTbResourceDataCache destroy cache on bean destroy that fixes flaky test
8 months ago
Sergey Matvienko
924c9cf5d0
hotfix count query by tenant on cf_manager init
8 months ago
IrynaMatveieva
294c7ff661
fixed tests
8 months ago
Dmytro Skarzhynets
b688ca1dcd
Add tests for zero min scheduled update interval
8 months ago
Dmytro Skarzhynets
231b2fe8bc
Add validation for min scheduled update interval in tenant profile
8 months ago
Dmytro Skarzhynets
49c34ebe91
Use min value from tenant profile for scheduled update interval when not provided
8 months ago
dashevchenko
32f7c2abf7
fixed smsEnabled property handling for tenant profile configuration
8 months ago
IrynaMatveieva
5565b5c32a
code optimization
8 months ago
Viacheslav Klimov
9e748520e8
Fix invalid notification targets search by type
8 months ago
IrynaMatveieva
7a638c2151
updated metric default value to double and added logic to handle relations when direction to
8 months ago
IrynaMatveieva
3ad0b4b74d
fixed relation update handling, handle max related entities limit
8 months ago
Viacheslav Klimov
295e7d68c9
Update license headers
8 months ago
Viacheslav Klimov
5b5b4dff6b
Update license header
8 months ago
Andrii Landiak
c4de8926e4
Refactoring after review
8 months ago
Viacheslav Klimov
44df43db1a
Fix invalid service tests
8 months ago
Viacheslav Klimov
b29c670060
Fix invalid finish ts for jobs with zero tasks
8 months ago
Viacheslav Klimov
bd4a450326
Use 3.8-stable tb-gateway image
8 months ago
Nikita Mazurenko
f814a52faf
Fix synchronization between 'profileData' and 'profileDataBytes' after shortServerId update
9 months ago
dashevchenko
dc8d2d896a
fixed query
9 months ago
dashevchenko
17761480c0
fixed sorting by originatorDisplayName
9 months ago
Andrii Landiak
9684a1e8ad
Revert
9 months ago
Andrii Landiak
289c5674db
Fetch and drop partitioning tables
9 months ago
Viacheslav Klimov
872fc0803f
Enhance calculated fields filter API
9 months ago
Dmytro Skarzhynets
80585a1785
Move common exceptions from `dao` to `common` module
9 months ago
Andrii Landiak
12fbfc30f3
Update sql views in system patch applier
9 months ago
dashevchenko
924e00e26e
fixed EDQ for sysadmin: tenant and tenant profile entities are allowed
9 months ago
Volodymyr Babak
c42705c032
Simplify tests
9 months ago
Volodymyr Babak
e8b164a03a
Refactoring. Remove EdgeStats - uplinkRate not used
9 months ago
Igor Kulikov
551574af3b
Improve 'Entities Limit Exceeded' Error and Notification Template.
9 months ago
Igor Kulikov
4c9189023c
Revert
9 months ago
Igor Kulikov
a44d2618a1
Update notification template
9 months ago
dshvaika
2c04943984
removed checks for 0 value
9 months ago
Igor Kulikov
846deebb43
Minor changes
9 months ago
dshvaika
c0af057590
refactoring logic in getOrSaveKeyId method
9 months ago
dshvaika
3243c2a2f2
Added find before lock for the startup of application
9 months ago
Andrii Landiak
34dc1eec81
Fix NPE
9 months ago
dshvaika
d66e9ecf74
Added new lines to the end of files
9 months ago
dshvaika
09eb511599
Fix key_dictionary race causing cached keyId 0
9 months ago
Igor Kulikov
c121b6b5e4
Update entities limit exception processing. Implement entities limit increase request notification.
9 months ago
dashevchenko
d62355e4bd
refactoring
9 months ago
IrynaMatveieva
b9952d7d27
added produceIntermediateResult flag to handle updates during the current interval and changed default value for min deduplication interval
9 months ago
Dmytro Skarzhynets
a5256c14e7
Fix broken rest client for `/entitiesQuery/find/keys`; refactoring
9 months ago
Artem Barysh
0dd37617e1
added get entity views by ids endpoint
9 months ago