> @@ -43,6 +43,13 @@
>
> @Override
> public CookbookDefinition apply(HttpResponse response) {
> - return parser.apply(response).values().iterator().next();
> + Map<String, CookbookDefinition> result = parser.apply(response);
>From IRC
<pre>
<nacx> if we want gson to do all the deserialization, we need to change
the
model and add a new entity that holds the name and contains the current
cookbook definition
<nacx> to match the json structure
<nacx> if we just want to add the name to the current CookbookDefinition,
which would look cleaner
</pre>
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-chef/pull/24/files#r6428360