trevorflanagan commented on this pull request.


> @@ -150,6 +150,17 @@ String cloneServer(@PayloadParam("id") String id, 
> @PayloadParam("imageName") Str
    @MapBinder(BindToJsonPayload.class)
    void startServer(@PayloadParam("id") String id);
 
+   @Named("server:cleanServer")
+   @POST
+   @Path("/cleanServer")
+   @Produces(MediaType.APPLICATION_JSON)
+   @MapBinder(BindToJsonPayload.class)
+   /**
+    * Operation for cleaning servers with FAILED_ADD state
+    * @see org.jclouds.dimensiondata.cloudcontrol.domain.State.FAILED_ADD
+    */
+   void cleanServer(@PayloadParam("id") String id);

I have not added a live test for this particular operation as it would be 
difficult to setup in a live scenario.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/450#pullrequestreview-164725102

Reply via email to