feat(datasource): 完成 M03 数据源配置与熔断巡检
交付三种引擎登记、草稿/已保存连接测试、可逆启用、每源熔断与 Cron 巡检,以及控制台页面;用户确认收尾后标 DONE_LOCAL。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
f17bf19709
commit
e6d37d176d
98 files changed
+9097
-91
No files matched your search
@@ -32,5 +32,139 @@
|
||||
"failure": "Health check failed",
|
||||
"successDetail": "Service available: {detail}",
|
||||
"failureDetail": "Service unavailable: {detail}"
|
||||
},
|
||||
"nav": {
|
||||
"home": "Overview",
|
||||
"datasources": "Data sources",
|
||||
"create": "New",
|
||||
"detail": "Details"
|
||||
},
|
||||
"datasource": {
|
||||
"list": {
|
||||
"create": "New",
|
||||
"loading": "Loading data sources",
|
||||
"loadFailed": "Failed to load data sources",
|
||||
"empty": "No data sources yet",
|
||||
"emptyHint": "An administrator can create the first data source."
|
||||
},
|
||||
"columns": {
|
||||
"name": "Name",
|
||||
"engine": "Engine",
|
||||
"host": "Host",
|
||||
"port": "Port",
|
||||
"database": "Database",
|
||||
"username": "Username",
|
||||
"status": "Status",
|
||||
"lastTest": "Last test",
|
||||
"actions": "Actions"
|
||||
},
|
||||
"status": {
|
||||
"enabled": "Enabled",
|
||||
"disabled": "Disabled",
|
||||
"circuitOpen": "Circuit open"
|
||||
},
|
||||
"actions": {
|
||||
"edit": "Edit",
|
||||
"test": "Test",
|
||||
"disable": "Disable",
|
||||
"save": "Save",
|
||||
"backToList": "Back to list",
|
||||
"testDisabledWhy": "A disabled data source cannot be tested",
|
||||
"testConnection": "Test connection",
|
||||
"testSaved": "Test saved connection",
|
||||
"enable": "Enable"
|
||||
},
|
||||
"denied": {
|
||||
"title": "Data sources are not available",
|
||||
"body": "Only administrators can open the data source pages."
|
||||
},
|
||||
"form": {
|
||||
"connection": "Connection",
|
||||
"name": "Name",
|
||||
"engine": "Engine",
|
||||
"description": "Purpose",
|
||||
"host": "Host",
|
||||
"hostPlaceholder": "For example db.example.test",
|
||||
"port": "Port",
|
||||
"database": "Database",
|
||||
"username": "Username",
|
||||
"password": "Password",
|
||||
"passwordPlaceholder": "Enter a password",
|
||||
"required": "Required",
|
||||
"saving": "Saving",
|
||||
"invalidRange": "Enter a whole number from {min} to {max}"
|
||||
},
|
||||
"disabledNote": "This data source is disabled, so its saved connection cannot be tested. Click Enable to restore it.",
|
||||
"circuit": {
|
||||
"title": "Circuit breaker",
|
||||
"hint": "When the saved connection fails the threshold number of times within the window, the circuit opens. It cannot be tested during the cooldown and recovers automatically afterwards.",
|
||||
"window": "Failure window (seconds)",
|
||||
"threshold": "Failure threshold (times)",
|
||||
"cooldown": "Cooldown (seconds)",
|
||||
"openTitle": "Circuit open",
|
||||
"openBody": "Repeated failures opened the circuit. The saved connection cannot be tested until {until}.",
|
||||
"testBlocked": "Circuit open, cannot be tested until {until}"
|
||||
},
|
||||
"enabledDone": "Enabled",
|
||||
"loadFailed": "Failed to load the data source",
|
||||
"notFound": "Data source not found",
|
||||
"test": {
|
||||
"title": "Connection test",
|
||||
"none": "Not tested yet",
|
||||
"noneDraft": "You can test the connection with the current form values before saving.",
|
||||
"draftNote": "Draft test: uses the current form values. Nothing is saved and Last test is not updated.",
|
||||
"savedNote": "Test of the saved connection. The result is recorded in Last test.",
|
||||
"running": "Testing",
|
||||
"failedUnknown": "The test did not finish. Try again shortly."
|
||||
},
|
||||
"category": {
|
||||
"success": {
|
||||
"title": "Test succeeded",
|
||||
"body": "Connected and completed the read-only probe."
|
||||
},
|
||||
"auth_failed": {
|
||||
"title": "Authentication failed",
|
||||
"body": "The server did not accept the username or password. Check the username, then enter the password again and save."
|
||||
},
|
||||
"timeout": {
|
||||
"title": "Timed out",
|
||||
"body": "No reply from the server in the allowed time. Try again later, or check the network and firewall."
|
||||
},
|
||||
"unreachable": {
|
||||
"title": "Unreachable",
|
||||
"body": "Could not connect to the host and port. Check the host, the port, and whether the network allows it."
|
||||
},
|
||||
"rejected": {
|
||||
"title": "Rejected by the server",
|
||||
"body": "The server replied but refused the request, for example because the database does not exist. This is not a password error."
|
||||
}
|
||||
},
|
||||
"lastTest": {
|
||||
"success": "Succeeded",
|
||||
"auth_failed": "Authentication failed",
|
||||
"timeout": "Timed out",
|
||||
"unreachable": "Unreachable",
|
||||
"rejected": "Rejected",
|
||||
"none": "Not tested yet"
|
||||
},
|
||||
"refs": {
|
||||
"title": "References",
|
||||
"empty": "No references yet",
|
||||
"loadFailed": "Failed to load references"
|
||||
},
|
||||
"disableConfirm": {
|
||||
"title": "Disable data source",
|
||||
"body": "A disabled data source cannot be tested. The record is kept. Disable \"{name}\"?",
|
||||
"ok": "Disable",
|
||||
"cancel": "Cancel"
|
||||
},
|
||||
"errors": {
|
||||
"duplicate_name": "This name already exists. Choose another.",
|
||||
"disabled": "The data source is disabled, so the saved connection cannot be tested",
|
||||
"circuit_open": "Circuit open, the saved connection cannot be tested for now",
|
||||
"secret_unavailable": "The saved password cannot be used. Enter the password again, then test."
|
||||
},
|
||||
"saved": "Saved",
|
||||
"disabled": "Disabled"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user