Fundamental_Analysis/services/report-generator-service
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
..
src Refactor: Remove legacy analysis results and implement workflow history 2025-11-29 14:46:44 +08:00
templates chore: 提交本轮 Rust 架构迁移相关改动 2025-11-16 20:55:46 +08:00
Cargo.lock Refactor: Remove legacy analysis results and implement workflow history 2025-11-29 14:46:44 +08:00
Cargo.toml feat: Refactor Analysis Context Mechanism and Generic Worker 2025-11-28 20:11:17 +08:00
cookies.txt WIP: Commit all pending changes across services, frontend, and docs 2025-11-27 02:45:56 +08:00
Dockerfile feat: fix error propagation in report-generator and workflow-orchestrator 2025-11-27 23:07:42 +08:00