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:
Hector Ventura authored and GitHub committed 2026-06-17 00:42:13 -05:00
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) {}