Skip to content
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

Adds use cases for uploading files through direct upload API #153

Open
wants to merge 43 commits into
base: develop
Choose a base branch
from

Conversation

GPortas
Copy link
Contributor

@GPortas GPortas commented May 9, 2024

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:

@GPortas GPortas changed the base branch from develop to 146-edit-dataset-use-case May 9, 2024 12:46
@GPortas GPortas changed the base branch from 146-edit-dataset-use-case to develop May 20, 2024 11:46
@GPortas GPortas marked this pull request as ready for review June 10, 2024 12:58
@GPortas GPortas changed the title Adds use case for uploading files through direct upload API Adds use cases for uploading files through direct upload API Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Ready for Review ⏩
Development

Successfully merging this pull request may close these issues.

Create use case for uploading files via Direct Upload / S3
1 participant