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 implementation

Micro-Frontends implementation

architecturev3

Micro-Frontends implementation

This page documents the checked-in realization of the Micro-Frontend architecture and ties each concrete detail back to the directive it satisfies. It reflects the source in alya-fe/app-shell, incidents-management-fe, the domain MFE repositories, and fe-packages/. It does not assert that any environment is currently deployed or healthy — it describes the configuration present in the repository.

Authorities, in order:

  1. Each app’s rsbuild.config.ts is the authority for build-time federation (name, exposes, shared).
  2. The shell’s runtime config (window.RUNTIME_CONFIG.REMOTE_MFES) is the authority for which remotes load where.
  3. pnpm-workspace.yaml + each @fe-ws/* package.json are the authority for build-time shared packages.

Toolchain

  • Bundler: Rsbuild (@rsbuild/core, @rsbuild/plugin-react).
  • Federation: @module-federation/rsbuild-plugin (build) and @module-federation/enhanced/runtime (runtime registration/loading).
  • Package manager / monorepo: pnpm workspaces; Turborepo for task orchestration.
  • Manifest: remotes publish mf-manifest.json (not a bare remoteEntry.js); the shell points each remote entry at <origin>/mf-manifest.json.

Realizes the Rsbuild is the sanctioned toolchain design rule (architecture). Vite’s MF plugin is not used.

Step-by-step: how a shell and its MFEs are wired

1

Declare the shell as a host with shared singletons

Owner: FE Guild (shell)

alya-fe/app-shell/rsbuild.config.ts registers the host with pluginModuleFederation({ name: 'alya_shell', shareStrategy: 'loaded-first', shared: { … } }) and no exposes. React, React Router, MSAL (@azure/msal-react / @azure/msal-browser), @mui/material, @emotion/react, @mui/x-date-pickers-pro, notistack, @tanstack/react-query (+ broadcast), @fe-ws/mfe-utils, and the Application Insights packages are all declared singleton: true. The shell shares them eager: true because it loads first.

  • Realizes Shared runtime singletons and Shell owns cross-cutting concerns only.
  • @emotion/styled and @mui/icons-material are intentionally absent from shared — see step 6.
2

Expose remote surfaces from each MFE

Owner: MFE team

Each domain MFE declares name + exposes in its rsbuild.config.ts:

  • service-management-fe → name: 'mfe_service_management', exposes: { './App': './src/mfe-app.tsx' }
  • customer-info-fe → name: 'mfe_customers', exposes: { './App': './src/mfe-app.tsx' }
  • incidents-management-fe → name: 'mfe_incidents_management', exposes: { './App': './src/mfe-app.tsx' }
  • reichenbach-fe → name: 'mfe_iwkb', exposes the five Investigation cards (AiAgentCategorizationCard, InitialFactsCard, AssessmentCard, KeyFindingsCard, HypothesisCard)
  • bondi-fe-core → name: 'bondi_core', exposes App, LandingPage, AuditLogPage, GlobalConfiguration, release-notes surfaces, …

Remotes keep heavy UI libs non-eager (@mui/material, @mui/x-date-pickers-pro are singleton but not eager) so remoteEntry/manifest stays small and they reuse the host’s already-loaded copies.

  • Realizes One MFE owns one domain end to end and the share non-eagerly in remotes rule in composition.
3

Resolve remote origin per environment

Owner: MFE team

Each remote ships a remote-origin.util.ts runtime plugin wired via runtimePlugins. It reads document.currentScript.src, derives the serving origin, and stores it on window.__IMFE_ORIGIN__, so a remote’s own assets resolve correctly whether it is loaded standalone, by a shell, or by a sub-shell. The shell/sub-shell registration also switches entry origin by ingress: https://agw- hosts use the AGW entry, otherwise the Front Door (AFD) entry. See routing and ingress for the full ingress and origin-resolution model.

  • Realizes Independently deployable — the same remote build serves any environment and any host without rebuilding.
4

Register and load remotes at runtime

Owner: FE Guild (shell)

The shell does not hard-code remotes. src/config/mf.util.ts maps window.RUNTIME_CONFIG.REMOTE_MFES into descriptors (entry: <origin>/mf-manifest.json) and calls registerRemotes(...) on the instance from getInstance(). A route resolving to a remote triggers a lazy mfInstance.loadRemote('mfe_x/App') inside an error boundary HOC.

The alpha shell config currently registers: mfe_service_management (3001), mfe_customers (3002), mfe_security_posture_improvement (3003), mfe_incidents_management (3004), mfe_daedalus (3100), mfe_ion_iq_automation_workflow_recommender (8011), mfe_ion_iq_investigator (8031), mfe_ion_iq_filtering_rules (8041), and mfe_iwkb (3110).

  • Realizes Shell owns remote loading; shareStrategy: 'loaded-first' means shared singletons resolve only as remotes are actually loaded, avoiding a boot-time storm.
5

Compose the Incidents sub-shell

Owner: Alya + SOC + MDR-DS teams

incidents-management-fe is a Provider and a Consumer. It exposes './App' to the Alya shell and runs its own registerRemotes(...) (same mf.util.ts pattern) for the remotes it consumes. It loads them through an authorization-aware HOC, withAuthorizedRemoteMF(remote, roles):

  • mfe_iwkb/AiAgentCategorizationCard, /InitialFactsCard, /AssessmentCard, /KeyFindingsCard, /HypothesisCard (Investigation)
  • mfe_ion_iq_investigator/IonIqInvestigator
  • mfe_ion_iq_filtering_rules/IonIqFilteringRules, /IonIqInsights

The Alya shell does not load Investigation or ION IQ for the incident journey; the Incidents MFE owns that composition and gates each remote on the required roles.

  • Realizes Sub-shell composition is explicit and Decoupled by contract — the contract is the exposed component names + props, and deep-link routes such as /incidents-management/incident/investigation/:selectedTicket.
6

Keep shell providers global and MFE state local

Owner: FE Guild + MFE teams

Cross-cutting React providers — Theme (MUI), MSAL, Notifications (Notistack), Telemetry (App Insights) — are provided by the shell and consumed by MFEs (a documented reverse dependency). Each MFE keeps its own QueryClient / QueryClientProvider so it cannot invalidate another MFE’s cache.

Two deliberate non-sharing decisions are enforced in every config:

  • @emotion/styled is not shared — it is a stateless factory consumed by @emotion/react; federating it breaks its default export at runtime.

  • @mui/icons-material is not shared — shared modules cannot be tree-shaken, so sharing it would ship the full ~4 MB icon barrel. Code uses deep imports (@mui/icons-material/Close) so only used icons are bundled.

  • Realizes the provider-boundary table and shared-dependency rules in composition.

7

Support standalone mode

Owner: MFE team

Each MFE’s index.tsx boots through an async import('./bootstrap') boundary. In standalone mode the MFE supplies its own auth, routing, theme, and telemetry; in federated mode it consumes the shell’s shared singletons. The async boundary is what lets a single build run both ways and is why heavy singletons can stay non-eager in remotes.

  • Realizes Independently deployable / testable — an MFE can be developed and verified without the shell.
8

Consume shared libraries at build time

Owner: FE Guild (library) + MFE teams

The design system and tooling ship as pnpm workspace packages under fe-packages/: @fe-ws/theme, @fe-ws/shared-ui, @fe-ws/shared-utils, @fe-ws/mfe-utils, @fe-ws/signalr, @fe-ws/storybook, @fe-ws/tsconfig. They are consumed as versioned workspace: dependencies — a visual change ships as a dependency bump, not a runtime broadcast. @fe-ws/mfe-utils and @fe-ws/signalr are additionally Module Federation singletons, so the shell and remotes share one runtime instance. For @fe-ws/signalr that is what shares the shell’s single SignalR connection with every MFE (real-time).

  • Realizes Shared libraries are consumed, not federated (architecture).

Shared-dependency matrix (as configured)

DependencySharedSingletonEager in shellEager in remotesNote
react, react-dom, react-router✅✅✅✅Core runtime
@azure/msal-react, @azure/msal-browser✅✅✅✅Shell-owned auth context
@tanstack/react-query (+ broadcast)✅✅✅✅One client context; cache stays per-MFE
@mui/material, @emotion/react✅✅✅❌Remotes reuse host copy; keep remoteEntry small
@mui/x-date-pickers-pro✅✅✅❌Must be the host’s single instance (adapter/context)
notistack✅✅✅✅Shared Snackbar context
@fe-ws/mfe-utils✅✅✅❌Shared workspace util
@fe-ws/signalr✅✅✅✅ (Reichenbach)Shares the shell’s single SignalR connection. Any remote that uses live updates MUST declare it as a singleton; today the shell and Reichenbach do
App Insights packages✅✅✅❌Reuse shell’s telemetry singleton
@emotion/styled❌———Stateless factory; federating breaks it
@mui/icons-material❌———Not tree-shakeable when shared; deep-import instead

Eagerness varies by app; the shell is the eager reference and remotes trend non-eager for heavy UI libraries. The authoritative values live in each rsbuild.config.ts.

Known gaps / TBD

  • Production and per-environment hostnames for mfe_incidents_management, mfe_iwkb, and the ION IQ MFEs were not resolvable from checked-in sources (see shells and MFEs).
  • The capability-based authZ contract is served by Signet (GET /v1/capabilities, POST /v1/validations; see Capability service (Signet)). FE/BFF adoption is rolling out per MFE; current MFEs still also gate remote consumption on role arrays (e.g. withAuthorizedRemoteMF(remote, [UserRole.…])).

Related documentation

  • Architecture · Composition · Routing and ingress · Identity and access · Real-time (SignalR) · Capability service (Signet) · Shells and MFEs
  • ADR-0023 — Micro-Frontend (MFE) UI architecture
  • Pattern — MFE UI Interaction
  • Source references: MFE - Real Example (Alya) · Monorepo Strategy for Frontend Code Sharing · Sharing deployment - MFE

On this page

  • Toolchain
  • Step-by-step: how a shell and its MFEs are wired
  • Shared-dependency matrix (as configured)
  • Known gaps / TBD
  • Related documentation
PreviousMicro-Frontends identity and access
NextMicro-Frontends real-time (SignalR)
Edit on GitHubSecurity