From: Olivier Lamy Date: Tue, 6 Sep 2011 21:32:36 +0000 (+0000) Subject: [MRM-1490] Expose Archiva services trough REST : repository group admin tru rest... X-Git-Tag: archiva-1.4-M1~370 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7d82f5a42b1259161ebb829d97d4dd55cfbc60e1;p=archiva.git [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 --- 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 @@ +