brooklyncentral / brooklyn

This project has moved and is now part of the ASF
https://github.com/apache/incubator-brooklyn
72 stars 27 forks source link

API methods returning `Iterable` breaks RESTclient #1435

Closed richardcloudsoft closed 10 years ago

richardcloudsoft commented 10 years ago

It is impossible to use the official rest-client module on API methods that return Iterable, as Jackson does not know which concrete type to implement. The Jackson configuration is hidden behind RESTeasy, so reconfiguring Jackson is non trivial.

This PR changes some API calls from Iterable to List, which RESTeasy/Jackson is able to deserialize. Further PRs will need to follow for other Iterable-returning API methods.

buildhive commented 10 years ago

Brooklyn Central » brooklyn #2386 SUCCESS This pull request looks good (what's this?)

grkvlt commented 10 years ago

:frog: