Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: remove unused DeleteCache RPC
Danny93671b00b08a
diff --git a/action/command/root_test.go b/action/command/root_test.goindex 22c1433236..9a4f7e7551 100644--- a/action/command/root_test.go+++ b/action/command/root_test.go@@ -204,7 +204,3 @@ func (s *actuatorInfoTestService) GetActuatorInfo(context.Context, *connect.Requfunc (*actuatorInfoTestService) SetupSample(context.Context, *connect.Request[v1pb.SetupSampleRequest]) (*connect.Response[emptypb.Empty], error) {return connect.NewResponse(&emptypb.Empty{}), nil}--func (*actuatorInfoTestService) DeleteCache(context.Context, *connect.Request[v1pb.DeleteCacheRequest]) (*connect.Response[emptypb.Empty], error) {- return connect.NewResponse(&emptypb.Empty{}), nil-}diff --git a/backend/api/mcp/gen/openapi.yaml b/backend/api/mcp/gen/openapi.yamlindex d6efdfe50f..8898e0a51c 100644--- a/backend/api/mcp/gen/openapi.yaml+++ b/backend/api/mcp/gen/openapi.yaml@@ -255,44 +255,6 @@ paths:application/json:schema:$ref: '#/components/schemas/bytebase.v1.SearchMyAccessGrantsResponse'- /bytebase.v1.ActuatorService/DeleteCache:- post:- tags:- - bytebase.v1.ActuatorService- summary: DeleteCache- description: |-- Clears the system cache to force data refresh.- Permissions required: None- operationId: bytebase.v1.ActuatorService.DeleteCache- parameters:- - name: Connect-Protocol-Version- in: header- required: true- schema:- $ref: '#/components/schemas/connect-protocol-version'- - name: Connect-Timeout-Ms- in: header- schema:- $ref: '#/components/schemas/connect-timeout-header'- requestBody:- content:- application/json:- schema:- $ref: '#/components/schemas/bytebase.v1.DeleteCacheRequest'- required: true- responses:- default:- description: Error- content:- application/json:- schema:- $ref: '#/components/schemas/connect.error'- "200":- description: Success- content:- application/json:- schema:- $ref: '#/components/schemas/google.protobuf.Empty'/bytebase.v1.ActuatorService/GetActuatorInfo:post:tags:@@ -11036,11 +10998,6 @@ components:title: DatabaseSchemaadditionalProperties: falsedescription: DatabaseSchema is the metadata for databases.- bytebase.v1.DeleteCacheRequest:- type: object- title: DeleteCacheRequest- additionalProperties: false- description: Request message for deleting cache.bytebase.v1.DeleteDatabaseGroupRequest:type: objectproperties:diff --git a/backend/api/v1/actuator_service.go b/backend/api/v1/actuator_service.goindex 776c5e3a65..04816f7b85 100644--- a/backend/api/v1/actuator_service.go+++ b/backend/api/v1/actuator_service.go@@ -88,15 +88,6 @@ func (s *ActuatorService) GetActuatorInfo(return connect.NewResponse(info), nil}-// DeleteCache deletes the cache.-func (s *ActuatorService) DeleteCache(- _ context.Context,- _ *connect.Request[v1pb.DeleteCacheRequest],-) (*connect.Response[emptypb.Empty], error) {- s.store.DeleteCache()- return connect.NewResponse(&emptypb.Empty{}), nil-}-// SetupSample sets up the sample project and instance.func (s *ActuatorService) SetupSample(ctx context.Context,diff --git a/backend/generated-go/v1/actuator_service.pb.go b/backend/generated-go/v1/actuator_service.pb.goindex cda4bb9fe6..428131f8c0 100644--- a/backend/generated-go/v1/actuator_service.pb.go+++ b/backend/generated-go/v1/actuator_service.pb.go@@ -110,43 +110,6 @@ func (x *GetActuatorInfoRequest) GetName() string {return ""}-// Request message for deleting cache.-type DeleteCacheRequest struct {- state protoimpl.MessageState `protogen:"open.v1"`- unknownFields protoimpl.UnknownFields- sizeCache protoimpl.SizeCache-}--func (x *DeleteCacheRequest) Reset() {- *x = DeleteCacheRequest{}- mi := &file_v1_actuator_service_proto_msgTypes[2]- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- ms.StoreMessageInfo(mi)-}--func (x *DeleteCacheRequest) String() string {- return protoimpl.X.MessageStringOf(x)-}--func (*DeleteCacheRequest) ProtoMessage() {}--func (x *DeleteCacheRequest) ProtoReflect() protoreflect.Message {- mi := &file_v1_actuator_service_proto_msgTypes[2]- if x != nil {- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- if ms.LoadMessageInfo() == nil {- ms.StoreMessageInfo(mi)- }- return ms- }- return mi.MessageOf(x)-}--// Deprecated: Use DeleteCacheRequest.ProtoReflect.Descriptor instead.-func (*DeleteCacheRequest) Descriptor() ([]byte, []int) {- return file_v1_actuator_service_proto_rawDescGZIP(), []int{2}-}-type Restriction struct {state protoimpl.MessageState `protogen:"open.v1"`// Whether self-service user signup is disabled.@@ -166,7 +129,7 @@ type Restriction struct {func (x *Restriction) Reset() {*x = Restriction{}- mi := &file_v1_actuator_service_proto_msgTypes[3]+ mi := &file_v1_actuator_service_proto_msgTypes[2]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -178,7 +141,7 @@ func (x *Restriction) String() string {func (*Restriction) ProtoMessage() {}func (x *Restriction) ProtoReflect() protoreflect.Message {- mi := &file_v1_actuator_service_proto_msgTypes[3]+ mi := &file_v1_actuator_service_proto_msgTypes[2]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -191,7 +154,7 @@ func (x *Restriction) ProtoReflect() protoreflect.Message {// Deprecated: Use Restriction.ProtoReflect.Descriptor instead.func (*Restriction) Descriptor() ([]byte, []int) {- return file_v1_actuator_service_proto_rawDescGZIP(), []int{3}+ return file_v1_actuator_service_proto_rawDescGZIP(), []int{2}}func (x *Restriction) GetDisallowSignup() bool {@@ -282,7 +245,7 @@ type ActuatorInfo struct {func (x *ActuatorInfo) Reset() {*x = ActuatorInfo{}- mi := &file_v1_actuator_service_proto_msgTypes[4]+ mi := &file_v1_actuator_service_proto_msgTypes[3]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -294,7 +257,7 @@ func (x *ActuatorInfo) String() string {func (*ActuatorInfo) ProtoMessage() {}func (x *ActuatorInfo) ProtoReflect() protoreflect.Message {- mi := &file_v1_actuator_service_proto_msgTypes[4]+ mi := &file_v1_actuator_service_proto_msgTypes[3]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -307,7 +270,7 @@ func (x *ActuatorInfo) ProtoReflect() protoreflect.Message {// Deprecated: Use ActuatorInfo.ProtoReflect.Descriptor instead.func (*ActuatorInfo) Descriptor() ([]byte, []int) {- return file_v1_actuator_service_proto_rawDescGZIP(), []int{4}+ return file_v1_actuator_service_proto_rawDescGZIP(), []int{3}}func (x *ActuatorInfo) GetVersion() string {@@ -465,8 +428,7 @@ const file_v1_actuator_service_proto_rawDesc = "" +"\x12SetupSampleRequest\"I\n" +"\x16GetActuatorInfoRequest\x12/\n" +"\x04name\x18\x01 \x01(\tB\x1b\xfaA\x18\n" +- "\x16bytebase.com/WorkspaceR\x04name\"\x14\n" +- "\x12DeleteCacheRequest\"\xe3\x02\n" ++ "\x16bytebase.com/WorkspaceR\x04name\"\xe3\x02\n" +"\vRestriction\x12,\n" +"\x0fdisallow_signup\x18\x01 \x01(\bB\x03\xe0A\x03R\x0edisallowSignup\x12=\n" +"\x18disallow_password_signin\x18\x02 \x01(\bB\x03\xe0A\x03R\x16disallowPasswordSignin\x12p\n" +@@ -497,11 +459,10 @@ const file_v1_actuator_service_proto_rawDesc = "" +"\x11user_count_in_iam\x18\x1b \x01(\x05B\x03\xe0A\x03R\x0euserCountInIam\x126\n" +"\x15active_vcs_user_count\x18\x1c \x01(\x05B\x03\xe0A\x03R\x12activeVcsUserCountJ\x04\b\x05\x10\x06J\x04\b\t\x10\n" +"J\x04\b\n" +- "\x10\vJ\x04\b\f\x10\rJ\x04\b\x10\x10\x11J\x04\b\x11\x10\x12J\x04\b\x0e\x10\x0f2\x9d\x03\n" ++ "\x10\vJ\x04\b\f\x10\rJ\x04\b\x10\x10\x11J\x04\b\x11\x10\x12J\x04\b\x0e\x10\x0f2\xb5\x02\n" +"\x0fActuatorService\x12\x9c\x01\n" +"\x0fGetActuatorInfo\x12#.bytebase.v1.GetActuatorInfoRequest\x1a\x19.bytebase.v1.ActuatorInfo\"I\xdaA\x00\x80\xea0\x01\x82\xd3\xe4\x93\x02<Z'\x12%/v1/{name=workspaces/*}/actuator/info\x12\x11/v1/actuator/info\x12\x82\x01\n" +- "\vSetupSample\x12\x1f.bytebase.v1.SetupSampleRequest\x1a\x16.google.protobuf.Empty\":\x8a\xea0\x12bb.projects.create\x90\xea0\x01\x82\xd3\xe4\x93\x02\x1a\"\x18/v1/actuator:setupSample\x12f\n" +- "\vDeleteCache\x12\x1f.bytebase.v1.DeleteCacheRequest\x1a\x16.google.protobuf.Empty\"\x1e\x80\xea0\x01\x82\xd3\xe4\x93\x02\x14*\x12/v1/actuator/cacheB\xaa\x01\n" ++ "\vSetupSample\x12\x1f.bytebase.v1.SetupSampleRequest\x1a\x16.google.protobuf.Empty\":\x8a\xea0\x12bb.projects.create\x90\xea0\x01\x82\xd3\xe4\x93\x02\x1a\"\x18/v1/actuator:setupSampleB\xaa\x01\n" +"\x0fcom.bytebase.v1B\x14ActuatorServiceProtoP\x01Z4github.com/bytebase/bytebase/backend/generated-go/v1\xa2\x02\x03BXX\xaa\x02\vBytebase.V1\xca\x02\vBytebase\\V1\xe2\x02\x17Bytebase\\V1\\GPBMetadata\xea\x02\fBytebase::V1b\x06proto3"var (@@ -516,29 +477,26 @@ func file_v1_actuator_service_proto_rawDescGZIP() []byte {return file_v1_actuator_service_proto_rawDescData}-var file_v1_actuator_service_proto_msgTypes = make([]protoimpl.MessageInfo, 5)+var file_v1_actuator_service_proto_msgTypes = make([]protoimpl.MessageInfo, 4)var file_v1_actuator_service_proto_goTypes = []any{(*SetupSampleRequest)(nil), // 0: bytebase.v1.SetupSampleRequest(*GetActuatorInfoRequest)(nil), // 1: bytebase.v1.GetActuatorInfoRequest- (*DeleteCacheRequest)(nil), // 2: bytebase.v1.DeleteCacheRequest- (*Restriction)(nil), // 3: bytebase.v1.Restriction- (*ActuatorInfo)(nil), // 4: bytebase.v1.ActuatorInfo- (*WorkspaceProfileSetting_PasswordRestriction)(nil), // 5: bytebase.v1.WorkspaceProfileSetting.PasswordRestriction- (*timestamppb.Timestamp)(nil), // 6: google.protobuf.Timestamp- (*emptypb.Empty)(nil), // 7: google.protobuf.Empty+ (*Restriction)(nil), // 2: bytebase.v1.Restriction+ (*ActuatorInfo)(nil), // 3: bytebase.v1.ActuatorInfo+ (*WorkspaceProfileSetting_PasswordRestriction)(nil), // 4: bytebase.v1.WorkspaceProfileSetting.PasswordRestriction+ (*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp+ (*emptypb.Empty)(nil), // 6: google.protobuf.Empty}var file_v1_actuator_service_proto_depIdxs = []int32{- 5, // 0: bytebase.v1.Restriction.password_restriction:type_name -> bytebase.v1.WorkspaceProfileSetting.PasswordRestriction- 6, // 1: bytebase.v1.ActuatorInfo.last_active_time:type_name -> google.protobuf.Timestamp- 3, // 2: bytebase.v1.ActuatorInfo.restriction:type_name -> bytebase.v1.Restriction+ 4, // 0: bytebase.v1.Restriction.password_restriction:type_name -> bytebase.v1.WorkspaceProfileSetting.PasswordRestriction+ 5, // 1: bytebase.v1.ActuatorInfo.last_active_time:type_name -> google.protobuf.Timestamp+ 2, // 2: bytebase.v1.ActuatorInfo.restriction:type_name -> bytebase.v1.Restriction1, // 3: bytebase.v1.ActuatorService.GetActuatorInfo:input_type -> bytebase.v1.GetActuatorInfoRequest0, // 4: bytebase.v1.ActuatorService.SetupSample:input_type -> bytebase.v1.SetupSampleRequest- 2, // 5: bytebase.v1.ActuatorService.DeleteCache:input_type -> bytebase.v1.DeleteCacheRequest- 4, // 6: bytebase.v1.ActuatorService.GetActuatorInfo:output_type -> bytebase.v1.ActuatorInfo- 7, // 7: bytebase.v1.ActuatorService.SetupSample:output_type -> google.protobuf.Empty- 7, // 8: bytebase.v1.ActuatorService.DeleteCache:output_type -> google.protobuf.Empty- 6, // [6:9] is the sub-list for method output_type- 3, // [3:6] is the sub-list for method input_type+ 3, // 5: bytebase.v1.ActuatorService.GetActuatorInfo:output_type -> bytebase.v1.ActuatorInfo+ 6, // 6: bytebase.v1.ActuatorService.SetupSample:output_type -> google.protobuf.Empty+ 5, // [5:7] is the sub-list for method output_type+ 3, // [3:5] is the sub-list for method input_type3, // [3:3] is the sub-list for extension type_name3, // [3:3] is the sub-list for extension extendee0, // [0:3] is the sub-list for field type_name@@ -557,7 +515,7 @@ func file_v1_actuator_service_proto_init() {GoPackagePath: reflect.TypeOf(x{}).PkgPath(),RawDescriptor: unsafe.Slice(unsafe.StringData(file_v1_actuator_service_proto_rawDesc), len(file_v1_actuator_service_proto_rawDesc)),NumEnums: 0,- NumMessages: 5,+ NumMessages: 4,NumExtensions: 0,NumServices: 1,},diff --git a/backend/generated-go/v1/actuator_service.pb.gw.go b/backend/generated-go/v1/actuator_service.pb.gw.goindex 8da4a47f7a..f851a26de1 100644--- a/backend/generated-go/v1/actuator_service.pb.gw.go+++ b/backend/generated-go/v1/actuator_service.pb.gw.go@@ -130,27 +130,6 @@ func local_request_ActuatorService_SetupSample_0(ctx context.Context, marshalerreturn msg, metadata, err}-func request_ActuatorService_DeleteCache_0(ctx context.Context, marshaler runtime.Marshaler, client ActuatorServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {- var (- protoReq DeleteCacheRequest- metadata runtime.ServerMetadata- )- if req.Body != nil {- _, _ = io.Copy(io.Discard, req.Body)- }- msg, err := client.DeleteCache(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))- return msg, metadata, err-}--func local_request_ActuatorService_DeleteCache_0(ctx context.Context, marshaler runtime.Marshaler, server ActuatorServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {- var (- protoReq DeleteCacheRequest- metadata runtime.ServerMetadata- )- msg, err := server.DeleteCache(ctx, &protoReq)- return msg, metadata, err-}-// RegisterActuatorServiceHandlerServer registers the http handlers for service ActuatorService to "mux".// UnaryRPC :call ActuatorServiceServer directly.// StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.@@ -217,26 +196,6 @@ func RegisterActuatorServiceHandlerServer(ctx context.Context, mux *runtime.Serv}forward_ActuatorService_SetupSample_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)})- mux.Handle(http.MethodDelete, pattern_ActuatorService_DeleteCache_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {- ctx, cancel := context.WithCancel(req.Context())- defer cancel()- var stream runtime.ServerTransportStream- ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)- inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)- annotatedContext, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/bytebase.v1.ActuatorService/DeleteCache", runtime.WithHTTPPathPattern("/v1/actuator/cache"))- if err != nil {- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)- return- }- resp, md, err := local_request_ActuatorService_DeleteCache_0(annotatedContext, inboundMarshaler, server, req, pathParams)- md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())- annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)- if err != nil {- runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)- return- }- forward_ActuatorService_DeleteCache_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)- })return nil}@@ -328,23 +287,6 @@ func RegisterActuatorServiceHandlerClient(ctx context.Context, mux *runtime.Serv}forward_ActuatorService_SetupSample_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)})- mux.Handle(http.MethodDelete, pattern_ActuatorService_DeleteCache_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {- ctx, cancel := context.WithCancel(req.Context())- defer cancel()- inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)- annotatedContext, err := runtime.AnnotateContext(ctx, mux, req, "/bytebase.v1.ActuatorService/DeleteCache", runtime.WithHTTPPathPattern("/v1/actuator/cache"))- if err != nil {- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)- return- }- resp, md, err := request_ActuatorService_DeleteCache_0(annotatedContext, inboundMarshaler, client, req, pathParams)- annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)- if err != nil {- runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)- return- }- forward_ActuatorService_DeleteCache_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)- })return nil}@@ -352,12 +294,10 @@ var (pattern_ActuatorService_GetActuatorInfo_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"v1", "actuator", "info"}, ""))pattern_ActuatorService_GetActuatorInfo_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 2, 5, 2, 2, 3, 2, 4}, []string{"v1", "workspaces", "name", "actuator", "info"}, ""))pattern_ActuatorService_SetupSample_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"v1", "actuator"}, "setupSample"))- pattern_ActuatorService_DeleteCache_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"v1", "actuator", "cache"}, "")))var (forward_ActuatorService_GetActuatorInfo_0 = runtime.ForwardResponseMessageforward_ActuatorService_GetActuatorInfo_1 = runtime.ForwardResponseMessageforward_ActuatorService_SetupSample_0 = runtime.ForwardResponseMessage- forward_ActuatorService_DeleteCache_0 = runtime.ForwardResponseMessage)diff --git a/backend/generated-go/v1/actuator_service_equal.pb.go b/backend/generated-go/v1/actuator_service_equal.pb.goindex 72bce80234..085035cfa0 100644--- a/backend/generated-go/v1/actuator_service_equal.pb.go+++ b/backend/generated-go/v1/actuator_service_equal.pb.go@@ -26,16 +26,6 @@ func (x *GetActuatorInfoRequest) Equal(y *GetActuatorInfoRequest) bool {return true}-func (x *DeleteCacheRequest) Equal(y *DeleteCacheRequest) bool {- if x == y {- return true- }- if x == nil || y == nil {- return x == nil && y == nil- }- return true-}-func (x *Restriction) Equal(y *Restriction) bool {if x == y {return truediff --git a/backend/generated-go/v1/actuator_service_grpc.pb.go b/backend/generated-go/v1/actuator_service_grpc.pb.goindex b99a5fc966..1cf9b7e638 100644--- a/backend/generated-go/v1/actuator_service_grpc.pb.go+++ b/backend/generated-go/v1/actuator_service_grpc.pb.go@@ -22,7 +22,6 @@ const _ = grpc.SupportPackageIsVersion9const (ActuatorService_GetActuatorInfo_FullMethodName = "/bytebase.v1.ActuatorService/GetActuatorInfo"ActuatorService_SetupSample_FullMethodName = "/bytebase.v1.ActuatorService/SetupSample"- ActuatorService_DeleteCache_FullMethodName = "/bytebase.v1.ActuatorService/DeleteCache")// ActuatorServiceClient is the client API for ActuatorService service.@@ -39,9 +38,6 @@ type ActuatorServiceClient interface {// Sets up sample data for demonstration and testing purposes.// Permissions required: bb.projects.createSetupSample(ctx context.Context, in *SetupSampleRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)- // Clears the system cache to force data refresh.- // Permissions required: None- DeleteCache(ctx context.Context, in *DeleteCacheRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)}type actuatorServiceClient struct {@@ -72,16 +68,6 @@ func (c *actuatorServiceClient) SetupSample(ctx context.Context, in *SetupSamplereturn out, nil}-func (c *actuatorServiceClient) DeleteCache(ctx context.Context, in *DeleteCacheRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)- out := new(emptypb.Empty)- err := c.cc.Invoke(ctx, ActuatorService_DeleteCache_FullMethodName, in, out, cOpts...)- if err != nil {- return nil, err- }- return out, nil-}-// ActuatorServiceServer is the server API for ActuatorService service.// All implementations must embed UnimplementedActuatorServiceServer// for forward compatibility.@@ -96,9 +82,6 @@ type ActuatorServiceServer interface {// Sets up sample data for demonstration and testing purposes.// Permissions required: bb.projects.createSetupSample(context.Context, *SetupSampleRequest) (*emptypb.Empty, error)- // Clears the system cache to force data refresh.- // Permissions required: None- DeleteCache(context.Context, *DeleteCacheRequest) (*emptypb.Empty, error)mustEmbedUnimplementedActuatorServiceServer()}@@ -115,9 +98,6 @@ func (UnimplementedActuatorServiceServer) GetActuatorInfo(context.Context, *GetAfunc (UnimplementedActuatorServiceServer) SetupSample(context.Context, *SetupSampleRequest) (*emptypb.Empty, error) {return nil, status.Error(codes.Unimplemented, "method SetupSample not implemented")}-func (UnimplementedActuatorServiceServer) DeleteCache(context.Context, *DeleteCacheRequest) (*emptypb.Empty, error) {- return nil, status.Error(codes.Unimplemented, "method DeleteCache not implemented")-}func (UnimplementedActuatorServiceServer) mustEmbedUnimplementedActuatorServiceServer() {}func (UnimplementedActuatorServiceServer) testEmbeddedByValue() {}@@ -175,24 +155,6 @@ func _ActuatorService_SetupSample_Handler(srv interface{}, ctx context.Context,return interceptor(ctx, in, info, handler)}-func _ActuatorService_DeleteCache_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {- in := new(DeleteCacheRequest)- if err := dec(in); err != nil {- return nil, err- }- if interceptor == nil {- return srv.(ActuatorServiceServer).DeleteCache(ctx, in)- }- info := &grpc.UnaryServerInfo{- Server: srv,- FullMethod: ActuatorService_DeleteCache_FullMethodName,- }- handler := func(ctx context.Context, req interface{}) (interface{}, error) {- return srv.(ActuatorServiceServer).DeleteCache(ctx, req.(*DeleteCacheRequest))- }- return interceptor(ctx, in, info, handler)-}-// ActuatorService_ServiceDesc is the grpc.ServiceDesc for ActuatorService service.// It's only intended for direct use with grpc.RegisterService,// and not to be introspected or modified (even as a copy)@@ -208,10 +170,6 @@ var ActuatorService_ServiceDesc = grpc.ServiceDesc{MethodName: "SetupSample",Handler: _ActuatorService_SetupSample_Handler,},- {- MethodName: "DeleteCache",- Handler: _ActuatorService_DeleteCache_Handler,- },},Streams: []grpc.StreamDesc{},Metadata: "v1/actuator_service.proto",diff --git a/backend/generated-go/v1/v1connect/actuator_service.connect.go b/backend/generated-go/v1/v1connect/actuator_service.connect.goindex 45e0051bb5..6701061320 100644--- a/backend/generated-go/v1/v1connect/actuator_service.connect.go+++ b/backend/generated-go/v1/v1connect/actuator_service.connect.go@@ -40,9 +40,6 @@ const (// ActuatorServiceSetupSampleProcedure is the fully-qualified name of the ActuatorService's// SetupSample RPC.ActuatorServiceSetupSampleProcedure = "/bytebase.v1.ActuatorService/SetupSample"- // ActuatorServiceDeleteCacheProcedure is the fully-qualified name of the ActuatorService's- // DeleteCache RPC.- ActuatorServiceDeleteCacheProcedure = "/bytebase.v1.ActuatorService/DeleteCache")// ActuatorServiceClient is a client for the bytebase.v1.ActuatorService service.@@ -55,9 +52,6 @@ type ActuatorServiceClient interface {// Sets up sample data for demonstration and testing purposes.// Permissions required: bb.projects.createSetupSample(context.Context, *connect.Request[v1.SetupSampleRequest]) (*connect.Response[emptypb.Empty], error)- // Clears the system cache to force data refresh.- // Permissions required: None- DeleteCache(context.Context, *connect.Request[v1.DeleteCacheRequest]) (*connect.Response[emptypb.Empty], error)}// NewActuatorServiceClient constructs a client for the bytebase.v1.ActuatorService service. By@@ -83,12 +77,6 @@ func NewActuatorServiceClient(httpClient connect.HTTPClient, baseURL string, optconnect.WithSchema(actuatorServiceMethods.ByName("SetupSample")),connect.WithClientOptions(opts...),),- deleteCache: connect.NewClient[v1.DeleteCacheRequest, emptypb.Empty](- httpClient,- baseURL+ActuatorServiceDeleteCacheProcedure,- connect.WithSchema(actuatorServiceMethods.ByName("DeleteCache")),- connect.WithClientOptions(opts...),- ),}}@@ -96,7 +84,6 @@ func NewActuatorServiceClient(httpClient connect.HTTPClient, baseURL string, opttype actuatorServiceClient struct {getActuatorInfo *connect.Client[v1.GetActuatorInfoRequest, v1.ActuatorInfo]setupSample *connect.Client[v1.SetupSampleRequest, emptypb.Empty]- deleteCache *connect.Client[v1.DeleteCacheRequest, emptypb.Empty]}// GetActuatorInfo calls bytebase.v1.ActuatorService.GetActuatorInfo.@@ -109,11 +96,6 @@ func (c *actuatorServiceClient) SetupSample(ctx context.Context, req *connect.Rereturn c.setupSample.CallUnary(ctx, req)}-// DeleteCache calls bytebase.v1.ActuatorService.DeleteCache.-func (c *actuatorServiceClient) DeleteCache(ctx context.Context, req *connect.Request[v1.DeleteCacheRequest]) (*connect.Response[emptypb.Empty], error) {- return c.deleteCache.CallUnary(ctx, req)-}-// ActuatorServiceHandler is an implementation of the bytebase.v1.ActuatorService service.type ActuatorServiceHandler interface {// Gets system information and health status of the Bytebase instance.@@ -124,9 +106,6 @@ type ActuatorServiceHandler interface {// Sets up sample data for demonstration and testing purposes.// Permissions required: bb.projects.createSetupSample(context.Context, *connect.Request[v1.SetupSampleRequest]) (*connect.Response[emptypb.Empty], error)- // Clears the system cache to force data refresh.- // Permissions required: None- DeleteCache(context.Context, *connect.Request[v1.DeleteCacheRequest]) (*connect.Response[emptypb.Empty], error)}// NewActuatorServiceHandler builds an HTTP handler from the service implementation. It returns the@@ -148,20 +127,12 @@ func NewActuatorServiceHandler(svc ActuatorServiceHandler, opts ...connect.Handlconnect.WithSchema(actuatorServiceMethods.ByName("SetupSample")),connect.WithHandlerOptions(opts...),)- actuatorServiceDeleteCacheHandler := connect.NewUnaryHandler(- ActuatorServiceDeleteCacheProcedure,- svc.DeleteCache,- connect.WithSchema(actuatorServiceMethods.ByName("DeleteCache")),- connect.WithHandlerOptions(opts...),- )return "/bytebase.v1.ActuatorService/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {switch r.URL.Path {case ActuatorServiceGetActuatorInfoProcedure:actuatorServiceGetActuatorInfoHandler.ServeHTTP(w, r)case ActuatorServiceSetupSampleProcedure:actuatorServiceSetupSampleHandler.ServeHTTP(w, r)- case ActuatorServiceDeleteCacheProcedure:- actuatorServiceDeleteCacheHandler.ServeHTTP(w, r)default:http.NotFound(w, r)}@@ -178,7 +149,3 @@ func (UnimplementedActuatorServiceHandler) GetActuatorInfo(context.Context, *confunc (UnimplementedActuatorServiceHandler) SetupSample(context.Context, *connect.Request[v1.SetupSampleRequest]) (*connect.Response[emptypb.Empty], error) {return nil, connect.NewError(connect.CodeUnimplemented, errors.New("bytebase.v1.ActuatorService.SetupSample is not implemented"))}--func (UnimplementedActuatorServiceHandler) DeleteCache(context.Context, *connect.Request[v1.DeleteCacheRequest]) (*connect.Response[emptypb.Empty], error) {- return nil, connect.NewError(connect.CodeUnimplemented, errors.New("bytebase.v1.ActuatorService.DeleteCache is not implemented"))-}diff --git a/frontend/src/types/proto-es/v1/actuator_service_pb.d.ts b/frontend/src/types/proto-es/v1/actuator_service_pb.d.tsindex addb22f014..a0c94c1477 100644--- a/frontend/src/types/proto-es/v1/actuator_service_pb.d.ts+++ b/frontend/src/types/proto-es/v1/actuator_service_pb.d.ts@@ -49,20 +49,6 @@ export declare type GetActuatorInfoRequest = Message<"bytebase.v1.GetActuatorInf*/export declare const GetActuatorInfoRequestSchema: GenMessage<GetActuatorInfoRequest>;-/**- * Request message for deleting cache.- *- * @generated from message bytebase.v1.DeleteCacheRequest- */-export declare type DeleteCacheRequest = Message<"bytebase.v1.DeleteCacheRequest"> & {-};--/**- * Describes the message bytebase.v1.DeleteCacheRequest.- * Use `create(DeleteCacheRequestSchema)` to create a new message.- */-export declare const DeleteCacheRequestSchema: GenMessage<DeleteCacheRequest>;-/*** @generated from message bytebase.v1.Restriction*/@@ -301,16 +287,5 @@ export declare const ActuatorService: GenService<{input: typeof SetupSampleRequestSchema;output: typeof EmptySchema;},- /**- * Clears the system cache to force data refresh.- * Permissions required: None- *- * @generated from rpc bytebase.v1.ActuatorService.DeleteCache- */- deleteCache: {- methodKind: "unary";- input: typeof DeleteCacheRequestSchema;- output: typeof EmptySchema;- },}>;diff --git a/frontend/src/types/proto-es/v1/actuator_service_pb.js b/frontend/src/types/proto-es/v1/actuator_service_pb.jsindex 7f4996e983..4aca4197e0 100644--- a/frontend/src/types/proto-es/v1/actuator_service_pb.js+++ b/frontend/src/types/proto-es/v1/actuator_service_pb.js@@ -15,7 +15,7 @@ import { file_v1_setting_service } from "./setting_service_pb";* Describes the file v1/actuator_service.proto.*/export const file_v1_actuator_service = /*@__PURE__*/- fileDesc("Chl2MS9hY3R1YXRvcl9zZXJ2aWNlLnByb3RvEgtieXRlYmFzZS52MSIUChJTZXR1cFNhbXBsZVJlcXVlc3QiQwoWR2V0QWN0dWF0b3JJbmZvUmVxdWVzdBIpCgRuYW1lGAEgASgJQhv6QRgKFmJ5dGViYXNlLmNvbS9Xb3Jrc3BhY2UiFAoSRGVsZXRlQ2FjaGVSZXF1ZXN0IvoBCgtSZXN0cmljdGlvbhIcCg9kaXNhbGxvd19zaWdudXAYASABKAhCA+BBAxIlChhkaXNhbGxvd19wYXNzd29yZF9zaWduaW4YAiABKAhCA+BBAxJbChRwYXNzd29yZF9yZXN0cmljdGlvbhgDIAEoCzI4LmJ5dGViYXNlLnYxLldvcmtzcGFjZVByb2ZpbGVTZXR0aW5nLlBhc3N3b3JkUmVzdHJpY3Rpb25CA+BBAxIkChdhbGxvd19lbWFpbF9jb2RlX3NpZ25pbhgEIAEoCEID4EEDEiMKFnBhc3N3b3JkX3Jlc2V0X2VuYWJsZWQYBSABKAhCA+BBAyK8BQoMQWN0dWF0b3JJbmZvEhQKB3ZlcnNpb24YASABKAlCA+BBAxIXCgpnaXRfY29tbWl0GAIgASgJQgPgQQMSFQoIcmVhZG9ubHkYAyABKAhCA+BBAxIRCgRzYWFzGAQgASgIQgPgQQMSEQoEaG9zdBgGIAEoCUID4EEDEhEKBHBvcnQYByABKAlCA+BBAxIZCgxleHRlcm5hbF91cmwYCCABKAlCA+BBAxI5ChBsYXN0X2FjdGl2ZV90aW1lGAsgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEID4EEDEhYKCXdvcmtzcGFjZRgNIAEoCUID4EEDEiAKE3VubGljZW5zZWRfZmVhdHVyZXMYDyADKAlCA+BBAxITCgZkb2NrZXIYEiABKAhCA+BBAxIhChRhY3RpdmF0ZWRfdXNlcl9jb3VudBgTIAEoBUID4EEDEiUKGGFjdGl2YXRlZF9pbnN0YW5jZV9jb3VudBgUIAEoBUID4EEDEiEKFHRvdGFsX2luc3RhbmNlX2NvdW50GBUgASgFQgPgQQMSGgoNZW5hYmxlX3NhbXBsZRgWIAEoCEID4EEDEiMKFmV4dGVybmFsX3VybF9mcm9tX2ZsYWcYFyABKAhCA+BBAxIaCg1yZXBsaWNhX2NvdW50GBggASgFQgPgQQMSMgoLcmVzdHJpY3Rpb24YGSABKAsyGC5ieXRlYmFzZS52MS5SZXN0cmljdGlvbkID4EEDEhwKD2RlZmF1bHRfcHJvamVjdBgaIAEoCUID4EEDEh4KEXVzZXJfY291bnRfaW5faWFtGBsgASgFQgPgQQMSIgoVYWN0aXZlX3Zjc191c2VyX2NvdW50GBwgASgFQgPgQQNKBAgFEAZKBAgJEApKBAgKEAtKBAgMEA1KBAgQEBFKBAgREBJKBAgOEA8ynQMKD0FjdHVhdG9yU2VydmljZRKcAQoPR2V0QWN0dWF0b3JJbmZvEiMuYnl0ZWJhc2UudjEuR2V0QWN0dWF0b3JJbmZvUmVxdWVzdBoZLmJ5dGViYXNlLnYxLkFjdHVhdG9ySW5mbyJJ2kEAgOowAYLT5JMCPFonEiUvdjEve25hbWU9d29ya3NwYWNlcy8qfS9hY3R1YXRvci9pbmZvEhEvdjEvYWN0dWF0b3IvaW5mbxKCAQoLU2V0dXBTYW1wbGUSHy5ieXRlYmFzZS52MS5TZXR1cFNhbXBsZVJlcXVlc3QaFi5nb29nbGUucHJvdG9idWYuRW1wdHkiOorqMBJiYi5wcm9qZWN0cy5jcmVhdGWQ6jABgtPkkwIaIhgvdjEvYWN0dWF0b3I6c2V0dXBTYW1wbGUSZgoLRGVsZXRlQ2FjaGUSHy5ieXRlYmFzZS52MS5EZWxldGVDYWNoZVJlcXVlc3QaFi5nb29nbGUucHJvdG9idWYuRW1wdHkiHoDqMAGC0+STAhQqEi92MS9hY3R1YXRvci9jYWNoZUKqAQoPY29tLmJ5dGViYXNlLnYxQhRBY3R1YXRvclNlcnZpY2VQcm90b1ABWjRnaXRodWIuY29tL2J5dGViYXNlL2J5dGViYXNlL2JhY2tlbmQvZ2VuZXJhdGVkLWdvL3YxogIDQlhYqgILQnl0ZWJhc2UuVjHKAgtCeXRlYmFzZVxWMeICF0J5dGViYXNlXFYxXEdQQk1ldGFkYXRh6gIMQnl0ZWJhc2U6OlYxYgZwcm90bzM", [file_google_api_annotations, file_google_api_client, file_google_api_field_behavior, file_google_api_resource, file_google_protobuf_empty, file_google_protobuf_timestamp, file_v1_annotation, file_v1_setting_service]);+ fileDesc("Chl2MS9hY3R1YXRvcl9zZXJ2aWNlLnByb3RvEgtieXRlYmFzZS52MSIUChJTZXR1cFNhbXBsZVJlcXVlc3QiQwoWR2V0QWN0dWF0b3JJbmZvUmVxdWVzdBIpCgRuYW1lGAEgASgJQhv6QRgKFmJ5dGViYXNlLmNvbS9Xb3Jrc3BhY2Ui+gEKC1Jlc3RyaWN0aW9uEhwKD2Rpc2FsbG93X3NpZ251cBgBIAEoCEID4EEDEiUKGGRpc2FsbG93X3Bhc3N3b3JkX3NpZ25pbhgCIAEoCEID4EEDElsKFHBhc3N3b3JkX3Jlc3RyaWN0aW9uGAMgASgLMjguYnl0ZWJhc2UudjEuV29ya3NwYWNlUHJvZmlsZVNldHRpbmcuUGFzc3dvcmRSZXN0cmljdGlvbkID4EEDEiQKF2FsbG93X2VtYWlsX2NvZGVfc2lnbmluGAQgASgIQgPgQQMSIwoWcGFzc3dvcmRfcmVzZXRfZW5hYmxlZBgFIAEoCEID4EEDIrwFCgxBY3R1YXRvckluZm8SFAoHdmVyc2lvbhgBIAEoCUID4EEDEhcKCmdpdF9jb21taXQYAiABKAlCA+BBAxIVCghyZWFkb25seRgDIAEoCEID4EEDEhEKBHNhYXMYBCABKAhCA+BBAxIRCgRob3N0GAYgASgJQgPgQQMSEQoEcG9ydBgHIAEoCUID4EEDEhkKDGV4dGVybmFsX3VybBgIIAEoCUID4EEDEjkKEGxhc3RfYWN0aXZlX3RpbWUYCyABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wQgPgQQMSFgoJd29ya3NwYWNlGA0gASgJQgPgQQMSIAoTdW5saWNlbnNlZF9mZWF0dXJlcxgPIAMoCUID4EEDEhMKBmRvY2tlchgSIAEoCEID4EEDEiEKFGFjdGl2YXRlZF91c2VyX2NvdW50GBMgASgFQgPgQQMSJQoYYWN0aXZhdGVkX2luc3RhbmNlX2NvdW50GBQgASgFQgPgQQMSIQoUdG90YWxfaW5zdGFuY2VfY291bnQYFSABKAVCA+BBAxIaCg1lbmFibGVfc2FtcGxlGBYgASgIQgPgQQMSIwoWZXh0ZXJuYWxfdXJsX2Zyb21fZmxhZxgXIAEoCEID4EEDEhoKDXJlcGxpY2FfY291bnQYGCABKAVCA+BBAxIyCgtyZXN0cmljdGlvbhgZIAEoCzIYLmJ5dGViYXNlLnYxLlJlc3RyaWN0aW9uQgPgQQMSHAoPZGVmYXVsdF9wcm9qZWN0GBogASgJQgPgQQMSHgoRdXNlcl9jb3VudF9pbl9pYW0YGyABKAVCA+BBAxIiChVhY3RpdmVfdmNzX3VzZXJfY291bnQYHCABKAVCA+BBA0oECAUQBkoECAkQCkoECAoQC0oECAwQDUoECBAQEUoECBEQEkoECA4QDzK1AgoPQWN0dWF0b3JTZXJ2aWNlEpwBCg9HZXRBY3R1YXRvckluZm8SIy5ieXRlYmFzZS52MS5HZXRBY3R1YXRvckluZm9SZXF1ZXN0GhkuYnl0ZWJhc2UudjEuQWN0dWF0b3JJbmZvIknaQQCA6jABgtPkkwI8WicSJS92MS97bmFtZT13b3Jrc3BhY2VzLyp9L2FjdHVhdG9yL2luZm8SES92MS9hY3R1YXRvci9pbmZvEoIBCgtTZXR1cFNhbXBsZRIfLmJ5dGViYXNlLnYxLlNldHVwU2FtcGxlUmVxdWVzdBoWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eSI6iuowEmJiLnByb2plY3RzLmNyZWF0ZZDqMAGC0+STAhoiGC92MS9hY3R1YXRvcjpzZXR1cFNhbXBsZUKqAQoPY29tLmJ5dGViYXNlLnYxQhRBY3R1YXRvclNlcnZpY2VQcm90b1ABWjRnaXRodWIuY29tL2J5dGViYXNlL2J5dGViYXNlL2JhY2tlbmQvZ2VuZXJhdGVkLWdvL3YxogIDQlhYqgILQnl0ZWJhc2UuVjHKAgtCeXRlYmFzZVxWMeICF0J5dGViYXNlXFYxXEdQQk1ldGFkYXRh6gIMQnl0ZWJhc2U6OlYxYgZwcm90bzM", [file_google_api_annotations, file_google_api_client, file_google_api_field_behavior, file_google_api_resource, file_google_protobuf_empty, file_google_protobuf_timestamp, file_v1_annotation, file_v1_setting_service]);/*** Describes the message bytebase.v1.SetupSampleRequest.@@ -31,26 +31,19 @@ export const SetupSampleRequestSchema = /*@__PURE__*/export const GetActuatorInfoRequestSchema = /*@__PURE__*/messageDesc(file_v1_actuator_service, 1);-/**- * Describes the message bytebase.v1.DeleteCacheRequest.- * Use `create(DeleteCacheRequestSchema)` to create a new message.- */-export const DeleteCacheRequestSchema = /*@__PURE__*/- messageDesc(file_v1_actuator_service, 2);-/*** Describes the message bytebase.v1.Restriction.* Use `create(RestrictionSchema)` to create a new message.*/export const RestrictionSchema = /*@__PURE__*/- messageDesc(file_v1_actuator_service, 3);+ messageDesc(file_v1_actuator_service, 2);/*** Describes the message bytebase.v1.ActuatorInfo.* Use `create(ActuatorInfoSchema)` to create a new message.*/export const ActuatorInfoSchema = /*@__PURE__*/- messageDesc(file_v1_actuator_service, 4);+ messageDesc(file_v1_actuator_service, 3);/*** ActuatorService manages system health and operational information.diff --git a/proto/gen/grpc-doc/openapi.yaml b/proto/gen/grpc-doc/openapi.yamlindex f20aa7c25b..3a2646344c 100644--- a/proto/gen/grpc-doc/openapi.yaml+++ b/proto/gen/grpc-doc/openapi.yaml@@ -124,22 +124,6 @@ paths:schema:$ref: '#/components/schemas/bytebase.v1.SearchQueryHistoriesResponse'deprecated: true- /v1/actuator/cache:- delete:- tags:- - ActuatorService- summary: DeleteCache- description: |-- Clears the system cache to force data refresh.- Permissions required: None- operationId: ActuatorService_DeleteCache- responses:- "200":- description: Success- content:- application/json:- schema:- $ref: '#/components/schemas/google.protobuf.Empty'/v1/actuator/info:get:tags:@@ -22094,11 +22078,6 @@ components:title: DatabaseSchemaadditionalProperties: falsedescription: DatabaseSchema is the metadata for databases.- bytebase.v1.DeleteCacheRequest:- type: object- title: DeleteCacheRequest- additionalProperties: false- description: Request message for deleting cache.bytebase.v1.DeleteDatabaseGroupRequest:type: objectproperties:diff --git a/proto/gen/grpc-doc/v1/README.md b/proto/gen/grpc-doc/v1/README.mdindex e0f93f33d1..0c3c11df5e 100644--- a/proto/gen/grpc-doc/v1/README.md+++ b/proto/gen/grpc-doc/v1/README.md@@ -258,7 +258,6 @@- [v1/actuator_service.proto](#v1_actuator_service-proto)- [ActuatorInfo](#bytebase-v1-ActuatorInfo)- - [DeleteCacheRequest](#bytebase-v1-DeleteCacheRequest)- [GetActuatorInfoRequest](#bytebase-v1-GetActuatorInfoRequest)- [Restriction](#bytebase-v1-Restriction)- [SetupSampleRequest](#bytebase-v1-SetupSampleRequest)@@ -4718,16 +4717,6 @@ Actuator concept is similar to the Spring Boot Actuator.-<a name="bytebase-v1-DeleteCacheRequest"></a>--### DeleteCacheRequest-Request message for deleting cache.------<a name="bytebase-v1-GetActuatorInfoRequest"></a>### GetActuatorInfoRequest@@ -4787,7 +4776,6 @@ ActuatorService manages system health and operational information.| ----------- | ------------ | ------------- | ------------|| GetActuatorInfo | [GetActuatorInfoRequest](#bytebase-v1-GetActuatorInfoRequest) | [ActuatorInfo](#bytebase-v1-ActuatorInfo) | Gets system information and health status of the Bytebase instance. When `name` is provided (or the workspace-scoped binding is used), the response includes workspace-scoped fields for that workspace. Permissions required: None || SetupSample | [SetupSampleRequest](#bytebase-v1-SetupSampleRequest) | [.google.protobuf.Empty](#google-protobuf-Empty) | Sets up sample data for demonstration and testing purposes. Permissions required: bb.projects.create |-| DeleteCache | [DeleteCacheRequest](#bytebase-v1-DeleteCacheRequest) | [.google.protobuf.Empty](#google-protobuf-Empty) | Clears the system cache to force data refresh. Permissions required: None |diff --git a/proto/gen/grpc-doc/v1/index.html b/proto/gen/grpc-doc/v1/index.htmlindex 16e27df67a..f47d977f08 100644--- a/proto/gen/grpc-doc/v1/index.html+++ b/proto/gen/grpc-doc/v1/index.html@@ -1157,10 +1157,6 @@<a href="#bytebase.v1.ActuatorInfo"><span class="badge">M</span>ActuatorInfo</a></li>- <li>- <a href="#bytebase.v1.DeleteCacheRequest"><span class="badge">M</span>DeleteCacheRequest</a>- </li>-<li><a href="#bytebase.v1.GetActuatorInfoRequest"><span class="badge">M</span>GetActuatorInfoRequest</a></li>@@ -13761,13 +13757,6 @@ Format: projects/{id} </p></td>- <h3 id="bytebase.v1.DeleteCacheRequest">DeleteCacheRequest</h3>- <p>Request message for deleting cache.</p>-----<h3 id="bytebase.v1.GetActuatorInfoRequest">GetActuatorInfoRequest</h3><p>Request message for getting actuator information.</p>@@ -13887,14 +13876,6 @@ Permissions required: None</p></td>Permissions required: bb.projects.create</p></td></tr>- <tr>- <td>DeleteCache</td>- <td><a href="#bytebase.v1.DeleteCacheRequest">DeleteCacheRequest</a></td>- <td><a href="#google.protobuf.Empty">.google.protobuf.Empty</a></td>- <td><p>Clears the system cache to force data refresh.-Permissions required: None</p></td>- </tr>-</tbody></table>@@ -13940,16 +13921,6 @@ Permissions required: None</p></td></tr>--- <tr>- <td>DeleteCache</td>- <td>DELETE</td>- <td>/v1/actuator/cache</td>- <td></td>- </tr>--</tbody></table>diff --git a/proto/v1/v1/actuator_service.proto b/proto/v1/v1/actuator_service.protoindex 7070dcf624..7acd6d3162 100644--- a/proto/v1/v1/actuator_service.proto+++ b/proto/v1/v1/actuator_service.proto@@ -38,13 +38,6 @@ service ActuatorService {option (bytebase.v1.permission) = "bb.projects.create";option (bytebase.v1.auth_method) = IAM;}-- // Clears the system cache to force data refresh.- // Permissions required: None- rpc DeleteCache(DeleteCacheRequest) returns (google.protobuf.Empty) {- option (google.api.http) = {delete: "/v1/actuator/cache"};- option (bytebase.v1.allow_without_credential) = true;- }}// Request message for setting up sample data.@@ -59,9 +52,6 @@ message GetActuatorInfoRequest {string name = 1 [(google.api.resource_reference) = {type: "bytebase.com/Workspace"}];}-// Request message for deleting cache.-message DeleteCacheRequest {}-message Restriction {// Whether self-service user signup is disabled.bool disallow_signup = 1 [(google.api.field_behavior) = OUTPUT_ONLY];