Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.04 KB

README.md

File metadata and controls

35 lines (26 loc) · 1.04 KB

dropwizard-trim Build StatusCoverage Status

This bundle trims config values of dropwizard YAML config file.

Usage

This makes it easier to make the application not break due to manual errors when sleepy DevOps adds a space to a config value

Build instructions

  • Clone the source:

    git clone github.com/vivekkothari/dropwizard-trim
    
  • Build

    mvn install
    

Maven Dependency

  • Use the following maven dependency:
<dependency>
    <groupId>com.github.vivekkothari</groupId>
    <artifactId>dropwizard-trim</artifactId>
    <version>1.2.4</version>
</dependency>

Using Trim bundle

Bootstrap

    @Override
    public void initialize(final Bootstrap...) {
        bootstrap.addBundle(new ConfigTrimmingBundle());
    }