Admin Guide: Mint Ark For Existing Work

It is possible that a new Work might be created in ReSeeD while the ARK service is, for some reason, offline. ReSeeD is designed to tolerate this situation and to allow the work to be created, without a new ARK having been minted.

When the creation of an ARK fails, it will appear in sidekiq among the list of dead jobs. The worker logs should have the outcome of the ARK registration process.

In order to rectify this situation (for example after the ARK service is back online), and to mint an ARK for an existing work, you may choose from two solutions.

Note: Both of these can be done from the rails console in the web container.

  1. Queue a background job, which in turn calls the RegisterArkService
RegisterArkJob.perform_later(work_id)
  1. Call the RegisterArkService
r = RegisterArkService.new(work_id)
r.call