Skip to content

Commit

Permalink
remove warning "with URI template, "/", is treated as a resource method"
Browse files Browse the repository at this point in the history
  • Loading branch information
alberts-tid committed Jun 18, 2014
1 parent 37b2c88 commit 1f8f6bb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public interface ArtifactResource {
* @return the installed product.
*/
@POST
@Path("/")
// @Path("/")
@Produces({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON })
@Consumes({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON })
Task install(@PathParam("vdc") String vdc, @PathParam("productInstance") String productIntanceName,
Expand Down Expand Up @@ -88,7 +88,7 @@ Task install(@PathParam("vdc") String vdc, @PathParam("productInstance") String
* @return the product instances that match with the criteria.
*/
@GET
@Path("/")
// @Path("/")
@Produces({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON })
List<ArtifactDto> findAll(@QueryParam("page") Integer page, @QueryParam("pageSize") Integer pageSize,
@QueryParam("orderBy") String orderBy, @QueryParam("orderType") String orderType,
Expand Down

0 comments on commit 1f8f6bb

Please sign in to comment.