1.1 KiB
1.1 KiB
Backend Architecture Refactor — Tasks
Статус: done
- Task 0: Baseline verification before runtime changes.
- Task 1: Mask unhandled
500errors without changingHttpExceptionresponses. - Task 2: Harden production runtime config for JWT secrets and credentialed CORS.
- Task 3: Harden portfolio position DTO validation for quantity and buyDate.
- Task 4: Localize T-Bank gRPC
anycasts behind typed facade methods. - Task 5: Preserve cache
cachedAtmetadata on cache hits. - Task 6: Synchronize published backend docs with current MOEX/envelope/health/T-Bank contracts.
- Task 7: Run final lint/test/build/docs quality gate and inspect final diff.
Verification Log
- Baseline backend tests: 30 files, 141 tests — PASS.
- Baseline backend build: PASS.
- Final backend lint: PASS.
- Final backend tests: 34 files, 158 tests — PASS.
- Final backend build: PASS.
- Final docs build: PASS.
- No
getServiceClient('X') as anyin production broker services: 0 matches. - No
MoexClientServiceoroperations/refreshin docs: 0 matches.