1. 目录架构统一(API = components = 菜单域,一域一目录 + barrel) - log/ 提为独立顶层域(日志中心在菜单中与监控中心平级,不再塞在 monitor/) - task/ 拆分原 automation.ts → cron-job / script / remote-exec - aiops/ 合并 ai.ts + agentCli.ts → assistant + agent-cli - agent/ approval/ audit/ 提升为域目录 - auth 拆分:authApi(认证自服务) + system/user.ts(userApi+ldapApi 管理端) - components/automation → components/task,菜单"自动化运维"→"作业任务" - pages/ 按域分子目录(approval/audit/monitor),删孤儿 AuditPage.tsx - 所有 API 符号名不变,组件经 @/api 聚合引用,运行时行为零变化 2. Loki 查询无返回修复:aiops 容器 DNS 解析外网域名失败 (宿主机 systemd-resolved 转发链路异常),docker-compose 显式配 dns 上游 3. ES 查询框布局:工具栏单行挤 7 控件(ES 多 150px 索引框),拆两行—— 查询输入独占一行(+查询按钮),次级控件换行 flex-wrap Co-Authored-By: Claude <noreply@anthropic.com>
199 lines
5.7 KiB
JSON
199 lines
5.7 KiB
JSON
{
|
|
"common": {
|
|
"appName": "AIOps Platform",
|
|
"confirm": "Confirm",
|
|
"cancel": "Cancel",
|
|
"save": "Save",
|
|
"delete": "Delete",
|
|
"edit": "Edit",
|
|
"add": "Add",
|
|
"create": "Create",
|
|
"update": "Update",
|
|
"search": "Search",
|
|
"refresh": "Refresh",
|
|
"loading": "Loading...",
|
|
"success": "Success",
|
|
"failed": "Failed",
|
|
"error": "Error",
|
|
"warning": "Warning",
|
|
"info": "Info",
|
|
"close": "Close",
|
|
"back": "Back",
|
|
"next": "Next",
|
|
"previous": "Previous",
|
|
"submit": "Submit",
|
|
"reset": "Reset",
|
|
"export": "Export",
|
|
"import": "Import",
|
|
"download": "Download",
|
|
"upload": "Upload",
|
|
"copy": "Copy",
|
|
"copied": "Copied",
|
|
"test": "Test",
|
|
"enable": "Enable",
|
|
"disable": "Disable",
|
|
"all": "All",
|
|
"none": "None",
|
|
"yes": "Yes",
|
|
"no": "No",
|
|
"actions": "Actions",
|
|
"status": "Status",
|
|
"name": "Name",
|
|
"description": "Description",
|
|
"type": "Type",
|
|
"createdAt": "Created At",
|
|
"updatedAt": "Updated At",
|
|
"noData": "No Data",
|
|
"total": "Total",
|
|
"detail": "Detail",
|
|
"more": "More",
|
|
"filter": "Filter",
|
|
"clear": "Clear",
|
|
"apply": "Apply",
|
|
"approve": "Approve",
|
|
"reject": "Reject",
|
|
"pending": "Pending",
|
|
"approved": "Approved",
|
|
"rejected": "Rejected",
|
|
"online": "Online",
|
|
"offline": "Offline",
|
|
"running": "Running",
|
|
"stopped": "Stopped",
|
|
"maintenance": "Maintenance",
|
|
"unknown": "Unknown",
|
|
"active": "Active",
|
|
"inactive": "Inactive",
|
|
"required": "Required",
|
|
"optional": "Optional",
|
|
"confirmDelete": "Confirm delete? This action cannot be undone.",
|
|
"savedSuccessfully": "Saved successfully",
|
|
"deletedSuccessfully": "Deleted successfully",
|
|
"operationSuccess": "Operation succeeded",
|
|
"operationFailed": "Operation failed",
|
|
"loadFailed": "Failed to load",
|
|
"saveFailed": "Failed to save"
|
|
},
|
|
"menu": {
|
|
"dashboard": "Dashboard",
|
|
"assets": "Assets",
|
|
"servers": "Servers",
|
|
"cloudAccounts": "Cloud Accounts",
|
|
"domains": "Domains",
|
|
"regions": "Regions",
|
|
"platforms": "Cloud Platforms",
|
|
"cloudBilling": "Cloud Billing",
|
|
"kubernetes": "Kubernetes",
|
|
"clusterList": "Clusters",
|
|
"nodeManagement": "Nodes",
|
|
"workloads": "Workloads",
|
|
"deployments": "Deployments",
|
|
"statefulsets": "StatefulSets",
|
|
"daemonsets": "DaemonSets",
|
|
"cronjobs": "CronJobs",
|
|
"pods": "Pods",
|
|
"network": "Network",
|
|
"services": "Services",
|
|
"ingresses": "Ingresses",
|
|
"configCenter": "Configuration",
|
|
"configmaps": "ConfigMaps",
|
|
"secrets": "Secrets",
|
|
"storage": "Storage",
|
|
"events": "Events",
|
|
"topology": "Topology",
|
|
"deploy": "Deployment",
|
|
"pipelines": "Pipelines",
|
|
"deployConfig": "Deploy Config",
|
|
"deployRbac": "Deploy RBAC",
|
|
"monitor": "Monitoring",
|
|
"grafana": "Dashboards",
|
|
"resourceMonitor": "Resource Monitor",
|
|
"trace": "Tracing",
|
|
"alertCenter": "Alert Center",
|
|
"datasources": "Datasources",
|
|
"logCenter": "Log Center",
|
|
"lokiQuery": "Loki Query",
|
|
"esQuery": "ES Query",
|
|
"logLibrary": "Log Library",
|
|
"logAlerts": "Log Alerts",
|
|
"automation": "Task",
|
|
"cronJobs": "Cron Jobs",
|
|
"scripts": "Scripts",
|
|
"remoteExec": "Remote Exec",
|
|
"aiops": "AIOps",
|
|
"aiAssistant": "AI Assistant",
|
|
"aiAlertAnalyzer": "Alert Analysis",
|
|
"aiPredictive": "Capacity Forecast",
|
|
"aiAgentCli": "Agent CLI",
|
|
"aiLlmConfig": "LLM Settings",
|
|
"approval": "Requests",
|
|
"approvalResource": "Resource Request",
|
|
"approvalApp": "App Request",
|
|
"approvalPermission": "Permission Request",
|
|
"audit": "Security Audit",
|
|
"auditTerminal": "Terminal Audit",
|
|
"auditOperations": "Operations Audit",
|
|
"auditLogin": "Login Logs",
|
|
"system": "System",
|
|
"users": "Users",
|
|
"roles": "Roles & Permissions",
|
|
"credentials": "Credentials",
|
|
"approvalWorkflow": "Approval Workflow",
|
|
"settings": "Settings"
|
|
},
|
|
"header": {
|
|
"expandSidebar": "Expand Sidebar",
|
|
"collapseSidebar": "Collapse Sidebar",
|
|
"theme": "Switch Theme",
|
|
"themeSwitch": "Theme",
|
|
"notifications": "Notifications",
|
|
"markAllRead": "Mark All Read",
|
|
"noNotifications": "No Notifications",
|
|
"viewAllNotifications": "View All Notifications",
|
|
"profile": "Profile",
|
|
"accountSettings": "Account Settings",
|
|
"logout": "Logout",
|
|
"language": "Language",
|
|
"languageSwitch": "Language",
|
|
"admin": "Administrator"
|
|
},
|
|
"login": {
|
|
"title": "AIOps Intelligent Operations Platform",
|
|
"subtitle": "Enterprise-grade intelligent operations management platform",
|
|
"username": "Username",
|
|
"password": "Password",
|
|
"usernamePlaceholder": "Enter username",
|
|
"passwordPlaceholder": "Enter password",
|
|
"loginButton": "Sign In",
|
|
"loggingIn": "Signing in...",
|
|
"loginFailed": "Login failed",
|
|
"usernameRequired": "Please enter username",
|
|
"passwordRequired": "Please enter password",
|
|
"rememberMe": "Remember me",
|
|
"welcome": "Welcome to",
|
|
"features": {
|
|
"k8s": "Kubernetes Full-Stack Management",
|
|
"monitor": "Comprehensive Monitoring & Alerting",
|
|
"aiops": "AI-Powered Operations",
|
|
"ci": "CI/CD Automated Pipelines"
|
|
}
|
|
},
|
|
"dashboard": {
|
|
"title": "Dashboard",
|
|
"serverStats": "Server Statistics",
|
|
"totalServers": "Total Servers",
|
|
"onlineServers": "Online Servers",
|
|
"k8sClusters": "K8s Clusters",
|
|
"runningPods": "Running Pods",
|
|
"todayAlerts": "Today's Alerts",
|
|
"recentAlerts": "Recent Alerts",
|
|
"recentPipelines": "Recent Pipelines",
|
|
"recentReleases": "Recent Releases",
|
|
"systemOverview": "System Overview",
|
|
"resourceUsage": "Resource Usage",
|
|
"cpuUsage": "CPU Usage",
|
|
"memoryUsage": "Memory Usage",
|
|
"diskUsage": "Disk Usage",
|
|
"quickActions": "Quick Actions"
|
|
}
|
|
}
|