use of com.netflix.titus.federation.startup.TitusFederationModule in project titus-control-plane by Netflix.
the class EmbeddedTitusFederation method boot.
public EmbeddedTitusFederation boot() {
logger.info("Starting Titus Federation");
injector = InjectorBuilder.fromModules(new EmbeddedJettyModule(httpPort), new ArchaiusModule() {
@Override
protected void configureArchaius() {
// We can set some properties only after the gateway is started.ł
config.setProperty("titus.federation.cells", buildCellString());
bindApplicationConfigurationOverride().toInstance(config);
}
}, new TitusFederationModule()).createInjector();
return this;
}
Aggregations