Project

General

Profile

Actions

feature request #7137

closed

Registration Identifier minter implemented

Added by Andreas Kohlbecker about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
New
Category:
cdmlib
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Severity:
major

Description

  • RegistrationIdentifierMinter needs access with direct access to the persitence storage in order to verify a new created identifier is not yet existing.
  • mint() method
    • @synchronized
    • returns localId and identifier
  • RegistrationIdentifierMinter should be bound to the application context as singleton Spring Bean
  • The RegistrationIdentifierMinter needs to be configurable:
    • minLocalId
    • maxLocalId
    • idGenerationMethod:
      • naturalNumberIncrement (this is the only method that needs to be implemented so far)
    • identifierFormatString (a java format string where as '%s' will we used as placeholder for the loaclIdentifier)

The implementation of the idGenerationMethod needs to check if the new identifier is still in the range [minLocalId, maxLocalId], In case there to no identifier left in this range the minter needs to throw an exception: IdentifierMinterOutOfIdsException

  • the identifierFormatString for phycobank will be: "http:\\phycobank\%s"
Actions #1

Updated by Andreas Kohlbecker about 5 years ago

  • Description updated (diff)
Actions #2

Updated by Andreas Kohlbecker about 5 years ago

  • Description updated (diff)
Actions #3

Updated by Andreas Kohlbecker about 5 years ago

  • Description updated (diff)
  • Status changed from New to Resolved
Actions #4

Updated by Andreas Kohlbecker about 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF