You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oodt.apache.org by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org> on 2012/03/06 08:59:04 UTC
[jira] [Commented] (OODT-84) Ability for File Manager to stage an
ingested Product to one of its clients
[ https://issues.apache.org/jira/browse/OODT-84?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13223073#comment-13223073 ]
jiraposter@reviews.apache.org commented on OODT-84:
---------------------------------------------------
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/4195/
-----------------------------------------------------------
Review request for oodt, Chris Mattmann and Paul Ramirez.
Summary
-------
$ ./filemgr-client -h retrieveFilesById
** Action Help for 'retrieveFilesById' **
bq. DESCRIPTION:
Retrieve a Product's files by Product ID
bq. USAGE:
Required:
-dest [--destination] <classpath>
-op [--operation]
-rfbyid [--retrieveFilesById] (required)
-pid [--productId] <product-id>
-trans [--transferer] <classpath>
-u [--url] <url>
Optional:
bq. EXAMPLES:
- N/A
$ ./filemgr-client -h retrieveFilesByName
** Action Help for 'retrieveFilesByName' **
bq. DESCRIPTION:
Retrieve a Product's files by Product name
bq. USAGE:
Required:
-dest [--destination] <classpath>
-op [--operation]
-rfbyn [--retrieveFilesByName] (required)
-pn [--productName] <product-name>
-trans [--transferer] <classpath>
-u [--url] <url>
Optional:
bq. EXAMPLES:
- N/A
This addresses bug OODT-84.
https://issues.apache.org/jira/browse/OODT-84
Diffs
-----
trunk/filemgr/src/main/java/org/apache/oodt/cas/filemgr/datatransfer/LocalDataTransferer.java 1297159
trunk/filemgr/src/main/java/org/apache/oodt/cas/filemgr/datatransfer/InPlaceDataTransferer.java 1297159
trunk/filemgr/src/main/java/org/apache/oodt/cas/filemgr/datatransfer/DataTransfer.java 1297159
trunk/filemgr/src/main/java/org/apache/oodt/cas/filemgr/cli/action/RetrieveFilesCliAction.java PRE-CREATION
trunk/filemgr/src/main/java/org/apache/oodt/cas/filemgr/datatransfer/RemoteDataTransferer.java 1297159
trunk/filemgr/src/main/java/org/apache/oodt/cas/filemgr/system/XmlRpcFileManager.java 1297159
trunk/filemgr/src/main/java/org/apache/oodt/cas/filemgr/system/XmlRpcFileManagerClient.java 1297159
trunk/filemgr/src/main/resources/cmd-line-actions.xml 1297159
trunk/filemgr/src/main/resources/cmd-line-options.xml 1297159
trunk/filemgr/src/test/org/apache/oodt/cas/filemgr/cli/TestFileManagerCli.java 1297159
trunk/filemgr/src/test/org/apache/oodt/cas/filemgr/system/MockXmlRpcFileManagerClient.java 1297159
Diff: https://reviews.apache.org/r/4195/diff
Testing
-------
Added unit-tests
Thanks,
brian
> Ability for File Manager to stage an ingested Product to one of its clients
> ---------------------------------------------------------------------------
>
> Key: OODT-84
> URL: https://issues.apache.org/jira/browse/OODT-84
> Project: OODT
> Issue Type: New Feature
> Components: file manager
> Affects Versions: 0.1-incubating
> Environment: none
> Reporter: Brian Foster
> Assignee: Brian Foster
> Priority: Minor
> Fix For: 0.4
>
> Attachments: OODT-84.2012-03-05.patch.txt
>
>
> - This patch will introduce the following method to DataTransfer:
> {noformat}
> /**
> * Requires that the data store reference be set, nothing else is used
> * @param product The product whose data store reference will be copied
> * @param directory The directory where the data store reference will be copied to
> * @throws DataTransferException
> * If a general error occurs during the transfer.
> * @throws IOException
> * If there is an IO error when performing the transfer.
> */
> public void copyProduct(Product product, File directory) throws DataTransferException,
> IOException;
> {noformat}
> - There will also be a new File Manager client command line option introduced:
> {noformat}
> --copyProduct (--productId <id> | --productName <name>) --destPath <directory> [--transferer <factory-class>]
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira