use of io.dropwizard.views.ViewBundle in project pinot by linkedin.
the class ThirdEyeDashboardApplication method initialize.
@Override
public void initialize(Bootstrap<ThirdEyeDashboardConfiguration> bootstrap) {
bootstrap.addBundle(new ViewBundle());
bootstrap.addBundle(new HelperBundle());
bootstrap.addBundle(new AssetsBundle("/assets", "/assets"));
bootstrap.addBundle(new AssetsBundle("/assets/css", "/assets/css", null, "css"));
bootstrap.addBundle(new AssetsBundle("/assets/js", "/assets/js", null, "js"));
bootstrap.addBundle(new AssetsBundle("/assets/lib", "/assets/lib", null, "lib"));
bootstrap.addBundle(new AssetsBundle("/assets/img", "/assets/img", null, "img"));
bootstrap.addBundle(new AssetsBundle("/assets/data", "/assets/data", null, "data"));
}
Aggregations