This commit is contained in:
2026-06-25 18:34:45 -05:00
parent da16e5ff56
commit 552b86c323
12 changed files with 439 additions and 125 deletions

View File

@@ -52,8 +52,11 @@ export function camelVCenterConnection(row) {
id: row.id,
name: row.name,
baseUrl: row.base_url,
username: row.username,
hasPassword: Boolean(row.secret_cipher),
username: row.credential_username || row.username || '',
credentialId: row.credential_id || null,
credentialName: row.credential_name || null,
hasPassword: Boolean(row.credential_id || row.secret_cipher),
hasLegacySecret: Boolean(row.secret_cipher && !row.credential_id),
targetType: row.target_type || 'vcenter',
apiMode: row.api_mode || 'auto',
requestTimeoutMs: row.request_timeout_ms || 20000,