use of org.apache.druid.guice.DruidProcessingModule in project druid by druid-io.
the class DruidJsonValidator method getModules.
@Override
protected List<? extends com.google.inject.Module> getModules() {
return ImmutableList.of(// See https://github.com/apache/druid/pull/4429#discussion_r123603498
new DruidProcessingModule(), new QueryableModule(), new QueryRunnerFactoryModule(), binder -> {
binder.bindConstant().annotatedWith(Names.named("serviceName")).to("druid/validator");
binder.bindConstant().annotatedWith(Names.named("servicePort")).to(0);
binder.bindConstant().annotatedWith(Names.named("tlsServicePort")).to(-1);
});
}
Aggregations