aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-web/archiva-security
diff options
context:
space:
mode:
authorMartin Stockhammer <martin_s@apache.org>2020-06-11 14:33:00 +0200
committerMartin Stockhammer <martin_s@apache.org>2020-06-11 14:33:00 +0200
commit46fd585f40f0264b8889154e1924eb8df991b0f3 (patch)
tree09408c7375f7e57d0760ef48b0ddae7be768e4ca /archiva-modules/archiva-web/archiva-security
parentb942314aa27330a179acf17300fea6849bf89d4d (diff)
downloadarchiva-46fd585f40f0264b8889154e1924eb8df991b0f3.tar.gz
archiva-46fd585f40f0264b8889154e1924eb8df991b0f3.zip
Improving repository API
Diffstat (limited to 'archiva-modules/archiva-web/archiva-security')
-rw-r--r--archiva-modules/archiva-web/archiva-security/src/test/java/org/apache/archiva/security/mock/MockBeanServices.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/archiva-modules/archiva-web/archiva-security/src/test/java/org/apache/archiva/security/mock/MockBeanServices.java b/archiva-modules/archiva-web/archiva-security/src/test/java/org/apache/archiva/security/mock/MockBeanServices.java
index 9fb1184c6..edb686bff 100644
--- a/archiva-modules/archiva-web/archiva-security/src/test/java/org/apache/archiva/security/mock/MockBeanServices.java
+++ b/archiva-modules/archiva-web/archiva-security/src/test/java/org/apache/archiva/security/mock/MockBeanServices.java
@@ -31,6 +31,7 @@ import org.apache.archiva.components.taskqueue.TaskQueueException;
import org.apache.archiva.repository.ManagedRepositoryContent;
import org.apache.archiva.repository.ManagedRepository;
import org.apache.archiva.metadata.audit.RepositoryListener;
+import org.apache.archiva.repository.content.ItemSelector;
import org.apache.archiva.scheduler.repository.model.RepositoryArchivaTaskScheduler;
import org.apache.archiva.scheduler.repository.model.RepositoryTask;
import org.apache.archiva.xml.XMLException;
@@ -108,6 +109,12 @@ public class MockBeanServices
}
+ @Override
+ public ItemSelector applyServerSideRelocation( ManagedRepository managedRepository, ItemSelector selector ) throws ProxyDownloadException
+ {
+ return null;
+ }
+
@Override
public void deleteArtifact( MetadataRepository metadataRepository, String repositoryId, String namespace,