Skip to content

Index.stopTimesForStop does not handle added TripPatterns #2954

@gmellemstrand

Description

@gmellemstrand

The Index.stopTimesForStop is used in both the REST and the Transmodel API and is typically used for station boards and to show departures for specific stops in a client. It now searches through the GraphIndex.patternsForStop multimap in order to find all the patterns active on that stop. As this multimap is created on OTP startup, it does not handle trips being added via realtime updates.

This is solved in Entur's branch by keeping an index of realtime TripPatternsForStop in the TripPatternCache.

Metadata

Metadata

Assignees

Labels

!BugApply to issues describing a bug and PRs witch fixes it.EnturOn Entur Roadmap

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions