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 GBFS auto discovery of endpoints #3320

Merged
merged 11 commits into from Jan 19, 2021

Conversation

gmellemstrand
Copy link
Contributor

To be completed by pull request submitter:

To be completed by @opentripplanner/plc:

  • reviews and approvals by 2 members, ideally from different organizations
  • after merging: update the relevant card on the roadmap

This PR adds support for GBFS auto discovery of endpoints, which brings the updater closer to GBFS 2.1 compatibility. It also turns off floating bike support by default, as it is contains a memory leak and is not safe to use.

Gard Mellemstrand added 3 commits January 12, 2021 12:23
- Turn floating bike support off by default
- Document why floating bike support is turned off
@gmellemstrand gmellemstrand added the Entur test This is currently being tested at Entur label Jan 18, 2021
@gmellemstrand gmellemstrand requested a review from a team as a code owner January 18, 2021 14:12
…_realtime_update

Fix bug in TransitLayerUpdater
@t2gran t2gran added this to In progress (PRs) in OTP2 Development via automation Jan 19, 2021
@t2gran t2gran added this to the 2.1 milestone Jan 19, 2021
docs/OTP2-MigrationGuide.md Outdated Show resolved Hide resolved
Gard Mellemstrand and others added 3 commits January 19, 2021 14:24
OTP2 Development automation moved this from In progress (PRs) to Review in progress (PRs) Jan 19, 2021
@@ -80,6 +80,8 @@ public GenericJsonBikeRentalDataSource() {

@Override
public boolean update() {
if (url == null) return false;
Copy link
Member

Choose a reason for hiding this comment

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

Missing {}: if (url == null) { return false; }

Add support for GBFS auto discovery of endpoints
@gmellemstrand gmellemstrand merged commit 4fdbed9 into opentripplanner:dev-2.x Jan 19, 2021
OTP2 Development automation moved this from Review in progress (PRs) to Done Jan 19, 2021
@gmellemstrand gmellemstrand deleted the otp2_gbfs_update branch January 19, 2021 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Entur test This is currently being tested at Entur
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants