-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Remove REST API #6578
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
Remove REST API #6578
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev-2.x #6578 +/- ##
=============================================
+ Coverage 70.31% 70.97% +0.65%
+ Complexity 18403 18236 -167
=============================================
Files 2088 1997 -91
Lines 77421 75763 -1658
Branches 7841 7768 -73
=============================================
- Hits 54438 53772 -666
+ Misses 20212 19259 -953
+ Partials 2771 2732 -39 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
@leonardehrenfried was it that we could also remove the |
No, because of this: Lines 20 to 24 in 89c5a3e
|
What should we do about the data overlay feature as I think it was only usable through the REST API. I think @t2gran once mentioned entur might use it for something in the future so maybe we will keep it. |
A data point about this feature: I emailed the original authors a few weeks ago but never received a response. I suspect they don't work for that company anymore. |
BuildConfiguration.md has documentation about Geoid Difference which has a link to a removed rest API class, perhaps the documentation is not relevant anymore? Configuration.md Config version section has a reference to the REST API. Developers-Guide.md has reference to rest API in the release process doc. Version-Comparison.md Routing request parameters section has reference to rest API. There is a package called
|
91a05f8
to
9f36ec6
Compare
9f36ec6
to
69a26e5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good riddance!
application/src/main/java/org/opentripplanner/api/common/LocationStringParser.java
Outdated
Show resolved
Hide resolved
...t/java/org/opentripplanner/routing/algorithm/mapping/restapi/mapping/FeedScopedIdMapper.java
Outdated
Show resolved
Hide resolved
Co-authored-by: Henrik Abrahamsson <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TransitTimingOutput
and SystemErrDebugLogger
should still be updated.
Lets us have a minute's silence after the REST API has gone to the great big JVM in the sky. REST in peace. |
Summary
This PR removes the REST API and changes some related documentation. This is somewhat related to the ongoing effort to remove the old debug UI in PR #6478.
The snapshot tests require some of the mapping code. This PR preserves this functionality and moves the mapper code to the test scope. Lets discuss in the dev meeting if that is what we want.
Issue
N/A
Unit tests
N/A
Documentation
Files changed:
doc/user/Configuration.md
doc/user/apis/Apis.md