Search in sources :

Example 1 with CallMetadataResolveModule

use of com.netflix.titus.runtime.endpoint.metadata.CallMetadataResolveModule in project titus-control-plane by Netflix.

the class FederationEndpointModule method configure.

@Override
protected void configure() {
    install(new CallMetadataResolveModule());
    install(new FederationGrpcModule());
    install(new JerseyModule());
}
Also used : FederationGrpcModule(com.netflix.titus.federation.endpoint.grpc.FederationGrpcModule) JerseyModule(com.netflix.titus.federation.endpoint.rest.JerseyModule) CallMetadataResolveModule(com.netflix.titus.runtime.endpoint.metadata.CallMetadataResolveModule)

Example 2 with CallMetadataResolveModule

use of com.netflix.titus.runtime.endpoint.metadata.CallMetadataResolveModule in project titus-control-plane by Netflix.

the class MasterEndpointModule method configure.

@Override
protected void configure() {
    bind(TitusMasterGrpcServer.class).asEagerSingleton();
    install(new CallMetadataResolveModule());
    install(new AuthorizationServiceModule());
}
Also used : AuthorizationServiceModule(com.netflix.titus.runtime.endpoint.authorization.AuthorizationServiceModule) CallMetadataResolveModule(com.netflix.titus.runtime.endpoint.metadata.CallMetadataResolveModule) TitusMasterGrpcServer(com.netflix.titus.master.endpoint.grpc.TitusMasterGrpcServer)

Example 3 with CallMetadataResolveModule

use of com.netflix.titus.runtime.endpoint.metadata.CallMetadataResolveModule in project titus-control-plane by Netflix.

the class GatewayEndpointModule method configure.

@Override
protected void configure() {
    bind(HostCallerIdResolver.class).to(NoOpHostCallerIdResolver.class);
    install(new CallMetadataResolveModule());
    if (enableREST) {
        install(new GovernatorJerseySupportModule());
        install(new GatewayJerseyModule());
    }
    install(new GatewayGrpcModule());
}
Also used : GovernatorJerseySupportModule(com.netflix.governator.guice.jersey.GovernatorJerseySupportModule) CallMetadataResolveModule(com.netflix.titus.runtime.endpoint.metadata.CallMetadataResolveModule) NoOpHostCallerIdResolver(com.netflix.titus.runtime.endpoint.resolver.NoOpHostCallerIdResolver) HostCallerIdResolver(com.netflix.titus.runtime.endpoint.resolver.HostCallerIdResolver)

Aggregations

CallMetadataResolveModule (com.netflix.titus.runtime.endpoint.metadata.CallMetadataResolveModule)3 GovernatorJerseySupportModule (com.netflix.governator.guice.jersey.GovernatorJerseySupportModule)1 FederationGrpcModule (com.netflix.titus.federation.endpoint.grpc.FederationGrpcModule)1 JerseyModule (com.netflix.titus.federation.endpoint.rest.JerseyModule)1 TitusMasterGrpcServer (com.netflix.titus.master.endpoint.grpc.TitusMasterGrpcServer)1 AuthorizationServiceModule (com.netflix.titus.runtime.endpoint.authorization.AuthorizationServiceModule)1 HostCallerIdResolver (com.netflix.titus.runtime.endpoint.resolver.HostCallerIdResolver)1 NoOpHostCallerIdResolver (com.netflix.titus.runtime.endpoint.resolver.NoOpHostCallerIdResolver)1