Google Sign-In Required

Use your company Google account to access the BetterFleet private content.

Back to private home

BetterFleet Support Private
Skip to content
BetterFleet Dev Wiki
Service Interaction Flows
Initializing search
    bf-dev
    • Home
    • Product Capabilities
    • Process
    • Current Work
    • System Design
    • Software Reference
    • Operations
    bf-dev
    • Home
      • Overview
      • Manage
      • Overview
      • Product Engineering Workflow
      • Product Engineering Delivery
      • Product Engineering Workflow in Linear
        • GitLab Feature Flags
        • In-App Docs Authoring
        • Release Notes
      • Templates
      • Publishing
      • Workflow Companions
      • Overview
      • Active Artifacts
      • Backlog Artifacts
      • Archived Artifacts
      • Overview
      • Microgrid
      • OSCP
        • Challenge
        • Specification
        • Spec
        • Architecture
        • Overview
        • Script Runtime Model
        • Compose Profiles and Modes
        • Repo Topology
        • CI and Release Integration
        • Overview
        • Internal Application Diagrams
          • Overview
          • Web Model
          • Core Model
        • Service Interaction Flows
          • Web Request Fan-out
          • Core Dependency Flow
          • Depot Compatibility Bridge
        • Data and State
          • Index
          • bf-manage-web
          • bf-manage-core
          • bf-manage-connect
          • bf-manage-sitepwrmon
          • bf-manage-incidents
          • bf-telematics
          • bf-depot-sim
          • bf-manage-roaming
          • bf-support-microsite
          • bf-digital-twin
          • bf-schedule-creator
        • Overview
        • Internal Application Diagrams
        • Migration and Flags
        • Simulation Request Lifecycle
          • Index
          • bf-bnl-ui
          • bf-bnl-settings
          • bf-bnl-schedule-analysis-compute
          • bf-route-modelling
          • bf-schedule-creator
          • bf-digital-twin
        • Overview
        • Secrets and Env Strategy
        • Vendors and Local Dependencies
        • ADRs
        • Service Matrix
        • Cloud Dependencies
        • Ports and URLs
      • Onboarding
      • Daily Operations Runbook
        • Overview
        • Staging Hotfix Release
        • Production Hotfix Release
        • Terraform Plan Dry Runs
      • Troubleshooting
      • Testing Guide
    • Web Request Fan-out
    • Core Dependency Flow
    • Depot Compatibility Bridge

    Manage Service Interaction Flows¶

    Web Request Fan-out¶

    sequenceDiagram
      participant User
      participant Web as bf-manage-web
      participant Core as bf-manage-core
      participant Connect as bf-manage-connect
      participant Alerts as bf-manage-incidents
      participant Depot as bf-depot-sim
    
      User->>Web: Open UI + trigger workflow
      Web->>Core: primary API calls
      Web->>Connect: connect API calls
      Web->>Alerts: incident API calls
      Web->>Depot: depot simulation calls
      Core-->>Web: orchestrated responses

    Core Dependency Flow¶

    flowchart TD
      Core[bf-manage-core] --> PG[(postgresql)]
      Core --> MQ[(rabbitmq)]
      Core --> VK[(valkey)]
      Core --> Sched[bf-schedule-creator]
      Core --> Connect[bf-manage-connect]
      Core --> SitePwr[bf-manage-sitepwrmon]
      Core --> Incidents[bf-manage-incidents]

    Depot Compatibility Bridge¶

    bf-depot-sim runs socat to make localhost:5005 inside container route to bf-manage-connect:5005.

    flowchart LR
      DepotSim[Depot simulator] --> Localhost5005[Local endpoint]
      Localhost5005 --> Socat[Socat bridge]
      Socat --> Connect[Manage connect endpoint]
    Made with Material for MkDocs