Search in sources :

Example 1 with ViewBundle

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"));
}
Also used : AssetsBundle(io.dropwizard.assets.AssetsBundle) ViewBundle(io.dropwizard.views.ViewBundle)

Aggregations

AssetsBundle (io.dropwizard.assets.AssetsBundle)1 ViewBundle (io.dropwizard.views.ViewBundle)1