Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: no debug log (#13046)

Danny Xua5085526b4d3
diff --git a/backend/api/v1/actuator_service.go b/backend/api/v1/actuator_service.go
index 494513e75c..62ba3c3d4e 100644
--- a/backend/api/v1/actuator_service.go
+++ b/backend/api/v1/actuator_service.go
@@ -24,19 +24,17 @@ import (
// ActuatorService implements the actuator service.
type ActuatorService struct {
v1pb.UnimplementedActuatorServiceServer
- store *store.Store
- profile *config.Profile
- errorRecordRing *api.ErrorRecordRing
- licenseService enterprise.LicenseService
+ store *store.Store
+ profile *config.Profile
+ licenseService enterprise.LicenseService
}
// NewActuatorService creates a new ActuatorService.
-func NewActuatorService(store *store.Store, profile *config.Profile, errorRecordRing *api.ErrorRecordRing, licenseService enterprise.LicenseService) *ActuatorService {
+func NewActuatorService(store *store.Store, profile *config.Profile, licenseService enterprise.LicenseService) *ActuatorService {
return &ActuatorService{
- store: store,
- profile: profile,
- errorRecordRing: errorRecordRing,
- licenseService: licenseService,
+ store: store,
+ profile: profile,
+ licenseService: licenseService,
}
}
@@ -63,27 +61,6 @@ func (s *ActuatorService) UpdateActuatorInfo(ctx context.Context, request *v1pb.
return s.getServerInfo(ctx)
}
-// ListDebugLog lists the debug log.
-func (s *ActuatorService) ListDebugLog(_ context.Context, _ *v1pb.ListDebugLogRequest) (*v1pb.ListDebugLogResponse, error) {
- resp := &v1pb.ListDebugLogResponse{}
-
- s.errorRecordRing.RWMutex.RLock()
- defer s.errorRecordRing.RWMutex.RUnlock()
-
- s.errorRecordRing.Ring.Do(func(p any) {
- if p == nil {
- return
- }
- errRecord, ok := p.(*v1pb.DebugLog)
- if !ok {
- return
- }
- resp.Logs = append(resp.Logs, errRecord)
- })
-
- return resp, nil
-}
-
// DeleteCache deletes the cache.
func (s *ActuatorService) DeleteCache(_ context.Context, _ *v1pb.DeleteCacheRequest) (*emptypb.Empty, error) {
s.store.DeleteCache()
diff --git a/backend/api/v1/debug_interceptor.go b/backend/api/v1/debug_interceptor.go
index 55e173fba1..9b3c6baea7 100644
--- a/backend/api/v1/debug_interceptor.go
+++ b/backend/api/v1/debug_interceptor.go
@@ -4,35 +4,28 @@ import (
"context"
"fmt"
"log/slog"
- "runtime/debug"
"time"
"google.golang.org/grpc"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
- "google.golang.org/protobuf/types/known/timestamppb"
"github.com/bytebase/bytebase/backend/common"
"github.com/bytebase/bytebase/backend/common/log"
- api "github.com/bytebase/bytebase/backend/legacyapi"
"github.com/bytebase/bytebase/backend/metric"
metricplugin "github.com/bytebase/bytebase/backend/plugin/metric"
"github.com/bytebase/bytebase/backend/runner/metricreport"
- "github.com/bytebase/bytebase/backend/store"
- v1pb "github.com/bytebase/bytebase/proto/generated-go/v1"
)
// DebugInterceptor is the v1 debug interceptor for gRPC server.
type DebugInterceptor struct {
- errorRecordRing *api.ErrorRecordRing
- metricReporter *metricreport.Reporter
+ metricReporter *metricreport.Reporter
}
// NewDebugInterceptor returns a new v1 API debug interceptor.
-func NewDebugInterceptor(errorRecordRing *api.ErrorRecordRing, metricReporter *metricreport.Reporter) *DebugInterceptor {
+func NewDebugInterceptor(metricReporter *metricreport.Reporter) *DebugInterceptor {
return &DebugInterceptor{
- errorRecordRing: errorRecordRing,
- metricReporter: metricReporter,
+ metricReporter: metricReporter,
}
}
@@ -83,22 +76,6 @@ func (in *DebugInterceptor) debugInterceptorDo(ctx context.Context, fullMethod s
logMsg = "unknown error"
}
slog.Log(ctx, logLevel, logMsg, "method", fullMethod, log.BBError(err), "latency", fmt.Sprintf("%vms", time.Since(startTime).Milliseconds()))
- if st.Code() == codes.Internal && slog.Default().Enabled(ctx, slog.LevelDebug) {
- l := &v1pb.DebugLog{
- RecordTime: timestamppb.New(time.Now()),
- RequestPath: fullMethod,
- Error: err.Error(),
- StackTrace: string(debug.Stack()),
- }
- user, ok := ctx.Value(common.UserContextKey).(*store.UserMessage)
- if ok && user != nil {
- l.User = common.FormatUserEmail(user.Email)
- }
- in.errorRecordRing.RWMutex.Lock()
- defer in.errorRecordRing.RWMutex.Unlock()
- in.errorRecordRing.Ring.Value = l
- in.errorRecordRing.Ring = in.errorRecordRing.Ring.Next()
- }
in.metricReporter.Report(ctx, &metricplugin.Metric{
Name: metric.APIRequestMetricName,
Value: 1,
diff --git a/backend/legacyapi/debug.go b/backend/legacyapi/debug.go
deleted file mode 100644
index 296a683233..0000000000
--- a/backend/legacyapi/debug.go
+++ /dev/null
@@ -1,23 +0,0 @@
-package api
-
-import (
- "container/ring"
- "sync"
-)
-
-// errorRecordMaximum is the count limit for error records.
-const errorRecordMaximum = 100
-
-// ErrorRecordRing is the struct to store error records in memory.
-type ErrorRecordRing struct {
- Ring *ring.Ring
- sync.RWMutex
-}
-
-// NewErrorRecordRing creates an error record ring.
-func NewErrorRecordRing() ErrorRecordRing {
- return ErrorRecordRing{
- Ring: ring.New(errorRecordMaximum),
- RWMutex: sync.RWMutex{},
- }
-}
diff --git a/backend/server/grpc_routes.go b/backend/server/grpc_routes.go
index 8b8b41dac0..26586dd16b 100644
--- a/backend/server/grpc_routes.go
+++ b/backend/server/grpc_routes.go
@@ -18,7 +18,6 @@ import (
"github.com/bytebase/bytebase/backend/component/state"
"github.com/bytebase/bytebase/backend/component/webhook"
enterprise "github.com/bytebase/bytebase/backend/enterprise/api"
- api "github.com/bytebase/bytebase/backend/legacyapi"
"github.com/bytebase/bytebase/backend/runner/metricreport"
"github.com/bytebase/bytebase/backend/runner/plancheck"
"github.com/bytebase/bytebase/backend/runner/relay"
@@ -45,7 +44,6 @@ func configureGrpcRouters(
planCheckScheduler *plancheck.Scheduler,
postCreateUser apiv1.CreateUserFunc,
secret string,
- errorRecordRing *api.ErrorRecordRing,
tokenDuration time.Duration) (*apiv1.PlanService, *apiv1.RolloutService, *apiv1.IssueService, *apiv1.SQLService, error) {
// Register services.
authService, err := apiv1.NewAuthService(stores, secret, tokenDuration, licenseService, metricReporter, profile, stateCfg, iamManager, postCreateUser)
@@ -54,7 +52,7 @@ func configureGrpcRouters(
}
v1pb.RegisterAuditLogServiceServer(grpcServer, apiv1.NewAuditLogService(stores, iamManager, licenseService))
v1pb.RegisterAuthServiceServer(grpcServer, authService)
- v1pb.RegisterActuatorServiceServer(grpcServer, apiv1.NewActuatorService(stores, profile, errorRecordRing, licenseService))
+ v1pb.RegisterActuatorServiceServer(grpcServer, apiv1.NewActuatorService(stores, profile, licenseService))
v1pb.RegisterSubscriptionServiceServer(grpcServer, apiv1.NewSubscriptionService(
stores,
profile,
diff --git a/backend/server/server.go b/backend/server/server.go
index 446a2d60e8..c699440307 100644
--- a/backend/server/server.go
+++ b/backend/server/server.go
@@ -80,17 +80,16 @@ type Server struct {
licenseService enterprise.LicenseService
- profile *config.Profile
- echoServer *echo.Echo
- grpcServer *grpc.Server
- muxServer cmux.CMux
- lspServer *lsp.Server
- store *store.Store
- sheetManager *sheet.Manager
- dbFactory *dbfactory.DBFactory
- startedTs int64
- secret string
- errorRecordRing api.ErrorRecordRing
+ profile *config.Profile
+ echoServer *echo.Echo
+ grpcServer *grpc.Server
+ muxServer cmux.CMux
+ lspServer *lsp.Server
+ store *store.Store
+ sheetManager *sheet.Manager
+ dbFactory *dbfactory.DBFactory
+ startedTs int64
+ secret string
// Stubs.
planService *apiv1.PlanService
@@ -116,9 +115,8 @@ type Server struct {
// NewServer creates a server.
func NewServer(ctx context.Context, profile *config.Profile) (*Server, error) {
s := &Server{
- profile: profile,
- startedTs: time.Now().Unix(),
- errorRecordRing: api.NewErrorRecordRing(),
+ profile: profile,
+ startedTs: time.Now().Unix(),
}
// Display config
@@ -284,7 +282,7 @@ func NewServer(ctx context.Context, profile *config.Profile) (*Server, error) {
authProvider := auth.New(s.store, s.secret, tokenDuration, s.licenseService, s.stateCfg, s.profile)
auditProvider := apiv1.NewAuditInterceptor(s.store)
aclProvider := apiv1.NewACLInterceptor(s.store, s.secret, s.iamManager, s.profile)
- debugProvider := apiv1.NewDebugInterceptor(&s.errorRecordRing, s.metricReporter)
+ debugProvider := apiv1.NewDebugInterceptor(s.metricReporter)
onPanic := func(p any) error {
stack := stacktrace.TakeStacktrace(20 /* n */, 5 /* skip */)
// keep a multiline stack
@@ -336,7 +334,7 @@ func NewServer(ctx context.Context, profile *config.Profile) (*Server, error) {
}
return nil
}
- planService, rolloutService, issueService, sqlService, err := configureGrpcRouters(ctx, mux, s.grpcServer, s.store, s.sheetManager, s.dbFactory, s.licenseService, s.profile, s.metricReporter, s.stateCfg, s.schemaSyncer, s.webhookManager, s.iamManager, s.relayRunner, s.planCheckScheduler, postCreateUser, s.secret, &s.errorRecordRing, tokenDuration)
+ planService, rolloutService, issueService, sqlService, err := configureGrpcRouters(ctx, mux, s.grpcServer, s.store, s.sheetManager, s.dbFactory, s.licenseService, s.profile, s.metricReporter, s.stateCfg, s.schemaSyncer, s.webhookManager, s.iamManager, s.relayRunner, s.planCheckScheduler, postCreateUser, s.secret, tokenDuration)
if err != nil {
return nil, err
}
diff --git a/frontend/src/components/DebugLog/DebugLogTable.vue b/frontend/src/components/DebugLog/DebugLogTable.vue
deleted file mode 100644
index b45d64b327..0000000000
--- a/frontend/src/components/DebugLog/DebugLogTable.vue
+++ /dev/null
@@ -1,90 +0,0 @@
-<template>
- <BBTable
- class="mt-2"
- :column-list="columnList"
- :data-source="debugLogList"
- :show-header="true"
- :row-clickable="false"
- >
- <template #body="{ rowData: debugLog }">
- <BBTableCell :left-padding="4" class="table-cell w-56">
- <div>
- {{ dayjs(debugLog.recordTime).format("YYYY-MM-DD HH:mm:ss Z") }}
- </div>
- </BBTableCell>
- <BBTableCell class="table-cell w-28">
- <div>{{ debugLog.requestPath }}</div>
- </BBTableCell>
- <BBTableCell class="table-cell w-20">
- <span v-if="!debugLog.user" class="italic text-gray-500">{{
- $t("debug-log.table.empty")
- }}</span>
- <div v-else>{{ debugLog.user }}</div>
- </BBTableCell>
- <BBTableCell class="table-cell pt-3">
- <EllipsisText class="max-w-full" :line-clamp="2">{{
- debugLog.error
- }}</EllipsisText>
- </BBTableCell>
- <BBTableCell class="table-cell w-28">
- <NTooltip>
- <template #trigger>
- <NButton
- @click.stop="
- () => {
- $emit('view-detail', debugLog);
- }
- "
- >
- <heroicons-outline:document-magnifying-glass class="h-5 w-5" />
- </NButton>
- </template>
- <span class="whitespace-nowrap">
- {{ $t("debug-log.table.operation.view-details") }}
- </span>
- </NTooltip>
- </BBTableCell>
- </template>
- </BBTable>
-</template>
-
-<script lang="ts" setup>
-import { NButton, NTooltip } from "naive-ui";
-import type { PropType } from "vue";
-import { computed } from "vue";
-import { useI18n } from "vue-i18n";
-import { BBTable, BBTableCell } from "@/bbkit";
-import type { DebugLog } from "@/types/proto/v1/actuator_service";
-import EllipsisText from "../EllipsisText.vue";
-
-defineProps({
- debugLogList: {
- type: Array as PropType<DebugLog[]>,
- required: true,
- },
-});
-
-defineEmits<{
- (event: "view-detail", list: DebugLog): void;
-}>();
-
-const { t } = useI18n();
-
-const columnList = computed(() => [
- {
- title: t("debug-log.table.record-ts"),
- },
- {
- title: t("debug-log.table.request-path"),
- },
- {
- title: t("common.user"),
- },
- {
- title: t("debug-log.table.error"),
- },
- {
- title: t("debug-log.table.operation.operation"),
- },
-]);
-</script>
diff --git a/frontend/src/components/DebugLog/HTTPMethodTag.vue b/frontend/src/components/DebugLog/HTTPMethodTag.vue
deleted file mode 100644
index 084e4d69bc..0000000000
--- a/frontend/src/components/DebugLog/HTTPMethodTag.vue
+++ /dev/null
@@ -1,43 +0,0 @@
-<template>
- <div :class="`tag ${method}`">{{ method }}</div>
-</template>
-
-<script lang="ts" setup>
-defineProps({
- method: {
- required: true,
- type: String,
- },
-});
-</script>
-
-<style scoped>
-.tag {
- @apply h-6 text-white text-xs px-2 rounded whitespace-nowrap inline-flex items-center;
-}
-
-.GET {
- border: 1px solid #0f6ab4;
- color: #0f6ab4;
-}
-.POST {
- border: 1px solid #10a54a;
- color: #10a54a;
-}
-.PUT {
- border: 1px solid #c5862b;
- color: #c5862b;
-}
-.DELETE {
- border: 1px solid #a41e22;
- color: #a41e22;
-}
-.PATCH {
- border: 1px solid #d38042;
- color: #d38042;
-}
-.HEAD {
- border: 1px solid #ffd20f;
- color: #ffd20f;
-}
-</style>
diff --git a/frontend/src/locales/en-US.json b/frontend/src/locales/en-US.json
index 10adbf0af9..de5406f419 100644
--- a/frontend/src/locales/en-US.json
+++ b/frontend/src/locales/en-US.json
@@ -462,7 +462,6 @@
"gitops": "GitOps",
"subscription": "Subscription",
"labels": "Labels",
- "debug-log": "Debug Log",
"sensitive-data": "Data Masking",
"access-control": "Data Access Control",
"audit-log": "Audit Log",
@@ -2886,30 +2885,6 @@
"view-definition": "View definition",
"other-engines": "Other engines"
},
- "debug-log": {
- "title": "Debug Log",
- "no-logs": "No debug logs",
- "count-of-logs": "Fetched latest {count} log(s) from server.",
- "debug-log-detail": "Debug Log Details",
- "enabled": "Debug mode is enabled.",
- "open-debug-mode": "Enable debug",
- "table": {
- "record-ts": "Time",
- "method": "Method",
- "request-path": "Request path",
- "error": "Error",
- "stack-trace": "Stack trace",
- "empty": "<Empty>",
- "operation": {
- "operation": "Operation",
- "view-details": "View Details",
- "copy": "Copy",
- "copy-all": "Copy All",
- "copied": "Copied!",
- "export": "Export"
- }
- }
- },
"audit-log": {
"no-logs": "No audit logs",
"audit-log-detail": "Audit Log Details",
diff --git a/frontend/src/locales/es-ES.json b/frontend/src/locales/es-ES.json
index 4a762262d6..6e27079531 100644
--- a/frontend/src/locales/es-ES.json
+++ b/frontend/src/locales/es-ES.json
@@ -462,7 +462,6 @@
"gitops": "GitOps",
"subscription": "Suscripción",
"labels": "Etiquetas",
- "debug-log": "Registro de Depuración",
"sensitive-data": "Enmascaramiento de Datos",
"access-control": "Control de Acceso a Datos",
"audit-log": "Registro de auditoría",
@@ -2886,30 +2885,6 @@
"view-definition": "Ver definición",
"other-engines": "Otros motores"
},
- "debug-log": {
- "title": "Registro de depuración",
- "no-logs": "No hay registros de depuración",
- "count-of-logs": "Se recuperaron los últimos {count} registro(s) del servidor.",
- "debug-log-detail": "Detalles del registro de depuración",
- "enabled": "El modo de depuración está habilitado.",
- "open-debug-mode": "Habilitar depuración",
- "table": {
- "record-ts": "Hora",
- "method": "Método",
- "request-path": "Ruta de solicitud",
- "error": "Error",
- "stack-trace": "Rastreo de pila",
- "empty": "<Vacío>",
- "operation": {
- "operation": "Operación",
- "view-details": "Ver detalles",
- "copy": "Copiar",
- "copy-all": "Copiar todo",
- "copied": "¡Copiado!",
- "export": "Exportar"
- }
- }
- },
"audit-log": {
"no-logs": "Sin registros de auditoría",
"audit-log-detail": "Detalles del registro de auditoría",
diff --git a/frontend/src/locales/ja-JP.json b/frontend/src/locales/ja-JP.json
index 17bc33f4bc..db120e62a4 100644
--- a/frontend/src/locales/ja-JP.json
+++ b/frontend/src/locales/ja-JP.json
@@ -462,7 +462,6 @@
"gitops": "GitOps",
"subscription": "サブスクリプション",
"labels": "ラベル",
- "debug-log": "デバッグログ",
"sensitive-data": "データの非感作化",
"access-control": "データアクセス制御",
"audit-log": "監査ログ",
@@ -2886,30 +2885,6 @@
"view-definition": "ビューの定義",
"other-engines": "他の種類のデータベース"
},
- "debug-log": {
- "title": "デバッグログ",
- "no-logs": "デバッグログはまだありません",
- "count-of-logs": "サーバーから取得した最新の {count} ログ。",
- "debug-log-detail": "ログの詳細",
- "enabled": "デバッグモードがオンになっています",
- "open-debug-mode": "デバッグモードをオンにする",
- "table": {
- "record-ts": "時間",
- "method": "方法",
- "request-path": "リクエストパス",
- "error": "間違った情報",
- "stack-trace": "コールスタック",
- "empty": "<なし>",
- "operation": {
- "operation": "操作する",
- "view-details": "詳細を確認する",
- "copy": "コピー",
- "copy-all": "すべてコピーする",
- "copied": "コピーされました",
- "export": "輸出"
- }
- }
- },
"audit-log": {
"no-logs": "監査ログはまだありません",
"audit-log-detail": "監査の詳細",
diff --git a/frontend/src/locales/zh-CN.json b/frontend/src/locales/zh-CN.json
index a6a5b65b2a..64813459b0 100644
--- a/frontend/src/locales/zh-CN.json
+++ b/frontend/src/locales/zh-CN.json
@@ -462,7 +462,6 @@
"gitops": "GitOps",
"subscription": "订阅",
"labels": "标签",
- "debug-log": "Debug 日志",
"sensitive-data": "数据脱敏",
"access-control": "数据访问控制",
"audit-log": "审计日志",
@@ -2886,30 +2885,6 @@
"view-definition": "查看定义",
"other-engines": "其他数据库类型"
},
- "debug-log": {
- "title": "Debug 日志",
- "no-logs": "暂无 Debug 日志",
- "count-of-logs": "从服务端获取的最新 {count} 条日志。",
- "debug-log-detail": "日志详情",
- "enabled": "Debug 模式已开启",
- "open-debug-mode": "开启 Debug 模式",
- "table": {
- "record-ts": "时间",
- "method": "方法",
- "request-path": "请求路径",
- "error": "错误消息",
- "stack-trace": "调用栈",
- "empty": "<无>",
- "operation": {
- "operation": "操作",
- "view-details": "查看详情",
- "copy": "拷贝",
- "copy-all": "拷贝全部",
- "copied": "已拷贝",
- "export": "导出"
- }
- }
- },
"audit-log": {
"no-logs": "暂无审计日志",
"audit-log-detail": "审计详情",
diff --git a/frontend/src/router/dashboard/workspaceSetting.ts b/frontend/src/router/dashboard/workspaceSetting.ts
index 04abafa195..7c0369fd2a 100644
--- a/frontend/src/router/dashboard/workspaceSetting.ts
+++ b/frontend/src/router/dashboard/workspaceSetting.ts
@@ -8,7 +8,6 @@ export const SETTING_ROUTE_PROFILE = `${SETTING_ROUTE}.profile`;
export const SETTING_ROUTE_PROFILE_TWO_FACTOR = `${SETTING_ROUTE_PROFILE}.two-factor`;
export const SETTING_ROUTE_WORKSPACE_GENERAL = `${SETTING_ROUTE_WORKSPACE}.general`;
export const SETTING_ROUTE_WORKSPACE_SUBSCRIPTION = `${SETTING_ROUTE_WORKSPACE}.subscription`;
-export const SETTING_ROUTE_WORKSPACE_DEBUG_LOG = `${SETTING_ROUTE_WORKSPACE}.debug-log`;
export const SETTING_ROUTE_WORKSPACE_ARCHIVE = `${SETTING_ROUTE_WORKSPACE}.archive`;
const workspaceSettingRoutes: RouteRecordRaw[] = [
@@ -59,16 +58,6 @@ const workspaceSettingRoutes: RouteRecordRaw[] = [
component: () => import("@/views/SettingWorkspaceSubscription.vue"),
props: true,
},
- {
- path: "debug-log",
- name: SETTING_ROUTE_WORKSPACE_DEBUG_LOG,
- meta: {
- title: () => t("settings.sidebar.debug-log"),
- requiredWorkspacePermissionList: () => ["bb.settings.get"],
- },
- component: () => import("@/views/SettingWorkspaceDebugLog.vue"),
- props: true,
- },
{
path: "archive",
name: SETTING_ROUTE_WORKSPACE_ARCHIVE,
diff --git a/frontend/src/store/modules/v1/actuator.ts b/frontend/src/store/modules/v1/actuator.ts
index 10980f3aaa..aecbf4ab9e 100644
--- a/frontend/src/store/modules/v1/actuator.ts
+++ b/frontend/src/store/modules/v1/actuator.ts
@@ -1,8 +1,8 @@
import type { RemovableRef } from "@vueuse/core";
import { useLocalStorage } from "@vueuse/core";
import axios from "axios";
-import { defineStore, storeToRefs } from "pinia";
-import { computed, watchEffect } from "vue";
+import { defineStore } from "pinia";
+import { computed } from "vue";
import { actuatorServiceClient } from "@/grpcweb";
import { useSilentRequest } from "@/plugins/silent-request";
import {
@@ -15,7 +15,6 @@ import {
import type {
ActuatorInfo,
ResourcePackage,
- DebugLog,
} from "@/types/proto/v1/actuator_service";
import { semverCompare } from "@/utils";
@@ -28,7 +27,6 @@ interface ActuatorState {
serverInfo?: ActuatorInfo;
resourcePackage?: ResourcePackage;
releaseInfo: RemovableRef<ReleaseInfo>;
- debugLogList: DebugLog[];
appProfile: AppProfile;
}
@@ -40,7 +38,6 @@ export const useActuatorV1Store = defineStore("actuator_v1", {
ignoreRemindModalTillNextRelease: false,
nextCheckTs: 0,
}),
- debugLogList: [],
appProfile: defaultAppProfile(),
}),
getters: {
@@ -120,11 +117,6 @@ export const useActuatorV1Store = defineStore("actuator_v1", {
});
this.setServerInfo(serverInfo);
},
- async fetchDebugLogList() {
- const { logs } = await actuatorServiceClient.listDebugLog({});
- this.debugLogList = logs;
- return logs;
- },
async tryToRemindRelease(): Promise<boolean> {
if (this.serverInfo?.saas ?? false) {
return false;
@@ -178,13 +170,6 @@ export const useActuatorV1Store = defineStore("actuator_v1", {
},
});
-export const useDebugLogList = () => {
- const store = useActuatorV1Store();
- watchEffect(() => store.fetchDebugLogList());
-
- return storeToRefs(store).debugLogList;
-};
-
export const useAppFeature = <T extends keyof AppFeatures>(feature: T) => {
return computed(() => useActuatorV1Store().appProfile.features[feature]);
};
diff --git a/frontend/src/types/proto/v1/actuator_service.ts b/frontend/src/types/proto/v1/actuator_service.ts
index e272f6b41e..c72b32e1b6 100644
--- a/frontend/src/types/proto/v1/actuator_service.ts
+++ b/frontend/src/types/proto/v1/actuator_service.ts
@@ -29,42 +29,6 @@ export interface UpdateActuatorInfoRequest {
updateMask: string[] | undefined;
}
-export interface ListDebugLogRequest {
- /**
- * The maximum number of logs to return. The service may return fewer than
- * this value.
- * If unspecified, at most 50 logs will be returned.
- * The maximum value is 1000; values above 1000 will be coerced to 1000.
- */
- pageSize: number;
- /**
- * A page token, received from a previous `ListDebugLog` call.
- * Provide this to retrieve the subsequent page.
- *
- * When paginating, all other parameters provided to `ListDebugLog` must match
- * the call that provided the page token.
- */
- pageToken: string;
-}
-
-export interface ListDebugLogResponse {
- /** The logs from the specified request. */
- logs: DebugLog[];
- /**
- * A token, which can be sent as `page_token` to retrieve the next page.
- * If this field is omitted, there are no subsequent pages.
- */
- nextPageToken: string;
-}
-
-export interface DebugLog {
- recordTime: Date | undefined;
- requestPath: string;
- user: string;
- error: string;
- stackTrace: string;
-}
-
export interface DeleteCacheRequest {
}
@@ -333,273 +297,6 @@ export const UpdateActuatorInfoRequest = {
},
};
-function createBaseListDebugLogRequest(): ListDebugLogRequest {
- return { pageSize: 0, pageToken: "" };
-}
-
-export const ListDebugLogRequest = {
- encode(message: ListDebugLogRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
- if (message.pageSize !== 0) {
- writer.uint32(8).int32(message.pageSize);
- }
- if (message.pageToken !== "") {
- writer.uint32(18).string(message.pageToken);
- }
- return writer;
- },
-
- decode(input: _m0.Reader | Uint8Array, length?: number): ListDebugLogRequest {
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
- let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseListDebugLogRequest();
- while (reader.pos < end) {
- const tag = reader.uint32();
- switch (tag >>> 3) {
- case 1:
- if (tag !== 8) {
- break;
- }
-
- message.pageSize = reader.int32();
- continue;
- case 2:
- if (tag !== 18) {
- break;
- }
-
- message.pageToken = reader.string();
- continue;
- }
- if ((tag & 7) === 4 || tag === 0) {
- break;
- }
- reader.skipType(tag & 7);
- }
- return message;
- },
-
- fromJSON(object: any): ListDebugLogRequest {
- return {
- pageSize: isSet(object.pageSize) ? globalThis.Number(object.pageSize) : 0,
- pageToken: isSet(object.pageToken) ? globalThis.String(object.pageToken) : "",
- };
- },
-
- toJSON(message: ListDebugLogRequest): unknown {
- const obj: any = {};
- if (message.pageSize !== 0) {
- obj.pageSize = Math.round(message.pageSize);
- }
- if (message.pageToken !== "") {
- obj.pageToken = message.pageToken;
- }
- return obj;
- },
-
- create(base?: DeepPartial<ListDebugLogRequest>): ListDebugLogRequest {
- return ListDebugLogRequest.fromPartial(base ?? {});
- },
- fromPartial(object: DeepPartial<ListDebugLogRequest>): ListDebugLogRequest {
- const message = createBaseListDebugLogRequest();
- message.pageSize = object.pageSize ?? 0;
- message.pageToken = object.pageToken ?? "";
- return message;
- },
-};
-
-function createBaseListDebugLogResponse(): ListDebugLogResponse {
- return { logs: [], nextPageToken: "" };
-}
-
-export const ListDebugLogResponse = {
- encode(message: ListDebugLogResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
- for (const v of message.logs) {
- DebugLog.encode(v!, writer.uint32(10).fork()).ldelim();
- }
- if (message.nextPageToken !== "") {
- writer.uint32(18).string(message.nextPageToken);
- }
- return writer;
- },
-
- decode(input: _m0.Reader | Uint8Array, length?: number): ListDebugLogResponse {
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
- let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseListDebugLogResponse();
- while (reader.pos < end) {
- const tag = reader.uint32();
- switch (tag >>> 3) {
- case 1:
- if (tag !== 10) {
- break;
- }
-
- message.logs.push(DebugLog.decode(reader, reader.uint32()));
- continue;
- case 2:
- if (tag !== 18) {
- break;
- }
-
- message.nextPageToken = reader.string();
- continue;
- }
- if ((tag & 7) === 4 || tag === 0) {
- break;
- }
- reader.skipType(tag & 7);
- }
- return message;
- },
-
- fromJSON(object: any): ListDebugLogResponse {
- return {
- logs: globalThis.Array.isArray(object?.logs) ? object.logs.map((e: any) => DebugLog.fromJSON(e)) : [],
- nextPageToken: isSet(object.nextPageToken) ? globalThis.String(object.nextPageToken) : "",
- };
- },
-
- toJSON(message: ListDebugLogResponse): unknown {
- const obj: any = {};
- if (message.logs?.length) {
- obj.logs = message.logs.map((e) => DebugLog.toJSON(e));
- }
- if (message.nextPageToken !== "") {
- obj.nextPageToken = message.nextPageToken;
- }
- return obj;
- },
-
- create(base?: DeepPartial<ListDebugLogResponse>): ListDebugLogResponse {
- return ListDebugLogResponse.fromPartial(base ?? {});
- },
- fromPartial(object: DeepPartial<ListDebugLogResponse>): ListDebugLogResponse {
- const message = createBaseListDebugLogResponse();
- message.logs = object.logs?.map((e) => DebugLog.fromPartial(e)) || [];
- message.nextPageToken = object.nextPageToken ?? "";
- return message;
- },
-};
-
-function createBaseDebugLog(): DebugLog {
- return { recordTime: undefined, requestPath: "", user: "", error: "", stackTrace: "" };
-}
-
-export const DebugLog = {
- encode(message: DebugLog, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
- if (message.recordTime !== undefined) {
- Timestamp.encode(toTimestamp(message.recordTime), writer.uint32(10).fork()).ldelim();
- }
- if (message.requestPath !== "") {
- writer.uint32(18).string(message.requestPath);
- }
- if (message.user !== "") {
- writer.uint32(26).string(message.user);
- }
- if (message.error !== "") {
- writer.uint32(34).string(message.error);
- }
- if (message.stackTrace !== "") {
- writer.uint32(42).string(message.stackTrace);
- }
- return writer;
- },
-
- decode(input: _m0.Reader | Uint8Array, length?: number): DebugLog {
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
- let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseDebugLog();
- while (reader.pos < end) {
- const tag = reader.uint32();
- switch (tag >>> 3) {
- case 1:
- if (tag !== 10) {
- break;
- }
-
- message.recordTime = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
- continue;
- case 2:
- if (tag !== 18) {
- break;
- }
-
- message.requestPath = reader.string();
- continue;
- case 3:
- if (tag !== 26) {
- break;
- }
-
- message.user = reader.string();
- continue;
- case 4:
- if (tag !== 34) {
- break;
- }
-
- message.error = reader.string();
- continue;
- case 5:
- if (tag !== 42) {
- break;
- }
-
- message.stackTrace = reader.string();
- continue;
- }
- if ((tag & 7) === 4 || tag === 0) {
- break;
- }
- reader.skipType(tag & 7);
- }
- return message;
- },
-
- fromJSON(object: any): DebugLog {
- return {
- recordTime: isSet(object.recordTime) ? fromJsonTimestamp(object.recordTime) : undefined,
- requestPath: isSet(object.requestPath) ? globalThis.String(object.requestPath) : "",
- user: isSet(object.user) ? globalThis.String(object.user) : "",
- error: isSet(object.error) ? globalThis.String(object.error) : "",
- stackTrace: isSet(object.stackTrace) ? globalThis.String(object.stackTrace) : "",
- };
- },
-
- toJSON(message: DebugLog): unknown {
- const obj: any = {};
- if (message.recordTime !== undefined) {
- obj.recordTime = message.recordTime.toISOString();
- }
- if (message.requestPath !== "") {
- obj.requestPath = message.requestPath;
- }
- if (message.user !== "") {
- obj.user = message.user;
- }
- if (message.error !== "") {
- obj.error = message.error;
- }
- if (message.stackTrace !== "") {
- obj.stackTrace = message.stackTrace;
- }
- return obj;
- },
-
- create(base?: DeepPartial<DebugLog>): DebugLog {
- return DebugLog.fromPartial(base ?? {});
- },
- fromPartial(object: DeepPartial<DebugLog>): DebugLog {
- const message = createBaseDebugLog();
- message.recordTime = object.recordTime ?? undefined;
- message.requestPath = object.requestPath ?? "";
- message.user = object.user ?? "";
- message.error = object.error ?? "";
- message.stackTrace = object.stackTrace ?? "";
- return message;
- },
-};
-
function createBaseDeleteCacheRequest(): DeleteCacheRequest {
return {};
}
@@ -1124,44 +821,6 @@ export const ActuatorServiceDefinition = {
},
},
},
- listDebugLog: {
- name: "ListDebugLog",
- requestType: ListDebugLogRequest,
- requestStream: false,
- responseType: ListDebugLogResponse,
- responseStream: false,
- options: {
- _unknownFields: {
- 8410: [new Uint8Array([0])],
- 800016: [new Uint8Array([2])],
- 578365826: [
- new Uint8Array([
- 20,
- 18,
- 18,
- 47,
- 118,
- 49,
- 47,
- 97,
- 99,
- 116,
- 117,
- 97,
- 116,
- 111,
- 114,
- 47,
- 100,
- 101,
- 98,
- 117,
- 103,
- ]),
- ],
- },
- },
- },
getResourcePackage: {
name: "GetResourcePackage",
requestType: GetResourcePackageRequest,
diff --git a/frontend/src/views/SettingSidebar.vue b/frontend/src/views/SettingSidebar.vue
index 533728beb0..f4de289774 100644
--- a/frontend/src/views/SettingSidebar.vue
+++ b/frontend/src/views/SettingSidebar.vue
@@ -20,7 +20,6 @@ import workspaceSettingRoutes, {
SETTING_ROUTE_PROFILE_TWO_FACTOR,
SETTING_ROUTE_WORKSPACE_GENERAL,
SETTING_ROUTE_WORKSPACE_SUBSCRIPTION,
- SETTING_ROUTE_WORKSPACE_DEBUG_LOG,
SETTING_ROUTE_WORKSPACE_ARCHIVE,
SETTING_ROUTE_WORKSPACE,
} from "@/router/dashboard/workspaceSetting";
@@ -98,11 +97,6 @@ const settingSidebarItemList = computed((): SidebarItem[] => {
name: SETTING_ROUTE_WORKSPACE_SUBSCRIPTION,
type: "route",
},
- {
- title: t("settings.sidebar.debug-log"),
- name: SETTING_ROUTE_WORKSPACE_DEBUG_LOG,
- type: "route",
- },
],
},
{
diff --git a/frontend/src/views/SettingWorkspaceDebugLog.vue b/frontend/src/views/SettingWorkspaceDebugLog.vue
deleted file mode 100644
index 1af67397eb..0000000000
--- a/frontend/src/views/SettingWorkspaceDebugLog.vue
+++ /dev/null
@@ -1,176 +0,0 @@
-<template>
- <div class="space-y-4">
- <div v-if="debugLogList.length > 0">
- <div class="flex flex-row justify-between items-center textinfolabel">
- {{
- $t("debug-log.count-of-logs", {
- count: debugLogList.length,
- })
- }}
- <NButton type="primary" @click="handleExport">
- <heroicons-outline:document-arrow-down class="h-4 w-4 mr-1" />
- {{ $t("debug-log.table.operation.export") }}
- </NButton>
- </div>
- <DebugLogTable
- :debug-log-list="sortedDebugLogList"
- @view-detail="
- (log: DebugLog) => {
- state.modalContent = log;
- state.showModal = true;
- dialog!.open();
- }
- "
- />
- <BBDialog
- ref="dialog"
- :title="$t('debug-log.debug-log-detail')"
- :negative-text="$t('common.close')"
- :positive-text="$t('debug-log.table.operation.copy')"
- data-label="bb-migration-mode-dialog"
- :closable="true"
- @before-positive-click="handleCopy"
- >
- <div class="w-192 font-mono">
- <dl>
- <dd
- v-for="(value, key) in state.modalContent"
- :key="key"
- class="flex items-start text-sm md:mr-4 mb-1"
- >
- <NGrid x-gap="20" :cols="20">
- <NGi span="3">
- <span class="textlabel whitespace-nowrap">{{
- logKeyMap[key]
- }}</span
- ><span class="mr-1">:</span>
- </NGi>
- <NGi span="17">
- <span v-if="value !== ''">
- {{
- key === "recordTime"
- ? dayjs(value as Date).format("YYYY-MM-DD HH:mm:ss Z")
- : value
- }}
- </span>
- <span v-else class="italic text-gray-500">
- {{ $t("debug-log.table.empty") }}
- </span>
- </NGi>
- </NGrid>
- </dd>
- </dl>
- </div>
- </BBDialog>
- </div>
- <NoDataPlaceholder v-else>
- <NButton v-if="!isDebug" type="primary" @click="enableDebug">
- {{ $t("debug-log.open-debug-mode") }}
- </NButton>
- </NoDataPlaceholder>
- </div>
-</template>
-
-<script lang="ts" setup>
-import { useClipboard } from "@vueuse/core";
-import dayjs from "dayjs";
-import download from "downloadjs";
-import { orderBy } from "lodash-es";
-import { NGrid, NGi, NButton } from "naive-ui";
-import { storeToRefs } from "pinia";
-import { reactive, ref, computed } from "vue";
-import { useI18n } from "vue-i18n";
-import { BBDialog } from "@/bbkit";
-import DebugLogTable from "@/components/DebugLog/DebugLogTable.vue";
-import NoDataPlaceholder from "@/components/misc/NoDataPlaceholder.vue";
-import {
- useDebugLogList,
- useActuatorV1Store,
- useNotificationStore,
-} from "@/store";
-import type { DebugLog } from "@/types/proto/v1/actuator_service";
-
-const dialog = ref<InstanceType<typeof BBDialog> | null>(null);
-
-interface LocalState {
- showModal: boolean;
- modalContent?: DebugLog;
-}
-
-const state = reactive<LocalState>({
- showModal: false,
-});
-
-const logString = computed(() => {
- return JSON.stringify(state.modalContent);
-});
-
-const { t } = useI18n();
-const { copy, isSupported } = useClipboard({
- source: logString,
- legacy: true,
-});
-const notificationStore = useNotificationStore();
-const debugLogList = useDebugLogList();
-const actuatorStore = useActuatorV1Store();
-
-const { isDebug } = storeToRefs(actuatorStore);
-
-const sortedDebugLogList = computed(() => {
- return orderBy(
- debugLogList.value,
- [(item) => item.recordTime?.getTime()],
- ["desc"]
- );
-});
-
-const enableDebug = () => {
- actuatorStore
- .patchDebug({
- debug: true,
- })
- .then(() => {
- notificationStore.pushNotification({
- module: "bytebase",
- style: "SUCCESS",
- title: t("debug-log.enabled"),
- });
- });
-};
-
-const logKeyMap = {
- recordTime: t("debug-log.table.record-ts"),
- method: t("debug-log.table.method"),
- requestPath: t("debug-log.table.request-path"),
- user: t("common.user"),
- error: t("debug-log.table.error"),
- stackTrace: t("debug-log.table.stack-trace"),
-};
-
-const handleExport = () => {
- download(
- JSON.stringify(debugLogList.value, null, 2),
- `debuglog_${dayjs().format("YYYYMMDD")}.json`,
- "text/plain"
- );
-};
-
-const handleCopy = () => {
- if (!isSupported.value) {
- notificationStore.pushNotification({
- module: "bytebase",
- style: "CRITICAL",
- title: "Copy to clipboard is not enabled in your browser.",
- });
- return false;
- }
-
- copy();
- notificationStore.pushNotification({
- module: "bytebase",
- style: "SUCCESS",
- title: t("debug-log.table.operation.copied"),
- });
- return true;
-};
-</script>
diff --git a/proto/gen/grpc-doc/openapi.yaml b/proto/gen/grpc-doc/openapi.yaml
index 2f31c42060..f34acece56 100644
--- a/proto/gen/grpc-doc/openapi.yaml
+++ b/proto/gen/grpc-doc/openapi.yaml
@@ -52,45 +52,6 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/Status'
- /v1/actuator/debug:
- get:
- tags:
- - ActuatorService
- operationId: ActuatorService_ListDebugLog
- parameters:
- - name: pageSize
- in: query
- description: |-
- The maximum number of logs to return. The service may return fewer than
- this value.
- If unspecified, at most 50 logs will be returned.
- The maximum value is 1000; values above 1000 will be coerced to 1000.
- schema:
- type: integer
- format: int32
- - name: pageToken
- in: query
- description: |-
- A page token, received from a previous `ListDebugLog` call.
- Provide this to retrieve the subsequent page.
-
- When paginating, all other parameters provided to `ListDebugLog` must match
- the call that provided the page token.
- schema:
- type: string
- responses:
- "200":
- description: OK
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ListDebugLogResponse'
- default:
- description: Default error response
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/Status'
/v1/actuator/info:
get:
tags:
@@ -9565,20 +9526,6 @@ components:
type: string
description: The schema dump from database.
description: DatabaseSchema is the metadata for databases.
- DebugLog:
- type: object
- properties:
- recordTime:
- type: string
- format: date-time
- requestPath:
- type: string
- user:
- type: string
- error:
- type: string
- stackTrace:
- type: string
DeploymentConfig:
type: object
properties:
@@ -10856,19 +10803,6 @@ components:
description: |-
A token, which can be sent as `page_token` to retrieve the next page.
If this field is omitted, there are no subsequent pages.
- ListDebugLogResponse:
- type: object
- properties:
- logs:
- type: array
- items:
- $ref: '#/components/schemas/DebugLog'
- description: The logs from the specified request.
- nextPageToken:
- type: string
- description: |-
- A token, which can be sent as `page_token` to retrieve the next page.
- If this field is omitted, there are no subsequent pages.
ListEnvironmentsResponse:
type: object
properties:
diff --git a/proto/gen/grpc-doc/v1/README.md b/proto/gen/grpc-doc/v1/README.md
index 557ad7e8fa..5ca77c3165 100644
--- a/proto/gen/grpc-doc/v1/README.md
+++ b/proto/gen/grpc-doc/v1/README.md
@@ -13,12 +13,9 @@
- [v1/actuator_service.proto](#v1_actuator_service-proto)
- [ActuatorInfo](#bytebase-v1-ActuatorInfo)
- - [DebugLog](#bytebase-v1-DebugLog)
- [DeleteCacheRequest](#bytebase-v1-DeleteCacheRequest)
- [GetActuatorInfoRequest](#bytebase-v1-GetActuatorInfoRequest)
- [GetResourcePackageRequest](#bytebase-v1-GetResourcePackageRequest)
- - [ListDebugLogRequest](#bytebase-v1-ListDebugLogRequest)
- - [ListDebugLogResponse](#bytebase-v1-ListDebugLogResponse)
- [ResourcePackage](#bytebase-v1-ResourcePackage)
- [UpdateActuatorInfoRequest](#bytebase-v1-UpdateActuatorInfoRequest)
@@ -800,25 +797,6 @@ Actuator concept is similar to the Spring Boot Actuator.
-<a name="bytebase-v1-DebugLog"></a>
-
-### DebugLog
-
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| record_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | |
-| request_path | [string](#string) | | |
-| user | [string](#string) | | |
-| error | [string](#string) | | |
-| stack_trace | [string](#string) | | |
-
-
-
-
-
-
<a name="bytebase-v1-DeleteCacheRequest"></a>
### DeleteCacheRequest
@@ -849,40 +827,6 @@ The request message for getting the theme resource.
-<a name="bytebase-v1-ListDebugLogRequest"></a>
-
-### ListDebugLogRequest
-
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| page_size | [int32](#int32) | | The maximum number of logs to return. The service may return fewer than this value. If unspecified, at most 50 logs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. |
-| page_token | [string](#string) | | A page token, received from a previous `ListDebugLog` call. Provide this to retrieve the subsequent page.
-
-When paginating, all other parameters provided to `ListDebugLog` must match the call that provided the page token. |
-
-
-
-
-
-
-<a name="bytebase-v1-ListDebugLogResponse"></a>
-
-### ListDebugLogResponse
-
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| logs | [DebugLog](#bytebase-v1-DebugLog) | repeated | The logs from the specified request. |
-| next_page_token | [string](#string) | | A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. |
-
-
-
-
-
-
<a name="bytebase-v1-ResourcePackage"></a>
### ResourcePackage
@@ -930,7 +874,6 @@ The theme resources.
| GetActuatorInfo | [GetActuatorInfoRequest](#bytebase-v1-GetActuatorInfoRequest) | [ActuatorInfo](#bytebase-v1-ActuatorInfo) | |
| UpdateActuatorInfo | [UpdateActuatorInfoRequest](#bytebase-v1-UpdateActuatorInfoRequest) | [ActuatorInfo](#bytebase-v1-ActuatorInfo) | |
| DeleteCache | [DeleteCacheRequest](#bytebase-v1-DeleteCacheRequest) | [.google.protobuf.Empty](#google-protobuf-Empty) | |
-| ListDebugLog | [ListDebugLogRequest](#bytebase-v1-ListDebugLogRequest) | [ListDebugLogResponse](#bytebase-v1-ListDebugLogResponse) | |
| GetResourcePackage | [GetResourcePackageRequest](#bytebase-v1-GetResourcePackageRequest) | [ResourcePackage](#bytebase-v1-ResourcePackage) | |
diff --git a/proto/gen/grpc-doc/v1/index.html b/proto/gen/grpc-doc/v1/index.html
index 85eef022af..74b9677a3e 100644
--- a/proto/gen/grpc-doc/v1/index.html
+++ b/proto/gen/grpc-doc/v1/index.html
@@ -213,10 +213,6 @@
<a href="#bytebase.v1.ActuatorInfo"><span class="badge">M</span>ActuatorInfo</a>
</li>
- <li>
- <a href="#bytebase.v1.DebugLog"><span class="badge">M</span>DebugLog</a>
- </li>
-
<li>
<a href="#bytebase.v1.DeleteCacheRequest"><span class="badge">M</span>DeleteCacheRequest</a>
</li>
@@ -229,14 +225,6 @@
<a href="#bytebase.v1.GetResourcePackageRequest"><span class="badge">M</span>GetResourcePackageRequest</a>
</li>
- <li>
- <a href="#bytebase.v1.ListDebugLogRequest"><span class="badge">M</span>ListDebugLogRequest</a>
- </li>
-
- <li>
- <a href="#bytebase.v1.ListDebugLogResponse"><span class="badge">M</span>ListDebugLogResponse</a>
- </li>
-
<li>
<a href="#bytebase.v1.ResourcePackage"><span class="badge">M</span>ResourcePackage</a>
</li>
@@ -3155,58 +3143,6 @@
- <h3 id="bytebase.v1.DebugLog">DebugLog</h3>
- <p></p>
-
-
- <table class="field-table">
- <thead>
- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
- </thead>
- <tbody>
-
- <tr>
- <td>record_time</td>
- <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>
- <td></td>
- <td><p> </p></td>
- </tr>
-
- <tr>
- <td>request_path</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p> </p></td>
- </tr>
-
- <tr>
- <td>user</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p> </p></td>
- </tr>
-
- <tr>
- <td>error</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p> </p></td>
- </tr>
-
- <tr>
- <td>stack_trace</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p> </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
<h3 id="bytebase.v1.DeleteCacheRequest">DeleteCacheRequest</h3>
<p></p>
@@ -3228,76 +3164,6 @@
- <h3 id="bytebase.v1.ListDebugLogRequest">ListDebugLogRequest</h3>
- <p></p>
-
-
- <table class="field-table">
- <thead>
- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
- </thead>
- <tbody>
-
- <tr>
- <td>page_size</td>
- <td><a href="#int32">int32</a></td>
- <td></td>
- <td><p>The maximum number of logs to return. The service may return fewer than
-this value.
-If unspecified, at most 50 logs will be returned.
-The maximum value is 1000; values above 1000 will be coerced to 1000. </p></td>
- </tr>
-
- <tr>
- <td>page_token</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>A page token, received from a previous `ListDebugLog` call.
-Provide this to retrieve the subsequent page.
-
-When paginating, all other parameters provided to `ListDebugLog` must match
-the call that provided the page token. </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.ListDebugLogResponse">ListDebugLogResponse</h3>
- <p></p>
-
-
- <table class="field-table">
- <thead>
- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
- </thead>
- <tbody>
-
- <tr>
- <td>logs</td>
- <td><a href="#bytebase.v1.DebugLog">DebugLog</a></td>
- <td>repeated</td>
- <td><p>The logs from the specified request. </p></td>
- </tr>
-
- <tr>
- <td>next_page_token</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>A token, which can be sent as `page_token` to retrieve the next page.
-If this field is omitted, there are no subsequent pages. </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
<h3 id="bytebase.v1.ResourcePackage">ResourcePackage</h3>
<p>The theme resources.</p>
@@ -3388,13 +3254,6 @@ If this field is omitted, there are no subsequent pages. </p></td>
<td><p></p></td>
</tr>
- <tr>
- <td>ListDebugLog</td>
- <td><a href="#bytebase.v1.ListDebugLogRequest">ListDebugLogRequest</a></td>
- <td><a href="#bytebase.v1.ListDebugLogResponse">ListDebugLogResponse</a></td>
- <td><p></p></td>
- </tr>
-
<tr>
<td>GetResourcePackage</td>
<td><a href="#bytebase.v1.GetResourcePackageRequest">GetResourcePackageRequest</a></td>
@@ -3452,16 +3311,6 @@ If this field is omitted, there are no subsequent pages. </p></td>
- <tr>
- <td>ListDebugLog</td>
- <td>GET</td>
- <td>/v1/actuator/debug</td>
- <td></td>
- </tr>
-
-
-
-
<tr>
<td>GetResourcePackage</td>
<td>GET</td>
diff --git a/proto/generated-go/v1/actuator_service.pb.go b/proto/generated-go/v1/actuator_service.pb.go
index 283cbe797a..bd539e30c4 100644
--- a/proto/generated-go/v1/actuator_service.pb.go
+++ b/proto/generated-go/v1/actuator_service.pb.go
@@ -207,207 +207,6 @@ func (x *UpdateActuatorInfoRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
return nil
}
-type ListDebugLogRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The maximum number of logs to return. The service may return fewer than
- // this value.
- // If unspecified, at most 50 logs will be returned.
- // The maximum value is 1000; values above 1000 will be coerced to 1000.
- PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
- // A page token, received from a previous `ListDebugLog` call.
- // Provide this to retrieve the subsequent page.
- //
- // When paginating, all other parameters provided to `ListDebugLog` must match
- // the call that provided the page token.
- PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
-}
-
-func (x *ListDebugLogRequest) Reset() {
- *x = ListDebugLogRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_v1_actuator_service_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *ListDebugLogRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ListDebugLogRequest) ProtoMessage() {}
-
-func (x *ListDebugLogRequest) ProtoReflect() protoreflect.Message {
- mi := &file_v1_actuator_service_proto_msgTypes[4]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ListDebugLogRequest.ProtoReflect.Descriptor instead.
-func (*ListDebugLogRequest) Descriptor() ([]byte, []int) {
- return file_v1_actuator_service_proto_rawDescGZIP(), []int{4}
-}
-
-func (x *ListDebugLogRequest) GetPageSize() int32 {
- if x != nil {
- return x.PageSize
- }
- return 0
-}
-
-func (x *ListDebugLogRequest) GetPageToken() string {
- if x != nil {
- return x.PageToken
- }
- return ""
-}
-
-type ListDebugLogResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The logs from the specified request.
- Logs []*DebugLog `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"`
- // A token, which can be sent as `page_token` to retrieve the next page.
- // If this field is omitted, there are no subsequent pages.
- NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
-}
-
-func (x *ListDebugLogResponse) Reset() {
- *x = ListDebugLogResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_v1_actuator_service_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *ListDebugLogResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ListDebugLogResponse) ProtoMessage() {}
-
-func (x *ListDebugLogResponse) ProtoReflect() protoreflect.Message {
- mi := &file_v1_actuator_service_proto_msgTypes[5]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ListDebugLogResponse.ProtoReflect.Descriptor instead.
-func (*ListDebugLogResponse) Descriptor() ([]byte, []int) {
- return file_v1_actuator_service_proto_rawDescGZIP(), []int{5}
-}
-
-func (x *ListDebugLogResponse) GetLogs() []*DebugLog {
- if x != nil {
- return x.Logs
- }
- return nil
-}
-
-func (x *ListDebugLogResponse) GetNextPageToken() string {
- if x != nil {
- return x.NextPageToken
- }
- return ""
-}
-
-type DebugLog struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- RecordTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=record_time,json=recordTime,proto3" json:"record_time,omitempty"`
- RequestPath string `protobuf:"bytes,2,opt,name=request_path,json=requestPath,proto3" json:"request_path,omitempty"`
- User string `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"`
- Error string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"`
- StackTrace string `protobuf:"bytes,5,opt,name=stack_trace,json=stackTrace,proto3" json:"stack_trace,omitempty"`
-}
-
-func (x *DebugLog) Reset() {
- *x = DebugLog{}
- if protoimpl.UnsafeEnabled {
- mi := &file_v1_actuator_service_proto_msgTypes[6]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *DebugLog) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*DebugLog) ProtoMessage() {}
-
-func (x *DebugLog) ProtoReflect() protoreflect.Message {
- mi := &file_v1_actuator_service_proto_msgTypes[6]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use DebugLog.ProtoReflect.Descriptor instead.
-func (*DebugLog) Descriptor() ([]byte, []int) {
- return file_v1_actuator_service_proto_rawDescGZIP(), []int{6}
-}
-
-func (x *DebugLog) GetRecordTime() *timestamppb.Timestamp {
- if x != nil {
- return x.RecordTime
- }
- return nil
-}
-
-func (x *DebugLog) GetRequestPath() string {
- if x != nil {
- return x.RequestPath
- }
- return ""
-}
-
-func (x *DebugLog) GetUser() string {
- if x != nil {
- return x.User
- }
- return ""
-}
-
-func (x *DebugLog) GetError() string {
- if x != nil {
- return x.Error
- }
- return ""
-}
-
-func (x *DebugLog) GetStackTrace() string {
- if x != nil {
- return x.StackTrace
- }
- return ""
-}
-
type DeleteCacheRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -417,7 +216,7 @@ type DeleteCacheRequest struct {
func (x *DeleteCacheRequest) Reset() {
*x = DeleteCacheRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_actuator_service_proto_msgTypes[7]
+ mi := &file_v1_actuator_service_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -430,7 +229,7 @@ func (x *DeleteCacheRequest) String() string {
func (*DeleteCacheRequest) ProtoMessage() {}
func (x *DeleteCacheRequest) ProtoReflect() protoreflect.Message {
- mi := &file_v1_actuator_service_proto_msgTypes[7]
+ mi := &file_v1_actuator_service_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -443,7 +242,7 @@ func (x *DeleteCacheRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use DeleteCacheRequest.ProtoReflect.Descriptor instead.
func (*DeleteCacheRequest) Descriptor() ([]byte, []int) {
- return file_v1_actuator_service_proto_rawDescGZIP(), []int{7}
+ return file_v1_actuator_service_proto_rawDescGZIP(), []int{4}
}
// ServerInfo is the API message for server info.
@@ -495,7 +294,7 @@ type ActuatorInfo struct {
func (x *ActuatorInfo) Reset() {
*x = ActuatorInfo{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_actuator_service_proto_msgTypes[8]
+ mi := &file_v1_actuator_service_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -508,7 +307,7 @@ func (x *ActuatorInfo) String() string {
func (*ActuatorInfo) ProtoMessage() {}
func (x *ActuatorInfo) ProtoReflect() protoreflect.Message {
- mi := &file_v1_actuator_service_proto_msgTypes[8]
+ mi := &file_v1_actuator_service_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -521,7 +320,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{8}
+ return file_v1_actuator_service_proto_rawDescGZIP(), []int{5}
}
func (x *ActuatorInfo) GetVersion() string {
@@ -691,121 +490,90 @@ var file_v1_actuator_service_proto_rawDesc = []byte{
0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42,
0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73,
- 0x6b, 0x22, 0x51, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x65, 0x62, 0x75, 0x67, 0x4c, 0x6f,
- 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65,
- 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67,
- 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f,
- 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54,
- 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x69, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x65, 0x62, 0x75,
- 0x67, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x04,
- 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x62, 0x79, 0x74,
- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x62, 0x75, 0x67, 0x4c, 0x6f,
- 0x67, 0x52, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f,
- 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22,
- 0xb5, 0x01, 0x0a, 0x08, 0x44, 0x65, 0x62, 0x75, 0x67, 0x4c, 0x6f, 0x67, 0x12, 0x3b, 0x0a, 0x0b,
- 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x72,
- 0x65, 0x63, 0x6f, 0x72, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x71,
- 0x75, 0x65, 0x73, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x0b, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x61, 0x74, 0x68, 0x12, 0x12, 0x0a, 0x04,
- 0x75, 0x73, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72,
- 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x5f,
- 0x74, 0x72, 0x61, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x74, 0x61,
- 0x63, 0x6b, 0x54, 0x72, 0x61, 0x63, 0x65, 0x22, 0x14, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74,
- 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xe0, 0x05,
- 0x0a, 0x0c, 0x41, 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1e,
- 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42,
- 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x23,
- 0x0a, 0x0a, 0x67, 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x09, 0x67, 0x69, 0x74, 0x43, 0x6f, 0x6d,
- 0x6d, 0x69, 0x74, 0x12, 0x20, 0x0a, 0x08, 0x72, 0x65, 0x61, 0x64, 0x6f, 0x6e, 0x6c, 0x79, 0x18,
- 0x03, 0x20, 0x01, 0x28, 0x08, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x08, 0x72, 0x65, 0x61,
- 0x64, 0x6f, 0x6e, 0x6c, 0x79, 0x12, 0x18, 0x0a, 0x04, 0x73, 0x61, 0x61, 0x73, 0x18, 0x04, 0x20,
- 0x01, 0x28, 0x08, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x04, 0x73, 0x61, 0x61, 0x73, 0x12,
- 0x21, 0x0a, 0x09, 0x64, 0x65, 0x6d, 0x6f, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01,
- 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x08, 0x64, 0x65, 0x6d, 0x6f, 0x4e, 0x61,
- 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09,
- 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x04,
- 0x70, 0x6f, 0x72, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03,
- 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x27, 0x0a, 0x0c, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e,
- 0x61, 0x6c, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41,
- 0x01, 0x03, 0x52, 0x0b, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x55, 0x72, 0x6c, 0x12,
- 0x2e, 0x0a, 0x10, 0x6e, 0x65, 0x65, 0x64, 0x5f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x73, 0x65,
- 0x74, 0x75, 0x70, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52,
- 0x0e, 0x6e, 0x65, 0x65, 0x64, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x53, 0x65, 0x74, 0x75, 0x70, 0x12,
- 0x2d, 0x0a, 0x0f, 0x64, 0x69, 0x73, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x73, 0x69, 0x67, 0x6e,
- 0x75, 0x70, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0e,
- 0x64, 0x69, 0x73, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x53, 0x69, 0x67, 0x6e, 0x75, 0x70, 0x12, 0x4a,
- 0x0a, 0x10, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x74, 0x69,
- 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
- 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73,
- 0x74, 0x61, 0x6d, 0x70, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0e, 0x6c, 0x61, 0x73, 0x74,
- 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x0b, 0x72, 0x65,
- 0x71, 0x75, 0x69, 0x72, 0x65, 0x5f, 0x32, 0x66, 0x61, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x42,
- 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x32, 0x66,
- 0x61, 0x12, 0x27, 0x0a, 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x69,
- 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0b, 0x77,
- 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x64, 0x12, 0x32, 0x0a, 0x12, 0x67, 0x69,
- 0x74, 0x6f, 0x70, 0x73, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x5f, 0x75, 0x72, 0x6c,
- 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x10, 0x67, 0x69,
- 0x74, 0x6f, 0x70, 0x73, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x55, 0x72, 0x6c, 0x12, 0x14,
- 0x0a, 0x05, 0x64, 0x65, 0x62, 0x75, 0x67, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x64,
- 0x65, 0x62, 0x75, 0x67, 0x12, 0x10, 0x0a, 0x03, 0x6c, 0x73, 0x70, 0x18, 0x10, 0x20, 0x01, 0x28,
- 0x08, 0x52, 0x03, 0x6c, 0x73, 0x70, 0x12, 0x2a, 0x0a, 0x11, 0x70, 0x72, 0x65, 0x5f, 0x75, 0x70,
- 0x64, 0x61, 0x74, 0x65, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x18, 0x11, 0x20, 0x01, 0x28,
- 0x08, 0x52, 0x0f, 0x70, 0x72, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x61, 0x63, 0x6b,
- 0x75, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x61, 0x6d, 0x5f, 0x67, 0x75, 0x61, 0x72, 0x64, 0x18,
- 0x12, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x61, 0x6d, 0x47, 0x75, 0x61, 0x72, 0x64, 0x12,
- 0x2f, 0x0a, 0x13, 0x75, 0x6e, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x64, 0x5f, 0x66, 0x65,
- 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x13, 0x20, 0x03, 0x28, 0x09, 0x52, 0x12, 0x75, 0x6e,
- 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x64, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73,
- 0x32, 0x97, 0x05, 0x0a, 0x0f, 0x41, 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72, 0x53, 0x65, 0x72,
- 0x76, 0x69, 0x63, 0x65, 0x12, 0x73, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, 0x75, 0x61,
- 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x23, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,
- 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f,
- 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x62,
- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x74, 0x75, 0x61,
- 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x20, 0xda, 0x41, 0x00, 0x80, 0xea, 0x30, 0x01,
- 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x13, 0x12, 0x11, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x63, 0x74, 0x75,
- 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0xaa, 0x01, 0x0a, 0x12, 0x55, 0x70,
- 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f,
- 0x12, 0x26, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55,
- 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x66,
- 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
- 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72, 0x49,
- 0x6e, 0x66, 0x6f, 0x22, 0x51, 0xda, 0x41, 0x14, 0x61, 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72,
- 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x8a, 0xea, 0x30, 0x0f,
- 0x62, 0x62, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x90,
- 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x3a, 0x08, 0x61, 0x63, 0x74, 0x75, 0x61,
- 0x74, 0x6f, 0x72, 0x32, 0x11, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f,
- 0x72, 0x2f, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x66, 0x0a, 0x0b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
- 0x43, 0x61, 0x63, 0x68, 0x65, 0x12, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
- 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52,
- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x1e,
- 0x80, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x14, 0x2a, 0x12, 0x2f, 0x76, 0x31, 0x2f,
- 0x61, 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x63, 0x61, 0x63, 0x68, 0x65, 0x12, 0x76,
- 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x65, 0x62, 0x75, 0x67, 0x4c, 0x6f, 0x67, 0x12, 0x20,
- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73,
- 0x74, 0x44, 0x65, 0x62, 0x75, 0x67, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
- 0x1a, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c,
- 0x69, 0x73, 0x74, 0x44, 0x65, 0x62, 0x75, 0x67, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f,
- 0x6e, 0x73, 0x65, 0x22, 0x21, 0xda, 0x41, 0x00, 0x90, 0xea, 0x30, 0x02, 0x82, 0xd3, 0xe4, 0x93,
- 0x02, 0x14, 0x12, 0x12, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72,
- 0x2f, 0x64, 0x65, 0x62, 0x75, 0x67, 0x12, 0x81, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x52, 0x65,
- 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x12, 0x26, 0x2e,
- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52,
- 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x52, 0x65,
- 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
- 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x61, 0x63, 0x6b,
- 0x61, 0x67, 0x65, 0x22, 0x25, 0xda, 0x41, 0x00, 0x80, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93,
- 0x02, 0x18, 0x12, 0x16, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72,
- 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x42, 0x11, 0x5a, 0x0f, 0x67, 0x65,
- 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2d, 0x67, 0x6f, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x33,
+ 0x6b, 0x22, 0x14, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65,
+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xe0, 0x05, 0x0a, 0x0c, 0x41, 0x63, 0x74, 0x75,
+ 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1e, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73,
+ 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52,
+ 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0a, 0x67, 0x69, 0x74, 0x5f,
+ 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41,
+ 0x01, 0x03, 0x52, 0x09, 0x67, 0x69, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x20, 0x0a,
+ 0x08, 0x72, 0x65, 0x61, 0x64, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x42,
+ 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x6f, 0x6e, 0x6c, 0x79, 0x12,
+ 0x18, 0x0a, 0x04, 0x73, 0x61, 0x61, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x42, 0x04, 0xe2,
+ 0x41, 0x01, 0x03, 0x52, 0x04, 0x73, 0x61, 0x61, 0x73, 0x12, 0x21, 0x0a, 0x09, 0x64, 0x65, 0x6d,
+ 0x6f, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41,
+ 0x01, 0x03, 0x52, 0x08, 0x64, 0x65, 0x6d, 0x6f, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x04,
+ 0x68, 0x6f, 0x73, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03,
+ 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x07,
+ 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74,
+ 0x12, 0x27, 0x0a, 0x0c, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x75, 0x72, 0x6c,
+ 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0b, 0x65, 0x78,
+ 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x55, 0x72, 0x6c, 0x12, 0x2e, 0x0a, 0x10, 0x6e, 0x65, 0x65,
+ 0x64, 0x5f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x73, 0x65, 0x74, 0x75, 0x70, 0x18, 0x09, 0x20,
+ 0x01, 0x28, 0x08, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0e, 0x6e, 0x65, 0x65, 0x64, 0x41,
+ 0x64, 0x6d, 0x69, 0x6e, 0x53, 0x65, 0x74, 0x75, 0x70, 0x12, 0x2d, 0x0a, 0x0f, 0x64, 0x69, 0x73,
+ 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x75, 0x70, 0x18, 0x0a, 0x20, 0x01,
+ 0x28, 0x08, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0e, 0x64, 0x69, 0x73, 0x61, 0x6c, 0x6c,
+ 0x6f, 0x77, 0x53, 0x69, 0x67, 0x6e, 0x75, 0x70, 0x12, 0x4a, 0x0a, 0x10, 0x6c, 0x61, 0x73, 0x74,
+ 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01,
+ 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
+ 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x04,
+ 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0e, 0x6c, 0x61, 0x73, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65,
+ 0x54, 0x69, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x0b, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x5f,
+ 0x32, 0x66, 0x61, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52,
+ 0x0a, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x32, 0x66, 0x61, 0x12, 0x27, 0x0a, 0x0c, 0x77,
+ 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28,
+ 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0b, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61,
+ 0x63, 0x65, 0x49, 0x64, 0x12, 0x32, 0x0a, 0x12, 0x67, 0x69, 0x74, 0x6f, 0x70, 0x73, 0x5f, 0x77,
+ 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09,
+ 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x10, 0x67, 0x69, 0x74, 0x6f, 0x70, 0x73, 0x57, 0x65,
+ 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x55, 0x72, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x62, 0x75,
+ 0x67, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x64, 0x65, 0x62, 0x75, 0x67, 0x12, 0x10,
+ 0x0a, 0x03, 0x6c, 0x73, 0x70, 0x18, 0x10, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x6c, 0x73, 0x70,
+ 0x12, 0x2a, 0x0a, 0x11, 0x70, 0x72, 0x65, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x62,
+ 0x61, 0x63, 0x6b, 0x75, 0x70, 0x18, 0x11, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x70, 0x72, 0x65,
+ 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x12, 0x1b, 0x0a, 0x09,
+ 0x69, 0x61, 0x6d, 0x5f, 0x67, 0x75, 0x61, 0x72, 0x64, 0x18, 0x12, 0x20, 0x01, 0x28, 0x08, 0x52,
+ 0x08, 0x69, 0x61, 0x6d, 0x47, 0x75, 0x61, 0x72, 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x75, 0x6e, 0x6c,
+ 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x64, 0x5f, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73,
+ 0x18, 0x13, 0x20, 0x03, 0x28, 0x09, 0x52, 0x12, 0x75, 0x6e, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73,
+ 0x65, 0x64, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x32, 0x9f, 0x04, 0x0a, 0x0f, 0x41,
+ 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x73,
+ 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x66,
+ 0x6f, 0x12, 0x23, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,
+ 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52,
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,
+ 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x66,
+ 0x6f, 0x22, 0x20, 0xda, 0x41, 0x00, 0x80, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x13,
+ 0x12, 0x11, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x69,
+ 0x6e, 0x66, 0x6f, 0x12, 0xaa, 0x01, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x63,
+ 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x26, 0x2e, 0x62, 0x79, 0x74,
+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41,
+ 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65,
+ 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,
+ 0x2e, 0x41, 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x51, 0xda,
+ 0x41, 0x14, 0x61, 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74,
+ 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x8a, 0xea, 0x30, 0x0f, 0x62, 0x62, 0x2e, 0x73, 0x65, 0x74,
+ 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4,
+ 0x93, 0x02, 0x1d, 0x3a, 0x08, 0x61, 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72, 0x32, 0x11, 0x2f,
+ 0x76, 0x31, 0x2f, 0x61, 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x69, 0x6e, 0x66, 0x6f,
+ 0x12, 0x66, 0x0a, 0x0b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, 0x12,
+ 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65,
+ 0x6c, 0x65, 0x74, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
+ 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
+ 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x1e, 0x80, 0xea, 0x30, 0x01, 0x82, 0xd3,
+ 0xe4, 0x93, 0x02, 0x14, 0x2a, 0x12, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x63, 0x74, 0x75, 0x61, 0x74,
+ 0x6f, 0x72, 0x2f, 0x63, 0x61, 0x63, 0x68, 0x65, 0x12, 0x81, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74,
+ 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x12,
+ 0x26, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65,
+ 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65,
+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,
+ 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x61,
+ 0x63, 0x6b, 0x61, 0x67, 0x65, 0x22, 0x25, 0xda, 0x41, 0x00, 0x80, 0xea, 0x30, 0x01, 0x82, 0xd3,
+ 0xe4, 0x93, 0x02, 0x18, 0x12, 0x16, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x63, 0x74, 0x75, 0x61, 0x74,
+ 0x6f, 0x72, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x42, 0x11, 0x5a, 0x0f,
+ 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2d, 0x67, 0x6f, 0x2f, 0x76, 0x31, 0x62,
+ 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
@@ -820,42 +588,35 @@ 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, 9)
+var file_v1_actuator_service_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
var file_v1_actuator_service_proto_goTypes = []any{
(*GetResourcePackageRequest)(nil), // 0: bytebase.v1.GetResourcePackageRequest
(*ResourcePackage)(nil), // 1: bytebase.v1.ResourcePackage
(*GetActuatorInfoRequest)(nil), // 2: bytebase.v1.GetActuatorInfoRequest
(*UpdateActuatorInfoRequest)(nil), // 3: bytebase.v1.UpdateActuatorInfoRequest
- (*ListDebugLogRequest)(nil), // 4: bytebase.v1.ListDebugLogRequest
- (*ListDebugLogResponse)(nil), // 5: bytebase.v1.ListDebugLogResponse
- (*DebugLog)(nil), // 6: bytebase.v1.DebugLog
- (*DeleteCacheRequest)(nil), // 7: bytebase.v1.DeleteCacheRequest
- (*ActuatorInfo)(nil), // 8: bytebase.v1.ActuatorInfo
- (*fieldmaskpb.FieldMask)(nil), // 9: google.protobuf.FieldMask
- (*timestamppb.Timestamp)(nil), // 10: google.protobuf.Timestamp
- (*emptypb.Empty)(nil), // 11: google.protobuf.Empty
+ (*DeleteCacheRequest)(nil), // 4: bytebase.v1.DeleteCacheRequest
+ (*ActuatorInfo)(nil), // 5: bytebase.v1.ActuatorInfo
+ (*fieldmaskpb.FieldMask)(nil), // 6: google.protobuf.FieldMask
+ (*timestamppb.Timestamp)(nil), // 7: google.protobuf.Timestamp
+ (*emptypb.Empty)(nil), // 8: google.protobuf.Empty
}
var file_v1_actuator_service_proto_depIdxs = []int32{
- 8, // 0: bytebase.v1.UpdateActuatorInfoRequest.actuator:type_name -> bytebase.v1.ActuatorInfo
- 9, // 1: bytebase.v1.UpdateActuatorInfoRequest.update_mask:type_name -> google.protobuf.FieldMask
- 6, // 2: bytebase.v1.ListDebugLogResponse.logs:type_name -> bytebase.v1.DebugLog
- 10, // 3: bytebase.v1.DebugLog.record_time:type_name -> google.protobuf.Timestamp
- 10, // 4: bytebase.v1.ActuatorInfo.last_active_time:type_name -> google.protobuf.Timestamp
- 2, // 5: bytebase.v1.ActuatorService.GetActuatorInfo:input_type -> bytebase.v1.GetActuatorInfoRequest
- 3, // 6: bytebase.v1.ActuatorService.UpdateActuatorInfo:input_type -> bytebase.v1.UpdateActuatorInfoRequest
- 7, // 7: bytebase.v1.ActuatorService.DeleteCache:input_type -> bytebase.v1.DeleteCacheRequest
- 4, // 8: bytebase.v1.ActuatorService.ListDebugLog:input_type -> bytebase.v1.ListDebugLogRequest
- 0, // 9: bytebase.v1.ActuatorService.GetResourcePackage:input_type -> bytebase.v1.GetResourcePackageRequest
- 8, // 10: bytebase.v1.ActuatorService.GetActuatorInfo:output_type -> bytebase.v1.ActuatorInfo
- 8, // 11: bytebase.v1.ActuatorService.UpdateActuatorInfo:output_type -> bytebase.v1.ActuatorInfo
- 11, // 12: bytebase.v1.ActuatorService.DeleteCache:output_type -> google.protobuf.Empty
- 5, // 13: bytebase.v1.ActuatorService.ListDebugLog:output_type -> bytebase.v1.ListDebugLogResponse
- 1, // 14: bytebase.v1.ActuatorService.GetResourcePackage:output_type -> bytebase.v1.ResourcePackage
- 10, // [10:15] is the sub-list for method output_type
- 5, // [5:10] is the sub-list for method input_type
- 5, // [5:5] is the sub-list for extension type_name
- 5, // [5:5] is the sub-list for extension extendee
- 0, // [0:5] is the sub-list for field type_name
+ 5, // 0: bytebase.v1.UpdateActuatorInfoRequest.actuator:type_name -> bytebase.v1.ActuatorInfo
+ 6, // 1: bytebase.v1.UpdateActuatorInfoRequest.update_mask:type_name -> google.protobuf.FieldMask
+ 7, // 2: bytebase.v1.ActuatorInfo.last_active_time:type_name -> google.protobuf.Timestamp
+ 2, // 3: bytebase.v1.ActuatorService.GetActuatorInfo:input_type -> bytebase.v1.GetActuatorInfoRequest
+ 3, // 4: bytebase.v1.ActuatorService.UpdateActuatorInfo:input_type -> bytebase.v1.UpdateActuatorInfoRequest
+ 4, // 5: bytebase.v1.ActuatorService.DeleteCache:input_type -> bytebase.v1.DeleteCacheRequest
+ 0, // 6: bytebase.v1.ActuatorService.GetResourcePackage:input_type -> bytebase.v1.GetResourcePackageRequest
+ 5, // 7: bytebase.v1.ActuatorService.GetActuatorInfo:output_type -> bytebase.v1.ActuatorInfo
+ 5, // 8: bytebase.v1.ActuatorService.UpdateActuatorInfo:output_type -> bytebase.v1.ActuatorInfo
+ 8, // 9: bytebase.v1.ActuatorService.DeleteCache:output_type -> google.protobuf.Empty
+ 1, // 10: bytebase.v1.ActuatorService.GetResourcePackage:output_type -> bytebase.v1.ResourcePackage
+ 7, // [7:11] is the sub-list for method output_type
+ 3, // [3:7] is the sub-list for method input_type
+ 3, // [3:3] is the sub-list for extension type_name
+ 3, // [3:3] is the sub-list for extension extendee
+ 0, // [0:3] is the sub-list for field type_name
}
func init() { file_v1_actuator_service_proto_init() }
@@ -914,42 +675,6 @@ func file_v1_actuator_service_proto_init() {
}
}
file_v1_actuator_service_proto_msgTypes[4].Exporter = func(v any, i int) any {
- switch v := v.(*ListDebugLogRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_v1_actuator_service_proto_msgTypes[5].Exporter = func(v any, i int) any {
- switch v := v.(*ListDebugLogResponse); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_v1_actuator_service_proto_msgTypes[6].Exporter = func(v any, i int) any {
- switch v := v.(*DebugLog); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_v1_actuator_service_proto_msgTypes[7].Exporter = func(v any, i int) any {
switch v := v.(*DeleteCacheRequest); i {
case 0:
return &v.state
@@ -961,7 +686,7 @@ func file_v1_actuator_service_proto_init() {
return nil
}
}
- file_v1_actuator_service_proto_msgTypes[8].Exporter = func(v any, i int) any {
+ file_v1_actuator_service_proto_msgTypes[5].Exporter = func(v any, i int) any {
switch v := v.(*ActuatorInfo); i {
case 0:
return &v.state
@@ -980,7 +705,7 @@ func file_v1_actuator_service_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_v1_actuator_service_proto_rawDesc,
NumEnums: 0,
- NumMessages: 9,
+ NumMessages: 6,
NumExtensions: 0,
NumServices: 1,
},
diff --git a/proto/generated-go/v1/actuator_service.pb.gw.go b/proto/generated-go/v1/actuator_service.pb.gw.go
index bc36d21822..a3566f64ac 100644
--- a/proto/generated-go/v1/actuator_service.pb.gw.go
+++ b/proto/generated-go/v1/actuator_service.pb.gw.go
@@ -133,42 +133,6 @@ func local_request_ActuatorService_DeleteCache_0(ctx context.Context, marshaler
}
-var (
- filter_ActuatorService_ListDebugLog_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)}
-)
-
-func request_ActuatorService_ListDebugLog_0(ctx context.Context, marshaler runtime.Marshaler, client ActuatorServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
- var protoReq ListDebugLogRequest
- var metadata runtime.ServerMetadata
-
- if err := req.ParseForm(); err != nil {
- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
- }
- if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_ActuatorService_ListDebugLog_0); err != nil {
- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
- }
-
- msg, err := client.ListDebugLog(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
- return msg, metadata, err
-
-}
-
-func local_request_ActuatorService_ListDebugLog_0(ctx context.Context, marshaler runtime.Marshaler, server ActuatorServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
- var protoReq ListDebugLogRequest
- var metadata runtime.ServerMetadata
-
- if err := req.ParseForm(); err != nil {
- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
- }
- if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_ActuatorService_ListDebugLog_0); err != nil {
- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
- }
-
- msg, err := server.ListDebugLog(ctx, &protoReq)
- return msg, metadata, err
-
-}
-
func request_ActuatorService_GetResourcePackage_0(ctx context.Context, marshaler runtime.Marshaler, client ActuatorServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
var protoReq GetResourcePackageRequest
var metadata runtime.ServerMetadata
@@ -268,31 +232,6 @@ func RegisterActuatorServiceHandlerServer(ctx context.Context, mux *runtime.Serv
})
- mux.Handle("GET", pattern_ActuatorService_ListDebugLog_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)
- var err error
- var annotatedContext context.Context
- annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/bytebase.v1.ActuatorService/ListDebugLog", runtime.WithHTTPPathPattern("/v1/actuator/debug"))
- if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
- return
- }
- resp, md, err := local_request_ActuatorService_ListDebugLog_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_ListDebugLog_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
-
- })
-
mux.Handle("GET", pattern_ActuatorService_GetResourcePackage_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
@@ -425,28 +364,6 @@ func RegisterActuatorServiceHandlerClient(ctx context.Context, mux *runtime.Serv
})
- mux.Handle("GET", pattern_ActuatorService_ListDebugLog_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)
- var err error
- var annotatedContext context.Context
- annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/bytebase.v1.ActuatorService/ListDebugLog", runtime.WithHTTPPathPattern("/v1/actuator/debug"))
- if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
- return
- }
- resp, md, err := request_ActuatorService_ListDebugLog_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_ListDebugLog_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
-
- })
-
mux.Handle("GET", pattern_ActuatorService_GetResourcePackage_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
@@ -479,8 +396,6 @@ var (
pattern_ActuatorService_DeleteCache_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"v1", "actuator", "cache"}, ""))
- pattern_ActuatorService_ListDebugLog_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"v1", "actuator", "debug"}, ""))
-
pattern_ActuatorService_GetResourcePackage_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"v1", "actuator", "resources"}, ""))
)
@@ -491,7 +406,5 @@ var (
forward_ActuatorService_DeleteCache_0 = runtime.ForwardResponseMessage
- forward_ActuatorService_ListDebugLog_0 = runtime.ForwardResponseMessage
-
forward_ActuatorService_GetResourcePackage_0 = runtime.ForwardResponseMessage
)
diff --git a/proto/generated-go/v1/actuator_service_grpc.pb.go b/proto/generated-go/v1/actuator_service_grpc.pb.go
index 8b203cafc5..53fdfdd8e2 100644
--- a/proto/generated-go/v1/actuator_service_grpc.pb.go
+++ b/proto/generated-go/v1/actuator_service_grpc.pb.go
@@ -23,7 +23,6 @@ const (
ActuatorService_GetActuatorInfo_FullMethodName = "/bytebase.v1.ActuatorService/GetActuatorInfo"
ActuatorService_UpdateActuatorInfo_FullMethodName = "/bytebase.v1.ActuatorService/UpdateActuatorInfo"
ActuatorService_DeleteCache_FullMethodName = "/bytebase.v1.ActuatorService/DeleteCache"
- ActuatorService_ListDebugLog_FullMethodName = "/bytebase.v1.ActuatorService/ListDebugLog"
ActuatorService_GetResourcePackage_FullMethodName = "/bytebase.v1.ActuatorService/GetResourcePackage"
)
@@ -34,7 +33,6 @@ type ActuatorServiceClient interface {
GetActuatorInfo(ctx context.Context, in *GetActuatorInfoRequest, opts ...grpc.CallOption) (*ActuatorInfo, error)
UpdateActuatorInfo(ctx context.Context, in *UpdateActuatorInfoRequest, opts ...grpc.CallOption) (*ActuatorInfo, error)
DeleteCache(ctx context.Context, in *DeleteCacheRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- ListDebugLog(ctx context.Context, in *ListDebugLogRequest, opts ...grpc.CallOption) (*ListDebugLogResponse, error)
GetResourcePackage(ctx context.Context, in *GetResourcePackageRequest, opts ...grpc.CallOption) (*ResourcePackage, error)
}
@@ -76,16 +74,6 @@ func (c *actuatorServiceClient) DeleteCache(ctx context.Context, in *DeleteCache
return out, nil
}
-func (c *actuatorServiceClient) ListDebugLog(ctx context.Context, in *ListDebugLogRequest, opts ...grpc.CallOption) (*ListDebugLogResponse, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ListDebugLogResponse)
- err := c.cc.Invoke(ctx, ActuatorService_ListDebugLog_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
func (c *actuatorServiceClient) GetResourcePackage(ctx context.Context, in *GetResourcePackageRequest, opts ...grpc.CallOption) (*ResourcePackage, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(ResourcePackage)
@@ -103,7 +91,6 @@ type ActuatorServiceServer interface {
GetActuatorInfo(context.Context, *GetActuatorInfoRequest) (*ActuatorInfo, error)
UpdateActuatorInfo(context.Context, *UpdateActuatorInfoRequest) (*ActuatorInfo, error)
DeleteCache(context.Context, *DeleteCacheRequest) (*emptypb.Empty, error)
- ListDebugLog(context.Context, *ListDebugLogRequest) (*ListDebugLogResponse, error)
GetResourcePackage(context.Context, *GetResourcePackageRequest) (*ResourcePackage, error)
mustEmbedUnimplementedActuatorServiceServer()
}
@@ -121,9 +108,6 @@ func (UnimplementedActuatorServiceServer) UpdateActuatorInfo(context.Context, *U
func (UnimplementedActuatorServiceServer) DeleteCache(context.Context, *DeleteCacheRequest) (*emptypb.Empty, error) {
return nil, status.Errorf(codes.Unimplemented, "method DeleteCache not implemented")
}
-func (UnimplementedActuatorServiceServer) ListDebugLog(context.Context, *ListDebugLogRequest) (*ListDebugLogResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ListDebugLog not implemented")
-}
func (UnimplementedActuatorServiceServer) GetResourcePackage(context.Context, *GetResourcePackageRequest) (*ResourcePackage, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetResourcePackage not implemented")
}
@@ -194,24 +178,6 @@ func _ActuatorService_DeleteCache_Handler(srv interface{}, ctx context.Context,
return interceptor(ctx, in, info, handler)
}
-func _ActuatorService_ListDebugLog_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ListDebugLogRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(ActuatorServiceServer).ListDebugLog(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: ActuatorService_ListDebugLog_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(ActuatorServiceServer).ListDebugLog(ctx, req.(*ListDebugLogRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
func _ActuatorService_GetResourcePackage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetResourcePackageRequest)
if err := dec(in); err != nil {
@@ -249,10 +215,6 @@ var ActuatorService_ServiceDesc = grpc.ServiceDesc{
MethodName: "DeleteCache",
Handler: _ActuatorService_DeleteCache_Handler,
},
- {
- MethodName: "ListDebugLog",
- Handler: _ActuatorService_ListDebugLog_Handler,
- },
{
MethodName: "GetResourcePackage",
Handler: _ActuatorService_GetResourcePackage_Handler,
diff --git a/proto/v1/actuator_service.proto b/proto/v1/actuator_service.proto
index d11771f8c8..4be36d700e 100644
--- a/proto/v1/actuator_service.proto
+++ b/proto/v1/actuator_service.proto
@@ -34,12 +34,6 @@ service ActuatorService {
option (bytebase.v1.allow_without_credential) = true;
}
- rpc ListDebugLog(ListDebugLogRequest) returns (ListDebugLogResponse) {
- option (google.api.http) = {get: "/v1/actuator/debug"};
- option (google.api.method_signature) = "";
- option (bytebase.v1.auth_method) = CUSTOM;
- }
-
rpc GetResourcePackage(GetResourcePackageRequest) returns (ResourcePackage) {
option (google.api.http) = {get: "/v1/actuator/resources"};
option (google.api.method_signature) = "";
@@ -66,42 +60,6 @@ message UpdateActuatorInfoRequest {
google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED];
}
-message ListDebugLogRequest {
- // The maximum number of logs to return. The service may return fewer than
- // this value.
- // If unspecified, at most 50 logs will be returned.
- // The maximum value is 1000; values above 1000 will be coerced to 1000.
- int32 page_size = 1;
-
- // A page token, received from a previous `ListDebugLog` call.
- // Provide this to retrieve the subsequent page.
- //
- // When paginating, all other parameters provided to `ListDebugLog` must match
- // the call that provided the page token.
- string page_token = 2;
-}
-
-message ListDebugLogResponse {
- // The logs from the specified request.
- repeated DebugLog logs = 1;
-
- // A token, which can be sent as `page_token` to retrieve the next page.
- // If this field is omitted, there are no subsequent pages.
- string next_page_token = 2;
-}
-
-message DebugLog {
- google.protobuf.Timestamp record_time = 1;
-
- string request_path = 2;
-
- string user = 3;
-
- string error = 4;
-
- string stack_trace = 5;
-}
-
message DeleteCacheRequest {}
// ServerInfo is the API message for server info.