This project is part of the Transitdata Pulsar-pipeline.
Application for creating Service Alerts from OMM database.
This project depends on transitdata-common project.
mvn compile
mvn package
- Run this script to build the Docker image
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
- Tip: f.ex if running inside Docker in OSX set
- You can use this script to launch it as Docker container
- By default uses localhost, override host in PULSAR_HOST if needed.
- Connection string to OMM database is read from file.
- Set filepath via env variable FILEPATH_CONNECTION_STRING, default is
/run/secrets/db_conn_string
- Set filepath via env variable FILEPATH_CONNECTION_STRING, default is
Launch Docker container with
docker-compose -f compose-config-file.yml up <service-name>