feat(storage): add storage backend management API and UI enhancements
Implement a comprehensive API for managing storage backends, including endpoints for listing, creating, updating, and deleting storage instances. Enhance the UI to support multi-instance configurations, allowing users to manage multiple storage types effectively. Update localization files for new storage backend features and improve error handling for connectivity tests. This update also includes detailed documentation for the storage backend API.
This commit is contained in:
@@ -1371,6 +1371,49 @@ export default {
|
||||
paddleocrVlEndpointHint: 'Base URL of the full PaddleOCR-VL pipeline service; no /layout-parsing suffix needed',
|
||||
paddleocrVlCloudTokenPlaceholder: 'PaddleOCR-VL AI Studio Token',
|
||||
},
|
||||
storageBackend: {
|
||||
description: 'Manage the storage instances used for files and images; multiple instances of the same type can be configured.',
|
||||
empty: 'No storage instances configured yet',
|
||||
defaultTag: 'Default',
|
||||
add: 'Add storage instance',
|
||||
editTitle: 'Edit storage instance',
|
||||
createTitle: 'Add storage instance',
|
||||
editSubtitle: 'Update the connection configuration of this storage instance.',
|
||||
createSubtitle: 'Add a new storage instance for files and images.',
|
||||
basicSection: 'Basic information',
|
||||
nameLabel: 'Name',
|
||||
namePlaceholder: 'e.g. Production COS, Archive COS',
|
||||
providerLabel: 'Storage type',
|
||||
modeLabel: 'Deployment mode',
|
||||
modeRemote: 'Remote instance',
|
||||
modeEnv: 'Environment variables',
|
||||
connectionSection: 'Connection settings',
|
||||
optionalPlaceholder: 'Optional',
|
||||
advancedSection: 'Advanced options',
|
||||
pathPrefixLabel: 'Path prefix',
|
||||
useSslDesc: 'Access MinIO over HTTPS',
|
||||
forcePathStyleDesc: 'Use path style',
|
||||
useTempBucketDesc: 'Use temporary bucket',
|
||||
tempBucketLabel: 'Temporary bucket',
|
||||
tempBucketPlaceholder: 'Optional, for temporary files',
|
||||
tempRegionLabel: 'Temporary bucket region',
|
||||
tempRegionPlaceholder: 'Leave empty to use the main region',
|
||||
testConnection: 'Test connection',
|
||||
localStorage: 'Local storage',
|
||||
setDefault: 'Set as default',
|
||||
edit: 'Edit',
|
||||
delete: 'Delete',
|
||||
testSuccess: 'Connection succeeded',
|
||||
testFailed: 'Connection failed',
|
||||
nameRequired: 'Please enter a name',
|
||||
saveSuccess: 'Saved successfully',
|
||||
saveFailed: 'Failed to save',
|
||||
defaultUpdated: 'Default storage updated',
|
||||
deleteTitle: 'Delete storage instance',
|
||||
deleteConfirm: 'Are you sure you want to delete "{name}"?',
|
||||
deleted: 'Deleted',
|
||||
deleteFailed: 'Failed to delete',
|
||||
},
|
||||
storage: {
|
||||
title: 'Storage Engine',
|
||||
description: 'Configure document and image storage. Set engine parameters here; knowledge bases only select which engine to use.',
|
||||
@@ -5327,6 +5370,13 @@ export default {
|
||||
storage: {
|
||||
title: 'Storage Engine',
|
||||
description: 'Select the file storage engine. This affects how uploaded documents and images within documents are stored. Parameters are configured in global settings.',
|
||||
selectDescription: 'Select the specific storage instance to bind this knowledge base to.',
|
||||
defaultTag: 'Default',
|
||||
instanceLabel: 'Storage instance',
|
||||
instanceDesc: 'The same storage type can have multiple instances with different endpoints, buckets, or credentials.',
|
||||
migrateHint: 'This knowledge base already contains files; use the storage migration flow to switch instances.',
|
||||
manageInstances: 'Manage storage instances',
|
||||
localStorage: 'Local storage',
|
||||
loading: 'Loading...',
|
||||
engineLabel: 'Storage Engine',
|
||||
engineDesc: 'Select the storage engine for this knowledge base. The corresponding engine must be configured in global settings.',
|
||||
|
||||
Reference in New Issue
Block a user