From 659bd9fa433fc8f6b7fed3ca2616062c04c66e8f Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Tue, 13 Sep 2011 12:02:52 +0000 Subject: [PATCH] reduce search REST service scope for the moment git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170132 13f79535-47bb-0310-9956-ffa450edef68 --- .../archiva/rest/api/services/SearchService.java | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/SearchService.java b/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/SearchService.java index baf1d26f0..0100906b0 100644 --- a/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/SearchService.java +++ b/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/SearchService.java @@ -24,8 +24,6 @@ import org.apache.archiva.rest.api.model.Artifact; import org.apache.archiva.rest.api.model.Dependency; import javax.ws.rs.Path; -import javax.xml.bind.annotation.XmlRootElement; -import java.util.Date; import java.util.List; @Path( "/searchService/" ) @@ -35,10 +33,9 @@ public interface SearchService * quick/general text search which returns a list of artifacts * query for an artifact based on a checksum * query for all available versions of an artifact, sorted in version significance order - * query for all available versions of an artifact since a given date * query for an artifact's direct dependencies - * query for an artifact's dependency tree (as with mvn dependency:tree - no duplicates should be included) - * query for all artifacts that depend on a given artifact + * TODO query for an artifact's dependency tree (as with mvn dependency:tree - no duplicates should be included) + * TODO query for all artifacts that depend on a given artifact */ List quickSearch( String queryString ) @@ -50,15 +47,7 @@ public interface SearchService List getArtifactVersions( String groupId, String artifactId ) throws Exception; - List getArtifactVersionsByDate( String groupId, String artifactId, String version, Date whenGathered ) - throws Exception; - List getDependencies( String groupId, String artifactId, String version ) throws Exception; - List getDependencyTree( String groupId, String artifactId, String version ) - throws Exception; - - List getDependees( String groupId, String artifactId, String version ) - throws Exception; } -- 2.39.5