Actions
feature request #7137
closedRegistration Identifier minter implemented
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"
Updated by Andreas Kohlbecker over 6 years ago
- Description updated (diff)
- Status changed from New to Resolved
Updated by Andreas Kohlbecker over 6 years ago
- Status changed from Resolved to Closed
Actions