-
Notifications
You must be signed in to change notification settings - Fork 301
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
Development
: Remove deprecated file upload endpoint
#7453
Conversation
6161182
to
ca57739
Compare
ca57739
to
7dec68e
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.
Removal looks good to me. Left one optional comment
src/main/java/de/tum/in/www1/artemis/web/rest/FileResource.java
Outdated
Show resolved
Hide resolved
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.
LGTM
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.
Code looks even better now
2c85bc7
Thanks, I forgot to remove the redundant null-check, though. |
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.
code
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.
Reapprove!
Development
: Removed deprecated file upload endpointDevelopment
: Remove deprecated file upload endpoint
Checklist
General
Server
Client
Motivation and Context
After replacing all uploads with multipart uploads, these two endpoints are not used anymore.
Description
I removed the two endpoints from the server and all related tests. I also removed the endpoint from the client and simplified the corresponding service. I added some checks for the file retrieval to keep the test coverage stable.
Testserver States
Note
These badges show the state of the test servers.
Green = Currently available, Red = Currently locked
Review Progress
Confirm that the endpoints are not in use anymore.
Code Review