Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Genesys Backend Genesys Backend
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 22
    • Issues 22
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Genesys PGR
  • Genesys BackendGenesys Backend
  • Issues
  • #109

Closed
Open
Created Jul 26, 2017 by Matija Obreza@mobrezaOwner

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?

Assignee
Assign to
Time tracking