ION DocsV3
  • Architecture
    • ION Architecture V2
      • ION V2 — Architecture Overview
      • V2 context
        • V2 capacity model
        • V2 constraints
        • V2 integration boundaries
        • V2 requirements
        • V2 solution strategy
      • V2 Structural Design
        • ION V2 Landscape
        • ION V2 Platform Views
          • ION V2 Delivery and Runway
          • ION V2 Incident-Processing Pipelines
          • ION V2 Platform Networking
          • ION V2 Platform Observability
          • ION V2 Platform Security
        • ION V2 System Context
        • ION V2 Systems
          • Alya System Topology
          • Cogs System Topology
          • Ion IQ System Topology
          • Kingsman System Topology
          • Pigeon System Topology
          • Veritas System Topology
          • Watchtower System Topology
      • V2 evolution and platform lineage
        • Tiberium Origins
          • Tiberium Architecture Overview
          • Tiberium Components Architecture Overview
        • Voyager and the V2 Merge
          • Voyager Architecture Overview
          • Voyager Identity Architecture Overview
          • Voyager Services Architecture Overview
      • V2 Platform Architecture
        • Alya Workbench
          • Mission Brief: Alya (Workbench for Cyber Defenders)
        • Asset Discovery
        • Automation
        • Customer Communications
          • Notification and Escalation Design
        • Reporting and Dashboards
        • Vulnerability Mitigations
      • V2 Well-Architected
        • V2 Reliability
          • Availability Architecture
        • V2 Security
          • API Management
            • API Management Architecture
            • API Management Guidelines
            • API Management Implementation
              • APIM Deployment and Debugging
              • APIM Global Policy Implementation
              • APIM Platform Provisioning
              • APIM Policy Authoring
              • APIM Service Onboarding
              • APIM Webhook Flow Implementation
            • API Management Policy Model
          • V2 Security Architecture
          • Teams Notification Security
          • Customer Data and PII
          • V2 Identity
            • Applications and Authorization
            • V2 Identity Architecture
            • Microsoft Entra ID
            • V2 Identity Standard
            • V2 Identity Implementation
              • Application Registration
              • Application Roles
              • Customer Identity Onboarding
              • Identity Lifecycle and Operations
              • Managed Identity
            • V2 Identity Workflows
              • Alya Workbench Identity Workflow
              • Customer Portal Identity Workflow
              • Microservices Identity Workflow
              • ServiceNow Inbound Identity Workflow
              • Microsoft Teams Identity Workflow
          • Customer Environment Access
            • Customer Environment Access Architecture
            • Customer Environment Access Guidelines
            • Customer Environment Access How-to
    • ION Architecture V3
      • ION V3 Architecture Overview
      • V3 context
        • V3 capacity model
        • V3 constraints
        • V3 integration boundaries
        • V3 requirements
        • V3 solution strategy
      • V3 Structural Design
        • Data and events
          • Archival and retention
          • Event model
          • Event sourcing
          • Event store
          • Micro-frontend interaction
          • Recovery and disaster recovery
          • Replay and reconstruction
          • Reporting and customer analytics
          • Event-sourcing requirements
          • Snapshots
          • UI interaction
        • ION v3 domains
          • Assets domain
            • Assets domain flows
            • Assets domain implementation
            • Assets domain model
          • Customer Collaboration domain
            • Customer Collaboration domain flows
            • Customer Collaboration domain implementation
            • Customer Collaboration domain model
          • Incident domain
            • Incident domain flows
            • Incident domain implementation
            • Incident domain model
          • Investigation domain
            • Investigation domain flows
            • Investigation domain implementation
            • Investigation domain model
          • Remediation domain
            • Remediation domain implementation
            • Remediation domain model
          • Ticket domain
            • Ticket domain flows
            • Ticket domain implementation
            • Ticket domain model
        • ION V3 Landscape
        • ION V3 Platform Views
          • Internal API
            • Internal API architecture
            • Internal API consumer guide
            • Internal API identity and access
            • Internal API implementation
          • Micro-Frontends
            • Micro-Frontends architecture
            • Micro-Frontends capability service (Signet)
            • Micro-Frontends composition
            • Micro-Frontends identity and access
            • Micro-Frontends implementation
            • Micro-Frontends real-time (SignalR)
            • Micro-Frontends routing and ingress
            • Shells and MFEs
          • SOAR Integration
            • SOAR Integration architecture
            • SOAR Integration customer onboarding
            • SOAR Integration Identity and Access Design
            • SOAR Integration implementation
            • SOAR Integration operations
        • ION V3 System Context
        • ION V3 systems
          • Alya
          • Cogs
          • ION IQ
          • Kingsman
          • Pigeon
          • Veritas
          • Watchtower
      • V2 to V3 evolution
        • V2 to V3 architecture delta
        • V2 to V3 decision changes
        • V2 to V3 migration guidance
        • V2 to V3 service impact
      • Well-Architected
        • Cost Optimization
          • Cost Governance
            • Cost Governance Architecture
            • Cost Governance Guidelines
            • Cost Governance Implementation
          • SKU Strategy
            • SKU Strategy Architecture
            • SKU Strategy Guidelines
            • SKU Strategy Implementation
        • Operational excellence
          • Audit Logs
            • Audit Logs Architecture
            • Audit Logs Guidelines
            • Audit Logs Implementation
          • CI/CD Runway
            • CI/CD Runway Architecture
            • CI/CD Runway Guidelines
            • CI/CD Runway Implementation
          • Feature Flags
            • Feature Flags Architecture
            • Feature Flags Guidelines
            • Feature Flags Implementation
          • Incident management
            • Incident management architecture
            • Incident management guidelines
            • Incident management implementation
          • Azure Landing Zone
            • Azure Landing Zone Architecture
            • Azure Landing Zone Guidelines
            • Azure Landing Zone Implementation
          • Notifications
            • Notifications Architecture
            • Notifications Guidelines
            • Notifications Implementation
          • Observability
            • Observability Architecture
            • Observability Guidelines
            • Observability Implementation
        • Performance efficiency
          • Capacity, sizing, and scaling
            • Capacity, sizing, and scaling architecture
            • Capacity, sizing, and scaling guidelines
            • Implement capacity, sizing, and scaling
          • UI responsiveness
            • UI responsiveness architecture
            • UI responsiveness guidelines
            • Implement UI responsiveness
        • V3 reliability
          • Application resilience patterns
          • Critical flows
          • Customer reliability assurance
            • ION Platform reliability and service continuity
            • Customer reliability slides
          • Disaster recovery
            • Disaster recovery architecture
            • Disaster recovery guidelines
            • Disaster recovery implementation
              • DR implementation: API Management
              • DR implementation: App Configuration
              • DR implementation: Application Gateway
              • DR implementation: Azure SQL Database
              • DR implementation: Container Apps
              • DR implementation: Container Registry
              • DR implementation: Cosmos DB
              • DR implementation: Event Hubs
              • DR implementation: Azure Front Door
              • DR implementation: Function Apps
              • DR implementation: Key Vault
              • DR implementation: Log Analytics and Application Insights
              • DR implementation: MySQL Flexible Server (Temporal)
              • DR implementation: PostgreSQL Flexible Server
              • DR implementation: Azure Managed Redis
              • DR implementation: Service Bus
              • DR implementation: SignalR
              • DR implementation: Storage accounts
            • Operational-data replication
            • Disaster recovery operations
          • Edge and routing
            • Azure Application Gateway
              • Azure Application Gateway architecture
              • Azure Application Gateway guidelines
              • Azure Application Gateway implementation
              • Azure Application Gateway resiliency
              • Azure Application Gateway security
            • Azure Front Door
              • Azure Front Door architecture
              • Azure Front Door guidelines
              • Azure Front Door implementation
              • Azure Front Door resiliency
              • Azure Front Door security
          • Event-store disaster recovery (moved)
          • Failure mode analysis
          • Graceful degradation
            • Graceful degradation architecture
            • Graceful degradation guidelines
            • Graceful degradation implementation
          • V3 reliability maturity model
            • V3 reliability maturity assessment
            • Maturity level 2: self-preservation
            • Maturity level 3: recovery readiness
            • Maturity level 4: maintain stability
            • Maturity level 5: stay resilient
          • Multi-region replication
            • Multi-region replication architecture
            • Multi-region replication guidelines
            • Multi-region replication implementation assessment
          • Reliability testing
          • Scaling and headroom
          • Targets and health model
          • Trade-offs and accepted risks
        • V3 Security
          • API Management
            • API Management Architecture
            • API Management Guidelines
            • API Management Implementation
              • API Contracts and Asynchronous Operations
              • APIM Deployment and Debugging
              • APIM Global Policy Implementation
              • APIM Platform Provisioning
              • APIM Policy Authoring
              • APIM Service Onboarding
              • APIM Webhook Flow Implementation
            • API Management Policy Model
          • V3 Security Architecture
          • Data protection
            • Data protection architecture
            • Data protection guidelines
            • Data protection implementation guidelines
              • API Management
              • Application Gateway
              • Azure SQL Database
              • Azure Container Apps
              • Azure Cosmos DB
              • Azure Front Door
              • Azure Function Apps
              • Azure Database for MySQL
              • Azure Database for PostgreSQL
              • Data protection procedures
          • V3 Security Guidelines
          • V3 Identity
            • Applications and Authorization in ION V3
            • V3 Identity Architecture
            • Capabilities
            • Microsoft Entra ID for ION V3
            • V3 Identity Standard
            • V3 Identity Implementation
              • App Service Authentication
              • Application Registration
              • Application Roles
              • Customer Azure RBAC
              • Customer Identity Onboarding
              • Identity Lifecycle and Operations
              • Mailbox-Scoped Access
              • Managed Identity
              • Workload Identity Federation
            • V3 Identity Workflows
              • Alya Workbench Identity Workflow
              • Customer Azure RBAC Identity Workflow
              • Customer Portal Identity Workflow
              • Mailbox Access Identity Workflow
              • Microservices Identity Workflow
              • ServiceNow Inbound Identity Workflow
              • Shell and MFE Identity Workflow
              • Microsoft Teams Identity Workflow
          • Customer Environment Access
            • Azure Lighthouse
              • Azure Lighthouse implementation
            • GDAP and Tenant Governance
              • Access Packages (legacy)
              • GDAP human access implementation
            • Customer environment access guidelines
            • Multi-tenant Entra apps
              • Multi-tenant Entra apps implementation
            • Teams B2B Direct Connect
              • Teams B2B Direct Connect implementation
          • Network Security
            • Network Security Architecture
            • Network Security Guidelines
            • Network Security Implementation
              • Egress and Static IPs
              • Resource Access Restrictions
          • V3 Security Patterns
    • ION Architecture V4
      • How V4 evolves from V3
  • Principles
  • Patterns
    • Application Permissions Only
    • Async REST
    • Audit Logs (Pattern)
    • Auth / AuthZ
    • Dead Letter Queue (DLQ)
    • Dual Writes (and how to avoid them)
    • ECST — Event-Carried State Transfer
    • Event Hubs Throttling
    • Feature Flags (Pattern)
    • Idempotent Write
    • MFE UI Interaction
    • Notifications (Pattern)
    • Private Data Store Access
    • Schema Evolution
    • Service Bus Topic Throttling
    • UI Interaction with an Event-Sourced Backend
  • Standards
    • API Standard
    • API Standards
    • Coding Standard
    • Coding Standards
    • Documentation Standard
    • Documentation Standards
    • Microservice Standard
    • Microservice Checklist
    • Operational Readiness Standard
    • ORR — Operational Readiness Review Checklist
  • Decisions
    • ADR-0001
    • ADR-0002
    • ADR-0003
    • ADR-0004
    • ADR-0005
    • ADR-0006
    • ADR-0007
    • ADR-0008
    • ADR-0009
    • ADR-0010
    • ADR-0011
    • ADR-0012
    • ADR-0013
    • ADR-0014
    • ADR-0015
    • ADR-0016
    • ADR-0017
    • ADR-0018
    • ADR-0019
    • ADR-0020
    • ADR-0021
    • ADR-0022
    • ADR-0023
    • ADR-0024
    • ADR-0025
    • ADR-0026
    • ADR-0027
    • ADR-0028
    • ADR-0029
    • ADR-0030
    • ADR-0031
    • ADR-0032
    • ADR-0033
    • ADR-0034
  • Services
  • Governance
    • Assumptions
    • Discrepancies
    • V3 reference coverage and conflict matrix
OntinueION Docs
  1. Architecture
  2. ION Architecture V3
  3. V3 Structural Design
  4. ION V3 Platform Views
  5. Micro-Frontends
  6. Micro-Frontends routing and ingress

Micro-Frontends routing and ingress

architecturev3

Micro-Frontends routing and ingress

This page defines how a request reaches a shell and its MFEs, and how the browser, once it has the shell, discovers and loads each remote and reaches each MFE’s BFF. It turns the architecture directives independently deployable and BFF per MFE into a concrete ingress and routing model, and it complements composition (which covers the Module Federation wiring itself).

There are two routing layers and it helps to keep them separate:

  1. Network ingress — how an HTTPS request for a shell or MFE host reaches the web app that serves its static bundle. Azure Front Door is the entry point, and Application Gateway is Front Door’s priority-1 origin.
  2. Runtime composition routing — how the already-loaded shell resolves a browser route to a remote, fetches that remote’s mf-manifest.json from the right origin, and how each MFE then calls its own BFF under /api.

Hostname patterns use <domain>, which is ion.ontinue.com in production and alpha-ion.dev or beta-ion.dev in the lower environments. Route and rewrite facts are from rome-ion/infrastructure/hub/azure-front-door/ (front_door.tf, services/*/main.tf) and rome-ion/infrastructure/hub/application-gateway/ (data-*.tf, dns.tf). Access-restriction facts are from alya-fe/infrastructure/alya-shell-web.tf. Runtime resolution is from alya-fe/app-shell/src/config/mf.util.ts, alya-fe/app-shell/public/config.js, and each MFE’s remote-origin.util.ts. The MFE applications / environments reference lists the alpha hostnames.

Front Door and Application Gateway hostnames

Each shell and each MFE is an Azure Linux Web App that serves a static bundle. Every user reaches it through Azure Front Door. Application Gateway is not a separate audience-specific entry point. It is Front Door’s priority-1 origin, and browsers reach it directly only in the exceptions documented by ADR-0015 and Front Door security.

Hostname (alpha)RoleWho connectsNotes
portal.<short>.alpha-ion.devFront Door endpoint, the entry point for every userBrowserFront Door WAF, security headers, /api/* path rewrites
agw-<short>-webapp.alpha-ion.devFront Door priority-1 originFront Door at runtime; the browser only during a Front Door outage bypassPublic DNS A record to the Application Gateway public IP; DDoS protection on the IP
agw-alya-sigr, agw-alya-shell-sigrSignalR WebSocket endpointsBrowser directly (exception)Negotiate still goes through Front Door and APIM; see real-time
Web app default hostnameFront Door priority-2 originFront Door, when Application Gateway is unhealthyLocked down by the access restrictions below

Application Gateway is publicly reachable. It is not a private or corporate ingress, and it is not reached over ZPA. The agw-* hostnames serve the same build as the Front Door hostnames. Nothing in the bundle is ingress-specific except how it resolves other remotes’ origins (see runtime remote resolution). That is what lets the outage bypass work without a second deployment.

ZPA is for engineers, not the runtime

Note: Zscaler Private Access (ZPA) is the remote-access path for humans: engineering team members who reach platform resources directly for operational or engineering work (ADR-0025). ZPA is not part of the platform runtime. No user traffic, no Front Door or Application Gateway hop, and no service-to-service call depends on it. Arriving through ZPA grants no application or Azure authorization.

Access-restriction model (shell web app)

The shell web app denies by default and allows only the known origins, the deployment path, and engineer access. From alya-fe/infrastructure/alya-shell-web.tf (module linux-web-app v1.2.1, P0v3 plan, Node 24):

PriorityRuleAllowsPurpose
defaultDenyEverything not explicitly allowed
100agwsbnApplication Gateway subnetRuntime: Front Door priority-1 path through Application Gateway
101ghsbnGitHub Actions runner subnetDeployment
102AzureFrontDoorAzureFrontDoor.Backend service tagRuntime: Front Door priority-2 failover origin
103ZscalerZPA subnetHuman engineering access only; not a runtime path

A direct hit on the web app’s default hostname from anywhere else is denied.

Gap: rule 102 matches the service tag only, with no X-Azure-FDID header match, so any Front Door profile in Azure can reach the web app. Front Door guidelines require the header match on every priority-2 origin. The same gap exists on other MFE web apps. See implementation gap 11 in Front Door current configuration.

Request path

Solid edges are the runtime path. Dotted edges are failover, documented exceptions, or human access.

Runtime remote resolution

Once the shell bundle is running, it must decide where to fetch each remote from. Remotes are not hard-coded into the build — they are listed in a runtime config object and resolved per ingress:

  1. window.RUNTIME_CONFIG.REMOTE_MFES (served by public/config.js) lists each remote with a name, alias, and two entry origins: entryAFD and (optionally) entryAGW.
  2. src/config/mf.util.ts inspects window.location.origin: if it starts with https://agw- the shell uses entryAGW, otherwise entryAFD. In normal operation every browser is on a Front Door host and loads remotes from their AFD origins. entryAGW exists for the Front Door outage bypass: a shell served from an agw- host loads its remotes from their agw- origins too, so the two worlds never cross.
  3. Each remote descriptor’s entry is `${entryUrl}/mf-manifest.json`; the shell calls registerRemotes(...), and a route resolving to a remote triggers a lazy loadRemote('mfe_x/App').

Each remote resolves its own asset origin

A remote’s mf-manifest.json and its chunks must load from wherever the remote was actually served — which is not always the shell’s origin. Every MFE ships a remote-origin.util.ts Module Federation runtime plugin that reads document.currentScript.src, derives that script’s origin, and stores it on a per-app global (e.g. window.__IMFE_ORIGIN__ for Incidents). The federation runtime then resolves the remote’s own assets against that origin, so the same remote build works standalone, under the shell, or under a sub-shell, on either ingress.

This is why the same build runs on both the Front Door and the agw- hostnames: the hostname selects the entry origin, and each remote carries the logic to resolve its own assets from there.

Per-MFE hosts

Every MFE has one portal hostname that serves both its static bundle at / and its BFF API under /api, so the bundle and its backend share one origin.

SurfacePatternExample (Service Management, alpha)
Front Door hostportal.<short>.<domain>portal.smfe.alpha-ion.dev
Application Gateway host (priority-1 origin, outage bypass)agw-<short>-webapp.<domain>agw-smfe-webapp.alpha-ion.dev
Static bundleportal.<short>.<domain>/portal.smfe.alpha-ion.dev/
BFF APIportal.<short>.<domain>/api/...portal.smfe.alpha-ion.dev/api/v1/service-requests
On-behalf-of API (Bondi Core only)portal.core.<domain>/api-obo/...portal.core.alpha-ion.dev/api-obo/v1/...

<domain> is ion.ontinue.com in production, and alpha-ion.dev or beta-ion.dev in the lower environments. <short> is the MFE’s short code (smfe Service Management, cife Customers, spi Security Posture Improvement, awkb Automation Workbench, iwkb Investigation, imfe Incidents, core Bondi Core, and so on). See shells and MFEs for the catalogue.

An MFE calls its own origin’s /api, even when it runs inside another shell. The remote-origin runtime plugin stores the origin the remote was loaded from on a global, and the MFE builds its API URLs from it. Reichenbach, for example, calls ${window.__IWKB_ORIGIN__}/api/.... During the outage bypass the same code calls agw-iwkb-webapp.<domain>/api/..., without a rebuild.

API path anatomy

A browser API call crosses four hops. Front Door is the only hop that changes the path in normal operation. It replaces the matched public prefix with the APIM API’s path prefix (the route’s origin_path) and keeps the rest of the path (preserve_unmatched_path).

HopHostPathWhat happens
1. Browserportal.iwkb.<domain>/api/investigations/incident/42Sends the Entra token and X-Capabilities
2. Front DoorRoute on the portal.iwkb endpoint/api/* matchedWAF, then rewrite to the origin path /rebff-ext/
3. Application Gatewayagw-api.<domain>/rebff-ext/investigations/incident/42default-api-listener (rule priority 110) forwards to gateway-pool, which is APIM. No rewrite
4. APIMapim-rome-<env>-chn-02API rebff-ext, operation /investigations/incident/{id}Validates the JWT and capability scope, keeps the user token in X-Authorization, swaps Authorization for its managed-identity token, rate-limits
5. BFFThe API’s backend URL/investigations/incident/42 under the backend base path (/api for Function Apps)Re-verifies the capability token and enforces route permissions

If Application Gateway is unhealthy, Front Door sends hop 3 straight to APIM. See failover and the outage bypass.

APIM API naming

The APIM API path prefix is the first path segment after Front Door’s rewrite. Its suffix tells you who may call it:

SuffixMeaningReached from the browserExample
-extExternal API of a BFF, in the MFE product (apim-product-mfe-<env>-chn-01) or a shell productYes, through a Front Door routerebff-ext, ddbff-ext, assgr-ext, signet-ext, bondi-bff-shell-ext
-ext-feExternal, browser-facing API under the older namingYes, through a Front Door routealya-ext-fe, alya-elk-ext-fe, alya-artemis-ext-fe, alya-sigr-ext-fe, theia-theia-ext-fe
-intInternal API for service-to-service calls, in its own product. Callers need an app roleNo. BFFs and services call it on apim-rome-<env>-chn-02.azure-api.netassgr-int

A new MFE’s BFF publishes <short>-ext in the MFE product.

Routing styles

Front Door uses two styles to map /api paths to APIM APIs.

  • Catch-all. One route, /api/*, sends everything to the MFE’s own BFF API. The BFF owns its path space, so adding an endpoint needs no edge change.
  • Per-resource. One exact route and one wildcard route per resource and version, each to a possibly different APIM API. The Alya-family MFEs use this style because their pages call several BFFs.

Rules:

  • A new MFE MUST use a single catch-all /api/* route to its own BFF’s APIM API, <short>-ext in the MFE product.
  • The only shared routes an MFE host MAY add are Signet /api/v1/capabilities and, on the shell host, the Shell SignalR negotiate path /api/v2/signalr/*.
  • The Alya-family per-resource routes are transitional. They MUST NOT be copied for new MFEs. Calling several BFFs from one MFE is a gap against ADR-0023 “BFF per MFE” (gap RG-01).

Route catalogue

From rome-ion/infrastructure/hub/azure-front-door/front_door.tf and services/*/main.tf. Every API route uses origin group RomeApiOriginGroup.

Front Door hostStylePublic patternOrigin path (APIM API)
portal.iwkbCatch-all/api/*/rebff-ext/
portal.awkbCatch-all/api/*/ddbff-ext/
portal.spiCatch-all/api/*/theia-theia-ext-fe/
portal.spiShared/api/v1/capabilities/signet-ext/v1/capabilities
portal.spiStorage/api/v1/spi/initiative-blobs/*Blob storage origin (valet key)
portal.lobfeCatch-all/api/*/lobbe-lobbe-bff-ext/
portal.lobfePer-resource/api/v1/customers, /api/v1/customers/*/alya-elk-ext-fe/v1/customers and /alya-elk-ext-fe/v1/customers/
portal.coreCatch-all per version/api/vN/*/bondi-bff/vN/
portal.coreCatch-all per version/api-obo/vN/*/bondi-bff-obo-int/vN/
portal (Bondi shell)Catch-all/api/*/bondi-bff-shell-ext/
portal.alya, portal.imfePer-resource/api/v1, v3, v4 /incidents; v1/tickets, v1/skills, v1/escalation, v1/ioniq, v1/app-config/alya-ext-fe/...
portal.alya, portal.imfePer-resource/api/v1, v2, v3 /customers/alya-elk-ext-fe/...
portal.alya, portal.imfeShared/api/v1/capabilities/signet-ext/v1/capabilities
portal.alya, portal.imfeLegacy/api/v1/signalr/*/alya-sigr-ext-fe/v1/signalr/
portal.alyaPer-resource/api/v1/service-requests/*/alya-artemis-ext-fe/v1/service-requests/
portal.alyaShared/api/v2/signalr/*/assgr-ext/v2/signalr/
portal.smfePer-resource/api/v1/service-requests, /api/v1/service-requests/*/alya-artemis-ext-fe/v1/service-requests
portal.smfeStorage/api/v1/service-requests/attachments/*Attachment blob storage origin (valet key)
portal.cifePer-resource/api/v1/customers, /api/v1/customers/*/alya-elk-ext-fe/v1/customers
portal.ioniqPer-resourcev1/ioniq, v3/incidents, v1/signalr, and Gutenberg, Herald, and Yammer event routesAlya APIs. Herald and Yammer are reaching end of life

Each exact and wildcard pair is listed once. The Front Door architecture explains the trailing-slash rule for wildcard origin paths.

Failover and the outage bypass

TrafficOrigin groupPriority 1Priority 2Probe
/api/* on every portal hostRomeApiOriginGroupagw-api.<domain> (Application Gateway, then APIM)apim-rome-<env>-chn-02.azure-api.net (APIM directly)HEAD /health-probes-ext/v1/health
/* static bundleOne group per MFEagw-<short>-webapp.<domain>The web app’s *.azurewebsites.net hostnameGET /

Priority 2 needs no path change, because Front Door has already rewritten the path to the APIM API prefix.

During a Front Door outage, users reach the agw-<short>-webapp hostnames directly (manual bypass). Application Gateway then has to do Front Door’s rewrite itself:

  • Each agw-<short>-webapp listener has a URL path map: /api/* goes to APIM through a rewrite rule set, and /* goes to the web app.
  • The rewrite rule set mirrors the Front Door origin paths. It is maintained by hand in rome-ion/infrastructure/hub/application-gateway/data-*.tf, so it drifts. The Alya set has no v2/signalr rule (gap RG-02).
  • A catch-all MFE needs one rewrite rule, which prefixes the path after /api with /<short>-ext. This is a further reason to prefer the catch-all style.

SignalR paths

PurposePath or hostRouted to
Shell negotiateportal.alya.<domain>/api/v2/signalr/negotiateFront Door, then APIM assgr-ext, then the Shell SignalR BFF
Shell WebSocketwss://agw-alya-shell-sigr.<domain>/client/?hub=alyaApplication Gateway listener, basic rule, no rewrite, then Azure SignalR. Not a Front Door origin
SubscriptionsNone in the browser. MFE BFFs call apim-rome-<env>-chn-02.azure-api.net/assgr-int/v2/signalr/...APIM assgr-int, then the Shell SignalR BFF
Legacy negotiate (MUST NOT be used by new work)/api/v1/signalr/* on portal.alya, portal.imfe, portal.ioniqAPIM alya-sigr-ext-fe, then the legacy Alya SignalR BFF
Legacy WebSocketagw-alya-sigr.<domain>Application Gateway with cookie affinity, then the legacy Azure SignalR

MFEs never call a SignalR path. They subscribe through their own BFF under their own /api. See real-time (SignalR).

New MFE route checklist

  • Publish the BFF in APIM as <short>-ext in the MFE product.
  • Add a Front Door service stack for portal.<short> with the static route /* to the MFE’s web-app origin group, and one catch-all API route /api/* to RomeApiOriginGroup with origin path /<short>-ext/ (Front Door: add an API route).
  • Do not add the shared Signet route unless the MFE’s own code calls Signet on its own host. The shell normally obtains the capability token.
  • Add the agw-<short>-webapp listener, path map, and a one-rule rewrite set that mirrors the Front Door origin path (Application Gateway: add a listener).
  • Add both origins (portal.<short> and agw-<short>-webapp) to the BFF API’s CORS policy in APIM.
  • Lock the web app to the gateway subnet and the Front Door service tag with the X-Azure-FDID header match.
  • Add the shell’s REMOTE_MFES entry with both entryAFD and entryAGW.
  • Extend the hub regression suite to cover the new hostnames.

The /api call path

An MFE never calls a domain service directly. It calls its own BFF under /api, which goes through APIM’s MFE product:

  1. The MFE issues an authenticated request to <its-host>/api/... with the user’s Entra bearer token (acquired through the shell’s shared MSAL singleton) and the capability token.
  2. APIM validates the JWT and the capability scope against the request URL (the sanctioned path convention /<mfe-domain>/tenants/{tenantId}/... lets scope be checked structurally), applies rate limits, and swaps in its managed-identity token for the backend hop.
  3. The request reaches the MFE BFF, which re-verifies the capability token, enforces per-route permissions and domain rules, and calls the domain store/service.

The capability token and the full APIM product policy are documented in capability service (Signet); the enforcement layering is in identity and access. Local dev uses ports instead of hosts (service_management 3001, customers 3002, SPI 3003, incidents_management 3004, daedalus 3100, ION IQ 8011 / 8031 / 8041, iwkb 3302, lobotomy 3201).

Gaps

IDGapImpactOwner
RG-01The Alya-family MFEs on portal.alya, portal.imfe, and portal.ioniq reach several BFFs through per-resource routes: Alya, Elk, Artemis, and the legacy SignalR BFF. portal.lobfe also routes Elk customer paths next to its own catch-all. This does not conform to ADR-0023 “BFF per MFE”. portal.smfe and portal.cife use per-resource routes to a single BFF, which is the transitional style but not a BFF-per-MFE gapEvery new endpoint needs a Front Door route and an Application Gateway rewrite. Ownership of the edge contract is shared across teamsAlya
RG-02Application Gateway rewrite sets are maintained by hand and drift from Front Door. The Alya set has no v2/signalr rule (same item as RT-03)Live updates stop during a Front Door outage bypassCPE
RG-03The priority-2 web-app access restriction matches the Front Door service tag without the X-Azure-FDID headerSee access-restriction modelCPE, MFE teams

Related documentation

  • Architecture · Composition · Real-time (SignalR) · Identity and access · Shells and MFEs
  • Capability service (Signet)
  • Azure Front Door: architecture · resiliency · security
  • ADR-0015 — Edge topology · ADR-0025 — ZPA remote access
  • ADR-0023 — Micro-Frontend (MFE) UI architecture
  • Source references: MFE - Applications - Environments · Sharing deployment - MFE

On this page

  • Front Door and Application Gateway hostnames
  • ZPA is for engineers, not the runtime
  • Access-restriction model (shell web app)
  • Request path
  • Runtime remote resolution
  • Each remote resolves its own asset origin
  • Per-MFE hosts
  • API path anatomy
  • APIM API naming
  • Routing styles
  • Route catalogue
  • Failover and the outage bypass
  • SignalR paths
  • New MFE route checklist
  • The /api call path
  • Gaps
  • Related documentation
PreviousMicro-Frontends real-time (SignalR)
NextShells and MFEs
Edit on GitHubSecurity