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

Nav 131 extend query config for raptor #100

Merged
merged 52 commits into from
Aug 23, 2024

Conversation

clukas1
Copy link
Member

@clukas1 clukas1 commented Aug 16, 2024

@munterfi this is part one of my query config issue. I thought I'll initiate the review process early to unlock the service for further extension (less merge conflicts).

So far I've extended everything on the app / spring endpoint side to handle extra query args as I would expect. Down to creating the service QueryConfig object. In a separate branch, I will use this QueryConfig object to build a raptor query config object and mask my stop times accordingly + tests.

A further issue I will tackle is creating multiple versions of my zürich trams gtfs schedule where I add accesibility/bike information for testing.

@clukas1 clukas1 requested a review from munterfi August 16, 2024 23:18
@clukas1 clukas1 self-assigned this Aug 16, 2024
@clukas1
Copy link
Member Author

clukas1 commented Aug 18, 2024

@munterfi: PR is finished for review and potential merger. Only thing one could still consider with a slight potential for adding too much complexity is considering the accessibility of stops in the routing process as well. This would require reworking the raptor builder and router a bit so that stops would also have a flag for accessibility.

Copy link
Member

@munterfi munterfi left a comment

Choose a reason for hiding this comment

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

Thanks @clukas1, nice work!

The overall concept looks solid and is close to being ready for merge. I have a few minor concerns that I'd like to discuss:

  • RoutingInfo vs. ScheduleInfo: Not consistent where this should live (ScheduleInfomrationService vs. ConnectionRoutingService) between the layers service and app.
  • Why is there and option to have no travel modes? Do you know sources other than GTFS that are not providing this? In order to be generic we could keep it. But in our case this will always be supportsTravelModes=true.
  • Configuration specific raptors and trip masks: Could you profile and benchmark to see how this is going to impact our memory footprint and performance?

munterfi and others added 7 commits August 19, 2024 12:05
- Rename endpoint for RoutingInfo from "/routing/" to "/routing", so it appears on top in the Swagger UI.
…aptor' into NAV-131-Extend-QueryConfig-for-Raptor

# Conflicts:
#	src/main/java/ch/naviqore/app/controller/RoutingController.java
#	src/main/java/ch/naviqore/app/dto/ScheduleInfo.java
@clukas1 clukas1 requested a review from munterfi August 21, 2024 21:12
clukas1 added 20 commits August 22, 2024 12:34
@clukas1
Copy link
Member Author

clukas1 commented Aug 22, 2024

@munterfi added small issues NAV-141 (add check for same coordinates in routing controller) and NAV-148 - add accessibility information and bikes allowed to trip dto and route transportmode enum to route dto.

Copy link
Member

@munterfi munterfi left a comment

Choose a reason for hiding this comment

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

Thanks @clukas1, looks good to merge!

@munterfi munterfi merged commit 6ea7802 into main Aug 23, 2024
2 checks passed
@munterfi munterfi deleted the NAV-131-Extend-QueryConfig-for-Raptor branch August 23, 2024 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants