DAR-148 — Add backoffice admin KYC controller and filtered dossier query
-
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 viaX-Admin-Idheader -
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 bysubmittedAt 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).