--
You received this message because you are subscribed to the Google Groups "Dataverse Users Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-commu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-community/2de5ae34-2070-4583-a7a5-fe318f7cdac0n%40googlegroups.com.
FWIW: The archiver workflows are all transferring zipped Bags containing all of the data files and an OAI_ORE json-ld metadata file. There is an S3Archiver class in development now.
The broader workflow mechanism isn’t limited to working with a Bag though. For example, the http/sr and
http/authext can make a call to an external application which can then use the Dataverse API to retrieve metadata, get individual files, etc. In the case of the authext step, gives your application a key that can be used to access the Dataverse API and, for example, add metadata pointing to your external image source, before the dataset version is published. (Your workflow can run prior to publication proceeding or after publication is done.)
-- Jim
To view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-community/c222b457-ddf2-4c91-8933-91c7b22e3da3n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-community/MN2PR07MB73438DD4C5B3127E7A727486BF179%40MN2PR07MB7343.namprd07.prod.outlook.com.
Migrate works at the dataset level (which can contain many files) and is intended to let you transfer ~ownership of a dataset previously published elsewhere to Dataverse – keeping the original publication date, keeping the assigned DOI/PID and having Dataverse update the DOI landing page to redirect to the copy of the dataset now in Dataverse, etc. There isn’t a direct opposite in the API but the OAI-ORE metadata export contains the metadata that is needed to send into the migrate API and the archival bags we’ve talked about before are basically the dataset serialized into a zip file that could then be used (e.g. via DVUploader and the migrate API) to recreate the original dataset in a new Dataverse instance. (Dataverse also supports Harvesting – which allows one Dataverse to list datasets that are maintained in a different repository – more info in the Guides).
At the file level, if the workflow mechanism doesn’t do what you need, you might be interested in Dataverse’ internal concept of ‘stores’ and work-in-progress to create a store that can reference datafiles that are remote/managed in a separate system. The ‘store’ concept originally allowed Dataverse to have one upload mechanism but to then redirect files for storage in different types of underlying stores, i.e. a file system, or any number of different types of systems accessible via the S3 object-store protocol. The S3 store has since been upgraded with options such that, when you initiate a file upload to Dataverse, Dataverse can provide you/your browser/app with a direct (signed) URL to the S3 store so that the transfer does not need to go through the Dataverse server itself. (Same for downloads – the client can be redirected to get the file directly from the S3 bucket.). The work-in-progress adds a new type of store where the datafile remains at a remote location, accessible via URL. Upload is assumed to have been done independently and Dataverse will redirect to the URL for download.
If OMERA supports S3, you might be able to configure to use it via the S3 store. If you have a way to upload files to OMERA separately, you might be able to use the planned ‘HTTPOverlay’ store to allow Dataverse to reference the file rather than uploading into Dataverse. Other variants could be possible – e.g. users upload to Dataverse and you use a workflow, as discussed previously, or other mechanism to transfer relevant files to OMERA and use the planned HTTPOverlay store to then reference the remote copy (and possibly deleting the copy in Dataverse). (Developing a native OMERA store for Dataverse could be a possibility as well, but that would be significantly more involved.)
Another fairly lightweight possibility would be to look at Dataverse’s External Tools framework/Previewers. These are registered per-MimeType. A simple example is a video player – a Previewer for mpeg can be registered which adds a button in the Dataverse UI to ‘preview’ that type of file. Clicking the button redirects you to a separate app, in this case one that embeds the HTML5 video player and pipes the video file to it from Dataverse so you can watch the video. The Previewers developed to date don’t keep any state, i.e. they retrieve the file from Dataverse every time someone invokes the previewer, but an OMERA previewer could do something like copy the file to OMERA on the first view and refer to that copy on all subsequent views. (Assuming OMERA provides a web interface to view a file, a previewer might do nothing more than make sure OMERA has a copy and then redirect to OMERA for viewing).
As you can see – lots of options, and which one might be best probably depends on the details of your use case w.r.t. whether you want to use Dataverse’s existing upload mechanisms, whether you want OMERA to have a copy or the be the only store for the relevant files, etc.
To view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-community/a8ca365b-685d-49ad-b9ab-ffa006a874fbn%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "Dataverse Users Community" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dataverse-community/ijrmNTGjOo0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dataverse-commu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-community/62c9c21b-7c99-4ee8-8c31-416e5b0607d8n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-community/CAFa2NKOhwjK%2BK5W%2B3J-bofzdK%2BhpdOWv7nyw7%3DXQBVjATcxjhw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-community/d3bce10d-ba5d-4108-86d2-4a8808aae2cfn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-community/769b3786-ed1b-4e34-979b-3bbb94e8f6f7n%40googlegroups.com.