This closes #119
Project: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/commit/124fff8a Tree: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/tree/124fff8a Diff: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/diff/124fff8a Branch: refs/heads/master Commit: 124fff8a36d3f31279016caaec34c3e960b06551 Parents: 8071a9b 1c8d886 Author: Sam Corbett <[email protected]> Authored: Tue Aug 19 16:49:20 2014 +0100 Committer: Sam Corbett <[email protected]> Committed: Tue Aug 19 16:49:20 2014 +0100 ---------------------------------------------------------------------- .../main/java/brooklyn/rest/api/PolicyApi.java | 9 ++- .../brooklyn/rest/resources/PolicyResource.java | 33 +++++---- .../brooklyn/rest/BrooklynRestApiLauncher.java | 41 +++++++---- .../rest/resources/ApplicationResourceTest.java | 77 ++++++++++---------- .../rest/resources/ErrorResponseTest.java | 6 +- .../rest/resources/PolicyResourceTest.java | 26 ++++--- 6 files changed, 106 insertions(+), 86 deletions(-) ----------------------------------------------------------------------
