samvera / hydra-works

A ruby gem implementation of the PCDM Works domain model based on the Samvera software stack
Other
24 stars 14 forks source link

Allows adding URL redirects as files #319

Closed afred closed 7 years ago

afred commented 7 years ago

This creates a service class called AddExternalFileToFileSet which acts very similar to AddFileToFileSet, but instead of expecting binary data, it expects a URL. This URL will go into the external-content header of the Fedora resource, and Fedora will automatically redirect to that URL.

The motivation is to provide the basis for more advanced external storage features higher up in the Hydra stack.