> @Consumes(MediaType.APPLICATION_JSON)
> - @Fallback(Fallbacks.NullOnNotFoundOr404.class)
> - ProductPackage getProductPackage(@PathParam("id") long id);
> + @Fallback(Fallbacks.EmptySetOnNotFoundOr404.class)
> + Set<SoftwareDescription> getAllObjects();
> Let's see if anyone has a different opinion. @demobox?
Normally I'd probably say "use the provider APIs naming" as that is least
surprising for the user looking for a certain call. But in this case, the
provider's name is so unclear that I'd probably vote for
`listSoftwareDescriptions` too, with some kind of comment in the Javadoc (or
elsewhere?) explaining what the underlying call is.
Another aspect to consider, which I haven't hear, is some kind of consistency
with respect to similar calls in this or related APIs. Is there anything we
should be bearing in mind there?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/296/files#r13061799