In my organization, all services has the same ObjectMapper config, Metrics 
reporting setup, Authentication library, request tracing setup, etc. I 
imagine that this is the case for most organizations. I'm looking for best 
practices on how to minimize the amount of boilerplate in the services, by 
providing a organization-preconfigured Dropwizard.

My initial idea is to create a MyOrganizationConfiguration (with default 
values) that would extend Configuration, and also provide a static method 
that would add various Bundles (e.g. 
ConfiguredBundle<MyOrganizationConfiguration>) to the application.

Anyone want to share how this is done at their organization?

-- 
You received this message because you are subscribed to the Google Groups 
"dropwizard-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to