Requirements

To implement this functionality you must have access to the following

Steps

  1. Create a new S3 storage by setting up the following settings as it’s shown in the picture below:
  2. Access key should be set up to an AWS access key. Secret key should be set up an AWS secret key. S3 region should be set up to an AWS region where buckets are located (the default is us-east-1). S3 addressing style should be set up to Virtual to allow virtual hosted-style URLs. S3 presigned URL expiration should be set to S3. DefaultURL format should be set to S3 DefaultBook. Covers Bucket should be set up to to the open-access bucket Protected Access content Bucket should be set up to the bucket with restricted access

https://wiki.lyrasis.org/download/attachments/195166267/image2020-9-3_15-15-8.png?version=1&modificationDate=1602618208358&api=v2

https://wiki.lyrasis.org/download/attachments/195166267/image2020-9-3_15-15-56.png?version=1&modificationDate=1602618208507&api=v2

  1. Create a new collection in Collection Manager and set up the following settings:

  2. Covers Mirror should be set up to the newly created S3 storage (it will appear in the dropdown only in the case you filled in Book Covers Bucket in S3 settings). Protected access mirror should be set up to the newly created S3 storage (it will appear in the dropdown only in the case you filled in Protected Access Content Bucket in S3 settings). URL signing should be set up to Sign URL and make them expirable

https://wiki.lyrasis.org/download/attachments/195166267/image2020-9-3_15-17-38.png?version=1&modificationDate=1602618208553&api=v2

  1. Import an ONIX collection into Circulation Manager

/bin/directory_import \\    --collection Manual \\    --collection-type PROTECTED_ACCESS \\    --data-source-name oapen \\    --metadata-format onix \\    --metadata-file ./onix_collection/onix2.xml \\    --ebook-directory ./onix_collection \\    --rights-uri http://[librarysimplified.org/terms/rights-status](<http://librarysimplified.org/terms/rights-status>)

Please make sure that MARC/ONIX files, books and their covers are located on a local machine or at a network reachable location (for example, a file share in LAN).

  1. Update the search index:

/bin/search_index_refresh