Commit Graph
6 Commits
Author SHA1 Message Date
Sameh Khamis 60644c5f5d feat: name live feed routes and sources for what they serve
The flight, military and vessel feeds were named after the providers the
bundled server uses (/api/opensky, /api/adsblol/mil, /api/ais-live and
their track routes; createOpenSkySource, createAdsbLolSource,
createAisStreamSource). Any server should be able to answer a feed from
its own provider, so the feeds are now:

  /api/flights   /api/flights/track?icao24=
  /api/military  /api/military/track?hex=
  /api/vessels   /api/vessels/track?mmsi=

with createFlightSource, createMilitarySource and createVesselSource. The
old routes are removed. Each server names its provider in X-Feed-Source
(the bundled server sends OpenSky Network, adsb.lol and AISStream, so its
attribution is unchanged) and the military feed's cache state and age in
X-Feed-Cache and X-Feed-Age-Ms. Sources report the provider the server
names and fall back to the feed's name.
2026-10-03 23:10:32 -07:00
Sameh Khamis 22138212b9 Preserve positionless aircraft identities for classification 2026-09-13 10:28:10 -07:00
Sameh Khamis ebebf69564 Reject out-of-range observation epochs before display 2026-09-13 09:14:06 -07:00
Sameh Khamis 73135a7ae4 Preserve source identity and history references through layer state 2026-09-13 09:06:13 -07:00
Sameh Khamis 80c5a09f15 Format live source modules and adopt their formatting checks 2026-09-13 08:58:59 -07:00
Sameh Khamis e968053d2c Separate live observation sources from aircraft and vessel layers 2026-09-13 08:58:56 -07:00