xpeditis2.0/apps/backend/src/infrastructure/carriers
David 84c31f38a0
All checks were successful
CI/CD Pipeline / Backend - Build, Test & Push (push) Successful in 7m30s
CI/CD Pipeline / Frontend - Build, Test & Push (push) Successful in 11m56s
CI/CD Pipeline / Integration Tests (push) Has been skipped
CI/CD Pipeline / Deployment Summary (push) Successful in 1s
CI/CD Pipeline / Deploy to Portainer (push) Successful in 11s
CI/CD Pipeline / Discord Notification (Failure) (push) Has been skipped
CI/CD Pipeline / Discord Notification (Success) (push) Successful in 1s
fix: load CSV files from MinIO instead of local filesystem for rate search
Problem:
- CSV files uploaded to MinIO via admin panel
- But getAvailableCsvFiles() only listed local filesystem
- Result: rate search returned 0 results even though files exist in MinIO

Solution:
- Modified getAvailableCsvFiles() to check MinIO first
- Lists files from csv_rate_configs table with minioObjectKey
- Falls back to local filesystem if MinIO not configured
- Logs clearly which source is being used

This ensures rate search uses the uploaded CSV files from MinIO storage.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-20 23:18:03 +01:00
..
cma-cgm fix: replace relative domain imports with TypeScript path aliases 2025-11-16 19:20:58 +01:00
csv-loader fix: load CSV files from MinIO instead of local filesystem for rate search 2025-11-20 23:18:03 +01:00
hapag-lloyd fix: replace relative domain imports with TypeScript path aliases 2025-11-16 19:20:58 +01:00
maersk fix: replace relative domain imports with TypeScript path aliases 2025-11-16 19:20:58 +01:00
msc fix: replace relative domain imports with TypeScript path aliases 2025-11-16 19:20:58 +01:00
one fix: replace relative domain imports with TypeScript path aliases 2025-11-16 19:20:58 +01:00
base-carrier.connector.ts fix: replace relative domain imports with TypeScript path aliases 2025-11-16 19:20:58 +01:00
carrier.module.ts format prettier 2025-10-27 20:54:01 +01:00