mirror of
https://github.com/opentripplanner/OpenTripPlanner.git
synced 2026-04-08 09:00:57 +02:00
61 lines
No EOL
1.6 KiB
JSON
61 lines
No EOL
1.6 KiB
JSON
{
|
|
"routingDefaults": {
|
|
"itineraryFilters": {
|
|
"filterItinerariesWithSameFirstOrLastTrip": true
|
|
},
|
|
"transferSlack": "3m",
|
|
"waitReluctance": 0.175,
|
|
"walk": {
|
|
"reluctance": 5
|
|
},
|
|
"maxDirectStreetDuration": "3700s"
|
|
},
|
|
"transit": {
|
|
"pagingSearchWindowAdjustments": [
|
|
"24h",
|
|
"0h"
|
|
],
|
|
"stopBoardAlightDuringTransferCost": {
|
|
"DISCOURAGED": 3000,
|
|
"ALLOWED": 150,
|
|
"RECOMMENDED": 60,
|
|
"PREFERRED": 0
|
|
}
|
|
},
|
|
"updaters": [
|
|
{
|
|
"type": "siri-azure-et-updater",
|
|
"topic": "<topic_name>",
|
|
"feedId": "<feed_id>",
|
|
"servicebus-url": "<service_bus_url>",
|
|
// Set custom hour for when operating day date breaks
|
|
// In this case 04:00 every night,
|
|
// so that 2022-04-21 03:00 will still be operating day date 2022-04-20
|
|
"customMidnight": 4,
|
|
"fuzzyTripMatching": false,
|
|
"history": {
|
|
"url": "<history_endpoint_url>",
|
|
// Get all real-time history for current operating day date
|
|
"fromDateTime": "-P0D",
|
|
"timeout": 300000
|
|
}
|
|
},
|
|
{
|
|
"type": "siri-azure-sx-updater",
|
|
"topic": "<topic_name>",
|
|
"feedId": "<feed_id>",
|
|
"authenticationType": "FederatedIdentity",
|
|
"fullyQualifiedNamespace": "<fully_qualified_namespace>",
|
|
"customMidnight": 4,
|
|
"history": {
|
|
"url": "<history_endpoint_url>",
|
|
// Previous operating day date
|
|
"fromDateTime": "-P1D",
|
|
// Next operating day date
|
|
"toDateTime": "P1D",
|
|
// timeout in miliseconds
|
|
"timeout": 300000
|
|
}
|
|
}
|
|
]
|
|
} |