]> source.dussan.org Git - archiva.git/commitdiff
add a missing a PathParam
authorOlivier Lamy <olamy@apache.org>
Tue, 30 Aug 2011 22:53:53 +0000 (22:53 +0000)
committerOlivier Lamy <olamy@apache.org>
Tue, 30 Aug 2011 22:53:53 +0000 (22:53 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163449 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/RepositoriesService.java

index a0a8ccacc9de5aa1bf2d0f1fcf76eb01895a85db..e0cbf1ed255c66568c5ef9e3285dd0f63630904e 100644 (file)
@@ -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;