Article Banner
Spacer

Smart Objects and Open Archives - Appendix 1

Michael L. Nelson and Kurt Maly


spacer

A Bucket Demo

This demo and the one in Appendix 2 are recorded in the QuickTime format. Software to replay this demo can be found at: http://www.apple.com/quicktime/download/. This demo shows manipulation of URL arguments and command line editing of bucket contents. This is done for illustrative purposes only and these operations are generally handled through bucket tools.

The bucket demo QuickTime file is approximate 13MB in size. If you have the QuickTime plug in, you may run the demo by clicking here.

Transcript of Actions

  1. Begin with the NACA TN sample bucket from section 3.
  1. Invoke the "metadata" method on the bucket
  1. Click on the "scanned pages" section of the bucket.
  1. Paginate through the report (both thumbnails and large pages).
  1. Invoke the "get_preference" method on the bucket, notice that "thumbnail_increment" is set to 10.
  1. Invoke the "set_preference" method on the bucket, changing the "thumbnail_increment" preference to 18.
  1. Re-invoke the "get_preference" method, noting that "thumbnail_increment" is now 18.
  1. Re-click on the "scanned pages" section of the bucket, notice that 18 pages are now displayed at a time.
  1. Invoke the "display" method on the bucket, but pass in keywords to make bold.
  1. Invoke the "display" method, keep the bold keywords, but also specify the "view" suitable for LaRC staff.
  1. From the listing of TIFFs, click on one (this machine does not have the proper application to view TIFFs)
  1. Click on the sample maintenance page. Within this context:
  1. Click on the link that invokes the "get_log" method.
  1. Click on the link that invokes the "list_tc" method, but this fails because our IP address is not permitted to perform this action.
  1. Switch to a vt100 terminal, add the IP address to the T&C file.
  1. Re-click the link that invokes the "list_tc" method, and it succeeds this time, listing the source code for the "index.cgi" portion of the bucket.
  1. Add arguments to the "list_tc" method to list the source code for the "display" method then the "version" method.
  1. Re-invoke the "list_tc" method, highlighting the T&C necessary for the "lint" method.
  1. Click on the link that invokes the "lint" method, and give the required username and password for this action. "lint" provides lots of diagnostic output.
  1. Re-invoke the "list_tc" method, notice that another user is required for the "delete_bucket" method.
  1. Invoke the "delete_bucket" method, notice that the user "maly" is denied this action.
  1. Switch to a vt100 terminal running the Pine email client. Notice that we have received 2 emails: 1 from the "inform" T&C directive telling us that someone successfully invoked the "metadata" method, and a second telling us that someone unsuccessfully invoke the "delete_bucket" method. Notice that the email has the HTML source necessary to recreate the action should we wish to approve the attempted action.
  1. Return to the original NACA TN bucket, and invoke the "list_methods" method
  1. Invoke the "get_preference" method, notice the preference "method_server" has the value "internal".
  1. Switch to a vt100 terminal, edit the value of "method_server" to point to a filesystem location outside the bucket.
  1. Re-invoke the "get_preference" method, notice the new value of "method_server".
  1. Invoke the "list_methods" buckets. There are much fewer methods, plus a new method named "silly".
  1. Invoke the "silly" method.
  1. Switch back to the vt100 terminal, reset the value for "method_server" to "internal".
  1. Re-invoking the "silly" method now fails.
  1. Re-invoke the "get_preference" method, noticing that "method_server" is back to internal.
  1. Re-invoking the "list_methods" method shows a full list of methods.
  1. Switch to a demo page for bucket mobility.
  1. Click on the first bucket, and browse its contents (text + audio).
  1. Click on the empty bucket (bucket exists, but no contents).
  1. Click on the link that invokes the "pack" method on the first bucket. Save this bucket stream on the local machine.
  1. Using the HTML provided form for file upload, invoke the "unpack" method on the empty bucket, passing in the bucket stream from the first bucket. Ignore the diagnostic messages.
  1. Clicking on the empty bucket reveals that it now has the same contents as the first bucket.
  1. Invoking the "get_log" method on the (former) empty bucket shows when the "unpack" method was invoked on it.
  1. Verify that the first bucket still exists.
  1. Invoke the "delete_bucket" method on the first bucket.
  1. Clicking on the link to the first bucket now produces an http error because that bucket no longer exists.
Copyright© 2001 Kurt Maly. (Although he is a co-author of this article, Michael Nelson is not listed as a copyright holder because his work on this project was done as an employee of the U.S. Federal Government.)
spacer
spacer

Back to the Article