-
Notifications
You must be signed in to change notification settings - Fork 313
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(rest.packages.provider): add endpoint for
.dp
upload (#4894)
* feat: new implementation WARNING: not completely working * fix: use Jersey instead * build: use version range * feat: use tmpdir + random file name for upload * refactor: use IOUtils for file upload * chore: remove unnecessary file * fix: manifest syntax * docs: add TODOs so that Sonar gets triggered * refactor: use FileServlet.java as blueprint * build: fix integration tests P.s. I have no idea what I'm doing * test: added integration test Still WIP * fix: make sonar happy * fix: remove commented out code * fix: use Use "java.nio.file.Files#delete" for better messages on error conditions * docs: add docs about new method * refactor: use nio.Files * test: actually check response body, some refactoring * test: add unhappy path test * refactor: remove unnecessary part * style: consistent formatting * test: added unit tests * refactor: simpler way to check local path * test: check that local url is used * test: added missing "then" statements in unit tests
- Loading branch information
Showing
6 changed files
with
1,030 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.