DOI as accession URL
This is one of the subtasks for #56 (closed). Depends on #106 (closed).
For accessions with a DOI registered in Genesys, we will use the following URL template: https://www.genesys-pgr.org/[DOI]
for example https://www.genesys-pgr.org/10.18730/A3C9
. Every URL to an accession with DOI must use the DOI'zed URL.
DOI format regexp is 10\.[0-9]+/.+
.
DOI Controller
Add a controller for DOI resolution at /{doi:10\.[0-9]+/.+}
. The DOI can identify various objects in Genesys. It should check if an
accession with the DOI exists and display accession details if an accession has such DOI.
Accession Controller
The current controller (for /acn/id/[0-9]+
) must permanently redirect to the DOI'zed accession URL in Genesys if the accession record has the DOI assigned.
DOI as URL
When the accession has DOI assigned, all links to accession details must point to the DOI'zed accession URL and not the /acn/id/*
.
The URL is now generated in JSP directly, perhaps we should have a method to create the accession URL?