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

    https://github.com/apache/incubator-brooklyn/pull/161#discussion_r17530031
  
    --- Diff: usage/rest-api/src/main/java/brooklyn/rest/api/ServerApi.java ---
    @@ -53,7 +53,8 @@
         @Consumes({MediaType.APPLICATION_FORM_URLENCODED})
         public void shutdown(
             @FormParam("stopAppsFirst") @DefaultValue("false") boolean 
stopAppsFirst,
    -        @FormParam("delayMillis") @DefaultValue("250") long delayMillis);
    +        @FormParam("delayMillis") @DefaultValue("250") long delayMillis,
    --- End diff --
    
    oops sorry, for REST calls type-coercion won't apply.  but the pattern 
elsewhere is to use strings and then `Time.parseTimeString`, as in 
`EffectorResource.invoke`


---
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