Pawn:Pawn SRB Driver
From Adapt
Using the resource interface, the PAWN srb driver needs a few components finished. Currently, the resource has a basic administrative interface that prompts for general SRB configuration information and allowed seperate write and read accounts to be specified.
- 1. Modify the client gui to use the new filechooser
- The client gui should just supply a path to the receiving server driver.
- 2. Create a simple SRB driver
- This will push the selected contents into the srb. As there may be multiple (non-overlapping) selections presented to the driver, each selected path/item should be ingested w/ the same structure that appears in the package.
root + dir1 <- selected + dir2 + dir3 <- selected + dir5
- If the driver is presented w/ dir1 and dir3 selections, they should be rooted at the base directory supplied from the client interface. For example, if /home/test.umiacs/vault/publish was the base dir from the gui, then the two roots would be ingested to /home/test.umiacs/vault/publish/dir1 and /home/test.umiacs/vault/publish/dir2.
- The driver should report back from the processXXX commands the final location of items. At this time, you should only be concerned with moving items and metadata. As for the manifests available during processManifest keep reading
- 3. guid return
- Add the option (in global settings gui and driver) to have the srb return a guid instead of a path for the destination of objects during the processXXX call.
- 4. manifest handling
- Add functionality to allow the manifests to be pushed to a seperate location in the SRB. During the push, manifests should be updated with the location of contained items. You'll need to write a sax or stax handler to insert the necessary Flocat tags w/ locations of items.