Complete implementation of multi-server Oracle database support: Backend: - Multi-pool Oracle with lazy loading per server - Email-to-server cache for automatic server discovery - JWT tokens include server_id claim - /auth/check-identity and /auth/check-email endpoints - /auth/my-servers endpoint for listing user's accessible servers - Server switch with password re-authentication Frontend: - New ServerSelector component for header dropdown - Multi-step login flow (identity → server → password) - Server switching from header with password modal - Mobile drawer menu with server selection - Dark mode support for all new components - URL bookmark support with ?server= query param Scripts: - Unified start.sh replacing start-prod.sh/start-test.sh - Unified ssh-tunnel.sh with multi-server support - Updated status.sh for new architecture Tests: - E2E tests for multi-server and single-server login flows - Backend unit tests for all new endpoints - Oracle multi-pool integration tests Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
26 lines
654 B
JSON
26 lines
654 B
JSON
[
|
|
{
|
|
"id": "romfast",
|
|
"name": "Romfast - Producție",
|
|
"local_port": 1522,
|
|
"ssh_host": "roa.romfast.ro",
|
|
"ssh_port": 22122,
|
|
"ssh_user": "roa2web",
|
|
"ssh_key": "secrets/romfast.ssh_key",
|
|
"oracle_host": "10.0.20.36",
|
|
"oracle_port": 1521,
|
|
"_comment": "SSH key or ssh_pass required for authentication"
|
|
},
|
|
{
|
|
"id": "client_b",
|
|
"name": "Client B - Alt Server",
|
|
"local_port": 1523,
|
|
"ssh_host": "oracle.client-b.com",
|
|
"ssh_port": 22,
|
|
"ssh_user": "oracle_tunnel",
|
|
"oracle_host": "192.168.1.10",
|
|
"oracle_port": 1521,
|
|
"_comment": "Uses secrets/client_b.ssh_pass for password auth"
|
|
}
|
|
]
|