This PR does not incorporate use case functional tests because the tests are run outside the container network and we encountered issues with hostnames not being recognized for the generated destination URLs. However, coverage is still high, over 95%, and the different scenarios are tested with integration and unit tests.
Suggestions on how to test this:
Visual inspection of the code and unit and integration tests execution.
What this PR does / why we need it:
This PR includes the use cases to support file uploads through the Direct Upload API. These use cases are entirely based on the Direct Upload API, so for the review of this PR, I recommend to rely on: https://guides.dataverse.org/en/latest/developers/s3-direct-upload-api.html
Which issue(s) this PR closes:
Related PRs:
Special notes for your reviewer:
This PR does not incorporate use case functional tests because the tests are run outside the container network and we encountered issues with hostnames not being recognized for the generated destination URLs. However, coverage is still high, over 95%, and the different scenarios are tested with integration and unit tests.
Suggestions on how to test this:
Visual inspection of the code and unit and integration tests execution.
Additional documentation: