Github user aledsage commented on a diff in the pull request:

    https://github.com/apache/incubator-brooklyn/pull/540#discussion_r25776527
  
    --- Diff: usage/rest-api/src/main/java/brooklyn/rest/api/CatalogApi.java ---
    @@ -228,5 +228,12 @@ public Response getIcon(
             @ApiParam(name = "version", value = "version identifier of catalog 
item (application, entity, policy)", required=true)
             @PathParam("version") String version);
     
    +    @POST
    +    @Path("/entities/{itemId}/deprecated/{deprecated}")
    +    public void setDeprecated(
    +        @ApiParam(name = "itemId", value = "The ID of the catalog item to 
be deprecated", required = true)
    --- End diff --
    
    Can we add a test of the REST api that uses the name:version format, as 
that is what users are more likely to want to do.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to