[ 
http://jira.nuxeo.org/browse/NXP-1875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alain Escaffre updated NXP-1875:
--------------------------------

       Assignee: Oleg Nazarov  (was: Dragos Mihalache)
    Deliverable: [Code]
    Description: 
Dragos did a method in the core -io api  
http://svn.nuxeo.org/trac/nuxeo/browser/org.nuxeo.ecm.platform/trunk/nuxeo-platform-io-api/src/main/java/org/nuxeo/ecm/platform/io/api/IOManager.java


  /**
     * Remote copy. Copy documents and resources to another location.
     *
     * @param sourceLocation
     * @param uri
     * @param targetLocation
     * @throws ClientException
     */
    void copyDocumentsAndResources(String repo,
            Collection<DocumentRef> sources, String serverAddress,
            int jndiPort, DocumentLocation targetLocation,
            Collection<String> ioAdapters) throws ClientException;


This method aimed at copying documents and resources (ie realtions and audit) 
from one plateforme to another.
He had done some "dirty" unit tests, but the conclusion was that it didn't work 
at the time because of the lookup problem

Now that lookup is not a problem, the idea is to make a nice sample of a client 
program that will copy some documents (and relation and audit) from one real 
plateforme A to another real platform  B.

As an example of such a client program, you can take inspiration or complete 
the following sample project : 
http://svn.nuxeo.org/trac/nuxeo/browser/sandbox/nuxeo-import-export-test

Also, Dragos Mihalache might help you to understand the whole thing as he is 
the author.


  was:
We need a sample tests class (that 's why I propose to complete the other, 
which is also about IO, from where we order the copy from one server to the 
other.

It is a real integration test, that means that, to work, it needs to have to 
server working, so that the user can really browse and see the result.

THis can only come after  that Bogdan has filled the previous issue, and Dragos 
should do it as he did the developpement of the method that will be used.


> extend the io sample tests  to have a show off of the copy from paltform to 
> plateform
> -------------------------------------------------------------------------------------
>
>                 Key: NXP-1875
>                 URL: http://jira.nuxeo.org/browse/NXP-1875
>             Project: Nuxeo Enterprise Platform 5
>          Issue Type: Sub-task
>            Reporter: Alain Escaffre
>            Assignee: Oleg Nazarov
>
> Dragos did a method in the core -io api  
> http://svn.nuxeo.org/trac/nuxeo/browser/org.nuxeo.ecm.platform/trunk/nuxeo-platform-io-api/src/main/java/org/nuxeo/ecm/platform/io/api/IOManager.java
>   /**
>      * Remote copy. Copy documents and resources to another location.
>      *
>      * @param sourceLocation
>      * @param uri
>      * @param targetLocation
>      * @throws ClientException
>      */
>     void copyDocumentsAndResources(String repo,
>             Collection<DocumentRef> sources, String serverAddress,
>             int jndiPort, DocumentLocation targetLocation,
>             Collection<String> ioAdapters) throws ClientException;
> This method aimed at copying documents and resources (ie realtions and audit) 
> from one plateforme to another.
> He had done some "dirty" unit tests, but the conclusion was that it didn't 
> work at the time because of the lookup problem
> Now that lookup is not a problem, the idea is to make a nice sample of a 
> client program that will copy some documents (and relation and audit) from 
> one real plateforme A to another real platform  B.
> As an example of such a client program, you can take inspiration or complete 
> the following sample project : 
> http://svn.nuxeo.org/trac/nuxeo/browser/sandbox/nuxeo-import-export-test
> Also, Dragos Mihalache might help you to understand the whole thing as he is 
> the author.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to