Platform Evolution
Assessment run-2026-07-27-1 · 213 of 213 repos assessed
Repos / tc-travelcounellors-sync-service

tc-travelcounellors-sync-service

.NET 8 Quartz-scheduled service that twice daily merges Travel Counsellor profiles from the contact API and web-details API and publishes CreateOrUpdateTravelCounsellor commands to MassTransit over Amazon SQS for public-website consumers.

86 · greenlowloosely attachedOn-premZDD: ready with guardrailsjob

Health score

86

0 to 100 across seven weighted factors; nothing is hidden. Green is 75 and above, amber 50 to 74, red below 50. How scoring works.


Runtime currency / 25
25
Runs on supported modern .NET
Legacy transport / 15
15
No legacy WCF or SOAP surface
Test posture / 15
8
Some tests, coverage is thin
Security hygiene / 15
15
No credentials found in source
Dangerous coupling / 15
11
depends on pinning component(s): phenix-feature-service
Activity / 10
8
Last commit six to twelve months ago
Deployment hygiene / 5
5
CI in place
Health over time
2026-07-24 (run-2026-07-24-1): 862026-07-27 (run-2026-07-27-1): 86
No change since 2026-07-24 (86 to 86).

Facts

Languagescsharp
Frameworks.NET Generic Host, Quartz 3.13, MassTransit, Mapster
Runtimes.NET 8
Tests / CIsome / CI in place
Last commit2026-01-26
OwnerOwner unknown (mapping to be curated)
DomainIdentity and access (system generated; curate in repo-owners.json to override)
Product areaShared platform
HostedOn-prem Deployed to our own machines
  • Release "\cx\tc-travelcounsellors-sync-service": QA: deployment-group phase (agents on our own machines)
  • Release "\cx\tc-travelcounsellors-sync-service": Staging: deployment-group phase (agents on our own machines)
  • Release "\cx\tc-travelcounsellors-sync-service": Production: deployment-group phase (agents on our own machines)
  • build "tc-travelcounellors-sync-service" (build-sync-service.yml): on-prem signal "onPremiseDeploy: true" (runs on our own Docker hosts)
Releases1 release pipeline(s): \cx\tc-travelcounsellors-sync-service
Integrationrest, masstransit, sqs
SourceOpen in Azure DevOps

Risk flags

Each flag links to its glossary definition.

Dependencies in context

Laying out the graph…
greenamberreddata store (square, dashed link)Node size follows fan-in. Click any node to open it.

Entanglement

loosely attached Bound into the core by 1 mechanism(s).

Detaches when its pinning dependencies are cut or multi-targeted (phenix-feature-service).

Depends on / used by

Migration playbooks

Generated from this repo's assessment data: what is feasible, what blocks it, and the steps in order. Ratings: green means actionable now, amber means sequence other work first, red means blocked, grey means not applicable.

ZDD adoption

Ready with guardrails

Close: the deployment path exists, but specific checks are needed first, typically raising tests, auditing serialized data, or respecting a shared schema with expand and contract. Test coverage is thin; ZDD shifts the safety net onto automation.

Dependencies and gotchas
  • Serialized state or messages in flight (Redis or queues): new code must deserialize objects written by the previous version
  • Feature flags come from phenix-feature-service (WCF-only): flag reads themselves are a legacy dependency to watch
Steps
  1. Adopt the four-stage discipline from the ZDD engineering standard: pre-deployment compatibility, deployment, feature activation behind a flag, post-release cleanup.
  2. Raise automated test coverage first: ZDD trades the end-of-sprint manual gate for continuous automated confidence, so the tests are the entry ticket.
  3. Make every change dual-version safe: backwards-compatible APIs (new major version for breaking wire changes), expand and contract for any schema change, and consumers tolerant of unknown fields.
  4. Wrap behaviour changes in feature flags so code deploys dark and release becomes a business decision, not a deployment event.
  5. Route deployments through the Workflow Engine's automated drain, deploy, health-check, return cycle (the path proven by the first automated production run in mid-2026).
  6. Verify with area-scoped regression rather than the whole-platform cycle, and watch error rates after rollout with automated rollback on alert.

SQL Server exit

Not applicable

No SQL Server dependency is recorded for this repo. Nothing to migrate.

Containerisation

Ready to containerise

Modern runtime, no hosted legacy transport: this service can follow the estate's proven container path (Dockerfile, shared pipeline template, ECS via Terraform).

Steps
  1. Add a Dockerfile and make the app read all configuration from environment variables and the secrets manager, never from machine-local files.
  2. Log to stdout and expose a health check endpoint so ECS can supervise it.
  3. Adopt the shared ci.yml pipeline template with the container parameters (awsRegion, containerAfterBuild, ecsTerraformRepo), which is exactly how the estate's existing AWS services deploy.
  4. Define the service in the Terraform repo, deploy to a non-production environment, then shift traffic and disarm the deployment-group release pipeline.

Recommended actions

No specific actions for this repo. It either needs only normal maintenance, or its work is covered by an estate-level action. See the full programme.

Assessment notes

tc-travelcounellors-sync-service

Purpose

Keeps public Travel Counsellor profile data in sync: RefreshTravelCounsellorsJob runs on a Quartz cron (00:00 and 12:00 daily), fetches active Travel Counsellors from the contact API and per-company profile/social-media detail from the web-details API (companies filtered via company-info and feature flags), merges the two, builds social-media links, and publishes CreateOrUpdateTravelCounsellor commands (from TC.Public.TravelCounsellors.Contracts) onto MassTransit/SQS. Note the repo name itself carries a typo ("travelcounellors"); the release pipeline is spelled correctly (\cx\tc-travelcounsellors-sync-service).

Tech stack

C# on .NET 8 (Generic Host console app, three net8.0 projects). Quartz.Extensions.Hosting for scheduling, MassTransit + TC.MassTransit.AmazonSQS for publishing, Mapster, Polly, FluentResults, System.Linq.Async; TC.ConnectionBroker 1.20 (Api/Aws) resolves API endpoints and AWS credentials. Full analyser set (NetAnalyzers 9, Sonar 10, SecurityCodeScan) via Directory.Build.props.

Deployment

prod_application with 1 release: release pipeline \cx\tc-travelcounsellors-sync-service from the in-repo YAML build-sync-service.yml (shared azure-pipelines-templates CI). Ships as a Docker container (Dockerfile + entrypoint.sh, compose files for local use).

Dependencies

Internal: TC.ConnectionBroker.* (tc-connectionbroker); REST clients to phenix-contact-api and tc-web-details-api; TC.Phenix.CompanyInfo (company-info-api) and TC.Phenix.Feature (phenix-feature-service) for company/feature lookups; TC.Public.TravelCounsellors.Contracts message contracts (public-websites domain, no confirmed included-repo mapping). External: Amazon SQS (eu-west-1), credentials fetched at runtime from the connection broker (Public_TcTravelcounsellorSyncServiceMasstransitUser) — no secrets in source.

Data stores

None owned — it is stateless, reading from APIs and writing to the message bus.

Integration points

Outbound REST to the contact and web-details APIs; MassTransit publish over SQS. No inbound surface.

Code health

One xunit unit-test project covering the job, command mapper and social-media-link builder with coverlet — reasonable for its size. YAML CI, analysers enforced, recently maintained (last commit 2026-01-26). README is untouched boilerplate.

Modernisation risks

Low: modern .NET 8, containerised, YAML CI, tests present. Risks are operational rather than technical — a full-refresh batch design (every run re-publishes all counsellors) and synchronous dependence on two upstream APIs; the repo-name typo is a minor but permanent papercut in tooling and search.