brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aledsage <>
Subject [GitHub] incubator-brooklyn pull request: Allows catalog items to be deprec...
Date Wed, 04 Mar 2015 14:13:31 GMT
Github user aledsage commented on a diff in the pull request:
    --- Diff: usage/rest-api/src/main/java/brooklyn/rest/api/ ---
    @@ -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 or file a JIRA ticket
with INFRA.

View raw message