Search in sources :

Example 1 with SingularityResourceModule

use of com.hubspot.singularity.resources.SingularityResourceModule in project Singularity by HubSpot.

the class SingularityServiceModule method configure.

@Override
public void configure(Binder binder) {
    binder.install(new MetricsInstrumentationModule(getBootstrap().getMetricRegistry()));
    binder.install(new SingularityMainModule(getConfiguration()));
    binder.install(new SingularityDataModule());
    binder.install(new SingularitySchedulerModule());
    binder.install(new SingularityResourceModule(getConfiguration().getUiConfiguration()));
    binder.install(new SingularityTranscoderModule());
    binder.install(new SingularityHistoryModule(getConfiguration()));
    binder.install(new SingularityMesosModule());
    binder.install(new SingularityZkMigrationsModule());
    binder.install(new SingularityMesosClientModule());
    binder.install(new SingularityJerseyModule());
    binder.install(new SingularityEventModule(getConfiguration()));
}
Also used : SingularityResourceModule(com.hubspot.singularity.resources.SingularityResourceModule) SingularityDataModule(com.hubspot.singularity.data.SingularityDataModule) SingularityZkMigrationsModule(com.hubspot.singularity.data.zkmigrations.SingularityZkMigrationsModule) MetricsInstrumentationModule(com.palominolabs.metrics.guice.MetricsInstrumentationModule) SingularityTranscoderModule(com.hubspot.singularity.data.transcoders.SingularityTranscoderModule) SingularityHistoryModule(com.hubspot.singularity.data.history.SingularityHistoryModule) SingularitySchedulerModule(com.hubspot.singularity.scheduler.SingularitySchedulerModule) SingularityMesosModule(com.hubspot.singularity.mesos.SingularityMesosModule) SingularityMesosClientModule(com.hubspot.mesos.client.SingularityMesosClientModule) SingularityJerseyModule(com.hubspot.singularity.jersey.SingularityJerseyModule) SingularityEventModule(com.hubspot.singularity.event.SingularityEventModule)

Aggregations

SingularityMesosClientModule (com.hubspot.mesos.client.SingularityMesosClientModule)1 SingularityDataModule (com.hubspot.singularity.data.SingularityDataModule)1 SingularityHistoryModule (com.hubspot.singularity.data.history.SingularityHistoryModule)1 SingularityTranscoderModule (com.hubspot.singularity.data.transcoders.SingularityTranscoderModule)1 SingularityZkMigrationsModule (com.hubspot.singularity.data.zkmigrations.SingularityZkMigrationsModule)1 SingularityEventModule (com.hubspot.singularity.event.SingularityEventModule)1 SingularityJerseyModule (com.hubspot.singularity.jersey.SingularityJerseyModule)1 SingularityMesosModule (com.hubspot.singularity.mesos.SingularityMesosModule)1 SingularityResourceModule (com.hubspot.singularity.resources.SingularityResourceModule)1 SingularitySchedulerModule (com.hubspot.singularity.scheduler.SingularitySchedulerModule)1 MetricsInstrumentationModule (com.palominolabs.metrics.guice.MetricsInstrumentationModule)1