Versions Compared

Key

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

...

Bridge Report Capture Tool

Download Bridge Report Capture Tool

Description

The purpose of the Bridge Report Capture Tool is to retrieve a status report from the DuraCloud Bridge application (in JSON format) and store that report in an S3 bucket. To accomplish this, the tool can be run in one of two modes. The first mode (Properties Mode) requires that all parameters be provided, and these parameters are written to a properties file (with encrypted values where necessary.) The second mode (Capture Mode) takes only the -f parameter to specify the properties file. It is the second mode in which calls are made to the bridge app to retrieve a report and store that report in S3. Properties Mode is run to create the properties file used to execute Capture Mode.

...

Example Usage

Properties Mode (Use this to create a properties file for use in Capture Mode)

Code Block
java -jar bridge-report-capture-tool-1.0.0-driver.jar -f bridge-report-capture.properties -r "https://bridge.server.com/bridge/snapshot" -u bridgeUser -p bridgePa55word -a ANS3ACCESSKEY -s "the-s3-secret-key-value" -b bridge-report-bucket

Capture Mode (Use this to perform the report capture)

Code Block
java -jar bridge-report-capture-tool-1.0.0-driver.jar -f bridge-report-capture.properties

 

Prefix Update Tool

Download Prefix Update Tool 

Description

The purpose of the Prefix Update Tool is to allow for content item prefix values to be changed. If a given file path captured in the content IDs of files transferred to DuraCloud is incorrect, this tool can be used to correct that path. If a set of files needs to be given a prefix after they have already been transferred to DuraCloud, this tool can be used for that purpose as well.

...

Example Usage
Code Block
java -jar prefixupdatetoolprefix-update-tool-1.0.0-driver.jar -h institution.duracloud.org -s my-favorite-space -o C:/bobsfiles/Fall 2002 notes/ -n robert/notes/2002-fall/ -u [username] -p [password]

...