move system view interface, grpc server, and client to stubs_oss files (#29291)

This commit is contained in:
Thy Ton
2025-01-10 10:11:45 -08:00
committed by GitHub
parent 8404d07264
commit bcd89f875d
7 changed files with 201 additions and 140 deletions

View File

@@ -94,13 +94,12 @@ func (b *backendGRPCPluginServer) Setup(ctx context.Context, args *pb.SetupArgs)
}
storage := newGRPCStorageClient(brokeredClient)
sysView := newGRPCSystemView(brokeredClient)
events := newGRPCEventsClient(brokeredClient)
config := &logical.BackendConfig{
StorageView: storage,
Logger: b.logger,
System: sysView,
System: newGRPCSystemViewFromSetupArgs(brokeredClient, args),
Config: args.Config,
BackendUUID: args.BackendUUID,
EventsSender: events,