Dev:LHG DAS-Interface Technical description: Difference between revisions

From Kordeus Wiki
Jump to navigation Jump to search
Stefanseiler (talk | contribs)
No edit summary
Stefanseiler (talk | contribs)
No edit summary
Line 5: Line 5:
Through this it which recieves [[LHG:DAS-Update messages|DAS-Update messages]] bearing these information:
Through this it which recieves [[LHG:DAS-Update messages|DAS-Update messages]] bearing these information:


*Flight plan departure date
*Flight plan departure date/time
*New departure date
*New departure date/time
*Flight number
*Flight number
* Planned craft  
* Planned craft  
Line 30: Line 30:
Schedule
Schedule
   > ScheduledDepartureDateTime_UTC (datetime)
   > ScheduledDepartureDateTime_UTC (datetime)
   > ScheduledArrivalTime_UTC (datetime)
   > ScheduledArrivalDateTime_UTC (datetime)
ScheduleUpdate
ScheduleUpdate
   > UpdatedDepartureDateTime_UTC (datetime)
   > UpdatedDepartureDateTime_UTC (datetime)
   > UpdatedArrivalTime_UTC (datetime)
   > UpdatedArrivalDateTime_UTC (datetime)
   > UpdatedCraftmanufacturer (string, e.g. Airbus)
   > UpdatedCraftmanufacturer (string, e.g. Airbus)
   > UpdatedCraftType (string, e.g. 747-800)
   > UpdatedCraftType (string, e.g. 747-800)

Revision as of 00:01, 24 December 2025

The DAS interface is residing on a bridge server, residing in the LH-intranet. It subscribes to a "MOC/SARA" KAFKA Topic.

Inbound information stream from DAS

Through this it which recieves DAS-Update messages bearing these information:

  • Flight plan departure date/time
  • New departure date/time
  • Flight number
  • Planned craft
    • manufacturer (e.g. Boing)
    • type (e.g. 747-800)
    • Tail-Code (Registration Number)
  • Status (on plan / delayed / cancelled )
  • Optional:
    • Status (on plan / delayed / cancelled )
    • Delay time
    • Delay reason

The updates can occur in a random time, but the closer the flight event comes, the more changes typically occur.

Local storage

After one or more DAS-Update messages have been received, a local cache is built, which bears one file per departure date (from initial flight plan date, not new departure date).

Each file holds a list of these elements

OperatingCarrier (string, e.g. LH)
Flightnumber (string, e.g. LH410)
OriginPort (string, e.g. FRA)
DestinationPort (string, e.g. JFK)
Schedule
   > ScheduledDepartureDateTime_UTC (datetime)
   > ScheduledArrivalDateTime_UTC (datetime)
ScheduleUpdate
   > UpdatedDepartureDateTime_UTC (datetime)
   > UpdatedArrivalDateTime_UTC (datetime)
   > UpdatedCraftmanufacturer (string, e.g. Airbus)
   > UpdatedCraftType (string, e.g. 747-800)
   > UpdatedTailCode (string, e.g. DLHZR)
Status
   > OnPlan / Delayed / Cancelled (int-enum, e.g. 0,1,2)
   > DelayTimeInMinutes (int, 0)
   > DelayReason (string, "Drunken Pilot")

See also