Skip to content

HSLdevcom/transitdata-cancellation-processor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

transitdata-cancellation-processor Test and create Docker image

This project is part of the Transitdata Pulsar-pipeline.

Description

This application manages cancellations from two sources

  • single cancellations from transitdata-omm-cancellation-source
  • mass cancellations from transitdata-omm-alert source

Mass cancellations have to be filtered from other alerts.

Trips are queried from Digitransit API using GraphQL. Route identifier and time span are used as search criteria.

Produces single trip-update messages.

Building

Dependencies

This project depends on transitdata-common project.

Locally

  • mvn compile
  • mvn package

Docker image

Running

Environment variables

  • PROCESSOR_TIMEZONE: timezone to use in the cancellation processor (default: "Europe/Helsinki")

Secrets

  • Digitransit API URI

About

To manage cancellations from two sources

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages