Dmytro Skarzhynets
74ef364f33
fix: respect forward_headers_strategy for client IP in audit logs
Remove redundant manual X-Forwarded-For header parsing in
RestAuthenticationDetails. The getClientIP() method duplicated
functionality already provided by Spring's ForwardedHeaderFilter
when server.forward_headers_strategy is configured.
Now uses request.getRemoteAddr() directly, which respects the
configured forward_headers_strategy setting (default: framework).
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
8 months ago
Nikita Mazurenko
10aa63f78f
Add license format in EdgeLatestVersionTest
8 months ago
Nikita Mazurenko
3d7be72692
Add error message to EdgeLatestVersionTest
8 months ago
Nikita Mazurenko
d5fe1db7d4
Add test to verify that enum proto EdgeVersion is synchronized with maven project.version
8 months ago
nickAS21
168de4620a
lwm2m - fix bug tests testFirmwareUpdateByObject5_Ok
8 months ago
IrynaMatveieva
0437e9009b
fixed tests
8 months ago
Oleksandra_Matviienko
bb3237bf3f
fixed import DataValidationException
Signed-off-by: Oleksandra_Matviienko <al.zzzeebra@gmail.com>
8 months ago
Viacheslav Klimov
0b2423759c
Set 4.2.0 as supported version for upgrade
8 months ago
Viacheslav Klimov
bc5b3a615f
Get back upgrade from 4.2.0 to 4.2.1
8 months ago
Viacheslav Klimov
ec9d7018f2
Improve upgrade version compatibility check
8 months ago
Viacheslav Klimov
c80346bbc8
Improve upgrade version compatibility check
8 months ago
Viacheslav Klimov
f0c73ef9e5
Get back upgrade from 4.2.1 to 4.3.0
8 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>
8 months ago
Oleksandra Matviienko
90404d80fd
sysadmin audit log refactored after review
Signed-off-by: Oleksandra_Matviienko <al.zzzeebra@gmail.com>
8 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
Oleksandra Matviienko
ec443f116c
Audit logging for TenantProfile
Signed-off-by: Oleksandra Matviienko <al.zzzeebra@gmail.com>
2 years ago
Vladyslav_Prykhodko
abcf3b78f5
Fixed UI help links url to release-4.2.1
8 months ago
Viacheslav Klimov
22d6a14600
Fix license header for DefaultSystemSecurityServiceTest
8 months ago
IrynaMatveieva
3e0628099f
call error debug persistence in cf actors
8 months ago
IrynaMatveieva
202d458711
moved debug error persistence to actor system context
8 months ago
IrynaMatveieva
d568ee8536
fix: process cfs that uses the same key and some of cfs throws error
8 months ago
Viacheslav Klimov
1fcc419dbc
Fix LwM2MTestClient
8 months ago
Viacheslav Klimov
7f427b27fb
Version set to 4.3.0.1-SNAPSHOT
8 months ago
Sergey Matvienko
efead4abd3
tests: fixed LWM2M clientDestroy with PortFinder.isUDPPortAvailable
8 months ago
Sergey Matvienko
342060c54a
tests: fixed EdgeImitator usage in controller test by providing Modifiable Deque getDownlinkMsgsDeque
8 months ago
Sergey Matvienko
4bd812b6fd
tests: LWM2M transport refactored and fixed to run in parallel. Improved UPD port operation experience for stability. additional logs added
8 months ago
Sergey Matvienko
a706859711
tests: log MockMvc error responses >= 400 for easier investigation
8 months ago
Sergey Matvienko
ca948f637f
tests: CoapClientX509Test disconnect() is awaiting until UDP fixedPort released. reuse socket removed for UPD isUDPPortAvailable as not useful
8 months ago
Sergey Matvienko
94f3019188
tests: AbstractCoapSecurityIntegrationTest import cleanup
8 months ago
Sergey Matvienko
189c2ac6ae
tests: fixed Coap X509 Test client by calling dtlsConnector.destroy() on client.disconnect();
8 months ago
Sergey Matvienko
f4334436ff
tests: log warn dynamic property coap.bind_port coap.dtls.bind_port
8 months ago
Sergey Matvienko
bcfe4c2641
tests: coap transport tests refactored to use dynamic UPD ports to be able to test in parallel
8 months ago
Sergey Matvienko
9577cb0aee
tests: PortFinder.findAvailableUdpPort added
8 months ago
Sergey Matvienko
141ac80265
tests: transport.mqtt.bind_port is @DynamicPropertySource . Dynamic MQTT port are set in a single AbstractMqttIntegrationTest to be compatible with parallel test run
8 months ago
Sergey Matvienko
243fbec930
tests: spring.main.banner-mode=off
8 months ago
Sergey Matvienko
5305ccf180
tests: standardizing timeouts to address flakiness in parallel runs and busy CI env
8 months ago
Sergey Matvienko
7b9c53d348
tests: EdgeImitator - fix for ConcurrentModification at AbstractEdgeTest.validateMsgsCnt:387
8 months ago
Sergey Matvienko
2c533c0f86
tests: reducing logging noise
8 months ago
Sergey Matvienko
f4e2ebde54
Tests Edge - replaced port 7070 with dynamic port to allow parallel tests in surefire forks
8 months ago
Andrii Landiak
a2da95760c
Fix API key controller, when user update description or activity
8 months ago
IrynaMatveieva
73fa6734c4
updated error message on cf init
8 months ago
dshvaika
41cb827c62
Added missing logic to handle propagation path updates
8 months ago
ArtemDzhereleiko
b71333e2cc
UI: Gateway release 4.3.0
8 months ago
ArtemDzhereleiko
793bf08549
UI: update branch
8 months ago
ArtemDzhereleiko
f5bb412524
UI: Update gateway dashboard widget and bundle
8 months ago
ArtemDzhereleiko
7570a23343
UI: Update release file
8 months ago
ArtemDzhereleiko
55e05965df
UI: Update gateway dashboard branch
8 months ago
IrynaMatveieva
d904ea6f52
added debug event types
9 months ago
Nikita Mazurenko
30f12f8bd3
Refactor isValidCfToSend
9 months ago
Nikita Mazurenko
562924a586
Reduce CF error noise for on old edges
9 months ago