mirror of https://github.com/apache/jclouds.git
updated atmosonline endpoint to be https
This commit is contained in:
parent
de7a5e4891
commit
b15b3015c7
|
@ -38,7 +38,7 @@ import org.jclouds.http.options.GetOptions;
|
||||||
* @see <a href="https://community.emc.com/community/labs/atmos_online" />
|
* @see <a href="https://community.emc.com/community/labs/atmos_online" />
|
||||||
* @author Adrian Cole
|
* @author Adrian Cole
|
||||||
*/
|
*/
|
||||||
@Timeout(duration = 120, timeUnit = TimeUnit.SECONDS)
|
@Timeout(duration = 300, timeUnit = TimeUnit.SECONDS)
|
||||||
public interface AtmosStorageClient {
|
public interface AtmosStorageClient {
|
||||||
/**
|
/**
|
||||||
* Creates a default implementation of AtmosObject
|
* Creates a default implementation of AtmosObject
|
||||||
|
|
|
@ -32,11 +32,12 @@ import org.jclouds.atmosonline.saas.reference.AtmosStorageConstants;
|
||||||
* @author Adrian Cole
|
* @author Adrian Cole
|
||||||
*/
|
*/
|
||||||
public class AtmosStoragePropertiesBuilder extends PropertiesBuilder {
|
public class AtmosStoragePropertiesBuilder extends PropertiesBuilder {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected Properties defaultProperties() {
|
protected Properties defaultProperties() {
|
||||||
Properties properties = super.defaultProperties();
|
Properties properties = super.defaultProperties();
|
||||||
properties.setProperty(AtmosStorageConstants.PROPERTY_EMCSAAS_ENDPOINT,
|
properties.setProperty(AtmosStorageConstants.PROPERTY_EMCSAAS_ENDPOINT,
|
||||||
"http://accesspoint.emccis.com");
|
"https://accesspoint.atmosonline.com");
|
||||||
properties.setProperty(AtmosStorageConstants.PROPERTY_EMCSAAS_SESSIONINTERVAL, "60");
|
properties.setProperty(AtmosStorageConstants.PROPERTY_EMCSAAS_SESSIONINTERVAL, "60");
|
||||||
return properties;
|
return properties;
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,6 +25,7 @@ import java.util.regex.Pattern;
|
||||||
|
|
||||||
import javax.annotation.Resource;
|
import javax.annotation.Resource;
|
||||||
import javax.inject.Inject;
|
import javax.inject.Inject;
|
||||||
|
import javax.inject.Singleton;
|
||||||
|
|
||||||
import org.jclouds.atmosonline.saas.AtmosStorageResponseException;
|
import org.jclouds.atmosonline.saas.AtmosStorageResponseException;
|
||||||
import org.jclouds.atmosonline.saas.domain.AtmosStorageError;
|
import org.jclouds.atmosonline.saas.domain.AtmosStorageError;
|
||||||
|
@ -49,6 +50,7 @@ import com.google.common.io.Closeables;
|
||||||
* @author Adrian Cole
|
* @author Adrian Cole
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
@Singleton
|
||||||
public class ParseAtmosStorageErrorFromXmlContent implements HttpErrorHandler {
|
public class ParseAtmosStorageErrorFromXmlContent implements HttpErrorHandler {
|
||||||
@Resource
|
@Resource
|
||||||
protected Logger logger = Logger.NULL;
|
protected Logger logger = Logger.NULL;
|
||||||
|
|
|
@ -120,7 +120,7 @@
|
||||||
<category name="jclouds.headers">
|
<category name="jclouds.headers">
|
||||||
<priority value="DEBUG" />
|
<priority value="DEBUG" />
|
||||||
<appender-ref ref="ASYNCWIRE" />
|
<appender-ref ref="ASYNCWIRE" />
|
||||||
</category><!--
|
</category>
|
||||||
|
|
||||||
<category name="jclouds.wire">
|
<category name="jclouds.wire">
|
||||||
<priority value="DEBUG" />
|
<priority value="DEBUG" />
|
||||||
|
@ -128,7 +128,7 @@
|
||||||
</category>
|
</category>
|
||||||
|
|
||||||
|
|
||||||
--><!-- ======================= -->
|
<!-- ======================= -->
|
||||||
<!-- Setup the Root category -->
|
<!-- Setup the Root category -->
|
||||||
<!-- ======================= -->
|
<!-- ======================= -->
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue