Skip to content
Peter Mount edited this page Nov 26, 2018 · 9 revisions

Build Status Master Build Status 0.4

go library & suite of microservices for handling the NRE DarwinD3 feeds

The main purpose of this project is to consume the feeds provided by National Rail Enquiries in real time and expose that information as a REST service which can be consumed by a client, usually a website.

https://departureboards.mobi/ is an example of one of these clients.

Microservices

The project is split currently into 4 individual microservices, each in it's own container.

  • darwinref handles the reference feed and provides access to data that doesn't change often, including stations, locations, train operators etc.
  • darwintt handles the daily timetable feed
  • darwind3 handles the real time feed which includes currently running trains and forecasts of their arrival times & delays.
  • ldb provides a departure board service allowing the current status to be shown per station.

Images

The docker images for each microservice are listed below:

Microservice Latest image Stable Image
darwind3 area51/nre-feeds:darwind3-latest area51/nre-feeds:darwind3-0.4
darwinkb area51/nre-feeds:darwinref-latest area51/nre-feeds:darwinref-0.4
darwinref area51/nre-feeds:darwinref-latest area51/nre-feeds:darwinref-0.4
darwintt area51/nre-feeds:darwintt-latest area51/nre-feeds:darwintt-0.4
ldb area51/nre-feeds:ldb-latest area51/nre-feeds:ldb-0.4

Note: 0.4 is the current live version that uses the v12 push port schemas. Currently the master branch is working on the v16 branch so will not work publicly until that schema version becomes available.

Clone this wiki locally