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

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



bq.  On 2012-03-06 23:23:24, Chris Mattmann wrote:
bq.  > Hey Brian: couple questions: 
bq.  > 
bq.  >  - is destination a versioner? I see we're calling the param 
"classpath". Should we use <versioner class>?
bq.  >  - same goes for transferer. I think that's a Transfer factory, right? 
If so, can we use <transfer factory class>?
bq.  
bq.  brian Foster wrote:
bq.      ops... directory is supposed to be <directory>... will fix... was 
copy/paste happy... the action basically will retrieve a Product's file into 
the given "destination" directory.

classpath is supposed to be directory


- brian


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


On 2012-03-06 07:57:51, brian Foster wrote:
bq.  
bq.  -----------------------------------------------------------
bq.  This is an automatically generated e-mail. To reply, visit:
bq.  https://reviews.apache.org/r/4195/
bq.  -----------------------------------------------------------
bq.  
bq.  (Updated 2012-03-06 07:57:51)
bq.  
bq.  
bq.  Review request for oodt, Chris Mattmann and Paul Ramirez.
bq.  
bq.  
bq.  Summary
bq.  -------
bq.  
bq.  $ ./filemgr-client -h retrieveFilesById
bq.  
bq.  ** Action Help for 'retrieveFilesById' **
bq.  > DESCRIPTION:
bq.   Retrieve a Product's files by Product ID
bq.  
bq.  > USAGE:
bq.   Required:
bq.     -dest [--destination] <classpath>
bq.     -op [--operation]
bq.       -rfbyid [--retrieveFilesById] (required)
bq.     -pid [--productId] <product-id>
bq.     -trans [--transferer] <classpath>
bq.     -u [--url] <url>
bq.   Optional:
bq.  
bq.  > EXAMPLES:
bq.   - N/A
bq.  
bq.  
bq.  $ ./filemgr-client -h retrieveFilesByName
bq.  
bq.  ** Action Help for 'retrieveFilesByName' **
bq.  > DESCRIPTION:
bq.   Retrieve a Product's files by Product name
bq.  
bq.  > USAGE:
bq.   Required:
bq.     -dest [--destination] <classpath>
bq.     -op [--operation]
bq.       -rfbyn [--retrieveFilesByName] (required)
bq.     -pn [--productName] <product-name>
bq.     -trans [--transferer] <classpath>
bq.     -u [--url] <url>
bq.   Optional:
bq.  
bq.  > EXAMPLES:
bq.   - N/A
bq.  
bq.  
bq.  This addresses bug OODT-84.
bq.      https://issues.apache.org/jira/browse/OODT-84
bq.  
bq.  
bq.  Diffs
bq.  -----
bq.  
bq.    
trunk/filemgr/src/main/java/org/apache/oodt/cas/filemgr/datatransfer/LocalDataTransferer.java
 1297159 
bq.    
trunk/filemgr/src/main/java/org/apache/oodt/cas/filemgr/datatransfer/InPlaceDataTransferer.java
 1297159 
bq.    
trunk/filemgr/src/main/java/org/apache/oodt/cas/filemgr/datatransfer/DataTransfer.java
 1297159 
bq.    
trunk/filemgr/src/main/java/org/apache/oodt/cas/filemgr/cli/action/RetrieveFilesCliAction.java
 PRE-CREATION 
bq.    
trunk/filemgr/src/main/java/org/apache/oodt/cas/filemgr/datatransfer/RemoteDataTransferer.java
 1297159 
bq.    
trunk/filemgr/src/main/java/org/apache/oodt/cas/filemgr/system/XmlRpcFileManager.java
 1297159 
bq.    
trunk/filemgr/src/main/java/org/apache/oodt/cas/filemgr/system/XmlRpcFileManagerClient.java
 1297159 
bq.    trunk/filemgr/src/main/resources/cmd-line-actions.xml 1297159 
bq.    trunk/filemgr/src/main/resources/cmd-line-options.xml 1297159 
bq.    
trunk/filemgr/src/test/org/apache/oodt/cas/filemgr/cli/TestFileManagerCli.java 
1297159 
bq.    
trunk/filemgr/src/test/org/apache/oodt/cas/filemgr/system/MockXmlRpcFileManagerClient.java
 1297159 
bq.  
bq.  Diff: https://reviews.apache.org/r/4195/diff
bq.  
bq.  
bq.  Testing
bq.  -------
bq.  
bq.  Added unit-tests
bq.  
bq.  
bq.  Thanks,
bq.  
bq.  brian
bq.  
bq.


                
> 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