Skip to content

feat(investment-service): deliver Investor Dashboard MVP1 with local validation

Benabbes Walid a demandé de fusionner feat/investment-service-mvp1 vers develop

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/dashboard
    • GET /api/v1/me/dashboard/transactions
    • GET /api/v1/me/dashboard/properties/recommended
    • GET /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-core properties (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.

Rapports de requête de fusion