Skip to content

HSLdevcom/transitdata-omm-alert-source

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

204 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test and create Docker image master
Test and create Docker image develop

Transitdata-omm-alert-source

This project is part of the Transitdata Pulsar-pipeline.

Description

Application for creating Service Alerts 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>

About

Create GTFS-RT Service Alerts from OMM database

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 9

Languages