Fundamental_Analysis/services/api-gateway/src
Lv, Qi 0c975bb8f1 Refactor: Remove legacy analysis results and implement workflow history
- **Common Contracts**: Updated DTOs and models to support workflow history; removed legacy analysis result DTOs.
- **Data Persistence Service**:
    - Removed `analysis_results` table logic and API endpoints.
    - Implemented `workflow_history` API and DB access (`history.rs`).
    - Fixed compilation errors and updated tests.
    - Exposed Postgres port in `docker-compose.yml` for easier debugging/offline checks.
- **API Gateway**:
    - Implemented `history` endpoints (get history list, get by ID).
    - Removed legacy `analysis-results` endpoints.
    - Fixed routing and handler logic in `api.rs`.
- **Report Generator Service**:
    - Removed dependency on legacy `analysis-results` persistence calls.
    - Fixed compilation errors.
- **Workflow Orchestrator**: Fixed warnings and minor logic issues.
- **Providers**: Updated provider services (alphavantage, tushare, finnhub, yfinance, mock) to align with contract changes.
- **Frontend**:
    - Updated `ReportPage` and stores to use new workflow history.
    - Added `RecentReportsDropdown` component.
    - Cleaned up `RealtimeLogs` component.
- **Documentation**: Moved completed design tasks to `completed/` and added refactoring context docs.

Confirmed all services pass `cargo check`.
2025-11-29 14:46:44 +08:00
..
api WIP: Commit all pending changes across services, frontend, and docs 2025-11-27 02:45:56 +08:00
api.rs Refactor: Remove legacy analysis results and implement workflow history 2025-11-29 14:46:44 +08:00
config.rs feat: fix error propagation in report-generator and workflow-orchestrator 2025-11-27 23:07:42 +08:00
error.rs Refactor frontend to Vite+React SPA and update docs 2025-11-22 19:37:36 +08:00
main.rs WIP: Commit all pending changes across services, frontend, and docs 2025-11-27 02:45:56 +08:00
openapi_tests.rs feat: implement API DTO export and verify E2E tests 2025-11-22 22:14:01 +08:00
openapi.rs Refactor: Remove legacy analysis results and implement workflow history 2025-11-29 14:46:44 +08:00
persistence.rs Refactor: Remove legacy analysis results and implement workflow history 2025-11-29 14:46:44 +08:00
registry_unit_test.rs WIP: Commit all pending changes across services, frontend, and docs 2025-11-27 02:45:56 +08:00
state.rs WIP: Commit all pending changes across services, frontend, and docs 2025-11-27 02:45:56 +08:00