ingest-rest: ProductionConfig refactoring
Per @ekahs -
One extra thing for this: In the ProductionConfig a default admin user is created if none exist, but only for the production profile. When I was running from a blank slate I found I needed this to be active for development as well when not using the provided initialization data. It might not hurt to have it be available to all profiles.
Looking back at this class I think it should probably be updated so that it's not a Configuration, which is being used as a hacky way to run a task on startup. Maybe changing it to a Component which implements ApplicationListener would make more sense. see: https://www.baeldung.com/running-setup-logic-on-startup-in-spring