Skip to content

Common utilities for Apache Pulsar purposes of the HSL transitdata team

License

Notifications You must be signed in to change notification settings

haphut/transitdata-common

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HSL Transitdata Common-library

This codebase contains common code to be shared between Transitdata-projects.

Package transitdata.proto contains protobuf-schemas that are used to describe the data payloads within the Transitdata pipeline. Default files are already in this repository but in case the schema changes use following script to generate the files:

cd protos && ./generate-protos.sh

Configuration

Library contains package config which has tools to configure the application. By default the configuration file is read from resources inside the application jar-bundle from a file named environment.conf. You can override the path with env variable CONFIG_PATH which merges these two (if found).

This library also contains a file common.conf which can be used as template or even included as a baseline config to your application like this:

include "common.conf"
<your config here..>

More info can be found from Lightbend's github pages

Usage:

  • Build

    mvn clean package

  • Deploy to local artifactory, for other projects to access it

    mvn install

About

Common utilities for Apache Pulsar purposes of the HSL transitdata team

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 98.5%
  • Shell 1.5%