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

    https://github.com/apache/incubator-brooklyn/pull/616#discussion_r29842851
  
    --- Diff: 
usage/rest-api/src/main/java/brooklyn/rest/api/ApplicationApi.java ---
    @@ -76,6 +76,12 @@ public JsonNode fetch(
                 value = "Fetch list of applications, as ApplicationSummary 
objects",
                 responseClass = "brooklyn.rest.domain.ApplicationSummary"
         )
    +    public List<ApplicationSummary> list(
    +            @ApiParam(value = "Regular expression to filter by", required 
= false)
    +            @DefaultValue(".*")
    +            @QueryParam("typeRegex") String typeRegex);
    +
    +    /** As {@link #list(String)}, filtering for <code>.*</code>. */
         public List<ApplicationSummary> list();
    --- End diff --
    
    I guess you are keeping the method for backwards compatibility with 
rest-client? But in this case it should have it's own set of annotations, so 
that client calls know what 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