@Override
  public void run(final JibExampleConfiguration configuration, final Environment environment) {
    final TemplateHealthCheck healthCheck =
        new TemplateHealthCheck(configuration.getHelloConfiguration().getTemplate());
    environment.healthChecks().register("template", healthCheck);

    environment.jersey().register(HelloWorldResource.from(configuration));
  }
<a href="https://www.dropwizard.io/1.3.5/docs/manual/index.html">
Refer Dropwizard User Manual</a>
examples/dropwizard/src/main/java/example/JibExampleApplication.java