Accommodation Legacy Removal Package
What legacy files and modules were removed
Removed from the legacy svc-tenders accommodation host slice:
services/svc-tenders/src/server.ts- accommodation mount and related wiring removed
services/svc-tenders/src/server.js- matching source-tree JS wiring removed
services/svc-tenders/src/routes/registerAccommodationRoutes.tsservices/svc-tenders/src/routes/registerAccommodationRoutes.jsservices/svc-tenders/src/routes/support/accommodationRouteSupport.tsservices/svc-tenders/src/routes/support/accommodationRouteSupport.jsservices/svc-tenders/src/accommodation/commandHandlers.tsservices/svc-tenders/src/accommodation/commandHandlers.jsservices/svc-tenders/src/accommodation/domain.tsservices/svc-tenders/src/accommodation/domain.jsservices/svc-tenders/src/accommodation/projections.tsservices/svc-tenders/src/accommodation/projections.jsservices/svc-tenders/src/accommodation/quote.tsservices/svc-tenders/src/accommodation/quote.jsservices/svc-tenders/src/accommodation/readModel.tsservices/svc-tenders/src/accommodation/readModel.jsservices/svc-tenders/src/accommodation/validation.tsservices/svc-tenders/src/accommodation/validation.jsservices/svc-tenders/src/accommodation/__tests__/aggregateTransitions.test.tsservices/svc-tenders/src/accommodation/__tests__/aggregateTransitions.test.jspackage.json- normal root startup now provisions
svc-accommodations - redundant opt-in script
dev:api:accommodations-extractedremoved
- normal root startup now provisions
What stayed shared
Kept shared on purpose:
services/api/src/routes/accommodationsServiceTarget.ts- API gateway accommodation route family in
services/api - shared auth/identity resolution contract behind
/auth/me - shared bearer/JWT ingress semantics
- gateway seam
ACCOMMODATIONS_SERVICE_URL ?? TENDERS_SERVICE_URL
What migration residue still remains
Still remains in svc-tenders:
services/svc-tenders/src/accommodation/contracts.tsservices/svc-tenders/src/accommodation/ownerReadRepository.tsservices/svc-tenders/src/accommodation/ownerReadRepository.jsservices/svc-tenders/src/accommodation/compatibilityReadRepository.tsservices/svc-tenders/src/accommodation/compatibilityReadRepository.js- root compatibility hosting in
services/svc-tenders/src/repository.ts - mixed and legacy accommodation-related migrations in
services/svc-tenders/migrations
This residue remains because migration ownership and compatibility cleanup are still separate from the retired route host.
Notes
svc-accommodationsis now the sole accommodation route host.- The removal package intentionally did not claim migration transfer is complete.
- The remaining
svc-tendersaccommodation code is now compatibility residue only, not an active route/runtime host.