package xyz.nedderhoff.dropwizard;

import io.dropwizard.Application;
import io.dropwizard.setup.Bootstrap;
import io.dropwizard.setup.Environment;
//import xyz.nedderhoff.dropwizard.resources.HelloWorldResource;
//import xyz.nedderhoff.dropwizard.health.TemplateHealthCheck;

public class HelloWorldApplication extends Application<HelloWorldConfiguration> {

    public static void main(String[] args) throws Exception {
        new HelloWorldApplication().run(args);
    }

    @Override
    public String getName() {
        return "hello-world";
    }

    @Override
    public void initialize(Bootstrap<HelloWorldConfiguration> bootstrap) {
        // nothing to do yet
    }

    @Override
    public void run(HelloWorldConfiguration configuration,
                    Environment environment) {
        // nothing to do yet
    }
}

@@ -141,16 +141,79 @@
 onment;%0A
+import xyz.nedderhoff.dropwizard.resources.HelloWorldResource;%0A
 //import
@@ -866,36 +866,227 @@
         
-// nothing to do yet
+final HelloWorldResource resource = new HelloWorldResource(%0A                configuration.getTemplate(),%0A                configuration.getDefaultName()%0A        );%0A        environment.jersey().register(resource);
 %0A    %7D%0A%7D

Implement run