> +import org.jclouds.shipyard.filters.ServiceKeyAuthentication;
> +
> +@Consumes(MediaType.APPLICATION_JSON)
> +@RequestFilters({ ServiceKeyAuthentication.class })
> +public interface ContainersApi {
> +
> +   @Named("containers:list")
> +   @GET
> +   @Path("/api/containers")
> +   @Fallback(EmptyListOnNotFoundOr404.class)
> +   List<ContainerInfo> listContainers();
> +   
> +   @Named("containers:info")
> +   @GET
> +   @Path("/api/containers/{id}")
> +   @Fallback(NullOn500.class)

This is done a few times throughout the API. Unfortunately when a "thing" can 
not be accessed or is not found Shipyard is throwing a 500. Not very intuitive 
on there part. I've brought the issue up with devs just not sure when it's 
going to be addressed.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/116/files#r22189007

Reply via email to