Dev:LHG DAS-Interface Technical description: Difference between revisions
Jump to navigation
Jump to search
Stefanseiler (talk | contribs) No edit summary |
Stefanseiler (talk | contribs) |
||
| Line 9: | Line 9: | ||
*Flight number | *Flight number | ||
* Planned craft | * Planned craft | ||
** manufacturer (e.g. | ** manufacturer (e.g. Boeing) | ||
** type (e.g. 747-800) | ** type (e.g. 747-800) | ||
** Tail-Code (Registration Number) | ** Tail-Code (Registration Number) | ||
Latest revision as of 00:02, 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. Boeing)
- 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")