/transitdata-stop-cancellation-source

Primary LanguageJavaEuropean Union Public License 1.2EUPL-1.2

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>