Originally on 2011-04-15
It would be great to be able to consider records stored in Invenio as master resources of information.
If a record references an external URL, a weak link between the record in Invenio and the external resource is created. What if this resource is moved? The URL in the record must be updated! But what if some service has been built that assumed the URL initially provided by Invenio in the record would have stayed forever? The service would be broken.
This could be implemented in the following way:
such handle should check for authorization to access and should then check within the record what resolves to and should redirect the user using via an HTTP 307 (Temporary Redirect) (see also http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html)
At CERN this might be useful, for example, to implement a more robust integration with MediArchive. CDS would be the master reference for MediaArchive URLs, and if an URL on MediaArchive would change, only the record in CDS would need to be updated (any service using CDS as master won't be affected).