Skip to content

DAR-148 — Add backoffice admin KYC controller and filtered dossier query

Kayouh Salaheddine a demandé de fusionner feat/DAR-148-backoffice-admin-kyc-api vers develop
  • New controller BackofficeAdminKycController (/api/kyc/admin) exposes five endpoints for the backoffice front-end:

    • GET /dossiers — paginated list with optional filters (status, step, date range, reviewer)
    • GET /dossiers/{kycId} — full dossier detail (profile, documents, review)
    • POST /dossiers/{kycId}/review — submit an approve/reject decision via X-Admin-Id header
    • GET /dossiers/{kycId}/documents/{docId} — stream document bytes from file URL
    • GET /statistics — aggregate KYC counts and approval/processing-time metrics
  • New repository query findByFilters() — nullable JPQL parameters avoid N+1 in-memory filtering; ordered by submittedAt DESC.

  • darvest-common 0.0.27-RELEASE — required for the new admin DTO classes (KycPageDTO, KycDossierSummaryDTO, KycDossierDetailDTO, etc.).

  • Local config fix — corrects the Postgres port to 5433 (was 5435).

Rapports de requête de fusion