A damn simple library for building production-ready RESTful web services.
Java Other
Latest commit c45ea5f Sep 28, 2016 @cmicali cmicali committed with evnm Jersey Validation Improvements (#1734)
Better Enum Validation Messages

Currently Dropwizard resources return a 404 if a request is made with
an invalid value for a parameter of an Enum type. This change adds
ValidatingEnumParamConverterProvider, which provides converters for all
enums used in method parameters. The converter then provides better
error messages like "query param choice must be one of [OptionA,
OptionB, OptionC]" when invalid values are sent.

Parameter Names in Parse Failure Messages

Currently when an invalid value is passed into a *Param parameter,
Dropwizard returns an error message like "Parameter is not a
number". This change includes AbstractParamConverterProvider along
with a slight enhancement to the *Param classes that returns messages
that include the name of the parameter that failed validation, like
"query param user_id is not a number."

Hibernate ParameterNameProvider

Small change to move most of parameter naming logic from
ConstraintMessage to JerseyParameterNameProvider. This implements the
standard ParameterNameProvider interface that Hibernate uses to
resolve parameter names during validation.

New DurationParam

Include a new DurationParam that can parse String input in the format
supported by Dropwizard's existing Duration class.
Permalink
Failed to load latest commit information.
docs Update extending validation error messages docs Sep 26, 2016
dropwizard-archetypes [maven-release-plugin] prepare for next development iteration Jul 26, 2016
dropwizard-assets [maven-release-plugin] prepare for next development iteration Jul 26, 2016
dropwizard-auth Allow for passing a filter as a class to AuthDynamicFeature (#1715) Sep 2, 2016
dropwizard-benchmarks [maven-release-plugin] prepare for next development iteration Jul 26, 2016
dropwizard-bom Update dependencies and fix some error prone warnings (#1654) Aug 4, 2016
dropwizard-client JerseyClientBuilder can create rx-capable client Sep 7, 2016
dropwizard-configuration Use a List instead an array in YamlConfigurationFactory Aug 13, 2016
dropwizard-core Register the default HealthCheckRegistry as "default" Sep 7, 2016
dropwizard-db Integrate with Code Climate (#1631) Jul 29, 2016
dropwizard-example Add a test for PersonDAO Aug 27, 2016
dropwizard-forms [maven-release-plugin] prepare for next development iteration Jul 26, 2016
dropwizard-hibernate Update dependencies and fix some error prone warnings (#1654) Aug 4, 2016
dropwizard-http2 Log Jetty initialized SSLContext not the Default (#1698) Aug 19, 2016
dropwizard-jackson Jersey Validation Improvements (#1734) Sep 29, 2016
dropwizard-jdbi Create table if not exists in tests Sep 23, 2016
dropwizard-jersey Jersey Validation Improvements (#1734) Sep 29, 2016
dropwizard-jetty Log Jetty initialized SSLContext not the Default (#1698) Aug 19, 2016
dropwizard-lifecycle Merge branch 'jp-port' of https://github.com/jplock/dropwizard into j… Aug 4, 2016
dropwizard-logging Revert "Merge pull request #1678 from evnm/dropwizard-request-logging… Sep 23, 2016
dropwizard-metrics-ganglia [maven-release-plugin] prepare for next development iteration Jul 26, 2016
dropwizard-metrics-graphite [maven-release-plugin] prepare for next development iteration Jul 26, 2016
dropwizard-metrics Update dependencies and fix some error prone warnings (#1654) Aug 4, 2016
dropwizard-migrations Integrate with Code Climate (#1631) Jul 29, 2016
dropwizard-request-logging Rename META-INF.services -> META-INF/services for dropwizard-request-… Sep 27, 2016
dropwizard-servlets Merge pull request #1667 from evnm/dropwizard-servlets/combine-ifs-in… Aug 4, 2016
dropwizard-testing Fix errors pointed out by Code Climate Aug 27, 2016
dropwizard-util Jersey Validation Improvements (#1734) Sep 29, 2016
dropwizard-validation Integrate with Code Climate (#1631) Jul 29, 2016
dropwizard-views-freemarker Update dependencies and fix some error prone warnings (#1654) Aug 4, 2016
dropwizard-views-mustache [maven-release-plugin] prepare for next development iteration Jul 26, 2016
dropwizard-views Update dependencies and fix some error prone warnings (#1654) Aug 4, 2016
.codeclimate.yml Integrate with Code Climate (#1631) Jul 29, 2016
.editorconfig Encoding of properties files is ISO-8859-1 Dec 5, 2015
.gitattributes Enforce LF line endings on Mustache and Freemarker template files Oct 28, 2015
.gitignore Clean up .gitignore Oct 20, 2015
.travis.yml General Code Improvements (#1565) May 27, 2016
.travis_after_success.sh Enable deployment of source and javadoc JARs for SNAPSHOT builds Mar 14, 2016
CONTRIBUTING.md Adding dev list to CONTRIBUTING.md Sep 16, 2014
LICENSE Update copyright for 2016. Jan 24, 2016
NOTICE Update copyright for 2016. Jan 24, 2016
README.md Add the Code Climate badge. Jul 30, 2016
RELEASES.md Update the release guide Sep 21, 2016
appveyor.yml Add windows ci via appveyor Sep 23, 2016
checkstyle.xml Integrate with Code Climate (#1631) Jul 29, 2016
findbugs-exclude.xml Permit override of default failed command behavior (#1554) May 23, 2016
maven_deploy_settings.xml Prepare the TravisCI configuration to automatically deploy snapshots … Oct 24, 2014
pom.xml Update dependencies and fix some error prone warnings (#1654) Aug 4, 2016
prepare_docs.sh Document the Dropwizard release process (#1592) Jul 27, 2016

README.md

Dropwizard

Build Status Coverage Status Maven Central Javadoc Code Climate

Dropwizard is a sneaky way of making fast Java web applications.

It's a little bit of opinionated glue code which bangs together a set of libraries which have historically not sucked:

Read more at dropwizard.io.

Want to contribute to Dropwizard?

Before working on the code, if you plan to contribute changes, please read the following CONTRIBUTING document.

Need help or found an issue?

When reporting an issue through the issue tracker on GitHub or sending an email to the Dropwizard User Google Group mailing list, please use the following guidelines:

  • Check existing issues to see if it has been addressed already
  • The version of Dropwizard you are using
  • A short description of the issue you are experiencing and the expected outcome
  • Description of how someone else can reproduce the problem
  • Paste error output or logs in your issue or in a Gist. If pasting them in the GitHub issue, wrap it in three backticks: ``` so that it renders nicely
  • Write a unit test to show the issue!