[ 
https://issues.apache.org/jira/browse/OODT-84?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13225919#comment-13225919
 ] 

[email protected] commented on OODT-84:
---------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/4195/
-----------------------------------------------------------

(Updated 2012-03-09 07:55:23.448447)


Review request for oodt, Chris Mattmann and Paul Ramirez.


Changes
-------

1) destination: <classpath>  ->  <directory>
2) transferer: <classpath>  ->  <transfer factory class>


Summary (updated)
-------

$ ./filemgr-client -h retrieveFilesById

** Action Help for 'retrieveFilesById' **
bq.  DESCRIPTION:
 Retrieve a Product's files by Product ID

bq.  USAGE:
 Required:
   -dest [--destination] <directory>
   -op [--operation]
     -rfbyid [--retrieveFilesById] (required)
   -pid [--productId] <product-id>
   -trans [--transferer] <transfer factory class>
   -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] <directory>
   -op [--operation]
     -rfbyn [--retrieveFilesByName] (required)
   -pn [--productName] <product-name>
   -trans [--transferer] <transfer factory class>
   -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.3
>         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

        

Reply via email to