use of com.netflix.titus.gateway.store.StoreModule in project titus-control-plane by Netflix.
the class TitusGatewayModule method configure.
@Override
protected void configure() {
bind(Archaius2ConfigurationLogger.class).asEagerSingleton();
bind(Registry.class).toInstance(new DefaultRegistry());
bind(SystemLogService.class).to(LoggingSystemLogService.class);
bind(SystemAbortListener.class).to(LoggingSystemAbortListener.class);
bind(Fabric8IOConnector.class).to(DefaultFabric8IOConnector.class).asEagerSingleton();
install(new ContainerEventBusModule());
install(new TitusContainerRegistryModule());
install(new TitusEntitySanitizerModule());
install(new TitusAdmissionModule());
install(new JobSecurityValidatorModule());
// Feature flags
install(new FeatureFlagModule());
install(new GatewayEndpointModule(enableREST));
install(new TitusMasterConnectorModule());
install(new JobManagerConnectorModule(JobEventPropagationUtil.CHECKPOINT_GATEWAY_CLIENT));
install(new JobManagerDataReplicationModule());
install(new EvictionConnectorModule());
install(new RelocationClientConnectorModule());
install(new RelocationDataReplicationModule());
bind(V3_LOG_STORAGE_INFO).toInstance(EmptyLogStorageInfo.INSTANCE);
install(new V3ServiceModule());
install(new StoreModule());
}
Aggregations