Skip to content

Commit

Permalink
remove commented lines
Browse files Browse the repository at this point in the history
  • Loading branch information
alberts-tid committed Jun 18, 2014
1 parent 1f8f6bb commit 542a2aa
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ public interface ArtifactResource {
* @return the installed product.
*/
@POST
// @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 +87,6 @@ Task install(@PathParam("vdc") String vdc, @PathParam("productInstance") String
* @return the product instances that match with the criteria.
*/
@GET
// @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
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ public interface NodeResource {
* @return the chefclients.
*/
@GET
// @Path("/")
@Produces({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON })
ChefClient findByHostname(@QueryParam("hostname") String hostname) throws EntityNotFoundException,
ChefClientExecutionException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ public interface ProductInstanceResource extends BaseInstallableInstanceResource
* @return the installed product.
*/
@POST
// @Path("/")
@Produces({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON })
@Consumes({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON })
Task install(@PathParam("vdc") String vdc, ProductInstanceDto product, @HeaderParam("callback") String callback);
Expand All @@ -86,7 +85,6 @@ public interface ProductInstanceResource extends BaseInstallableInstanceResource
* @return the product instances that match with the criteria.
*/
@GET
// @Path("/")
@Produces({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON })
List<ProductInstance> findAll(@QueryParam("hostname") String hostname, @QueryParam("domain") String domain,
@QueryParam("ip") String ip, @QueryParam("fqn") String fqn, @QueryParam("page") Integer page,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ public interface ProductReleaseResource {
* if the Product Release is invalid due to either OS, Product or Product Release
*/
@POST
// @Path("/")
@Produces({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON })
@Consumes({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON })
ProductRelease insert(@PathParam("pName") String pName, ProductReleaseDto productRelease)
Expand All @@ -80,7 +79,6 @@ ProductRelease insert(@PathParam("pName") String pName, ProductReleaseDto produc
* @throws InvalidMultiPartRequestException
*/
@POST
// @Path("/")
@Produces({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON })
@Consumes("multipart/mixed")
ProductRelease insert(MultiPart multiPart) throws AlreadyExistsProductReleaseException,
Expand All @@ -102,7 +100,6 @@ ProductRelease insert(MultiPart multiPart) throws AlreadyExistsProductReleaseExc
* @return the ProductReleases.
*/
@GET
// @Path("/")
@Produces({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON })
List<ProductRelease> findAll(@PathParam("pName") String pName, @QueryParam("osType") String osType,
@QueryParam("page") Integer page, @QueryParam("pageSize") Integer pageSize,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ public interface ProductResource {
* @return product
*/
@POST
// @Path("/")
@Produces({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON })
@Consumes({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON })
Product insert(Product product) throws AlreadyExistsEntityException, InvalidEntityException;
Expand All @@ -80,7 +79,6 @@ public interface ProductResource {
* @return the created OS instances.
*/
@GET
// @Path("/")
@Produces({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON })
List<Product> findAll(@QueryParam("page") Integer page, @QueryParam("pageSize") Integer pageSize,
@QueryParam("orderBy") String orderBy, @QueryParam("orderType") String orderType);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ public interface TaskResource {
* @return the tasks that match with the criteria.
*/
@GET
@Path("/")
@Produces({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON })
List<Task> findAll(@QueryParam("page") Integer page, @QueryParam("pageSize") Integer pageSize,
@QueryParam("orderBy") String orderBy, @QueryParam("orderType") String orderType,
Expand Down

0 comments on commit 542a2aa

Please sign in to comment.