You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jclouds.apache.org by ab...@apache.org on 2013/05/12 16:42:53 UTC
[08/18] JCLOUDS-25. Removing sandbox-*.
http://git-wip-us.apache.org/repos/asf/incubator-jclouds/blob/46e2f006/sandbox-providers/googlestorage/src/main/java/org/jclouds/googlestorage/config/GoogleStorageRestClientModule.java
----------------------------------------------------------------------
diff --git a/sandbox-providers/googlestorage/src/main/java/org/jclouds/googlestorage/config/GoogleStorageRestClientModule.java b/sandbox-providers/googlestorage/src/main/java/org/jclouds/googlestorage/config/GoogleStorageRestClientModule.java
deleted file mode 100644
index f6d7bb6..0000000
--- a/sandbox-providers/googlestorage/src/main/java/org/jclouds/googlestorage/config/GoogleStorageRestClientModule.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/**
- * Licensed to jclouds, Inc. (jclouds) under one or more
- * contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. jclouds licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.jclouds.googlestorage.config;
-
-import javax.inject.Singleton;
-
-import org.jclouds.googlestorage.GoogleStorageAsyncClient;
-import org.jclouds.googlestorage.binders.BindGoogleStorageObjectMetadataToRequest;
-import org.jclouds.http.RequiresHttp;
-import org.jclouds.rest.ConfiguresRestClient;
-import org.jclouds.s3.S3AsyncClient;
-import org.jclouds.s3.S3Client;
-import org.jclouds.s3.binders.BindS3ObjectMetadataToRequest;
-import org.jclouds.s3.config.S3RestClientModule;
-
-import com.google.inject.Provides;
-
-/**
- *
- * @author Adrian Cole
- */
-@ConfiguresRestClient
-@RequiresHttp
-public class GoogleStorageRestClientModule extends S3RestClientModule<S3Client, GoogleStorageAsyncClient> {
-
- public GoogleStorageRestClientModule() {
- super(S3Client.class, GoogleStorageAsyncClient.class);
- }
-
- @Override
- protected void configure() {
- bind(BindS3ObjectMetadataToRequest.class).to(BindGoogleStorageObjectMetadataToRequest.class);
- super.configure();
- }
-
- @Provides
- @Singleton
- S3AsyncClient provideS3AsyncClient(GoogleStorageAsyncClient in) {
- return in;
- }
-
-}
http://git-wip-us.apache.org/repos/asf/incubator-jclouds/blob/46e2f006/sandbox-providers/googlestorage/src/main/resources/META-INF/services/org.jclouds.providers.ProviderMetadata
----------------------------------------------------------------------
diff --git a/sandbox-providers/googlestorage/src/main/resources/META-INF/services/org.jclouds.providers.ProviderMetadata b/sandbox-providers/googlestorage/src/main/resources/META-INF/services/org.jclouds.providers.ProviderMetadata
deleted file mode 100644
index 01a8afe..0000000
--- a/sandbox-providers/googlestorage/src/main/resources/META-INF/services/org.jclouds.providers.ProviderMetadata
+++ /dev/null
@@ -1 +0,0 @@
-org.jclouds.googlestorage.GoogleStorageProviderMetadata
http://git-wip-us.apache.org/repos/asf/incubator-jclouds/blob/46e2f006/sandbox-providers/googlestorage/src/test/java/org/jclouds/googlestorage/GoogleStorageAsyncClientTestDisabled.java
----------------------------------------------------------------------
diff --git a/sandbox-providers/googlestorage/src/test/java/org/jclouds/googlestorage/GoogleStorageAsyncClientTestDisabled.java b/sandbox-providers/googlestorage/src/test/java/org/jclouds/googlestorage/GoogleStorageAsyncClientTestDisabled.java
deleted file mode 100644
index a04357a..0000000
--- a/sandbox-providers/googlestorage/src/test/java/org/jclouds/googlestorage/GoogleStorageAsyncClientTestDisabled.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
- * Licensed to jclouds, Inc. (jclouds) under one or more
- * contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. jclouds licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.jclouds.googlestorage;
-
-import org.jclouds.rest.internal.RestAnnotationProcessor;
-import org.jclouds.s3.S3AsyncClient;
-import org.testng.annotations.Test;
-
-import com.google.inject.TypeLiteral;
-
-/**
- * @author Adrian Cole
- */
-// NOTE:without testName, this will not call @Before* and fail w/NPE during surefire
-@Test(enabled = false, groups = "unit", testName = "GoogleStorageAsyncClientTest")
-public class GoogleStorageAsyncClientTestDisabled extends org.jclouds.s3.S3AsyncClientTest<S3AsyncClient> {
-
- public GoogleStorageAsyncClientTestDisabled() {
- this.provider = "googlestorage";
- this.url = "commondatastorage.googleapis.com";
- }
-
- @Override
- protected TypeLiteral<RestAnnotationProcessor<S3AsyncClient>> createTypeLiteral() {
- return new TypeLiteral<RestAnnotationProcessor<S3AsyncClient>>() {
- };
- }
-
- // TODO parameterize this test so that it can pass
-}
http://git-wip-us.apache.org/repos/asf/incubator-jclouds/blob/46e2f006/sandbox-providers/googlestorage/src/test/java/org/jclouds/googlestorage/GoogleStorageClientLiveTest.java
----------------------------------------------------------------------
diff --git a/sandbox-providers/googlestorage/src/test/java/org/jclouds/googlestorage/GoogleStorageClientLiveTest.java b/sandbox-providers/googlestorage/src/test/java/org/jclouds/googlestorage/GoogleStorageClientLiveTest.java
deleted file mode 100644
index f037b41..0000000
--- a/sandbox-providers/googlestorage/src/test/java/org/jclouds/googlestorage/GoogleStorageClientLiveTest.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/**
- * Licensed to jclouds, Inc. (jclouds) under one or more
- * contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. jclouds licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.jclouds.googlestorage;
-
-import org.jclouds.s3.S3ClientLiveTest;
-import org.testng.annotations.Test;
-
-/**
- * Tests behavior of {@code S3Client}
- *
- * @author Adrian Cole
- */
-@Test(groups = "live", sequential = true, testName = "GoogleStorageClientLiveTest")
-public class GoogleStorageClientLiveTest extends S3ClientLiveTest {
-
-}
http://git-wip-us.apache.org/repos/asf/incubator-jclouds/blob/46e2f006/sandbox-providers/googlestorage/src/test/java/org/jclouds/googlestorage/GoogleStorageProviderTest.java
----------------------------------------------------------------------
diff --git a/sandbox-providers/googlestorage/src/test/java/org/jclouds/googlestorage/GoogleStorageProviderTest.java b/sandbox-providers/googlestorage/src/test/java/org/jclouds/googlestorage/GoogleStorageProviderTest.java
deleted file mode 100644
index 1a4383d..0000000
--- a/sandbox-providers/googlestorage/src/test/java/org/jclouds/googlestorage/GoogleStorageProviderTest.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/**
- * Licensed to jclouds, Inc. (jclouds) under one or more
- * contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. jclouds licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.jclouds.googlestorage;
-
-import org.jclouds.providers.BaseProviderMetadataTest;
-import org.jclouds.providers.ProviderMetadata;
-import org.testng.annotations.Test;
-
-/**
- * The GoogleStorageProviderTest tests the {@link GoogleStorageProviderMetadata} class.
- *
- * @author Jeremy Whitlock <jw...@apache.org>
- */
-@Test(groups = "unit", testName = "GoogleStorageProviderTest")
-public class GoogleStorageProviderTest extends BaseProviderMetadataTest {
-
- public GoogleStorageProviderTest() {
- super(new GoogleStorageProviderMetadata(), ProviderMetadata.BLOBSTORE_TYPE);
- }
-
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-jclouds/blob/46e2f006/sandbox-providers/googlestorage/src/test/java/org/jclouds/googlestorage/binders/BindGoogleStorageObjectMetadataToRequestTest.java
----------------------------------------------------------------------
diff --git a/sandbox-providers/googlestorage/src/test/java/org/jclouds/googlestorage/binders/BindGoogleStorageObjectMetadataToRequestTest.java b/sandbox-providers/googlestorage/src/test/java/org/jclouds/googlestorage/binders/BindGoogleStorageObjectMetadataToRequestTest.java
deleted file mode 100644
index fa24076..0000000
--- a/sandbox-providers/googlestorage/src/test/java/org/jclouds/googlestorage/binders/BindGoogleStorageObjectMetadataToRequestTest.java
+++ /dev/null
@@ -1,145 +0,0 @@
-/**
- * Licensed to jclouds, Inc. (jclouds) under one or more
- * contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. jclouds licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.jclouds.googlestorage.binders;
-
-import static org.testng.Assert.assertEquals;
-
-import java.io.File;
-import java.net.URI;
-
-import javax.ws.rs.HttpMethod;
-
-import org.jclouds.http.HttpRequest;
-import org.jclouds.io.Payload;
-import org.jclouds.io.Payloads;
-import org.jclouds.rest.internal.RestAnnotationProcessor;
-import org.jclouds.s3.BaseS3AsyncClientTest;
-import org.jclouds.s3.S3AsyncClient;
-import org.jclouds.s3.domain.S3Object;
-import org.testng.annotations.Test;
-
-import com.google.common.collect.ImmutableMap;
-import com.google.common.collect.ImmutableMultimap;
-import com.google.inject.TypeLiteral;
-
-/**
- * Tests behavior of {@code BindGoogleStorageObjectMetadataToRequest}
- *
- * @author Adrian Cole
- */
-// NOTE:without testName, this will not call @Before* and fail w/NPE during surefire
-@Test(groups = "unit", testName = "BindGoogleStorageObjectMetadataToRequestTest")
-public class BindGoogleStorageObjectMetadataToRequestTest extends BaseS3AsyncClientTest<S3AsyncClient> {
-
- @Override
- protected TypeLiteral<RestAnnotationProcessor<S3AsyncClient>> createTypeLiteral() {
- return new TypeLiteral<RestAnnotationProcessor<S3AsyncClient>>() {
- };
- }
-
- @Test
- public void testPassWithMinimumDetailsAndPayload5GB() {
- S3Object object = injector.getInstance(S3Object.Factory.class).create(null);
- Payload payload = Payloads.newStringPayload("");
- payload.getContentMetadata().setContentLength(5 * 1024 * 1024 * 1024l);
- object.setPayload(payload);
- object.getMetadata().setKey("foo");
-
- HttpRequest request = HttpRequest.builder().method("PUT").endpoint(URI.create("http://localhost")).build();
- BindGoogleStorageObjectMetadataToRequest binder = injector
- .getInstance(BindGoogleStorageObjectMetadataToRequest.class);
-
- assertEquals(binder.bindToRequest(request, object), HttpRequest.builder().method("PUT").endpoint(
- URI.create("http://localhost")).build());
- }
-
- @Test
- public void testExtendedPropertiesBind() {
- S3Object object = injector.getInstance(S3Object.Factory.class).create(null);
- Payload payload = Payloads.newStringPayload("");
- payload.getContentMetadata().setContentLength(5 * 1024 * 1024 * 1024l);
- object.setPayload(payload);
- object.getMetadata().setKey("foo");
- object.getMetadata().getUserMetadata().putAll(ImmutableMap.of("foo", "bar"));
-
- HttpRequest request = HttpRequest.builder().method("PUT").endpoint(URI.create("http://localhost")).build();
- BindGoogleStorageObjectMetadataToRequest binder = injector
- .getInstance(BindGoogleStorageObjectMetadataToRequest.class);
-
- assertEquals(binder.bindToRequest(request, object), HttpRequest.builder().method("PUT").endpoint(
- URI.create("http://localhost")).headers(ImmutableMultimap.of("x-amz-meta-foo", "bar")).build());
- }
-
- public void testNoContentLengthIsChunked() {
- S3Object object = injector.getInstance(S3Object.Factory.class).create(null);
- Payload payload = Payloads.newStringPayload("");
- payload.getContentMetadata().setContentLength(null);
- object.setPayload(payload);
- object.getMetadata().setKey("foo");
-
- HttpRequest request = HttpRequest.builder().method("PUT").endpoint(URI.create("http://localhost")).build();
- BindGoogleStorageObjectMetadataToRequest binder = injector
- .getInstance(BindGoogleStorageObjectMetadataToRequest.class);
-
- assertEquals(binder.bindToRequest(request, object), HttpRequest.builder().method("PUT").endpoint(
- URI.create("http://localhost")).headers(ImmutableMultimap.of("Transfer-Encoding", "chunked")).build());
- }
-
- @Test(expectedExceptions = IllegalArgumentException.class)
- public void testNoNameIsBad() {
- S3Object object = injector.getInstance(S3Object.Factory.class).create(null);
- Payload payload = Payloads.newStringPayload("");
- payload.getContentMetadata().setContentLength(5368709120000l);
- object.setPayload(payload);
-
- HttpRequest request = HttpRequest.builder().method("PUT").endpoint(URI.create("http://localhost")).build();
- BindGoogleStorageObjectMetadataToRequest binder = injector
- .getInstance(BindGoogleStorageObjectMetadataToRequest.class);
- binder.bindToRequest(request, object);
- }
-
- @Test(expectedExceptions = IllegalArgumentException.class)
- public void testOver5GBIsBad() {
- S3Object object = injector.getInstance(S3Object.Factory.class).create(null);
- Payload payload = Payloads.newStringPayload("");
- payload.getContentMetadata().setContentLength(5 * 1024 * 1024 * 1024l + 1);
- object.setPayload(payload);
- object.getMetadata().setKey("foo");
-
- HttpRequest request = HttpRequest.builder().method("PUT").endpoint(URI.create("http://localhost")).build();
- BindGoogleStorageObjectMetadataToRequest binder = injector
- .getInstance(BindGoogleStorageObjectMetadataToRequest.class);
- binder.bindToRequest(request, object);
- }
-
- @Test(expectedExceptions = IllegalArgumentException.class)
- public void testMustBeS3Object() {
- HttpRequest request = new HttpRequest(HttpMethod.POST, URI.create("http://localhost"));
- injector.getInstance(BindGoogleStorageObjectMetadataToRequest.class).bindToRequest(request, new File("foo"));
- }
-
- @Test(expectedExceptions = { NullPointerException.class, IllegalStateException.class })
- public void testNullIsBad() {
- BindGoogleStorageObjectMetadataToRequest binder = injector
- .getInstance(BindGoogleStorageObjectMetadataToRequest.class);
- HttpRequest request = HttpRequest.builder().method("GET").endpoint(URI.create("http://momma")).build();
- binder.bindToRequest(request, null);
- }
-
-}
http://git-wip-us.apache.org/repos/asf/incubator-jclouds/blob/46e2f006/sandbox-providers/googlestorage/src/test/java/org/jclouds/googlestorage/blobstore/GoogleStorageBlobIntegrationLiveTest.java
----------------------------------------------------------------------
diff --git a/sandbox-providers/googlestorage/src/test/java/org/jclouds/googlestorage/blobstore/GoogleStorageBlobIntegrationLiveTest.java b/sandbox-providers/googlestorage/src/test/java/org/jclouds/googlestorage/blobstore/GoogleStorageBlobIntegrationLiveTest.java
deleted file mode 100644
index eae1b3a..0000000
--- a/sandbox-providers/googlestorage/src/test/java/org/jclouds/googlestorage/blobstore/GoogleStorageBlobIntegrationLiveTest.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/**
- * Licensed to jclouds, Inc. (jclouds) under one or more
- * contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. jclouds licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.jclouds.googlestorage.blobstore;
-
-import java.io.IOException;
-
-import org.jclouds.blobstore.domain.Blob;
-import org.jclouds.blobstore.integration.internal.BaseBlobIntegrationTest;
-import org.testng.annotations.Test;
-
-/**
- * @author Adrian Cole
- */
-@Test(groups = "live", testName = "GoogleStorageBlobIntegrationLiveTest")
-public class GoogleStorageBlobIntegrationLiveTest extends BaseBlobIntegrationTest {
- // NOTE google supports streaming
- // no support for content language
- @Override
- protected void checkContentLanguage(Blob blob, String contentLanguage) {
- assert blob.getPayload().getContentMetadata().getContentLanguage() == null;
- assert blob.getMetadata().getContentMetadata().getContentLanguage() == null;
- }
-
- // double range not supported
- @Test(groups = { "integration", "live" })
- public void testGetTwoRanges() throws InterruptedException, IOException {
-
- }
-}
http://git-wip-us.apache.org/repos/asf/incubator-jclouds/blob/46e2f006/sandbox-providers/googlestorage/src/test/java/org/jclouds/googlestorage/blobstore/GoogleStorageBlobLiveTest.java
----------------------------------------------------------------------
diff --git a/sandbox-providers/googlestorage/src/test/java/org/jclouds/googlestorage/blobstore/GoogleStorageBlobLiveTest.java b/sandbox-providers/googlestorage/src/test/java/org/jclouds/googlestorage/blobstore/GoogleStorageBlobLiveTest.java
deleted file mode 100644
index a23301c..0000000
--- a/sandbox-providers/googlestorage/src/test/java/org/jclouds/googlestorage/blobstore/GoogleStorageBlobLiveTest.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/**
- * Licensed to jclouds, Inc. (jclouds) under one or more
- * contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. jclouds licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.jclouds.googlestorage.blobstore;
-
-import org.jclouds.s3.blobstore.integration.S3BlobLiveTest;
-import org.testng.annotations.Test;
-
-/**
- * @author Adrian Cole
- */
-@Test(groups = "live", testName = "GoogleStorageBlobLiveTest")
-public class GoogleStorageBlobLiveTest extends S3BlobLiveTest {
-
-}
http://git-wip-us.apache.org/repos/asf/incubator-jclouds/blob/46e2f006/sandbox-providers/googlestorage/src/test/java/org/jclouds/googlestorage/blobstore/GoogleStorageBlobMapIntegrationLiveTest.java
----------------------------------------------------------------------
diff --git a/sandbox-providers/googlestorage/src/test/java/org/jclouds/googlestorage/blobstore/GoogleStorageBlobMapIntegrationLiveTest.java b/sandbox-providers/googlestorage/src/test/java/org/jclouds/googlestorage/blobstore/GoogleStorageBlobMapIntegrationLiveTest.java
deleted file mode 100644
index 5bbe6fb..0000000
--- a/sandbox-providers/googlestorage/src/test/java/org/jclouds/googlestorage/blobstore/GoogleStorageBlobMapIntegrationLiveTest.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/**
- * Licensed to jclouds, Inc. (jclouds) under one or more
- * contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. jclouds licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.jclouds.googlestorage.blobstore;
-
-import org.jclouds.s3.blobstore.integration.S3BlobMapIntegrationLiveTest;
-import org.testng.annotations.Test;
-
-/**
- * @author Adrian Cole
- */
-@Test(groups = "live", testName = "GoogleStorageBlobMapIntegrationLiveTest")
-public class GoogleStorageBlobMapIntegrationLiveTest extends S3BlobMapIntegrationLiveTest {
-
-}
http://git-wip-us.apache.org/repos/asf/incubator-jclouds/blob/46e2f006/sandbox-providers/googlestorage/src/test/java/org/jclouds/googlestorage/blobstore/GoogleStorageBlobSignerLiveTest.java
----------------------------------------------------------------------
diff --git a/sandbox-providers/googlestorage/src/test/java/org/jclouds/googlestorage/blobstore/GoogleStorageBlobSignerLiveTest.java b/sandbox-providers/googlestorage/src/test/java/org/jclouds/googlestorage/blobstore/GoogleStorageBlobSignerLiveTest.java
deleted file mode 100644
index 5ab8963..0000000
--- a/sandbox-providers/googlestorage/src/test/java/org/jclouds/googlestorage/blobstore/GoogleStorageBlobSignerLiveTest.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/**
- * Licensed to jclouds, Inc. (jclouds) under one or more
- * contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. jclouds licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.jclouds.googlestorage.blobstore;
-
-import org.jclouds.s3.blobstore.integration.S3BlobSignerLiveTest;
-import org.testng.annotations.Test;
-
-/**
- *
- * @author Adrian Cole
- */
-@Test(groups = "live", testName = "GoogleStorageBlobSignerLiveTest")
-public class GoogleStorageBlobSignerLiveTest extends S3BlobSignerLiveTest {
-
-}
http://git-wip-us.apache.org/repos/asf/incubator-jclouds/blob/46e2f006/sandbox-providers/googlestorage/src/test/java/org/jclouds/googlestorage/blobstore/GoogleStorageContainerIntegrationLiveTest.java
----------------------------------------------------------------------
diff --git a/sandbox-providers/googlestorage/src/test/java/org/jclouds/googlestorage/blobstore/GoogleStorageContainerIntegrationLiveTest.java b/sandbox-providers/googlestorage/src/test/java/org/jclouds/googlestorage/blobstore/GoogleStorageContainerIntegrationLiveTest.java
deleted file mode 100644
index d4d16ab..0000000
--- a/sandbox-providers/googlestorage/src/test/java/org/jclouds/googlestorage/blobstore/GoogleStorageContainerIntegrationLiveTest.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/**
- * Licensed to jclouds, Inc. (jclouds) under one or more
- * contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. jclouds licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.jclouds.googlestorage.blobstore;
-
-import org.jclouds.s3.blobstore.integration.S3ContainerIntegrationLiveTest;
-import org.testng.annotations.Test;
-
-/**
- * @author Adrian Cole
- */
-@Test(groups = "live", testName = "GoogleStorageContainerIntegrationLiveTest")
-public class GoogleStorageContainerIntegrationLiveTest extends S3ContainerIntegrationLiveTest {
-
-}
http://git-wip-us.apache.org/repos/asf/incubator-jclouds/blob/46e2f006/sandbox-providers/googlestorage/src/test/java/org/jclouds/googlestorage/blobstore/GoogleStorageContainerLiveTest.java
----------------------------------------------------------------------
diff --git a/sandbox-providers/googlestorage/src/test/java/org/jclouds/googlestorage/blobstore/GoogleStorageContainerLiveTest.java b/sandbox-providers/googlestorage/src/test/java/org/jclouds/googlestorage/blobstore/GoogleStorageContainerLiveTest.java
deleted file mode 100644
index e10eddc..0000000
--- a/sandbox-providers/googlestorage/src/test/java/org/jclouds/googlestorage/blobstore/GoogleStorageContainerLiveTest.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/**
- * Licensed to jclouds, Inc. (jclouds) under one or more
- * contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. jclouds licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.jclouds.googlestorage.blobstore;
-
-import org.jclouds.s3.blobstore.integration.S3ContainerLiveTest;
-import org.testng.annotations.Test;
-
-/**
- * @author Adrian Cole
- */
-@Test(groups = "live", testName = "GoogleStorageContainerLiveTest")
-public class GoogleStorageContainerLiveTest extends S3ContainerLiveTest {
-
-}
http://git-wip-us.apache.org/repos/asf/incubator-jclouds/blob/46e2f006/sandbox-providers/googlestorage/src/test/java/org/jclouds/googlestorage/blobstore/GoogleStorageInputStreamMapIntegrationLiveTest.java
----------------------------------------------------------------------
diff --git a/sandbox-providers/googlestorage/src/test/java/org/jclouds/googlestorage/blobstore/GoogleStorageInputStreamMapIntegrationLiveTest.java b/sandbox-providers/googlestorage/src/test/java/org/jclouds/googlestorage/blobstore/GoogleStorageInputStreamMapIntegrationLiveTest.java
deleted file mode 100644
index 1c57d1c..0000000
--- a/sandbox-providers/googlestorage/src/test/java/org/jclouds/googlestorage/blobstore/GoogleStorageInputStreamMapIntegrationLiveTest.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/**
- * Licensed to jclouds, Inc. (jclouds) under one or more
- * contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. jclouds licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.jclouds.googlestorage.blobstore;
-
-import org.jclouds.s3.blobstore.integration.S3InputStreamMapIntegrationLiveTest;
-import org.testng.annotations.Test;
-
-/**
- * @author Adrian Cole
- */
-@Test(groups = "live", testName = "GoogleStorageInputStreamMapIntegrationLiveTest")
-public class GoogleStorageInputStreamMapIntegrationLiveTest extends S3InputStreamMapIntegrationLiveTest {
-
-}
http://git-wip-us.apache.org/repos/asf/incubator-jclouds/blob/46e2f006/sandbox-providers/googlestorage/src/test/java/org/jclouds/googlestorage/blobstore/GoogleStorageServiceIntegrationLiveTest.java
----------------------------------------------------------------------
diff --git a/sandbox-providers/googlestorage/src/test/java/org/jclouds/googlestorage/blobstore/GoogleStorageServiceIntegrationLiveTest.java b/sandbox-providers/googlestorage/src/test/java/org/jclouds/googlestorage/blobstore/GoogleStorageServiceIntegrationLiveTest.java
deleted file mode 100644
index be89854..0000000
--- a/sandbox-providers/googlestorage/src/test/java/org/jclouds/googlestorage/blobstore/GoogleStorageServiceIntegrationLiveTest.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/**
- * Licensed to jclouds, Inc. (jclouds) under one or more
- * contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. jclouds licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.jclouds.googlestorage.blobstore;
-
-import java.util.Set;
-
-import org.jclouds.s3.blobstore.integration.S3ServiceIntegrationLiveTest;
-import org.testng.annotations.Test;
-
-import com.google.common.collect.ImmutableSet;
-
-/**
- * @author Adrian Cole
- */
-@Test(groups = "live", testName = "GoogleStorageServiceIntegrationLiveTest")
-public class GoogleStorageServiceIntegrationLiveTest extends S3ServiceIntegrationLiveTest {
- @Override
- protected Set<String> getIso3166Codes() {
- return ImmutableSet.<String> of("US");
- }
-
-}
http://git-wip-us.apache.org/repos/asf/incubator-jclouds/blob/46e2f006/sandbox-providers/googlestorage/src/test/java/org/jclouds/googlestorage/blobstore/GoogleStorageTestInitializer.java
----------------------------------------------------------------------
diff --git a/sandbox-providers/googlestorage/src/test/java/org/jclouds/googlestorage/blobstore/GoogleStorageTestInitializer.java b/sandbox-providers/googlestorage/src/test/java/org/jclouds/googlestorage/blobstore/GoogleStorageTestInitializer.java
deleted file mode 100644
index 10961a9..0000000
--- a/sandbox-providers/googlestorage/src/test/java/org/jclouds/googlestorage/blobstore/GoogleStorageTestInitializer.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/**
- * Licensed to jclouds, Inc. (jclouds) under one or more
- * contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. jclouds licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.jclouds.googlestorage.blobstore;
-
-import org.jclouds.s3.blobstore.integration.S3TestInitializer;
-
-/**
- *
- * @author Adrian Cole
- */
-public class GoogleStorageTestInitializer extends S3TestInitializer {
-
- public GoogleStorageTestInitializer() {
- provider = "googlestorage";
- }
-
-}
http://git-wip-us.apache.org/repos/asf/incubator-jclouds/blob/46e2f006/sandbox-providers/hosteurope-storage/pom.xml
----------------------------------------------------------------------
diff --git a/sandbox-providers/hosteurope-storage/pom.xml b/sandbox-providers/hosteurope-storage/pom.xml
deleted file mode 100644
index b31e1ce..0000000
--- a/sandbox-providers/hosteurope-storage/pom.xml
+++ /dev/null
@@ -1,133 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to jclouds, Inc. (jclouds) under one or more
- contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. jclouds licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.jclouds</groupId>
- <artifactId>jclouds-project</artifactId>
- <version>1.5.0-SNAPSHOT</version>
- <relativePath>../../project/pom.xml</relativePath>
- </parent>
- <groupId>org.jclouds.provider</groupId>
- <artifactId>hosteurope-storage</artifactId>
- <name>jclouds Host Europe Cloud Storage provider</name>
- <description>Scality RING (ScalityRS2) implementation targeted to Host Europe Cloud Storage</description>
- <packaging>bundle</packaging>
-
- <properties>
- <test.initializer>org.jclouds.hosteurope.storage.blobstore.HostEuropeStorageTestInitializer</test.initializer>
- <test.hosteurope-storage.endpoint>https://cs.hosteurope.de</test.hosteurope-storage.endpoint>
- <test.hosteurope-storage.api-version>2006-03-01</test.hosteurope-storage.api-version>
- <test.hosteurope-storage.build-version></test.hosteurope-storage.build-version>
- <test.hosteurope-storage.identity>FIX_ME</test.hosteurope-storage.identity>
- <test.hosteurope-storage.credential>FIX_ME</test.hosteurope-storage.credential>
-
- <jclouds.osgi.export>org.jclouds.hosteurope.storage*;version="${project.version}"</jclouds.osgi.export>
- <jclouds.osgi.import>org.jclouds*;version="${project.version}",*</jclouds.osgi.import>
- </properties>
-
- <dependencies>
- <dependency>
- <groupId>org.jclouds.api</groupId>
- <artifactId>scality-rs2</artifactId>
- <version>${project.version}</version>
- <type>jar</type>
- </dependency>
- <dependency>
- <groupId>org.jclouds.api</groupId>
- <artifactId>scality-rs2</artifactId>
- <version>${project.version}</version>
- <type>test-jar</type>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jclouds.api</groupId>
- <artifactId>s3</artifactId>
- <version>${project.version}</version>
- <type>test-jar</type>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jclouds</groupId>
- <artifactId>jclouds-core</artifactId>
- <version>${project.version}</version>
- <type>test-jar</type>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jclouds</groupId>
- <artifactId>jclouds-blobstore</artifactId>
- <version>${project.version}</version>
- <type>test-jar</type>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jclouds.driver</groupId>
- <artifactId>jclouds-log4j</artifactId>
- <version>${project.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>log4j</groupId>
- <artifactId>log4j</artifactId>
- <version>1.2.16</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
- <profiles>
- <profile>
- <id>live</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <executions>
- <execution>
- <id>integration</id>
- <phase>integration-test</phase>
- <goals>
- <goal>test</goal>
- </goals>
- <configuration>
- <systemPropertyVariables>
- <test.hosteurope-storage.endpoint>${test.hosteurope-storage.endpoint}</test.hosteurope-storage.endpoint>
- <test.hosteurope-storage.api-version>${test.hosteurope-storage.api-version}</test.hosteurope-storage.api-version>
- <test.hosteurope-storage.build-version>${test.hosteurope-storage.build-version}</test.hosteurope-storage.build-version>
- <test.hosteurope-storage.identity>${test.hosteurope-storage.identity}</test.hosteurope-storage.identity>
- <test.hosteurope-storage.credential>${test.hosteurope-storage.credential}</test.hosteurope-storage.credential>
- <test.initializer>${test.initializer}</test.initializer>
- <jclouds.blobstore.httpstream.url>${jclouds.blobstore.httpstream.url}</jclouds.blobstore.httpstream.url>
- <jclouds.blobstore.httpstream.md5>${jclouds.blobstore.httpstream.md5}</jclouds.blobstore.httpstream.md5>
- </systemPropertyVariables>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
-
-</project>
-
http://git-wip-us.apache.org/repos/asf/incubator-jclouds/blob/46e2f006/sandbox-providers/hosteurope-storage/src/main/java/org/jclouds/hosteurope/storage/HostEuropeStoragePropertiesBuilder.java
----------------------------------------------------------------------
diff --git a/sandbox-providers/hosteurope-storage/src/main/java/org/jclouds/hosteurope/storage/HostEuropeStoragePropertiesBuilder.java b/sandbox-providers/hosteurope-storage/src/main/java/org/jclouds/hosteurope/storage/HostEuropeStoragePropertiesBuilder.java
deleted file mode 100644
index 8786024..0000000
--- a/sandbox-providers/hosteurope-storage/src/main/java/org/jclouds/hosteurope/storage/HostEuropeStoragePropertiesBuilder.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
- * Licensed to jclouds, Inc. (jclouds) under one or more
- * contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. jclouds licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.jclouds.hosteurope.storage;
-
-import static org.jclouds.Constants.PROPERTY_ENDPOINT;
-import static org.jclouds.Constants.PROPERTY_ISO3166_CODES;
-
-import java.util.Properties;
-
-import org.jclouds.scality.rs2.ScalityRS2PropertiesBuilder;
-
-/**
- * Builds properties used in HostEurope Storage
- *
- * @author Adrian Cole
- */
-public class HostEuropeStoragePropertiesBuilder extends ScalityRS2PropertiesBuilder {
- @Override
- protected Properties defaultProperties() {
- Properties properties = super.defaultProperties();
- properties.setProperty(PROPERTY_ISO3166_CODES, "DE");
- properties.setProperty(PROPERTY_ENDPOINT, "https://cs.hosteurope.de<");
- return properties;
- }
-
- public HostEuropeStoragePropertiesBuilder(Properties properties) {
- super(properties);
- }
-
-}
http://git-wip-us.apache.org/repos/asf/incubator-jclouds/blob/46e2f006/sandbox-providers/hosteurope-storage/src/test/java/org/jclouds/hosteurope/storage/HostEuropeStorageClientLiveTest.java
----------------------------------------------------------------------
diff --git a/sandbox-providers/hosteurope-storage/src/test/java/org/jclouds/hosteurope/storage/HostEuropeStorageClientLiveTest.java b/sandbox-providers/hosteurope-storage/src/test/java/org/jclouds/hosteurope/storage/HostEuropeStorageClientLiveTest.java
deleted file mode 100644
index 6157dc8..0000000
--- a/sandbox-providers/hosteurope-storage/src/test/java/org/jclouds/hosteurope/storage/HostEuropeStorageClientLiveTest.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/**
- * Licensed to jclouds, Inc. (jclouds) under one or more
- * contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. jclouds licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.jclouds.hosteurope.storage;
-
-import org.jclouds.scality.rs2.ScalityRS2ClientLiveTest;
-import org.testng.annotations.Test;
-
-/**
- * Tests behavior of {@code ScalityRS2Client}
- *
- * @author Adrian Cole
- */
-@Test(groups = "live", sequential = true, testName = "HostEuropeStorageClientLiveTest")
-public class HostEuropeStorageClientLiveTest extends ScalityRS2ClientLiveTest {
-
-}
http://git-wip-us.apache.org/repos/asf/incubator-jclouds/blob/46e2f006/sandbox-providers/hosteurope-storage/src/test/java/org/jclouds/hosteurope/storage/blobstore/HostEuropeStorageBlobIntegrationLiveTest.java
----------------------------------------------------------------------
diff --git a/sandbox-providers/hosteurope-storage/src/test/java/org/jclouds/hosteurope/storage/blobstore/HostEuropeStorageBlobIntegrationLiveTest.java b/sandbox-providers/hosteurope-storage/src/test/java/org/jclouds/hosteurope/storage/blobstore/HostEuropeStorageBlobIntegrationLiveTest.java
deleted file mode 100644
index cbbd731..0000000
--- a/sandbox-providers/hosteurope-storage/src/test/java/org/jclouds/hosteurope/storage/blobstore/HostEuropeStorageBlobIntegrationLiveTest.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/**
- * Licensed to jclouds, Inc. (jclouds) under one or more
- * contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. jclouds licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.jclouds.hosteurope.storage.blobstore;
-
-import org.jclouds.scality.rs2.blobstore.ScalityRS2BlobIntegrationLiveTest;
-import org.testng.annotations.Test;
-
-/**
- * @author Adrian Cole
- */
-@Test(groups = "live", testName = "HostEuropeStorageBlobIntegrationLiveTest")
-public class HostEuropeStorageBlobIntegrationLiveTest extends ScalityRS2BlobIntegrationLiveTest {
-
-
-
-}
http://git-wip-us.apache.org/repos/asf/incubator-jclouds/blob/46e2f006/sandbox-providers/hosteurope-storage/src/test/java/org/jclouds/hosteurope/storage/blobstore/HostEuropeStorageBlobLiveTest.java
----------------------------------------------------------------------
diff --git a/sandbox-providers/hosteurope-storage/src/test/java/org/jclouds/hosteurope/storage/blobstore/HostEuropeStorageBlobLiveTest.java b/sandbox-providers/hosteurope-storage/src/test/java/org/jclouds/hosteurope/storage/blobstore/HostEuropeStorageBlobLiveTest.java
deleted file mode 100644
index 12ba820..0000000
--- a/sandbox-providers/hosteurope-storage/src/test/java/org/jclouds/hosteurope/storage/blobstore/HostEuropeStorageBlobLiveTest.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/**
- * Licensed to jclouds, Inc. (jclouds) under one or more
- * contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. jclouds licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.jclouds.hosteurope.storage.blobstore;
-
-import org.jclouds.scality.rs2.blobstore.ScalityRS2BlobLiveTest;
-import org.testng.annotations.Test;
-
-/**
- * @author Adrian Cole
- */
-@Test(groups = "live", testName = "HostEuropeStorageBlobLiveTest")
-public class HostEuropeStorageBlobLiveTest extends ScalityRS2BlobLiveTest {
-
-}
http://git-wip-us.apache.org/repos/asf/incubator-jclouds/blob/46e2f006/sandbox-providers/hosteurope-storage/src/test/java/org/jclouds/hosteurope/storage/blobstore/HostEuropeStorageBlobMapIntegrationLiveTest.java
----------------------------------------------------------------------
diff --git a/sandbox-providers/hosteurope-storage/src/test/java/org/jclouds/hosteurope/storage/blobstore/HostEuropeStorageBlobMapIntegrationLiveTest.java b/sandbox-providers/hosteurope-storage/src/test/java/org/jclouds/hosteurope/storage/blobstore/HostEuropeStorageBlobMapIntegrationLiveTest.java
deleted file mode 100644
index 41a124d..0000000
--- a/sandbox-providers/hosteurope-storage/src/test/java/org/jclouds/hosteurope/storage/blobstore/HostEuropeStorageBlobMapIntegrationLiveTest.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/**
- * Licensed to jclouds, Inc. (jclouds) under one or more
- * contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. jclouds licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.jclouds.hosteurope.storage.blobstore;
-
-import org.jclouds.scality.rs2.blobstore.ScalityRS2BlobMapIntegrationLiveTest;
-import org.testng.annotations.Test;
-
-/**
- * @author Adrian Cole
- */
-@Test(groups = "live", testName = "HostEuropeStorageBlobMapIntegrationLiveTest")
-public class HostEuropeStorageBlobMapIntegrationLiveTest extends ScalityRS2BlobMapIntegrationLiveTest {
-
-}
http://git-wip-us.apache.org/repos/asf/incubator-jclouds/blob/46e2f006/sandbox-providers/hosteurope-storage/src/test/java/org/jclouds/hosteurope/storage/blobstore/HostEuropeStorageBlobSignerLiveTest.java
----------------------------------------------------------------------
diff --git a/sandbox-providers/hosteurope-storage/src/test/java/org/jclouds/hosteurope/storage/blobstore/HostEuropeStorageBlobSignerLiveTest.java b/sandbox-providers/hosteurope-storage/src/test/java/org/jclouds/hosteurope/storage/blobstore/HostEuropeStorageBlobSignerLiveTest.java
deleted file mode 100644
index 6f683ae..0000000
--- a/sandbox-providers/hosteurope-storage/src/test/java/org/jclouds/hosteurope/storage/blobstore/HostEuropeStorageBlobSignerLiveTest.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/**
- * Licensed to jclouds, Inc. (jclouds) under one or more
- * contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. jclouds licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.jclouds.hosteurope.storage.blobstore;
-
-import org.jclouds.scality.rs2.blobstore.ScalityRS2BlobSignerLiveTest;
-import org.testng.annotations.Test;
-
-/**
- *
- * @author Adrian Cole
- */
-@Test(groups = "live", testName = "HostEuropeStorageBlobSignerLiveTest")
-public class HostEuropeStorageBlobSignerLiveTest extends ScalityRS2BlobSignerLiveTest {
-
-}
http://git-wip-us.apache.org/repos/asf/incubator-jclouds/blob/46e2f006/sandbox-providers/hosteurope-storage/src/test/java/org/jclouds/hosteurope/storage/blobstore/HostEuropeStorageContainerIntegrationLiveTest.java
----------------------------------------------------------------------
diff --git a/sandbox-providers/hosteurope-storage/src/test/java/org/jclouds/hosteurope/storage/blobstore/HostEuropeStorageContainerIntegrationLiveTest.java b/sandbox-providers/hosteurope-storage/src/test/java/org/jclouds/hosteurope/storage/blobstore/HostEuropeStorageContainerIntegrationLiveTest.java
deleted file mode 100644
index e0ccf33..0000000
--- a/sandbox-providers/hosteurope-storage/src/test/java/org/jclouds/hosteurope/storage/blobstore/HostEuropeStorageContainerIntegrationLiveTest.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/**
- * Licensed to jclouds, Inc. (jclouds) under one or more
- * contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. jclouds licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.jclouds.hosteurope.storage.blobstore;
-
-import org.jclouds.scality.rs2.blobstore.ScalityRS2ContainerIntegrationLiveTest;
-import org.testng.annotations.Test;
-
-/**
- * @author Adrian Cole
- */
-@Test(groups = "live", testName = "HostEuropeStorageContainerIntegrationLiveTest")
-public class HostEuropeStorageContainerIntegrationLiveTest extends ScalityRS2ContainerIntegrationLiveTest {
-
-}
http://git-wip-us.apache.org/repos/asf/incubator-jclouds/blob/46e2f006/sandbox-providers/hosteurope-storage/src/test/java/org/jclouds/hosteurope/storage/blobstore/HostEuropeStorageContainerLiveTest.java
----------------------------------------------------------------------
diff --git a/sandbox-providers/hosteurope-storage/src/test/java/org/jclouds/hosteurope/storage/blobstore/HostEuropeStorageContainerLiveTest.java b/sandbox-providers/hosteurope-storage/src/test/java/org/jclouds/hosteurope/storage/blobstore/HostEuropeStorageContainerLiveTest.java
deleted file mode 100644
index 1fb3513..0000000
--- a/sandbox-providers/hosteurope-storage/src/test/java/org/jclouds/hosteurope/storage/blobstore/HostEuropeStorageContainerLiveTest.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/**
- * Licensed to jclouds, Inc. (jclouds) under one or more
- * contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. jclouds licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.jclouds.hosteurope.storage.blobstore;
-
-import org.jclouds.scality.rs2.blobstore.ScalityRS2ContainerLiveTest;
-import org.testng.annotations.Test;
-
-/**
- * @author Adrian Cole
- */
-@Test(groups = "live", testName = "HostEuropeStorageContainerLiveTest")
-public class HostEuropeStorageContainerLiveTest extends ScalityRS2ContainerLiveTest {
-
-}
http://git-wip-us.apache.org/repos/asf/incubator-jclouds/blob/46e2f006/sandbox-providers/hosteurope-storage/src/test/java/org/jclouds/hosteurope/storage/blobstore/HostEuropeStorageInputStreamMapIntegrationLiveTest.java
----------------------------------------------------------------------
diff --git a/sandbox-providers/hosteurope-storage/src/test/java/org/jclouds/hosteurope/storage/blobstore/HostEuropeStorageInputStreamMapIntegrationLiveTest.java b/sandbox-providers/hosteurope-storage/src/test/java/org/jclouds/hosteurope/storage/blobstore/HostEuropeStorageInputStreamMapIntegrationLiveTest.java
deleted file mode 100644
index 3df1e2e..0000000
--- a/sandbox-providers/hosteurope-storage/src/test/java/org/jclouds/hosteurope/storage/blobstore/HostEuropeStorageInputStreamMapIntegrationLiveTest.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/**
- * Licensed to jclouds, Inc. (jclouds) under one or more
- * contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. jclouds licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.jclouds.hosteurope.storage.blobstore;
-
-import org.jclouds.scality.rs2.blobstore.ScalityRS2InputStreamMapIntegrationLiveTest;
-import org.testng.annotations.Test;
-
-/**
- * @author Adrian Cole
- */
-@Test(groups = "live", testName = "HostEuropeStorageInputStreamMapIntegrationLiveTest")
-public class HostEuropeStorageInputStreamMapIntegrationLiveTest extends ScalityRS2InputStreamMapIntegrationLiveTest {
-
-}
http://git-wip-us.apache.org/repos/asf/incubator-jclouds/blob/46e2f006/sandbox-providers/hosteurope-storage/src/test/java/org/jclouds/hosteurope/storage/blobstore/HostEuropeStorageServiceIntegrationLiveTest.java
----------------------------------------------------------------------
diff --git a/sandbox-providers/hosteurope-storage/src/test/java/org/jclouds/hosteurope/storage/blobstore/HostEuropeStorageServiceIntegrationLiveTest.java b/sandbox-providers/hosteurope-storage/src/test/java/org/jclouds/hosteurope/storage/blobstore/HostEuropeStorageServiceIntegrationLiveTest.java
deleted file mode 100644
index 9dec937..0000000
--- a/sandbox-providers/hosteurope-storage/src/test/java/org/jclouds/hosteurope/storage/blobstore/HostEuropeStorageServiceIntegrationLiveTest.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/**
- * Licensed to jclouds, Inc. (jclouds) under one or more
- * contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. jclouds licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.jclouds.hosteurope.storage.blobstore;
-
-import java.util.Set;
-
-import org.jclouds.scality.rs2.blobstore.ScalityRS2ServiceIntegrationLiveTest;
-import org.testng.annotations.Test;
-
-import com.google.common.collect.ImmutableSet;
-
-/**
- * @author Adrian Cole
- */
-@Test(groups = "live", testName = "HostEuropeStorageServiceIntegrationLiveTest")
-public class HostEuropeStorageServiceIntegrationLiveTest extends ScalityRS2ServiceIntegrationLiveTest {
- @Override
- protected Set<String> getIso3166Codes() {
- return ImmutableSet.<String> of("DE");
- }
-}
http://git-wip-us.apache.org/repos/asf/incubator-jclouds/blob/46e2f006/sandbox-providers/hosteurope-storage/src/test/java/org/jclouds/hosteurope/storage/blobstore/HostEuropeStorageTestInitializer.java
----------------------------------------------------------------------
diff --git a/sandbox-providers/hosteurope-storage/src/test/java/org/jclouds/hosteurope/storage/blobstore/HostEuropeStorageTestInitializer.java b/sandbox-providers/hosteurope-storage/src/test/java/org/jclouds/hosteurope/storage/blobstore/HostEuropeStorageTestInitializer.java
deleted file mode 100644
index 4475db4..0000000
--- a/sandbox-providers/hosteurope-storage/src/test/java/org/jclouds/hosteurope/storage/blobstore/HostEuropeStorageTestInitializer.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
- * Licensed to jclouds, Inc. (jclouds) under one or more
- * contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. jclouds licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.jclouds.hosteurope.storage.blobstore;
-
-import org.jclouds.scality.rs2.blobstore.ScalityRS2TestInitializer;
-
-
-/**
- *
- * @author Adrian Cole
- */
-public class HostEuropeStorageTestInitializer extends ScalityRS2TestInitializer {
-
- public HostEuropeStorageTestInitializer() {
- provider = "hosteurope-storage";
- }
-
-
-}
http://git-wip-us.apache.org/repos/asf/incubator-jclouds/blob/46e2f006/sandbox-providers/ibm-smartcloud/pom.xml
----------------------------------------------------------------------
diff --git a/sandbox-providers/ibm-smartcloud/pom.xml b/sandbox-providers/ibm-smartcloud/pom.xml
deleted file mode 100644
index af0159e..0000000
--- a/sandbox-providers/ibm-smartcloud/pom.xml
+++ /dev/null
@@ -1,133 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to jclouds, Inc. (jclouds) under one or more
- contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. jclouds licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.jclouds</groupId>
- <artifactId>jclouds-project</artifactId>
- <version>1.5.0-SNAPSHOT</version>
- <relativePath>../../project/pom.xml</relativePath>
- </parent>
- <groupId>org.jclouds.provider</groupId>
- <artifactId>ibm-smartcloud</artifactId>
- <name>jclouds IBM SmartCloud core</name>
- <description>jclouds components to access IBM SmartCloud</description>
- <packaging>bundle</packaging>
-
- <!-- bootstrapping: need to fetch the project POM -->
- <repositories>
- <repository>
- <id>jclouds-sona-snapshots-nexus</id>
- <url>https://oss.sonatype.org/content/repositories/snapshots</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </repository>
- </repositories>
-
- <properties>
- <test.ibm-smartcloud.endpoint>https://www-147.ibm.com/computecloud/enterprise/api/rest</test.ibm-smartcloud.endpoint>
- <test.ibm-smartcloud.api-version>20100331</test.ibm-smartcloud.api-version>
- <test.ibm-smartcloud.build-version></test.ibm-smartcloud.build-version>
- <test.ibm-smartcloud.identity>FIXME</test.ibm-smartcloud.identity>
- <test.ibm-smartcloud.credential>FIXME</test.ibm-smartcloud.credential>
- <test.ibm-smartcloud.image-id></test.ibm-smartcloud.image-id>
-
- <jclouds.osgi.export>org.jclouds.ibm.smartcloud*;version="${project.version}"</jclouds.osgi.export>
- <jclouds.osgi.import>org.jclouds*;version="${project.version}",*</jclouds.osgi.import>
- </properties>
- <dependencies>
- <dependency>
- <groupId>org.jclouds</groupId>
- <artifactId>jclouds-core</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.jclouds</groupId>
- <artifactId>jclouds-core</artifactId>
- <version>${project.version}</version>
- <type>test-jar</type>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jclouds</groupId>
- <artifactId>jclouds-compute</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.jclouds</groupId>
- <artifactId>jclouds-compute </artifactId>
- <version>${project.version}</version>
- <type>test-jar</type>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jclouds.driver</groupId>
- <artifactId>jclouds-log4j</artifactId>
- <version>${project.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jclouds.driver</groupId>
- <artifactId>jclouds-sshj</artifactId>
- <version>${project.version}</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
- <profiles>
- <profile>
- <id>live</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <executions>
- <execution>
- <id>integration</id>
- <phase>integration-test</phase>
- <goals>
- <goal>test</goal>
- </goals>
- <configuration>
- <systemPropertyVariables>
- <test.ibm-smartcloud.endpoint>${test.ibm-smartcloud.endpoint}</test.ibm-smartcloud.endpoint>
- <test.ibm-smartcloud.api-version>${test.ibm-smartcloud.api-version}</test.ibm-smartcloud.api-version>
- <test.ibm-smartcloud.build-version>${test.ibm-smartcloud.build-version}</test.ibm-smartcloud.build-version>
- <test.ibm-smartcloud.identity>${test.ibm-smartcloud.identity}</test.ibm-smartcloud.identity>
- <test.ibm-smartcloud.credential>${test.ibm-smartcloud.credential}</test.ibm-smartcloud.credential>
- <test.ibm-smartcloud.image-id>${test.ibm-smartcloud.image-id}</test.ibm-smartcloud.image-id>
- </systemPropertyVariables>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
-
-
-</project>
http://git-wip-us.apache.org/repos/asf/incubator-jclouds/blob/46e2f006/sandbox-providers/ibm-smartcloud/src/main/java/org/jclouds/ibm/smartcloud/IBMSmartCloudAsyncClient.java
----------------------------------------------------------------------
diff --git a/sandbox-providers/ibm-smartcloud/src/main/java/org/jclouds/ibm/smartcloud/IBMSmartCloudAsyncClient.java b/sandbox-providers/ibm-smartcloud/src/main/java/org/jclouds/ibm/smartcloud/IBMSmartCloudAsyncClient.java
deleted file mode 100644
index 78ce8e3..0000000
--- a/sandbox-providers/ibm-smartcloud/src/main/java/org/jclouds/ibm/smartcloud/IBMSmartCloudAsyncClient.java
+++ /dev/null
@@ -1,358 +0,0 @@
-/**
- * Licensed to jclouds, Inc. (jclouds) under one or more
- * contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. jclouds licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.jclouds.ibm.smartcloud;
-
-import java.util.Date;
-import java.util.Set;
-
-import javax.ws.rs.Consumes;
-import javax.ws.rs.DELETE;
-import javax.ws.rs.FormParam;
-import javax.ws.rs.GET;
-import javax.ws.rs.POST;
-import javax.ws.rs.PUT;
-import javax.ws.rs.Path;
-import javax.ws.rs.PathParam;
-import javax.ws.rs.core.MediaType;
-
-import org.jclouds.http.filters.BasicAuthentication;
-import org.jclouds.ibm.smartcloud.domain.Address;
-import org.jclouds.ibm.smartcloud.domain.Image;
-import org.jclouds.ibm.smartcloud.domain.Instance;
-import org.jclouds.ibm.smartcloud.domain.Key;
-import org.jclouds.ibm.smartcloud.domain.Location;
-import org.jclouds.ibm.smartcloud.domain.Offering;
-import org.jclouds.ibm.smartcloud.domain.StorageOffering;
-import org.jclouds.ibm.smartcloud.domain.Volume;
-import org.jclouds.ibm.smartcloud.functions.ParseLongFromDate;
-import org.jclouds.ibm.smartcloud.options.CreateInstanceOptions;
-import org.jclouds.ibm.smartcloud.options.RestartInstanceOptions;
-import org.jclouds.ibm.smartcloud.xml.LocationHandler;
-import org.jclouds.ibm.smartcloud.xml.LocationsHandler;
-import org.jclouds.rest.annotations.ExceptionParser;
-import org.jclouds.rest.annotations.FormParams;
-import org.jclouds.rest.annotations.ParamParser;
-import org.jclouds.rest.annotations.RequestFilters;
-import org.jclouds.rest.annotations.SkipEncoding;
-import org.jclouds.rest.annotations.Unwrap;
-import org.jclouds.rest.annotations.XMLResponseParser;
-import org.jclouds.rest.functions.ReturnEmptySetOnNotFoundOr404;
-import org.jclouds.rest.functions.ReturnNullOnNotFoundOr404;
-import org.jclouds.rest.functions.ReturnVoidOnNotFoundOr404;
-
-import com.google.common.util.concurrent.ListenableFuture;
-
-/**
- * Provides asynchronous access to IBMSmartCloud via their REST API.
- * <p/>
- *
- * @see IBMSmartCloudClient
- * @see <a href="http://www-180.ibm.com/cloud/enterprise/beta/support" />
- * @author Adrian Cole
- */
-@RequestFilters(BasicAuthentication.class)
-@SkipEncoding( { '{', '}' })
-public interface IBMSmartCloudAsyncClient {
- public static final String VERSION = "20100331";
-
- /**
- * @see IBMSmartCloudClient#listImages()
- */
- @GET
- @Path(IBMSmartCloudAsyncClient.VERSION + "/offerings/image")
- @Consumes(MediaType.APPLICATION_JSON)
- @Unwrap
- @ExceptionParser(ReturnEmptySetOnNotFoundOr404.class)
- ListenableFuture<Set<? extends Image>> listImages();
-
- /**
- * @see IBMSmartCloudClient#getImage(long)
- */
- @GET
- @ExceptionParser(ReturnNullOnNotFoundOr404.class)
- @Path(IBMSmartCloudAsyncClient.VERSION + "/offerings/image/{imageId}")
- @Consumes(MediaType.APPLICATION_JSON)
- ListenableFuture<Image> getImage(@PathParam("imageId") String id);
-
- /**
- * @see IBMSmartCloudClient#getManifestOfImage
- */
- @GET
- @Path(IBMSmartCloudAsyncClient.VERSION + "/offerings/image/{imageId}/manifest")
- @ExceptionParser(ReturnNullOnNotFoundOr404.class)
- @Consumes(MediaType.TEXT_XML)
- ListenableFuture<String> getManifestOfImage(@PathParam("imageId") String id);
-
- /**
- * @see IBMSmartCloudClient#deleteImage
- */
- @DELETE
- @Path(IBMSmartCloudAsyncClient.VERSION + "/offerings/image/{imageId}")
- @ExceptionParser(ReturnVoidOnNotFoundOr404.class)
- ListenableFuture<Void> deleteImage(@PathParam("imageId") String id);
-
- /**
- * @see IBMSmartCloudClient#setImageVisibility(long, Image.Visibility)
- */
- @PUT
- @ExceptionParser(ReturnNullOnNotFoundOr404.class)
- @Path(IBMSmartCloudAsyncClient.VERSION + "/offerings/image/{imageId}")
- @Consumes(MediaType.APPLICATION_JSON)
- ListenableFuture<Image> setImageVisibility(@PathParam("imageId") String id,
- @FormParam("visibility") Image.Visibility visibility);
-
- /**
- * @see IBMSmartCloudClient#listInstancesFromRequest(long)
- */
- @GET
- @Path(IBMSmartCloudAsyncClient.VERSION + "/requests/{requestId}")
- @Unwrap
- @ExceptionParser(ReturnEmptySetOnNotFoundOr404.class)
- @Consumes(MediaType.APPLICATION_JSON)
- ListenableFuture<Set<? extends Instance>> listInstancesFromRequest(@PathParam("requestId") String requestId);
-
- /**
- * @see IBMSmartCloudClient#listInstances()
- */
- @GET
- @Path(IBMSmartCloudAsyncClient.VERSION + "/instances")
- @Consumes(MediaType.APPLICATION_JSON)
- @Unwrap
- @ExceptionParser(ReturnEmptySetOnNotFoundOr404.class)
- ListenableFuture<Set<? extends Instance>> listInstances();
-
- /**
- * @see IBMSmartCloudClient#getInstance(long)
- */
- @GET
- @ExceptionParser(ReturnNullOnNotFoundOr404.class)
- @Path(IBMSmartCloudAsyncClient.VERSION + "/instances/{instanceId}")
- @Consumes(MediaType.APPLICATION_JSON)
- ListenableFuture<Instance> getInstance(@PathParam("instanceId") String id);
-
- /**
- *
- * @see IBMSmartCloudClient#extendReservationForInstance(long,Date)
- */
- @PUT
- @Path(IBMSmartCloudAsyncClient.VERSION + "/instances/{instanceId}")
- @Consumes(MediaType.APPLICATION_JSON)
- @Unwrap
- ListenableFuture<Date> extendReservationForInstance(@PathParam("instanceId") String id,
- @FormParam("expirationTime") @ParamParser(ParseLongFromDate.class) Date expirationTime);
-
- /**
- * @see IBMSmartCloudClient#restartInstance
- */
- @PUT
- @Path(IBMSmartCloudAsyncClient.VERSION + "/instances/{instanceId}")
- @FormParams(keys = "state", values = "restart")
- ListenableFuture<Void> restartInstance(@PathParam("instanceId") String id, RestartInstanceOptions... options);
-
- /**
- * @see IBMSmartCloudClient#saveInstanceToImage
- */
- @PUT
- @Path(IBMSmartCloudAsyncClient.VERSION + "/instances/{instanceId}")
- @Consumes(MediaType.APPLICATION_JSON)
- @FormParams(keys = "state", values = "save")
- ListenableFuture<Image> saveInstanceToImage(@PathParam("instanceId") String id,
- @FormParam("name") String toImageName, @FormParam("description") String toImageDescription);
-
- /**
- * @see IBMSmartCloudClient#createInstanceInLocation
- */
- @POST
- @Path(IBMSmartCloudAsyncClient.VERSION + "/instances")
- @Consumes(MediaType.APPLICATION_JSON)
- @Unwrap(depth = 2, edgeCollection = Set.class)
- ListenableFuture<Instance> createInstanceInLocation(@FormParam("location") String location,
- @FormParam("name") String name, @FormParam("imageID") String imageID,
- @FormParam("instanceType") String instanceType, CreateInstanceOptions... options);
-
- /**
- * @see IBMSmartCloudClient#deleteInstance
- */
- @DELETE
- @Path(IBMSmartCloudAsyncClient.VERSION + "/instances/{instanceId}")
- @ExceptionParser(ReturnVoidOnNotFoundOr404.class)
- ListenableFuture<Void> deleteInstance(@PathParam("instanceId") String id);
-
- /**
- * @see IBMSmartCloudClient#listKeys()
- */
- @GET
- @Path(IBMSmartCloudAsyncClient.VERSION + "/keys")
- @Consumes(MediaType.APPLICATION_JSON)
- @Unwrap
- @ExceptionParser(ReturnEmptySetOnNotFoundOr404.class)
- ListenableFuture<Set<? extends Key>> listKeys();
-
- /**
- * @see IBMSmartCloudClient#generateKeyPair(String)
- */
- @POST
- @Path(IBMSmartCloudAsyncClient.VERSION + "/keys")
- @Consumes(MediaType.APPLICATION_JSON)
- ListenableFuture<Key> generateKeyPair(@FormParam("name") String name);
-
- /**
- * @see IBMSmartCloudClient#addPublicKey(String, String)
- */
- @POST
- @Path(IBMSmartCloudAsyncClient.VERSION + "/keys")
- ListenableFuture<Void> addPublicKey(@FormParam("name") String name, @FormParam("publicKey") String publicKey);
-
- /**
- * @see IBMSmartCloudClient#updatePublicKey(String, String)
- */
- @PUT
- @Path(IBMSmartCloudAsyncClient.VERSION + "/keys/{keyName}")
- ListenableFuture<Void> updatePublicKey(@PathParam("keyName") String name, @FormParam("publicKey") String publicKey);
-
- /**
- * @see IBMSmartCloudClient#setDefaultStatusOfKey(String, boolean)
- */
- @PUT
- @Path(IBMSmartCloudAsyncClient.VERSION + "/keys/{keyName}")
- ListenableFuture<Void> setDefaultStatusOfKey(@PathParam("keyName") String name,
- @FormParam("default") boolean isDefault);
-
- /**
- * @see IBMSmartCloudClient#getKey(String)
- */
- @GET
- @ExceptionParser(ReturnNullOnNotFoundOr404.class)
- @Path(IBMSmartCloudAsyncClient.VERSION + "/keys/{keyName}")
- @Consumes(MediaType.APPLICATION_JSON)
- ListenableFuture<Key> getKey(@PathParam("keyName") String name);
-
- /**
- * @see IBMSmartCloudClient#deleteKey
- */
- @DELETE
- @Path(IBMSmartCloudAsyncClient.VERSION + "/keys/{keyName}")
- @ExceptionParser(ReturnVoidOnNotFoundOr404.class)
- ListenableFuture<Void> deleteKey(@PathParam("keyName") String name);
-
- /**
- * @see IBMSmartCloudClient#listStorageOfferings()
- */
- @GET
- @Path(IBMSmartCloudAsyncClient.VERSION + "/offerings/storage")
- @Unwrap
- @Consumes(MediaType.APPLICATION_JSON)
- @ExceptionParser(ReturnEmptySetOnNotFoundOr404.class)
- ListenableFuture<Set<? extends StorageOffering>> listStorageOfferings();
-
- /**
- * @see IBMSmartCloudClient#listVolumes()
- */
- @GET
- @Path(IBMSmartCloudAsyncClient.VERSION + "/storage")
- @Unwrap
- @Consumes(MediaType.APPLICATION_JSON)
- @ExceptionParser(ReturnEmptySetOnNotFoundOr404.class)
- ListenableFuture<Set<? extends Volume>> listVolumes();
-
- /**
- * @see IBMSmartCloudClient#createVolumeInLocation
- */
- @POST
- @Path(IBMSmartCloudAsyncClient.VERSION + "/storage")
- @Consumes(MediaType.APPLICATION_JSON)
- ListenableFuture<Volume> createVolumeInLocation(@FormParam("location") String location,
- @FormParam("name") String name, @FormParam("format") String format, @FormParam("size") String size,
- @FormParam("offeringID") String offeringID);
-
- /**
- * @see IBMSmartCloudClient#getVolume(long)
- */
- @GET
- @ExceptionParser(ReturnNullOnNotFoundOr404.class)
- @Path(IBMSmartCloudAsyncClient.VERSION + "/storage/{volumeId}")
- @Consumes(MediaType.APPLICATION_JSON)
- ListenableFuture<Volume> getVolume(@PathParam("volumeId") String id);
-
- /**
- * @see IBMSmartCloudClient#deleteVolume
- */
- @DELETE
- @Path(IBMSmartCloudAsyncClient.VERSION + "/storage/{volumeId}")
- @ExceptionParser(ReturnVoidOnNotFoundOr404.class)
- ListenableFuture<Void> deleteVolume(@PathParam("volumeId") String id);
-
- /**
- * @see IBMSmartCloudClient#listLocations()
- */
- @GET
- @Path(IBMSmartCloudAsyncClient.VERSION + "/locations")
- @Consumes(MediaType.TEXT_XML)
- @XMLResponseParser(LocationsHandler.class)
- @ExceptionParser(ReturnEmptySetOnNotFoundOr404.class)
- ListenableFuture<Set<? extends Location>> listLocations();
-
- /**
- * @see IBMSmartCloudClient#getLocation
- */
- @GET
- @ExceptionParser(ReturnNullOnNotFoundOr404.class)
- @Path(IBMSmartCloudAsyncClient.VERSION + "/locations/{locationId}")
- @Consumes(MediaType.TEXT_XML)
- @XMLResponseParser(LocationHandler.class)
- ListenableFuture<Location> getLocation(@PathParam("locationId") String id);
-
- /**
- * @see IBMSmartCloudClient#listAddressOfferings()
- */
- @GET
- @Path(IBMSmartCloudAsyncClient.VERSION + "/offerings/address")
- @Unwrap
- @Consumes(MediaType.APPLICATION_JSON)
- @ExceptionParser(ReturnEmptySetOnNotFoundOr404.class)
- ListenableFuture<Set<? extends Offering>> listAddressOfferings();
-
- /**
- * @see IBMSmartCloudClient#listAddresses()
- */
- @GET
- @Path(IBMSmartCloudAsyncClient.VERSION + "/addresses")
- @Consumes(MediaType.APPLICATION_JSON)
- @Unwrap
- @ExceptionParser(ReturnEmptySetOnNotFoundOr404.class)
- ListenableFuture<Set<? extends Address>> listAddresses();
-
- /**
- * @see IBMSmartCloudClient#allocateAddressInLocation
- */
- @POST
- @Path(IBMSmartCloudAsyncClient.VERSION + "/addresses")
- @Consumes(MediaType.APPLICATION_JSON)
- ListenableFuture<Address> allocateAddressInLocation(@FormParam("location") String locationId,
- @FormParam("offeringID") String offeringID);
-
- /**
- * @see IBMSmartCloudClient#releaseAddress
- */
- @DELETE
- @Path(IBMSmartCloudAsyncClient.VERSION + "/addresses/{addressId}")
- @ExceptionParser(ReturnVoidOnNotFoundOr404.class)
- ListenableFuture<Void> releaseAddress(@PathParam("addressId") String id);
-
-}