feat(investment-service): deliver Investor Dashboard MVP1 with local validation
The Investor Dashboard MVP1 in darvest-investment-service, including endpoint exposure, aggregation logic, and local execution/test readiness.
- Dashboard API endpoints:
GET /api/v1/me/dashboardGET /api/v1/me/dashboard/transactionsGET /api/v1/me/dashboard/properties/recommendedGET /api/v1/me/dashboard/properties
- DAO/service/facade implementation for:
- portfolio metrics aggregation,
- merged recent activities,
- owned and recommended properties.
- Centralized REST exception handling for invalid input scenarios.
Configuration updates
- Fixed Docker Postgres mapping for investment DB (
5435:5432). - Updated local datasource URL to
jdbc:postgresql://localhost:5435/darvest_investment. - Added required
mc-starter-coreproperties (AWS, rest-template, content, ehcache, auth/keycloak) to stabilize startup and tests. - Disabled external Spring Cloud Config lookup in test context.
Validation
- Local run validated with Docker Postgres.
- All 4 dashboard endpoints executed successfully in Postman.