diff --git a/providers/cloudsigma-zrh/src/main/java/org/jclouds/cloudsigma/CloudSigmaAsyncClient.java b/providers/cloudsigma-zrh/src/main/java/org/jclouds/cloudsigma/CloudSigmaAsyncClient.java index c271e0ce7b..d886ecf841 100644 --- a/providers/cloudsigma-zrh/src/main/java/org/jclouds/cloudsigma/CloudSigmaAsyncClient.java +++ b/providers/cloudsigma-zrh/src/main/java/org/jclouds/cloudsigma/CloudSigmaAsyncClient.java @@ -203,7 +203,7 @@ public interface CloudSigmaAsyncClient { /** * @see CloudSigmaClient#destroyServer */ - @POST + @GET @Path("/servers/{uuid}/destroy") @ExceptionParser(ReturnVoidOnNotFoundOr404.class) ListenableFuture destroyServer(@PathParam("uuid") String uuid); @@ -247,7 +247,7 @@ public interface CloudSigmaAsyncClient { /** * @see CloudSigmaClient#destroyDrive */ - @POST + @GET @Path("/drives/{uuid}/destroy") @ExceptionParser(ReturnVoidOnNotFoundOr404.class) ListenableFuture destroyDrive(@PathParam("uuid") String uuid); @@ -301,7 +301,7 @@ public interface CloudSigmaAsyncClient { /** * @see CloudSigmaClient#destroyVLAN */ - @POST + @GET @Path("/resources/vlan/{uuid}/destroy") @ExceptionParser(ReturnVoidOnNotFoundOr404.class) ListenableFuture destroyVLAN(@PathParam("uuid") String uuid); @@ -343,7 +343,7 @@ public interface CloudSigmaAsyncClient { /** * @see CloudSigmaClient#destroyStaticIP */ - @POST + @GET @Path("/resources/ip/{uuid}/destroy") @ExceptionParser(ReturnVoidOnNotFoundOr404.class) ListenableFuture destroyStaticIP(@PathParam("uuid") String uuid); diff --git a/providers/cloudsigma-zrh/src/test/java/org/jclouds/cloudsigma/CloudSigmaAsyncClientTest.java b/providers/cloudsigma-zrh/src/test/java/org/jclouds/cloudsigma/CloudSigmaAsyncClientTest.java index 6772a832d9..51df12ab58 100644 --- a/providers/cloudsigma-zrh/src/test/java/org/jclouds/cloudsigma/CloudSigmaAsyncClientTest.java +++ b/providers/cloudsigma-zrh/src/test/java/org/jclouds/cloudsigma/CloudSigmaAsyncClientTest.java @@ -323,7 +323,7 @@ public class CloudSigmaAsyncClientTest extends RestClientTest