Vacancy Legacy Removal Package
Removed Legacy Files / Modules
Removed from svc-tenders:
- Vacancy mount and wiring from
services/svc-tenders/src/server.ts services/svc-tenders/src/routes/registerVacancyRoutes.tsservices/svc-tenders/src/routes/support/vacancyRouteSupport.tsservices/svc-tenders/src/vacancy/commandHandlers.tsservices/svc-tenders/src/vacancy/projections.tsservices/svc-tenders/src/vacancy/validation.ts- fallback-only Vacancy aggregate/runtime tests:
services/svc-tenders/src/vacancy/__tests__/aggregateTransitions.test.tsservices/svc-tenders/src/vacancy/__tests__/authorization.test.tsservices/svc-tenders/src/vacancy/__tests__/readModels.test.ts
- root startup helper residue:
package.jsondev:api:vacancies-extracted
What Stayed Shared
Still shared on purpose:
- API gateway Vacancy route family
VACANCIES_SERVICE_URL ?? TENDERS_SERVICE_URL- shared auth ingress behavior
- shared auth/identity resolution behind
/auth/me - root startup orchestration that now launches
svc-vacanciesnormally
What Compatibility Residue Still Remains
Still intentionally present in svc-tenders:
services/svc-tenders/src/vacancy/contracts.tsservices/svc-tenders/src/vacancy/domain.tsservices/svc-tenders/src/vacancy/readModel.tsservices/svc-tenders/src/vacancy/readRepository.tsservices/svc-tenders/src/vacancy/compatibilityReadRepository.tsservices/svc-tenders/src/vacancy/compatibilityApplicationRepository.ts- root Vacancy compatibility methods in
services/svc-tenders/src/repository.ts
Why they remain:
- older callers and compatibility cleanup still depend on them
- they no longer represent an active Vacancy route host
Compatibility-Truth Notes
Public Vacancy read behavior still remains mixed:
GET /vacanciesGET /vacancies/:id
That compatibility-backed truth remains explicit in the extracted runtime and in
the smaller svc-tenders compatibility residue.
Host retirement does not equal public-read cleanup.
Notes
- the rollback cutoff condition is now satisfied
- the old
svc-tendersVacancy route host is retired - some older JS residue still exists in
services/svc-tenders/src/; that is outside the active TS runtime and was not expanded into a broader cleanup sprint