manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Piergiorgio Lucidi (JIRA)" <>
Subject [jira] [Commented] (CONNECTORS-1356) Initial implementation of the CMIS Output Connector
Date Sun, 24 Sep 2017 15:26:00 GMT


Piergiorgio Lucidi commented on CONNECTORS-1356:

I'm working on integration tests and I have found a strange behaviour for the output connector
that I'm testing.
Considering the following code:
// Delete a content and recrawl
      removeDocument(cmisSourceClientSession, "testdata2.txt");
      // Now, start the job, and wait until it completes.
      waitJobInactive(jobIDString, 240000L);

      // Check to be sure we actually processed the right number of documents.
      // The test data area has 3 documents and one directory, and we have to count the root
directory too.
      count = getJobDocumentsProcessed(jobIDString);
      waitJobInactive(jobIDString, 240000L);
      if (count != 4)
        throw new ManifoldCFException("Wrong number of documents processed after delete -
expected 4, saw "+new Long(count).toString());

I'm removing a document from the source repo and I'm testing the remotion in the target repo.
It seems that the removeDocument method of the CMIS Output Connector is invoked only when
the exception is thrown.
I don't know why this method is not invoked before the exception when the getJobDocumentsProcessed
is invoked.
Am I missing something?

> Initial implementation of the CMIS Output Connector
> ---------------------------------------------------
>                 Key: CONNECTORS-1356
>                 URL:
>             Project: ManifoldCF
>          Issue Type: Task
>          Components: CMIS Output Connector
>            Reporter: Piergiorgio Lucidi
>            Assignee: Piergiorgio Lucidi
>             Fix For: ManifoldCF 2.9
>         Attachments: CMISOutputConnectorSettings.png, ResultWithTimestampTreeOnTargetRepo.png,
>   Original Estimate: 672h
>  Remaining Estimate: 672h
> After we have discussed about the possibility to have some output connector dedicated
to migrate contents from a specific repo to another one, this is the first implementation
for the CMIS protocol.
> The discussion is the following:
> The main scenario is migrate contents from any repository type to a CMIS-compliant repo.

This message was sent by Atlassian JIRA

View raw message