Uploaded image for project: 'FlightPath'
  1. FlightPath
  2. FLPATH-2625

[Spike] UI MFE Integration

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Critical Critical
    • IOP-POC-0.1
    • None
    • None
    • None

      On-Premises Migration Strategy Suggestion for OptimizationDetails Component

      To migrate the OptimizationDetails page to on-premises hosting, you need to remove all Red Hat cloud-specific dependencies and replace them with local alternatives. The main challenges involve:

      1. Module Federation Replacement - Convert from remote micro-frontend to local bundled components
      1. Authentication System - Replace Red Hat SSO with local authentication
      1. Chrome Service Dependencies - Implement local navigation and user management
      1. API Integration - Update endpoints to point to local backends

      Changes:

      1. Replace AsyncComponent Dependency with  a local async component that uses React's lazy() and Suspense
      2. Remove Chrome Service Dependencies ??
      1. Implement other Authentication - Red Hat SSO integration other authentication system
      2. Bundle the micro-frontend locally instead of loading it remotely and update the module federation configuration from RH cloud to local implementation infra (hosted locally with it's own fed-mods.json)
      3. frontend-components: some of the components must be replaced: 
         
        // Cloud-dependent components
        import { 
          AsyncComponent,         // ❌ Module Federation + Chrome API
          RBACProvider,          // ❌ Red Hat RBAC service
          useChrome,             // ❌ Red Hat Chrome service
        } from '@redhat-cloud-services/frontend-components';
        // Also avoid these related packages entirely:
        // '@redhat-cloud-services/frontend-components-notifications'  // ❌ Cloud notification service
        // '@redhat-cloud-services/frontend-components-translations'   // ❌ Cloud translation service
        

       

              rh-ee-ehendler Elkana Hendler
              rh-ee-lberkovi Liat Berkovich
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: