> +    */
> +   @POST
> +   
> @Payload("<ws:clearDataCenter><dataCenterId>{id}</dataCenterId></ws:clearDataCenter>")
> +   @XMLResponseParser(DataCenterInfoResponseHandler.class)
> +   DataCenter clearDataCenter(@PayloadParam("id") String identifier) throws 
> HttpResponseException;
> +
> +   /**
> +    * Deletes an Virtual Data Center. If a previous request on the target 
> data center is still in progress, the data
> +    * center is going to be deleted after this request has been completed. 
> Once a Data Center has been deleted, no
> +    * further request can be performed on it.
> +    *
> +    * @param identifier Identifier of the virtual data center
> +    */
> +   @POST
> +   
> @Payload("<ws:deleteDataCenter><dataCenterId>{id}</dataCenterId></ws:deleteDataCenter>")
> +   void deleteDataCenter(@PayloadParam("id") String identifier) throws 
> HttpResponseException;

Looking at the live test output, does it make sense to add a custom fallback 
here to return false if the operation failed instead of throwing an Exception? 
The method signature could be changed to return a boolean value.

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

Reply via email to