> +    * @return Returns a list of all Virtual Data Centers created by the 
> user, including ID, name and version number.
> +    */
> +   @POST
> +   @Payload("<ws:getAllDataCenters/>")
> +   @XMLResponseParser(DataCenterListResponseHandler.class)
> +   @Fallback(Fallbacks.EmptyListOnNotFoundOr404.class)
> +   List<DataCenter> getAllDataCenters();
> +
> +   /**
> +    * @param identifier Virtual Data Center identifier
> +    * @return Returns information about an existing virtual data center's 
> state and configuration.
> +    */
> +   @POST
> +   
> @Payload("<ws:getDataCenter><dataCenterId>{id}</dataCenterId></ws:getDataCenter>")
> +   @XMLResponseParser(DataCenterInfoResponseHandler.class)
> +   DataCenter getDataCenter(@PayloadParam("id") String identifier) throws 
> HttpResponseException;

`HttpResponseException` is a RuntimeException. Don't declare it in the 
signature, as it is the default one for every API method in jclouds and it is 
redundant.

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

Reply via email to