Skip to content
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

Transmodel GraphQL API for pass-through searches #5320

Merged
merged 4 commits into from Oct 3, 2023

Conversation

jtorin
Copy link
Contributor

@jtorin jtorin commented Aug 24, 2023

Extension to the GraphQL Transmodel API for performing pass-through searches (popularly called via-searches, but that concept name is already taken). Raptor related changes was merged in #5249.

This is associated to issue #4887.

@jtorin jtorin changed the title Pass through graphql GraphQL API for pass-through searches Aug 25, 2023
@jtorin jtorin changed the title GraphQL API for pass-through searches GraphQL transmodel API for pass-through searches Aug 28, 2023
@jtorin jtorin changed the title GraphQL transmodel API for pass-through searches Transmodel GraphQL API for pass-through searches Sep 12, 2023
@t2gran t2gran added this to the 2.5 (next release) milestone Sep 13, 2023
@jtorin jtorin marked this pull request as ready for review September 21, 2023 14:54
@jtorin jtorin requested a review from a team as a code owner September 21, 2023 14:54
@jtorin jtorin force-pushed the pass-through_graphql branch 3 times, most recently from a1be9ca to ac8382b Compare September 22, 2023 13:54
@codecov
Copy link

codecov bot commented Sep 22, 2023

Codecov Report

Attention: 6 lines in your changes are missing coverage. Please review.

Comparison is base (3228c57) 66.54% compared to head (82fa760) 66.57%.

Additional details and impacted files
@@              Coverage Diff              @@
##             dev-2.x    #5320      +/-   ##
=============================================
+ Coverage      66.54%   66.57%   +0.02%     
- Complexity     15256    15273      +17     
=============================================
  Files           1787     1790       +3     
  Lines          69300    69367      +67     
  Branches        7303     7306       +3     
=============================================
+ Hits           46117    46181      +64     
- Misses         20708    20709       +1     
- Partials        2475     2477       +2     
Files Coverage Δ
...ner/ext/transmodelapi/mapping/TransitIdMapper.java 48.64% <100.00%> (+5.79%) ⬆️
...r/ext/transmodelapi/mapping/TripRequestMapper.java 56.60% <100.00%> (+3.54%) ⬆️
...lanner/ext/transmodelapi/model/plan/TripQuery.java 99.65% <100.00%> (+<0.01%) ⬆️
...transmodelapi/model/plan/ViaLocationInputType.java 97.22% <ø> (ø)
...ipplanner/raptor/api/request/PassThroughPoint.java 80.00% <100.00%> (+3.07%) ⬆️
...pplanner/routing/api/request/PassThroughPoint.java 100.00% <100.00%> (ø)
...ntripplanner/routing/api/request/RouteRequest.java 77.31% <100.00%> (+0.97%) ⬆️
...planner/transit/service/DefaultTransitService.java 47.97% <100.00%> (+0.35%) ⬆️
...api/model/framework/PassThroughPointInputType.java 94.44% <94.44%> (ø)
...oradapter/transit/mappers/RaptorRequestMapper.java 67.41% <80.00%> (+1.59%) ⬆️
... and 1 more

... and 2 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@t2gran t2gran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just small changes to the doc. We need to remember to do the error handling in the API before we are done - but it is ok to do it in another PR.

@leonardehrenfried
Copy link
Member

When you solved the problem with the race condition, please re-request review.

t2gran
t2gran previously approved these changes Oct 2, 2023
@jtorin jtorin dismissed stale reviews from leonardehrenfried and t2gran via 2eacbbb October 3, 2023 07:52
Johan Torin added 3 commits October 3, 2023 10:01
* Each pass-through point can consist of multiple stopplaces, with an
  optional name for logging and debugging.
* Each stopplace is translated to a complex object instance from the given id.

With contributions from Bartosz Kruba.
@jtorin
Copy link
Contributor Author

jtorin commented Oct 3, 2023

Squashed fixup commits and rebased. Change on squash:

# git diff 7d8fc88caeb271ec1e9900a317d9a439fd274034..2eacbbb | wc -l
0

@jtorin jtorin merged commit fb35a61 into dev-2.x Oct 3, 2023
5 checks passed
@jtorin jtorin deleted the pass-through_graphql branch October 3, 2023 08:58
t2gran pushed a commit that referenced this pull request Oct 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants