use of com.graphhopper.application.cli.ImportCommand in project graphhopper by graphhopper.
the class GraphHopperApplication method initialize.
@Override
public void initialize(Bootstrap<GraphHopperServerConfiguration> bootstrap) {
bootstrap.addBundle(new GraphHopperBundle());
bootstrap.addBundle(new RealtimeBundle());
bootstrap.addCommand(new ImportCommand());
bootstrap.addCommand(new MatchCommand());
bootstrap.addBundle(new AssetsBundle("/com/graphhopper/maps/", "/maps/", "index.html"));
// see this link even though its outdated?! // https://www.webjars.org/documentation#dropwizard
bootstrap.addBundle(new AssetsBundle("/META-INF/resources/webjars", "/webjars/", null, "webjars"));
}
Aggregations