Skip to content

vivekkothari/dropwizard-trim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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());
    }

About

Trims dropwizard config values

Resources

License

Stars

Watchers

Forks

Packages

No packages published