Closed ghost closed 3 years ago
related to #8 refact router-config.json suing json files.. instead of "script echo" generation
and include more ENV VARS GTFS_RT_URL
{ "type": "bike-rental", "sourceType": "bgfs", "url": "https://www.capitalbikeshare.com/data/stations/bikeStations.xml", "frequencySec": -1 },
{ "type": "bike-rental", "frequencySec": 300, "sourceType": "gbfs", "url": "http://coast.socialbicycles.com/opendata/" },
{
"type": "stop-time-updater",
"frequencySec": 60,
// this is either http or file... shouldn't it default to http or guess from the presence of a URL?
"sourceType": "gtfs-http",
"url": "http://developer.trimet.org/ws/V1/TripUpdate/appID/0123456789ABCDEF",
"feedId": "TriMet"
}
{
"type": "real-time-alerts",
"frequencySec": 30,
"url": "http://developer.trimet.org/ws/V1/FeedSpecAlerts/appID/0123456789ABCDEF",
"feedId": "TriMet"
},
creare prima gtfs trentino trasporti e crare grafo
testing real-time-alerts http://gtfs.openmove.com/tt (protobuffer)
aggiunger http header: json curl -H "Accept: application/json" "https://gtfs.openmove.com/tt"
testing stop time updater http://gtfs.openmove.com/autostradale (protbuffer)
MENZ having only trips updates TODO verify it after is published url
implemented with this commit 240cb66a561ee3ebcaac56d29be0da31b2bcb3bb
but it still use the echo for the generation. reopen or create a new issue?
add new environment var
GTFS_RT_URL
and use it inside file
router-config.json