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

phenix-retail-configuration-service

Tiny .NET Framework 4.6.2 WCF service answering per-company retail feature questions (markup tax, hidden service fees, invoicing overrides) from hard-coded company-GUID rules and appSettings toggles.

49 · redmediumloosely attachedOn-premZDD: a long roadservice

Health score

49

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
8
Some tests, coverage is thin
Security hygiene / 15
15
No credentials found in source
Dangerous coupling / 15
15
No dangerous coupling detected
Activity / 10
5
No commit in over a year
Deployment hygiene / 5
5
CI in place
Health over time
2026-07-24 (run-2026-07-24-1): 492026-07-27 (run-2026-07-27-1): 49
No change since 2026-07-24 (49 to 49).

Facts

Languagescsharp
FrameworksWCF
Runtimes.NET Framework 4.6.2
Tests / CIsome / CI in place
Last commit2025-04-11
OwnerOwner unknown (mapping to be curated)
DomainSelling and quoting (system generated; curate in repo-owners.json to override)
Product areaPhenix
HostedOn-prem Deployed to our own machines
  • Release "\finance\phenix\phenix-retail-configuration-service Dev": QA: deployment-group phase (agents on our own machines)
  • Release "\finance\phenix\phenix-retail-configuration-service Release": Staging: deployment-group phase (agents on our own machines)
  • Release "\finance\phenix\phenix-retail-configuration-service Release": Production: deployment-group phase (agents on our own machines)
  • Release "\finance\phenix\phenix-retail-configuration-service Release": Training: deployment-group phase (agents on our own machines)
  • Release "\finance\phenix\phenix-retail-configuration-service Release": DR: deployment-group phase (agents on our own machines)
Releases2 release pipeline(s): \finance\phenix\phenix-retail-configuration-service Dev; \finance\phenix\phenix-retail-configuration-service Release
Integrationwcf
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).

  • Speaks WCF (host)

Detaches when its WCF surface gains a modern interface or its WCF calls move to one.

Depends on / used by

Depends on (0)
Nothing internal.

Capability duplication

Part of the Feature flags family (review): Hardcoded toggle maps

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.

Dependencies and gotchas
  • 2 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
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

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-retail-configuration-service to modern .NET

Runs on .NET Framework 4.6.2, out of mainstream support. No pinning dependency blocks it; sequence by fan-in (providers before consumers).

Impact: Unblocks 2 dependent system(s)

proposed

Assessment notes

phenix-retail-configuration-service

Purpose

A single-.svc WCF service (RetailConfigurationServiceHost) that tells Phenix Retail and related apps how retail features behave per operating company: IsAddingMarkupTaxToSalesTax, IsAllowingBillbackAndReferral, IsAllowingHiddenServiceFee, IsShowingEditIsSingleInvoiceOverride, IsShowingTermsAndConditions and similar. The answers are literally hard-coded comparisons against company GUID constants (UK, Ireland, Canada, Australia, South Africa, Netherlands, Belgium, Dubai) plus per-company appSettings toggles (e.g. credit-card receipt emailing, batch emailing) in Web.config with XDT transforms per environment.

Tech stack

C# on .NET Framework 4.6.2, classic non-SDK web project hosting the .svc, with a TC.Phenix.Retail.Configuration.ServiceContract package multi-targeting net462/netstandard2.0 so both legacy and modern consumers can reference the contract. Nerdbank.GitVersioning for release versioning (the README documents the nbgv prepare-release flow); StyleCop configured.

Deployment

Included as prod_application with 2 release pipelines (\finance\phenix\phenix-retail-configuration-service Dev and Release) from the phenix-retail-configuration-service build. YAML build.yml exists but delegates to the shared templates' Visual Studio (MSBuild) job. Environment config via Web.*.config transforms; IIS-hosted.

Dependencies

None — no database, no ConnectionBroker, no calls to other services. It is a pure leaf: consumers found elsewhere in the estate include phenix-retail, phenix-quote and phenix-business-ui via the ServiceContract package.

Data stores

None. All configuration lives in code (CompanyId constants and rule methods) and Web.config appSettings.

Integration points

WCF only (basicHttp .svc endpoint). No REST surface.

Code health

One test project with ~52 tests covering the rule methods — decent for its size. YAML CI, versioning discipline, and a README that covers releasing (though not what the service is for). Last commit 2025-04-11.

Modernisation risks

The runtime (net462) and WCF hosting are both end-of-life, but the deeper issue is design: business rules per company are compiled into the service, so any company/feature change requires a code release. phenix-retail-api's README states this service's configuration has already been migrated into that .NET 8 API, so the pragmatic move is to finish pointing consumers at the retail API's RetailCompanyConfigurationController and retire this service rather than modernise it.