remove schemas and props response, no client use it
@@ -209,6 +209,7 @@ func (ds *DataSource) GetService(ctx context.Context, request *pb.GetServiceRequ
}, nil
}
+// GetServiceDetail is only for govern API
func (ds *DataSource) GetServiceDetail(ctx context.Context, request *pb.GetServiceRequest) (
*pb.GetServiceDetailResponse, error) {
domainProject := util.ParseDomainProject(ctx)
@@ -261,6 +262,7 @@ func (ds *DataSource) GetServiceDetail(ctx context.Context, request *pb.GetServi
}, nil
}
+// GetServicesInfo is only for govern API
func (ds *DataSource) GetServicesInfo(ctx context.Context, request *pb.GetServicesInfoRequest) (
*pb.GetServicesInfoResponse, error) {
ctx = util.WithCacheOnly(ctx)
@@ -320,7 +322,8 @@ func (ds *DataSource) GetServicesInfo(ctx context.Context, request *pb.GetServic
continue
}
}
-
+ service.Properties = nil
+ service.Schemas = nil
serviceDetail, err := getServiceDetailUtil(ctx, ServiceDetailOpt{
domainProject: domainProject,
service: service,
