flightstats / hub

fault tolerant, highly available service for data storage and distribution
http://www.flightstats.com
MIT License
103 stars 35 forks source link

Fix lifecycle enforcement and add status resource #1336

Closed lucasmo closed 1 year ago

lucasmo commented 1 year ago

The previous PR added a bug in which @Singleton annotated resources are lazily loaded. Since they were never referenced, they were never instantiated.

This fixes that problem by... instantiating them in an internal resource (/internal/s3Maintenance) and adding the ability to interrogate the last rules set.