Platform Evolution
Assessment run-2026-07-27-1 · 213 of 213 repos assessed
Repos / phenix-accommodation

phenix-accommodation

Monorepo for the Phenix accommodation product: search/booking APIs, supplier anti-corruption-layer APIs for ~20 hotel suppliers, configuration service and database, hotel-sweep worker and agent-facing UI.

54 · ambermediumkernelAWS + on-premZDD: a long roadapi

Health score

54

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
0
.NET Framework, out of mainstream support
Legacy transport / 15
2
Hosts WCF or SOAP endpoints with no successor on modern .NET
Test posture / 15
15
Good test coverage
Security hygiene / 15
15
No credentials found in source
Dangerous coupling / 15
8
shares a core database (sqlserver:Phenix)
Activity / 10
10
Actively maintained
Deployment hygiene / 5
5
CI in place
Health over time
2026-07-24 (run-2026-07-24-1): 542026-07-27 (run-2026-07-27-1): 54
No change since 2026-07-24 (54 to 54).

Facts

Languagescsharp, javascript, sql
FrameworksASP.NET Core (net10.0), ASP.NET MVC (.NET Framework), WCF, MassTransit, gulp/sass
Runtimes.NET 10, .NET Framework 4.8.1, .NET Framework 4.7.2
Tests / CIgood / CI in place
Last commit2026-07-24
OwnerOwner unknown (mapping to be curated)
DomainSelling and quoting (system generated; curate in repo-owners.json to override)
Product areaPhenix
HostedAWS + on-prem Ships artefacts to both AWS and on-prem machines (see evidence below)
  • Release "\commercial\accommodation\accommodation-acl-swapsystems-api": QA: deployment-group phase (agents on our own machines)
  • Release "\commercial\accommodation\accommodation-acl-swapsystems-api": Staging: deployment-group phase (agents on our own machines)
  • Release "\commercial\accommodation\accommodation-acl-swapsystems-api": Production: deployment-group phase (agents on our own machines)
  • Release "\commercial\accommodation\accommodation-acl-swapsystems-api": Training: deployment-group phase (agents on our own machines)
  • Release "\commercial\accommodation\accommodation-acl-swapsystems-api": DR: deployment-group phase (agents on our own machines)
Releases9 release pipeline(s): \commercial\accommodation\accommodation-acl-swapsystems-api; \commercial\accommodation\accommodation-api; \commercial\accommodation\accommodation-api v2; \commercial\accommodation\accommodation-configuration-api; \commercial\accommodation\accommodation-hotelsweep-api; \commercial\accommodation\accommodation-service-consumer-api; \commercial\accommodation\phenix-accommodation-ui; \commercial\acommodation-configuration\accommodation-configuration-db; \commercial\acommodation-configuration\accommodation-configuration-service
Integrationrest, wcf, masstransit, sqs, redis
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

kernel Bound into the core by 2 mechanism(s).

Detaches when its WCF surface gains a modern interface or its WCF calls move to one; and when the shared database group it belongs to gains an owned API or completes schema separation (sqlserver:Phenix).

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

A long road

Technically eligible one day, but the blockers are structural: hosted WCF or SOAP contracts that cannot run two versions at once, or heavy legacy coupling. Sequence the modernisation work first. Hosts WCF or SOAP endpoints: strict serialization contracts cannot safely run two versions at once (the shared-enum trap). End-of-life runtime compounds the work. Shares sqlserver:Phenix: schema changes move in convoy.

Blockers
Dependencies and gotchas
  • 1 system(s) depend on this repo; during a rolling deploy they will talk to old and new versions at once, so responses must stay compatible
  • Shares sqlserver:Phenix with 21 system(s): destructive schema change is prohibited in a single release; expand and contract only
  • Serialized state or messages in flight (Redis or queues): new code must deserialize objects written by the previous version
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. 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.
  3. Audit serialized data: anything in Redis, queues or shared caches must deserialize cleanly across adjacent versions.
  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

Blocked by a shared core database

sqlserver:Phenix, sqlserver:HotelsDesertAdventures are shared, so this system cannot change engine on its own: every sharer moves in convoy. The stage 4 work (named owner, declarative schema, owned API) has to land first; after that, the steps below apply to whatever slice this system ends up owning.

Blockers
Steps
  1. Inventory the schema and query surface of sqlserver:Phenix, sqlserver:AccommodationConfiguration, sqlserver:HotelsDesertAdventures: tables, stored procedures, triggers, cross-database joins and anything else engine-specific.
  2. Confirm the target: PostgreSQL (relational model; keep transactions and joins, swap the engine).
  3. Replatform to modern .NET first (see the recommended actions): current PostgreSQL and MongoDB drivers and EF Core providers target modern .NET, and doing one risky change at a time is cheaper than doing two.
  4. Data access is not through an ORM, so port the SQL by hand: translate T-SQL constructs, replace stored procedures with application code or target-native equivalents, and add integration tests around the queries that matter first.
  5. Stand up the target alongside SQL Server, backfill with an ETL pass (pgloader or an export/import job), then dual-write or replicate until parity is proven.
  6. Move reads to the target, watch correctness and latency, then cut writes over and keep SQL Server read-only until confidence is earned.
  7. Decommission the SQL Server database and remove the connection strings and firewall paths that pointed at it.

Containerisation

Feasible after replatforming

Appropriate eventually, but not from here: the legacy runtime and the hosted WCF surface both have to go first, and that work is already in this repo's recommended actions.

Blockers
Steps
  1. Replatform to modern .NET first (see the recommended actions), replacing the hosted WCF/SOAP surface with REST, gRPC or messaging so consumers can follow. Containerising then becomes routine.
  2. Add a Dockerfile and make the app read all configuration from environment variables and the secrets manager, never from machine-local files.
  3. Log to stdout and expose a health check endpoint so ECS can supervise it.
  4. 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.
  5. 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

Replatform phenix-accommodation to modern .NET

Runs on .NET 10, .NET Framework 4.8.1, .NET Framework 4.7.2, out of mainstream support. No pinning dependency blocks it; sequence by fan-in (providers before consumers). Shares sqlserver:Phenix, so batch it with its database group (stage 4).

Impact: Unblocks 1 dependent system(s)

proposed

Assessment notes

phenix-accommodation

Purpose

Commercial-stream monorepo for everything accommodation in Phenix: core accommodation and V2 search/booking APIs, per-supplier ACL APIs (Expedia, DerbySoft, WebBeds, Travelgate, Hilton, SynXis and ~15 more), configuration API/WCF service/database, hotel-sweep worker, room-type mapping (Gimmonix), back-office integration and the agent-facing accommodation UI.

Tech stack

Predominantly modern C# on .NET 10 (130+ projects) with a legacy tail on .NET Framework 4.8.1/4.7.2 (configuration service host, UI web project, back-office integration). Central package management (Directory.Packages.props), StyleCop/rulesets, MongoDB driver, StackExchange.Redis, MassTransit over Amazon SQS, OpenTelemetry. UI assets built with gulp/sass and TC's shared style packages.

Deployment

Heaviest repo in scope: 11 build pipelines and 9 release pipelines (release_count 9) covering the API, V2 API, ACL swapsystems API, configuration API/DB/service, hotel-sweep API, consumer and UI. Per-component build-*.yml files use shared InternalOSS/azure-pipelines-templates.

Dependencies

Internal: TC.ConnectionBroker.* (tc-connectionbroker) for SQL/Mongo/Redis/AWS connections; the DirectStock ACL fronts the internal direct-stock system; reads/writes the shared Phenix database owned by phenix-database. Also many shared TC packages (TC.Cache., TC.ApiTools., TC.BuildingBlocks, TC.Cognito.Auth.Client). External: ~20 third-party hotel suppliers plus Gimmonix room-type mapping.

Data stores

Shared Phenix SQL Server database, dedicated AccommodationConfiguration and HotelsDesertAdventures SQL databases, an Accommodation MongoDB database (recent searches, request/response logging) and Redis caching.

Integration points

Inbound REST APIs; legacy WCF configuration service; MassTransit messaging over Amazon SQS; Redis cache; outbound REST/SOAP/OTA calls to supplier APIs.

Code health

Strong: ~55 test directories, dedicated fast/coverage test scripts, Testcontainers usage, code-coverage runsettings, and very active development (last commit 2026-07-24). CI fully in-repo.

Modernisation risks

Mixed runtimes: most code is on .NET 10 but the configuration service host, UI web layer and back-office integration remain on .NET Framework 4.7.2–4.8.1 with WCF. Shared Phenix database couples it to the wider estate. Sheer size (166 MB, 20 sub-systems, 11 pipelines) makes changes and ownership harder; memory-analysis reports in the repo indicate known runtime issues under investigation.