use of org.janusgraph.graphdb.grpc.schema.SchemaManagerImpl in project janusgraph by JanusGraph.
the class JanusGraphGrpcServerBaseTest method createServer.
private static Pair<Server, String> createServer(JanusGraphContextHandler contextHandler) throws IOException {
String serverName = InProcessServerBuilder.generateName();
Server server = InProcessServerBuilder.forName(serverName).directExecutor().addService(new JanusGraphManagerServiceImpl(contextHandler)).addService(new SchemaManagerImpl(contextHandler)).build().start();
return new Pair<>(server, serverName);
}
Aggregations