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

Add a simple S3 option #14

Open
poikilotherm opened this issue Apr 4, 2024 · 2 comments
Open

Add a simple S3 option #14

poikilotherm opened this issue Apr 4, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@poikilotherm
Copy link
Member

Until we have a more sophisticated flavor thing going, let's unblock people who want to test S3 related things. (Looking at you @JR-1991 😉 )

  • Add a simple switch to enable S3 with Minio and LocalStack
  • Add a different compose and use it when S3 is enabled
  • Add a custom bootstrap script to run the dev persona as well as providing two S3-enabled collections
@poikilotherm poikilotherm self-assigned this Apr 4, 2024
@poikilotherm poikilotherm added the enhancement New feature or request label Apr 4, 2024
@JR-1991
Copy link
Member

JR-1991 commented Aug 8, 2024

@poikilotherm, digging into this now 😁. I just created a branch to address this issue. The first two bullet points should be straightforward. However, I’m having trouble figuring out how to create the two S3-enabled collections. I remember we discussed this at Distribits, but I can’t recall if we reached a conclusion. So, how can we change a collection’s store besides using the webpage?

@pdurbin
Copy link
Member

pdurbin commented Aug 8, 2024

@JR-1991 please see the "set storage driver to S3" lines at https://github.com/IQSS/dataverse/blob/v6.3/src/test/java/edu/harvard/iq/dataverse/api/S3AccessIT.java#L135

Probably somewhere in IQSS/dataverse-client-javascript#153 you'll find similar code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

3 participants