mirror of
https://github.com/floci-io/floci.git
synced 2026-11-24 06:20:24 -05:00
fix(elasticache): register Endpoint for reflection so HybridStorage can persist state (#1403)
In a native image, Jackson could not serialize ReplicationGroup.configurationEndpoint because the Endpoint record lacked reflection metadata, so HybridStorage threw every flush and never wrote elasticache-groups.json. Annotate Endpoint with @RegisterForReflection (matching its sibling models) so persistence works. Refs #1268
This commit is contained in:
1 parent
be9e61d788
commit
2783108b32
1 file changed
+3
@@ -1,3 +1,6 @@
|
||||
package io.github.hectorvent.floci.services.elasticache.model;
|
||||
|
||||
import io.quarkus.runtime.annotations.RegisterForReflection;
|
||||
|
||||
@RegisterForReflection
|
||||
public record Endpoint(String address, int port) {}
|
||||
Reference in new issue
Block a user