From 7d82f5a42b1259161ebb829d97d4dd55cfbc60e1 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Tue, 6 Sep 2011 21:32:36 +0000 Subject: [PATCH] [MRM-1490] Expose Archiva services trough REST : repository group admin tru rest service : fix spring annotations git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165866 13f79535-47bb-0310-9956-ffa450edef68 --- .../archiva/rest/services/DefaultRepositoryGroupService.java | 2 ++ .../src/main/resources/META-INF/spring-context.xml | 1 + 2 files changed, 3 insertions(+) diff --git a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultRepositoryGroupService.java b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultRepositoryGroupService.java index eb2767ac3..500623995 100644 --- a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultRepositoryGroupService.java +++ b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultRepositoryGroupService.java @@ -23,6 +23,7 @@ import org.apache.archiva.admin.repository.group.RepositoryGroupAdmin; import org.apache.archiva.rest.api.model.RepositoryGroup; import org.apache.archiva.rest.api.services.RepositoryGroupService; import org.apache.commons.lang.StringUtils; +import org.springframework.stereotype.Service; import javax.inject.Inject; import java.util.ArrayList; @@ -31,6 +32,7 @@ import java.util.List; /** * @author Olivier Lamy */ +@Service( "repositoryGroupService#rest" ) public class DefaultRepositoryGroupService extends AbstractRestService implements RepositoryGroupService diff --git a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/resources/META-INF/spring-context.xml b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/resources/META-INF/spring-context.xml index ef5f2f9d6..fc358920e 100644 --- a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/resources/META-INF/spring-context.xml +++ b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/resources/META-INF/spring-context.xml @@ -52,6 +52,7 @@ + -- 2.39.5