fix(rds): keep DB proxies across restarts in file-backed storage (#8970)

DbProxy.getEndpoint() is a getter with no setter, so the storage mapper wrote an "endpoint" field to rds-proxies.json and then refused it as unknown on load. The file was quarantined and every DB proxy was lost on restart in persistent, hybrid and wal modes. The mapper now ignores the getter; endpointHost is still stored, and the RDS response and the CloudFormation Endpoint attribute still read it.

Closes #8968
This commit is contained in:
Ignas authored and GitHub committed 2026-11-19 10:47:56 -04:00
1 parent 5a0529ba31
commit 6f71e2877f
3 files changed
+78

No files matched your search

@@ -1,5 +1,6 @@
package io.floci.aws.services.rds.model;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.quarkus.runtime.annotations.RegisterForReflection;
import java.time.Instant;
@@ -43,6 +44,7 @@ public class DbProxy {
public DbProxy() {}
/** AWS RDS Proxy exposes a bare hostname and clients connect on the engine's default port. */
@JsonIgnore
public String getEndpoint() {
return endpointHost;
}