put grpc endpoint on management and send test exposed service

This commit is contained in:
pascal
2026-01-16 14:24:39 +01:00
parent f8c3295645
commit 304321d019
10 changed files with 786 additions and 2569 deletions

View File

@@ -150,6 +150,11 @@ func (s *BaseServer) GRPCServer() *grpc.Server {
}
mgmtProto.RegisterManagementServiceServer(gRPCAPIHandler, srv)
// Register ProxyService for proxy connections
proxyService := nbgrpc.NewProxyServiceServer()
mgmtProto.RegisterProxyServiceServer(gRPCAPIHandler, proxyService)
log.Info("ProxyService registered on gRPC server")
return gRPCAPIHandler
})
}