From 7e8baf4f0250b361f087336d0c82f9ea4e4d499d Mon Sep 17 00:00:00 2001 From: Adrian Cole Date: Fri, 6 Jan 2012 15:35:45 -0800 Subject: [PATCH] added default url --- .../org/jclouds/cloudstack/CloudStackPropertiesBuilder.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apis/cloudstack/src/main/java/org/jclouds/cloudstack/CloudStackPropertiesBuilder.java b/apis/cloudstack/src/main/java/org/jclouds/cloudstack/CloudStackPropertiesBuilder.java index 0d0d77be96..0238bc0bac 100644 --- a/apis/cloudstack/src/main/java/org/jclouds/cloudstack/CloudStackPropertiesBuilder.java +++ b/apis/cloudstack/src/main/java/org/jclouds/cloudstack/CloudStackPropertiesBuilder.java @@ -19,6 +19,7 @@ package org.jclouds.cloudstack; import static org.jclouds.Constants.PROPERTY_API_VERSION; +import static org.jclouds.Constants.PROPERTY_ENDPOINT; import java.util.Properties; @@ -33,6 +34,7 @@ public class CloudStackPropertiesBuilder extends PropertiesBuilder { @Override protected Properties defaultProperties() { Properties properties = super.defaultProperties(); + properties.setProperty(PROPERTY_ENDPOINT, "http://localhost:8080/client/api"); properties.setProperty(PROPERTY_API_VERSION, "2.2"); properties.setProperty("jclouds.ssh.max-retries", "7"); properties.setProperty("jclouds.ssh.retry-auth", "true");