Replication service now calls the transfer service

Includes unit tests for the basic operations, and a make same-repo transfer handler as used in the transfer service tests


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21033 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Nick Burch
2010-07-09 12:36:36 +00:00
parent 395aa2a32a
commit e6a6b9bf0b
3 changed files with 210 additions and 29 deletions

View File

@@ -194,11 +194,11 @@ public class ReplicationActionExecutor extends ActionExecuterAbstractBase {
buildTransferDefinition(replicationDef, toTransfer);
// Off we go
// transferService.transfer(
// replicationDef.getTargetName(),
// transferDefinition,
// lock
// );
transferService.transfer(
replicationDef.getTargetName(),
transferDefinition,
lock
);
} catch(Exception e) {
// TODO - Record the error
System.err.println(e);