nxtgauge-backend-rust/apps
Ashwin Kumar Sivakumar c570d7df67 chore: remove the dead apps/leads microservice
apps/leads implemented its own, independent "lead request" system
(POST /api/leads, /api/lead-requests/send, accept/reject) with a
schema that never matched the live one (message vs remarks, no
professional_user_id, accepted_at/rejected_at instead of resolved_at —
see 20260721030000_create_lead_requests's commit message). Confirmed
unreachable: the frontend's live flows use apps/customers'
/api/customers/requirements and each profession's /leads/request
(crates/contracts::profession_shared), never anything under
apps/leads' own paths. Its /api/lead-requests/* endpoints weren't even
reachable through the gateway (wrong prefix, never matched
/api/leads or /api/admin/leads).

Removed:
- apps/leads/ entirely, and its Cargo.toml workspace membership
- the `leads` docker-compose service, its LEADS_SERVICE_URL env var on
  gateway, and gateway's depends_on entry
- the `leads` entry from both CI build matrices (.gitea/.forgejo)
- gateway's leads_url field/routing branch — gateway no longer hard-
  requires LEADS_SERVICE_URL to boot (.expect() would have panicked
  once the service was gone); /api/admin/leads now falls through to
  the customers service, which already had a matching (previously
  shadowed) branch for it

NOTE: this service may still have a live Deployment/Service in
nxtgauge-gitops (a separate repo not touched here) — that manifest
should be removed too, or the next deploy will reference an image that
no CI job builds anymore.
2026-07-21 04:19:56 +05:30
..
catering_services fix: profession admin listing endpoints matched role_key in the wrong case 2026-07-21 01:28:09 +05:30
companies fix: company profile submission stored wrapper object as verification payload 2026-07-19 22:03:36 +05:30
cron fix: company job posting, job seeker profile submission, and job applications 2026-07-21 01:00:47 +05:30
customers fix: customer document submission and profile verification 2026-07-21 01:39:25 +05:30
developers fix: profession admin listing endpoints matched role_key in the wrong case 2026-07-21 01:28:09 +05:30
employees fix(db): make three more migrations idempotent; log swallowed login DB error 2026-07-19 04:40:31 +05:30
fitness_trainers fix: profession admin listing endpoints matched role_key in the wrong case 2026-07-21 01:28:09 +05:30
gateway chore: remove the dead apps/leads microservice 2026-07-21 04:19:56 +05:30
graphic_designers fix: profession admin listing endpoints matched role_key in the wrong case 2026-07-21 01:28:09 +05:30
job_seekers fix: company job posting, job seeker profile submission, and job applications 2026-07-21 01:00:47 +05:30
jobs chore: retrigger isolated CI builds for 6 more services on bad digests 2026-07-15 03:01:39 +05:30
makeup_artists fix: profession admin listing endpoints matched role_key in the wrong case 2026-07-21 01:28:09 +05:30
payments seed: add a starter Tracecoin package per role; fix paise unit bug in invoice line item 2026-07-21 03:47:54 +05:30
photographers fix: profession admin listing endpoints matched role_key in the wrong case 2026-07-21 01:28:09 +05:30
social_media_managers fix: profession admin listing endpoints matched role_key in the wrong case 2026-07-21 01:28:09 +05:30
tutors fix: profession admin listing endpoints matched role_key in the wrong case 2026-07-21 01:28:09 +05:30
ugc_content_creators fix: profession admin listing endpoints matched role_key in the wrong case 2026-07-21 01:28:09 +05:30
users fix: audit_logs, tax_rules, reviews tables never existed; fix wrong column in review creation 2026-07-21 03:05:14 +05:30
video_editors fix: profession admin listing endpoints matched role_key in the wrong case 2026-07-21 01:28:09 +05:30