-
Type:
Improvement
-
Status: Done
-
Resolution: Done
-
Affects Version/s: 4.8.3
-
Fix Version/s: 4.12.0.1
-
Component/s: Plugins, Replication
-
Labels:
When choosing to skip replication when there are multiple replication targets, it would be a huge help if we had access to the target being evaluated when any of the replication plugin events are triggered. What we would like to see is the following available in the plugin API:
replication { beforeFileReplication { remoteTarget, localRepoPath -> } beforeDirectoryReplication { remoteTarget, localRepoPath -> } beforeDeleteReplication { remoteTarget, localRepoPath -> } beforePropertyReplication { remoteTarget, localRepoPath -> } }
Where remoteTarget contains the URL of the target repo configured in replication.