Author: olamy
Date: Tue Aug 30 22:53:53 2011
New Revision: 1163449
URL: http://svn.apache.org/viewvc?rev=1163449&view=rev
Log:
add a missing a PathParam
Modified:
archiva/trunk/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/RepositoriesService.java
Modified:
archiva/trunk/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/RepositoriesService.java
URL:
http://svn.apache.org/viewvc/archiva/trunk/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/RepositoriesService.java?rev=1163449&r1=1163448&r2=1163449&view=diff
==============================================================================
---
archiva/trunk/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/RepositoriesService.java
(original)
+++
archiva/trunk/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/RepositoriesService.java
Tue Aug 30 22:53:53 2011
@@ -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;