mirror of
https://github.com/floci-io/floci.git
synced 2026-11-24 06:20:24 -05:00
CodeDeploy held applications, deployment groups, deployment configs, on-premises instances and resource tags in plain in-memory maps, so all of them were lost on restart while every other persistent service survived. Back these stores with StorageFactory (region descriptor + flush interval wired through EmulatorConfig and application.yml), re-wrap loaded inner maps as ConcurrentHashMap for thread-safe per-key mutation, write inner-map mutations back so StorageBackedMap flushes them, and reconcile built-in deployment configs on load. Deployments and other runtime state remain in memory by design.