You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do you think there is a way to get the DropWizard Configuration class to be processed by the ConfigurationClassPostProcessor?
Then it would be possible to have @bean methods on the Configuration class itself that would initialize shared resources like the JDBI instance or a DataSource and make them available for autowiring. As it is now, if you wanted to have your JDBC settings in your YAML file, you'd need to have both a Dropwizard configuration class to receive the values, and a separate spring @configuration class to inject with @value and produce the DataSource.
The text was updated successfully, but these errors were encountered:
Do you think there is a way to get the DropWizard Configuration class to be processed by the ConfigurationClassPostProcessor?
Then it would be possible to have @bean methods on the Configuration class itself that would initialize shared resources like the JDBI instance or a DataSource and make them available for autowiring. As it is now, if you wanted to have your JDBC settings in your YAML file, you'd need to have both a Dropwizard configuration class to receive the values, and a separate spring @configuration class to inject with @value and produce the DataSource.
The text was updated successfully, but these errors were encountered: