Skip to content

HSLdevcom/transitdata-metro-ats-cancellation-source

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

transitdata-metro-ats-cancellation-source

This project is part of the Transitdata Pulsar-pipeline.

Description

Application for creating GTFS-RT TripCancellations from OMM database.

Building

Dependencies

This project depends on transitdata-common project.

Locally

  • mvn compile
  • mvn package

Docker image

Running

Requirements:

  • Local Pulsar Cluster
    • By default uses localhost, override host in PULSAR_HOST if needed.
      • Tip: f.ex if running inside Docker in OSX set PULSAR_HOST=host.docker.internal to connect to the parent machine
    • You can use this script to launch it as Docker container
  • Connection string to OMM database is read from file.
    • Set filepath via env variable FILEPATH_CONNECTION_STRING, default is /run/secrets/db_conn_string

Launch Docker container with

docker-compose -f compose-config-file.yml up <service-name>