Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 1.5 KB

travel_updates_receiver_quantum.md

File metadata and controls

36 lines (24 loc) · 1.5 KB

Travel Updates Receiver Quantum

The following diagram describes the architecture for the Reservation Updates Receiver quantum.

Components

External Agency Interfaces

Independent component that implement multiple interfaces to interact with external APIS. An abstraction layer to tackle integration scenarios where external systems use different protocols or data formats. Essentially these components act as event sources for updates (e.g. cancellations,delays,updates) originated from external systems.

We can assume that Sabre and Apollo interfaces support push protocols for notifying external systems about updates. We also consider that other external agency interfaces may support push or pull protocols for notifications.

Event Filterer

Stateless component that handles filtering of events

  • discards duplicate events (may receive same update from multiple external sources) using small in-memory cache
  • filter events that are out of scope for our domain

Architectural Style Preferred

Event Driven Architecture

Related ADRs

Reservation update event processing - Sequence diagram

The following sequence diagram demonstrates how the agent processes an update event, in coordination with other quanta.

Travel Update Reception