HSLdevcom / transitdata-stop-cancellation-source

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

transitdata-stop-cancellation-source

This project is part of the Transitdata Pulsar-pipeline.

Description

Application for querying and processing partial cancellations 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

License:European Union Public License 1.2


Languages

Language:Java 98.6%Language:TSQL 0.5%Language:Dockerfile 0.4%Language:Shell 0.4%