Category: rosetta

Rosetta Antivirus Scan Plugin - V2
Rosetta 5.1 introduces a new version of the antivirus plugin interface. The new version supports an additional exit code, as follows: '0' - scan result is negative (= no virus found) '1' - scan result is positive (= virus found) > 1 - scan result is undetermined An 'undetermined' result should be used when the…

ROSETTA

Derivative Copy Submission Tool
Rosetta 5.1 introduces a new job for adding derivative copy representations to existing IEs. This job is useful when derivative copy files are created externally and need to be added to Rosetta. The job consumes a folder similar to a regular Rosetta SIP, with a METS container file and related streams. Additional information about the…

ROSETTA

Adding a New Source Metadata Subtype
In this post we will show how to add a new source metadata subtype, using VRA Core as an example. If you have not worked with source metadata in Rosetta before, it is recommended to read this post first. Note: This procedure requires restarting all Rosetta REP servers to take effect (this can be done…

ROSETTA

Setting a Collection Thumbnail by API
Rosetta 5.1 includes Collection webservice APIs for setting and deleting a collection thumbnail. The setCollectionThumbnail API accepts a base-64 encoded image as a string. The following script can be used to encode a thumbnail image and call the API: require 'savon' require 'base64' if ARGV.length < 2 puts "usage: ./set_collection_thumbnail.rb pdsHandle collectionId" exit end wsdl…

ROSETTA

Rosetta Load Balancer Example
Load Balancer Configuration: Load balancing allows distribution of workloads across multiple Rosetta servers. Such configuration aims to optimize resource use, maximize throughput, minimize response time, and avoid overload of a single server. In addition, configuring load balancing can provide SSL solutions for Rosetta. If you load balance on the HTTPS layer, then you'd install the SSL certificate on the…

ROSETTA

Web Service Updates in Rosetta 5.1
Rosetta 5.1 introduces a relatively large number of new and improved web services. The purpose of this post is to list these in one place, more elaborately than what the Release Notes format allows for. All changes are backward-compatible.   SIP Web Services getSIPStatusInfoByExternalId This new web service returns a SipStatusInfo object for a SIP…

ROSETTA

Working with Source Metadata in Rosetta
This post covers the various high-level aspects of working with source metadata in Rosetta, from submission to dissemination. Users should consult the official Rosetta documentation for specific details and instructions. Note: This post has been updated to reflect changes in v6.1. See here for details. What is source metadata? Generally speaking, source metadata is one…

ROSETTA

Customizing Emails to Depositors
Emails to Rosetta depositors can be customized using XSL stylesheets. This example contains the full email XML to be transformed. For further information, see the Rosetta Staff User Guide.

ROSETTA

Creating a Custom Access Rights Plugin
Rosetta's Access Rights Plugin interface enables libraries to extend Rosetta's native access rights policy conditions and apply custom logic or integrate with external DRM systems. This simple example demonstrates how a token, appended to the delivery URL, is checked against the ORCID (sandbox) system and allows access only if the token is valid (i.e. the…

ROSETTA

Wowza as a Streaming Media Service at the National Library of New Zealand
The National Library of New Zealand uses the Wowza Streaming Engine Server to stream derivative copies of video and audio content stored within our Rosetta preservation system (the National Digital Heritage Archive). Details of our integration with Rosetta are outlined below, configuration or environment specific details used in the implementation of this model at the…

ROSETTA