brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aledsage <>
Subject [GitHub] incubator-brooklyn pull request: Adds getConfig method to server R...
Date Mon, 09 Feb 2015 16:33:18 GMT
Github user aledsage commented on a diff in the pull request:
    --- Diff: usage/rest-api/src/main/java/brooklyn/rest/api/ ---
    @@ -87,6 +88,11 @@ public void shutdown(
                 multiValueResponse = false)
         public String getStatus();
    +    @GET
    +    @Path("/getConfig/{configKey}")
    +    @ApiOperation(value = "Get the value of the specified config key from brooklyn properties")
    +    public String getConfig(@PathParam("configKey") final String configKey);
    --- End diff --
    Suggest using something like that below (taken from `EntityConfigApi`):
        public String getConfig(
                @ApiParam(value = "Config key ID", required = true)
                @PathParam("configKey") String configKey)

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