阶段性提交

This commit is contained in:
刘祥超
2021-06-27 21:59:37 +08:00
parent 4869c11d60
commit 5774beda6f
26 changed files with 794 additions and 14 deletions

View File

@@ -443,6 +443,16 @@ func (this *APINode) registerServices(server *grpc.Server) {
pb.RegisterHTTPAuthPolicyServiceServer(server, instance)
this.rest(instance)
}
{
instance := this.serviceInstance(&services.MetricItemService{}).(*services.MetricItemService)
pb.RegisterMetricItemServiceServer(server, instance)
this.rest(instance)
}
{
instance := this.serviceInstance(&services.NodeClusterMetricItemService{}).(*services.NodeClusterMetricItemService)
pb.RegisterNodeClusterMetricItemServiceServer(server, instance)
this.rest(instance)
}
// TODO check service names
for serviceName := range server.GetServiceInfo() {