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

Add support for whitelisting and blacklisting of GBFS operators in a trip search #4087

Closed
andtry opened this issue Apr 12, 2022 · 3 comments · Fixed by #4459
Closed

Add support for whitelisting and blacklisting of GBFS operators in a trip search #4087

andtry opened this issue Apr 12, 2022 · 3 comments · Fixed by #4459
Assignees
Labels
Entur On Entur Roadmap
Milestone

Comments

@andtry
Copy link

andtry commented Apr 12, 2022

When searching intineraries with GBFS data we need support for whitelisting or blacklisting of operators.

@andtry andtry added the Entur On Entur Roadmap label Apr 12, 2022
@leonardehrenfried
Copy link
Member

This is implemented as "bannedVehicleRentalNetworks" and "allowedVehicleRentalNetworks".

public Set<String> allowedVehicleRentalNetworks = Set.of();
/** The vehicle rental networks which may not be used. If empty, no networks are banned. */
public Set<String> bannedVehicleRentalNetworks = Set.of();

The TransmodelAPI might not map it yet.

@andtry
Copy link
Author

andtry commented Apr 12, 2022

Thanks! Guess that means this is a TransmodelAPI addition only.

@t2gran t2gran added this to the 2.2 milestone May 20, 2022
@github-actions
Copy link

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days

@github-actions github-actions bot added the Stale This issue is stale, no activity for 90 days. Remove stale label or comment within 30 days. label Sep 10, 2022
@hannesj hannesj removed the Stale This issue is stale, no activity for 90 days. Remove stale label or comment within 30 days. label Sep 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Entur On Entur Roadmap
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants