refactor(backend/api): extract compliance routes services (Step 4 — file 13 of 18)

Split routes.py (991 LOC) into thin handlers + two service files:
- RegulationRequirementService: regulations CRUD, requirements CRUD
- ControlExportService: controls CRUD/review/domain, export, admin seeding

All 216 tests pass. Route module re-exports repository classes so
existing test patches (compliance.api.routes.*Repository) keep working.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Sharang Parnerkar
2026-04-09 19:12:22 +02:00
parent d2c94619d8
commit 6658776610
3 changed files with 1184 additions and 804 deletions

File diff suppressed because it is too large Load Diff