An open API service indexing awesome lists of open source software.

https://github.com/entur/kishar

SIRI to GTFS-RT converter
https://github.com/entur/kishar

ror

Last synced: 3 months ago
JSON representation

SIRI to GTFS-RT converter

Awesome Lists containing this project

README

          

# kishar [![CircleCI](https://circleci.com/gh/entur/kishar/tree/master.svg?style=svg)](https://circleci.com/gh/entur/kishar/tree/master)

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:
```
http://:/api/alerts

http://:/api/vehicle-positions

http://:/api/trip-updates
```

Healthcheck:
```
http://:/health/ready

http://:/health/up
```

# How to start this application
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=
spring.cloud.gcp.pubsub.project-id=
kishar.pubsub.topic.vm=entur-google-pubsub://
kishar.pubsub.topic.sx=entur-google-pubsub://
```