Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-1603 copy document and ressources from EP+Core A to EP +Core B
  3. NXP-1875

extend the io sample tests to have a show off of the copy from paltform to plateform

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None

      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.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: