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
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
-
Build
mvn clean package
-
Deploy to local artifactory, for other projects to access it
mvn install