mirror of
https://github.com/floci-io/floci.git
synced 2026-11-25 23:00:59 -05:00
Elastic Beanstalk was the only stateful service wholesale bypassing the storage layer: applications, versions, and environments lived in raw ConcurrentHashMaps, silently lost on restart in persistent/hybrid/wal modes and invisible to the reset endpoint. Wrap all three maps through StorageFactory (storage key 'elasticbeanstalk'), re-put after every in-place mutation so changes reach persistent backends, implement Resettable, register the persisted models for native-image reflection, and wire the storage mode and flush interval through EmulatorConfig, the service catalog, and both YAMLs.