Class AutoscaleUtils
- java.lang.Object
-
- org.jclouds.rackspace.autoscale.v1.utils.AutoscaleUtils
-
public class AutoscaleUtils extends Object
This is more of an example code of how to execute the anonymous webhook call without jclouds. A POST call to the Webhook capability Link executes the scaling policy that webhook belongs to. Calling the capability Link ensures this is done without authentication and anonymously (the webhook information is hashed).
-
-
Constructor Summary
Constructors Constructor Description AutoscaleUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
execute(URI webhookUri)
static boolean
execute(Webhook webhook)
-
-
-
Method Detail
-
execute
public static boolean execute(URI webhookUri) throws IOException
- Throws:
IOException
-
execute
public static boolean execute(Webhook webhook) throws IOException
- Throws:
IOException
-
-