New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ConfigurationSourceProvider #1314

fzakaria opened this Issue Oct 29, 2015 · 2 comments


None yet
2 participants

fzakaria commented Oct 29, 2015

I found a configuration source provider that works on resources very useful since src/main/resources is already on the classpath.

public class ResourceConfigurationSourceProvider implements ConfigurationSourceProvider {

    public InputStream open(String path) throws IOException {
        return getClass().getClassLoader().getResourceAsStream(path);


This comment has been minimized.

fzakaria commented Oct 29, 2015

This issue is to see if thats worthwhile incorporating in the main dropwizard code. if so , I can send PR.

@joschi joschi closed this in 615048c Oct 29, 2015

joschi added a commit that referenced this issue Oct 29, 2015


This comment has been minimized.


joschi commented Oct 29, 2015

Thanks! I've added the class in 615048c.

@joschi joschi added this to the 0.9.1 milestone Oct 29, 2015

@joschi joschi added the improvement label Oct 29, 2015

@joschi joschi self-assigned this Oct 29, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment