From c9b788afb96d680903070a67e40a8e8e6dc78a63 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Tue, 30 Aug 2011 22:53:53 +0000 Subject: [PATCH] add a missing a PathParam git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163449 13f79535-47bb-0310-9956-ffa450edef68 --- .../archiva/rest/api/services/RepositoriesService.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/RepositoriesService.java b/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/RepositoriesService.java index a0a8ccacc..e0cbf1ed2 100644 --- a/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/RepositoriesService.java +++ b/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/RepositoriesService.java @@ -56,11 +56,12 @@ public interface RepositoriesService ManagedRepository getManagedRepository( @PathParam( "repositoryId" ) String repositoryId ) throws RepositoryAdminException; - @Path( "deleteManagedRepository/{repositoryId}" ) + @Path( "deleteManagedRepository/{repositoryId}/{deleteContent}" ) @GET @Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML, MediaType.TEXT_PLAIN } ) @RedbackAuthorization( permission = ArchivaRoleConstants.OPERATION_MANAGE_CONFIGURATION ) - Boolean deleteManagedRepository( @PathParam( "repositoryId" ) String repositoryId, boolean deleteContent ) + Boolean deleteManagedRepository( @PathParam( "repositoryId" ) String repositoryId, + @PathParam( "deleteContent" ) boolean deleteContent ) throws Exception;