Search in sources :

Example 6 with StringService

use of io.helidon.grpc.examples.common.StringService in project helidon by oracle.

the class Server method createRouting.

private static GrpcRouting createRouting(Config config) {
    GreetService greetService = new GreetService(config);
    GreetServiceJava greetServiceJava = new GreetServiceJava(config);
    return GrpcRouting.builder().register(greetService).register(greetServiceJava).register(new StringService()).build();
}
Also used : GreetServiceJava(io.helidon.grpc.examples.common.GreetServiceJava) GreetService(io.helidon.grpc.examples.common.GreetService) StringService(io.helidon.grpc.examples.common.StringService)

Aggregations

StringService (io.helidon.grpc.examples.common.StringService)6 LogConfig (io.helidon.common.LogConfig)5 GrpcRouting (io.helidon.grpc.server.GrpcRouting)5 GrpcServer (io.helidon.grpc.server.GrpcServer)5 GrpcServerConfiguration (io.helidon.grpc.server.GrpcServerConfiguration)5 Config (io.helidon.config.Config)4 Security (io.helidon.security.Security)4 GrpcSecurity (io.helidon.security.integration.grpc.GrpcSecurity)4 GreetService (io.helidon.grpc.examples.common.GreetService)3 ServiceDescriptor (io.helidon.grpc.server.ServiceDescriptor)3 HttpBasicAuthProvider (io.helidon.security.providers.httpauth.HttpBasicAuthProvider)2 Routing (io.helidon.webserver.Routing)2 WebServer (io.helidon.webserver.WebServer)2 Channel (io.grpc.Channel)1 Status (io.grpc.Status)1 StatusRuntimeException (io.grpc.StatusRuntimeException)1 InProcessChannelBuilder (io.grpc.inprocess.InProcessChannelBuilder)1 StreamObserver (io.grpc.stub.StreamObserver)1 Context (io.helidon.common.context.Context)1 Http (io.helidon.common.http.Http)1