feat(kyc): add STD/DAO and Change somes config files
This MR delivers Phase 1 of the DAO/STD completion for the KYC microservice, along with local run improvements and configuration updates.
What’s included DAO/STD Phase 1 API coverage
- Identity read endpoints (by kycId and by userId)
- Explicit KYC step update endpoint (updateCurrentStep)
- Liveness read endpoints (by kycId and by livenessCheckId)
- Review backoffice endpoints (create review, list reviews by reviewer, pending reviews queue)
- Admin sync maintenance endpoints (update sync status and lastSyncAt)
Webhook improvements
- Restored liveness webhook endpoint with safe sync-based resolution and legacy fallback only on not-found
- Webhook HMAC signing hardened using canonical JSON to avoid whitespace/CRLF mismatches
Local developer experience
- Updated configuration files (properties/yml) for local consistency
- Added docker-compose to run the service + dependencies locally
Testing
- Updated/extended tests to cover newly added endpoints
- Added Postman collection + environment to validate Investor/Admin/Webhook flows end-to-end
Test plan Run unit tests: mvn test Local smoke test (Docker): docker compose up --build Postman: import the provided collection/environment and run the full suite in order.