ibi-group / otp-middleware

Proxies requests from OpenTripPlanner UI to API, enhancing OpenTripPlanner with user storage, real-time trip monitoring, and more!
MIT License
6 stars 1 forks source link

Trip Monitoring TODO list #70

Open landonreed opened 4 years ago

landonreed commented 4 years ago

Pending back end items for trip monitoring (note: UI work on hold until progress is made here):

binh-dam-ibigroup commented 4 years ago

I found the root cause for most of of the "Itinerary not found" notifications I was receiving. Basically, the stop id changed between the time I set the notification and when the checks occurred, causing a mismatch in the itinerary comparisons. The stop id changed because of a GTFS change that modified an agency id (agency ids are used in OTP's global stop ids). Recreating a monitored trip seems to have resolved the issue.

binh-dam-ibigroup commented 4 years ago

Another cause for an "Itinerary not found" notification is that the UI is saving real-time itineraries (which is incorrect) and trying to compare such itineraries with the updated itineraries from OTP that also include real-time updates. Comparing itineraries with real-time updates is unlikely to succeed IMO.