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

Ability to set store-id #73

Open
misilot opened this issue Jun 11, 2024 · 1 comment
Open

Ability to set store-id #73

misilot opened this issue Jun 11, 2024 · 1 comment

Comments

@misilot
Copy link

misilot commented Jun 11, 2024

Maybe I am missing it, but I do not believe there is a way to set the store-id flag for the duracloud sync portion.

I believe this is needed to be able to upload directly to Chronopolis which is hosted on the same platform as Duracloud.

@nwoodward
Copy link
Contributor

You're correct that there's currently no way to set the store-id. The RTS makes a call to DuraCloud to get the primary storage provider (https://github.com/DSpace/dspace-replicate/blob/main/src/main/java/org/dspace/ctask/replicate/store/DuraCloudObjectStore.java#L81) and uses that.

I think it would be fairly straightforward to make that configurable by adding a parameter and getting the desired ContentStore using the getContentStore method in the ContentStoreManager: https://github.com/duracloud/duracloud/blob/develop/storeclient/src/main/java/org/duracloud/client/ContentStoreManager.java#L61-L62.

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

No branches or pull requests

2 participants