diff options
author | Olivier Lamy <olamy@apache.org> | 2011-09-26 16:07:16 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2011-09-26 16:07:16 +0000 |
commit | d1a54e99e844c136f3d91b99351fe4f290d6fdcf (patch) | |
tree | cb0fa715d988775e795c4386244390fbb42ec4b2 /archiva-modules/archiva-scheduler/archiva-scheduler-repository/src | |
parent | b42ae3b9977a86cffa4e7d7b2852d93094d26a27 (diff) | |
download | archiva-d1a54e99e844c136f3d91b99351fe4f290d6fdcf.tar.gz archiva-d1a54e99e844c136f3d91b99351fe4f290d6fdcf.zip |
[MRM-1524] downloading (optionnaly) remote index to display remote artifacts in search results
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1175928 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-scheduler/archiva-scheduler-repository/src')
2 files changed, 14 insertions, 1 deletions
diff --git a/archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/main/java/org/apache/archiva/scheduler/repository/ArchivaRepositoryScanningTaskExecutor.java b/archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/main/java/org/apache/archiva/scheduler/repository/ArchivaRepositoryScanningTaskExecutor.java index 1fd00dcf4..2cb4db3d6 100644 --- a/archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/main/java/org/apache/archiva/scheduler/repository/ArchivaRepositoryScanningTaskExecutor.java +++ b/archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/main/java/org/apache/archiva/scheduler/repository/ArchivaRepositoryScanningTaskExecutor.java @@ -53,7 +53,7 @@ import java.util.Date; */ @Service( "taskExecutor#repository-scanning" ) public class ArchivaRepositoryScanningTaskExecutor - implements TaskExecutor, Initializable + implements TaskExecutor { private Logger log = LoggerFactory.getLogger( ArchivaRepositoryScanningTaskExecutor.class ); diff --git a/archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/java/org/apache/archiva/mock/MockArchivaAdministration.java b/archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/java/org/apache/archiva/mock/MockArchivaAdministration.java index fd486cb17..29b883592 100644 --- a/archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/java/org/apache/archiva/mock/MockArchivaAdministration.java +++ b/archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/java/org/apache/archiva/mock/MockArchivaAdministration.java @@ -24,6 +24,7 @@ import org.apache.archiva.admin.model.admin.ArchivaAdministration; import org.apache.archiva.admin.model.beans.FileType; import org.apache.archiva.admin.model.beans.LegacyArtifactPath; import org.apache.archiva.admin.model.beans.OrganisationInformation; +import org.apache.archiva.admin.model.beans.UiConfiguration; import org.apache.archiva.configuration.ArchivaConfiguration; import java.util.ArrayList; @@ -162,4 +163,16 @@ public class MockArchivaAdministration { this.archivaConfiguration = archivaConfiguration; } + + public UiConfiguration getUiConfiguration() + throws RepositoryAdminException + { + return null; //To change body of implemented methods use File | Settings | File Templates. + } + + public void updateUiConfiguration( UiConfiguration uiConfiguration ) + throws RepositoryAdminException + { + //To change body of implemented methods use File | Settings | File Templates. + } } |