[ENG-337] [OATHPIT] Throw ownCloud into the Oath Pit #386
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Ticket
https://openscience.atlassian.net/browse/ENG-337
Purpose
Enable and update the ownCloud provider for
aiohttp
3.Changes
.make_request()
now supports WebDAV methodsaiohttp.ClientSession
only has functions available for native HTTP methods. For WebDAV (a protocol that extends HTTP) ones, WB lets theClientSession
instance call_request()
directly and then wraps the return object withaiohttp.client._RequestContextManager
.ssl=
instead ofverify_ssl=
when initializingaiohttp.TCPConnecto
verify_ssl=
has been deprecated and no longer takes any effect on setting the property_ssl
of aTCPConnector
instance. Usessl=
instead. For details see the following links.Side effects
No
QA Notes
Here is a list of tests that I have done locally, all of which have passed. Extra notes and quirks are added under each list if there is any. In addition, tests are done for both non-root and root.
Getting metadata for a file and folder
Downloading (20B, 1 MB, 11 MB, 88 MB, 264MB)
Contiguous Uploading (20B, 1 MB, 11 MB, 88 MB, 264MB one-by-one and together)
DAZ (a folder containing five files of 20B, 1 MB, 11 MB, 88 MB, 264MB)
Delete a file and a folder; delete multiple files and folders
Folder creation and deletion
Renaming files and folders
Intra move and copy
Inter move and copy
Comments persist with moves
Revisions: N / A
Project root is storage root vs. a subfolder
Updating a file
Deployment Notes
N / A