The Primordial god Kishar is the wife - and sister - of Anshar.
Receives SIRI-data (in protobuf-format) from a Google Pubsub-topic and converts it to GTFS-RT. The data for this topic is produced by Anshar (https://github.com/entur/anshar).
Inspired, and partially copied from https://github.com/OneBusAway/onebusaway-gtfs-realtime-from-siri-cli
GTFS-RT endpoints:
https://<server>:<port>/api/alerts
https://<server>:<port>/api/vehicle-positions
https://<server>:<port>/api/trip-updates
Healthcheck:
https://<server>:<port>/health/ready
https://<server>:<port>/health/up
This application receives its data from a Google Pubsub-topic - thus, to start, it is necessary to add configuration for this in application.properties
Connect to Pubsub:
# Required config:
spring.cloud.gcp.project-id=<GCP project id>
spring.cloud.gcp.pubsub.project-id=<GCP project id
spring.cloud.gcp.pubsub.credentials.location=file:https:///path/to/gcp/credentials.json
Configuration of which topics to subscribe to:
kishar.pubsub.topic.et=entur-google-pubsub:https://<topic-name-siri-et>
kishar.pubsub.topic.vm=entur-google-pubsub:https://<topic-name-siri-vm>
kishar.pubsub.topic.sx=entur-google-pubsub:https://<topic-name-siri-sx>