Skip to content

Java Spring Boot application which turns NDOV/InfoPlus' ZeroMQ message feed into a usable REST/GraphQL API

Notifications You must be signed in to change notification settings

wissehes/JavaTrain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaTrain

A server application that transforms the realtime data streams provided by the NDOV into a usable REST API and GraphQL API.

This project is inspired by the GoTrain project.

How it works

The dynamic departure boards on the platforms at Dutch stations receive their data in the form of a message subscribe system. There exists a public feed in the form of the NDOV Realtime data. The departure boards in particular use the InfoPlus Dynamische Vertrek Staat topic.

After subscribing to the /RIG/InfoPlusDVSInterface4 topic, JavaTrain receives the InfoPlus messages in XML format. It then converts those to Java classes and stores them in memory. Thankfully, these messages are documented really well, see the resources file.

Running

After pulling this repository, you can hit start in your IDE. The swagger API docs are located at http://localhost:8080/swagger-ui/index.html.

About

Java Spring Boot application which turns NDOV/InfoPlus' ZeroMQ message feed into a usable REST/GraphQL API

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published