Viacheslav Klimov
acb9b422a2
Add tenantId to error logs and remove redundant .name() calls
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
9 months ago
Viacheslav Klimov
6f86ca0d08
Await save future in integration test to prevent flakiness
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
9 months ago
Viacheslav Klimov
412fbefdbb
Add Cassandra result set byte-size limit to prevent OOM on large queries
Adds page-level byte-size tracking in TbResultSet.allRows() using
ExecutionInfo.getResponseSizeInBytes() to fail early when accumulated
result set size exceeds the configurable limit (default 50MB).
Also fixes pre-existing bugs where onFailure callbacks in
CassandraBaseTimeseriesDao only logged errors but never completed
the future, causing callers to hang indefinitely on failures.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
9 months ago
Dmytro Skarzhynets
43e8465966
feat: add entity keys V2 endpoint with sample values
9 months ago
Viacheslav Klimov
ad423555ac
Version changed to 4.3.1
9 months ago
Viacheslav Klimov
132b6a1e3f
Version changed to 4.2.2
9 months ago
Viacheslav Klimov
8f9c4b70d7
Migrate to Java 25
Co-Authored-By: Claude <noreply@anthropic.com>
10 months ago
Viacheslav Klimov
e2e62ef14d
Version set to 4.4.0-SNAPSHOT
10 months ago
Viacheslav Klimov
cb74eff115
TMP version set to 4.3.0.2-SNAPSHOT
10 months ago
Viacheslav Klimov
c41159a3f8
Version set to 4.3.0.2-SNAPSHOT
10 months ago
Viacheslav Klimov
b244e14ef7
Version set to 4.2.1.3-SNAPSHOT
10 months ago
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>
10 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>
10 months ago
Oleksandra Matviienko
90404d80fd
sysadmin audit log refactored after review
Signed-off-by: Oleksandra_Matviienko <al.zzzeebra@gmail.com>
10 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
Viacheslav Klimov
7900c51b9d
Version set to 4.4.0-SNAPSHOT
10 months ago
Viacheslav Klimov
7f427b27fb
Version set to 4.3.0.1-SNAPSHOT
10 months 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!]
10 months ago
Sergey Matvienko
243fbec930
tests: spring.main.banner-mode=off
10 months ago
Sergey Matvienko
b35f46a8ee
tests: reducing logging noise for dao, cache for CaffeineCacheMetrics
10 months ago
Sergey Matvienko
9a2489f5b6
tests: DefaultTbResourceDataCache destroy cache on bean destroy that fixes flaky test
10 months ago
Sergey Matvienko
924c9cf5d0
hotfix count query by tenant on cf_manager init
10 months ago
IrynaMatveieva
294c7ff661
fixed tests
10 months ago
Dmytro Skarzhynets
b688ca1dcd
Add tests for zero min scheduled update interval
10 months ago
Dmytro Skarzhynets
231b2fe8bc
Add validation for min scheduled update interval in tenant profile
10 months ago
Dmytro Skarzhynets
49c34ebe91
Use min value from tenant profile for scheduled update interval when not provided
10 months ago
dashevchenko
32f7c2abf7
fixed smsEnabled property handling for tenant profile configuration
11 months ago
IrynaMatveieva
5565b5c32a
code optimization
11 months ago
Viacheslav Klimov
9e748520e8
Fix invalid notification targets search by type
11 months ago
IrynaMatveieva
7a638c2151
updated metric default value to double and added logic to handle relations when direction to
11 months ago
IrynaMatveieva
3ad0b4b74d
fixed relation update handling, handle max related entities limit
11 months ago
Viacheslav Klimov
295e7d68c9
Update license headers
11 months ago
Viacheslav Klimov
5b5b4dff6b
Update license header
11 months ago
Andrii Landiak
c4de8926e4
Refactoring after review
11 months ago
Viacheslav Klimov
44df43db1a
Fix invalid service tests
11 months ago
Viacheslav Klimov
b29c670060
Fix invalid finish ts for jobs with zero tasks
11 months ago
Viacheslav Klimov
bd4a450326
Use 3.8-stable tb-gateway image
11 months ago
Viacheslav Klimov
c069d28231
Version set to 4.3.0-RC
11 months ago
Viacheslav Klimov
5e8ca1ca46
TMP version set to 4.2.1.2-SNAPSHOT
11 months ago
Viacheslav Klimov
f2dadd0791
Version set to 4.2.1.2-SNAPSHOT
11 months ago
Viacheslav Klimov
295d29fc68
Version set to 4.2.1.1-RC
11 months ago
Viacheslav Klimov
54b67426f4
Version set to 4.3.0-RC
11 months ago
Nikita Mazurenko
f814a52faf
Fix synchronization between 'profileData' and 'profileDataBytes' after shortServerId update
11 months ago
dashevchenko
dc8d2d896a
fixed query
11 months ago
dashevchenko
17761480c0
fixed sorting by originatorDisplayName
11 months ago
Andrii Landiak
9684a1e8ad
Revert
11 months ago
Andrii Landiak
289c5674db
Fetch and drop partitioning tables
11 months ago
Viacheslav Klimov
872fc0803f
Enhance calculated fields filter API
11 months ago
Dmytro Skarzhynets
80585a1785
Move common exceptions from `dao` to `common` module
11 months ago
Andrii Landiak
12fbfc30f3
Update sql views in system patch applier
11 months ago