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
Add Fares v2 to GraphQL API #4917
Add Fares v2 to GraphQL API #4917
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## dev-2.x #4917 +/- ##
=============================================
+ Coverage 64.46% 64.58% +0.11%
- Complexity 13896 13937 +41
=============================================
Files 1721 1725 +4
Lines 67229 67355 +126
Branches 7214 7218 +4
=============================================
+ Hits 43339 43499 +160
+ Misses 21466 21435 -31
+ Partials 2424 2421 -3
☔ View full report in Codecov by Sentry. |
e588013
to
db108e5
Compare
src/main/java/org/opentripplanner/routing/core/IndexedLegProducts.java
Outdated
Show resolved
Hide resolved
80cf74a
to
c08be0f
Compare
d0f459f
to
1e38b14
Compare
src/main/java/org/opentripplanner/model/plan/UnknownTransitPathLeg.java
Outdated
Show resolved
Hide resolved
src/main/java/org/opentripplanner/routing/core/ItineraryFares.java
Outdated
Show resolved
Hide resolved
src/main/java/org/opentripplanner/routing/core/ItineraryFares.java
Outdated
Show resolved
Hide resolved
src/main/java/org/opentripplanner/routing/core/ItineraryFares.java
Outdated
Show resolved
Hide resolved
src/main/java/org/opentripplanner/routing/core/ItineraryFares.java
Outdated
Show resolved
Hide resolved
Co-authored-by: Thomas Gran <t2gran@gmail.com>
@vesameskanen has already approved this twice so I'm going wait to re-request a review until @t2gran has finished his review. |
I am done with my review now. I have not reviewed the classes inside the Sandbox and only done a technical review on the rest. I do not now the GTFS Fares spec so my review on the business logic is at best superficial. |
We discussed this in the dev meeting today and I've renamed |
Summary
This one adds the new FaresV2 entities to the GraphQL API.
I would like to talk about the schema in the dev meeting if it is the right way to think about fares.
Closes #4935
Unit tests
Added.