Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Excerpt

Identifiers can either be specified in REST API calls, automatically-generated using the internal PID minter, or generated using an external PID minterREST service.

Specifying Identifiers in REST API Calls

...

Fedora 4 can also be configured to use retrieve identifiers from an external PID minter via a REST APIHTTP minter service.  When a new object or datastream is created using the POST method, a new identifier will be created using the external PID minter.  See Configuring an External PID Minter.

Custom PID Minters

To use a different identifier generation process, you can create a custom PID minter implementation, which can be configured in the same way as the external PID minter.  If your identifiers are generated from an HTTP service, then you should consider improving or extending HttpPidMinter.java to provide the needed functionality.  Otherwise, you can create a new implementation of the PidMinter interface.