-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fixup: Trip planner itinerary tagging #1897
Conversation
bump open_trip_planner_client version, which adds support for MostDirect tag since v0.6. this also adjusts the returned data slightly, so when parsing we can use the agency name as opposed to parsing the agency GTFS ID.
This shouldn't be put live until mbta/otp-deploy#35 is merged. However, I'll open this PR to review with a deployment to Dotcom dev-blue once I finish deploying OTP with the needed changes to OTP dev-blue. |
@@ -109,12 +111,13 @@ defmodule DotCom.Mixfile do | |||
{:logster, "1.1.1"}, | |||
{:mail, "0.3.1"}, | |||
{:mock, "0.3.8", [only: :test]}, | |||
{:mox, "1.1.0", [only: :test]}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These seem to be added as dependencies but not used in this pull request
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The commit message that added these was fixup merge commit
....these were supposed to be in the feat/trip-planner-improvements
branch (and are being used there already).
Is the goal of the open_trip_planner_client to replace the implementation of the |
@kotva006 Did you see the source? https://github.com/mbta/dotcom/blob/cbj/fix-tags/lib/trip_plan/api/open_trip_planner.ex#L18 Our |
479a829
into
feat/trip-planner-improvements
Summary of changes
Asana Ticket: Trip planner itinerary tagging: implement tie-breaking & new "most direct" tag (tie-breaking with fallback)
Sorry, there's not much here! Most of the actual implementation of the new tag, as well as implementation of tagging in general, is in thecristen/open_trip_planner_client@v0.5.0...v0.6.1 in the
OpenTripPlannerClient.ItineraryTag
andOpenTripPlannerClient.ItineraryTag.MostDirect
modules.