From 3e8321aa8fa5372c7641c11a953bd4e5bf815185 Mon Sep 17 00:00:00 2001 From: Adrian Cole Date: Fri, 4 Mar 2011 16:14:06 -0500 Subject: [PATCH] updated savvis to the correct naming convention and maven dependencies --- .../{savvis => savvis-symphony-vpdc}/pom.xml | 17 ++++++++++++----- .../jclouds/savvis/SymphonyVPDCAsyncClient.java | 1 - .../org/jclouds/savvis/SymphonyVPDCClient.java | 0 .../savvis/SymphonyVPDCContextBuilder.java | 0 .../savvis/SymphonyVPDCPropertiesBuilder.java | 0 ...SymphonyVPDCComputeServiceContextModule.java | 0 .../config/SymphonyVPDCRestClientModule.java | 0 .../handlers/SymphonyVPDCErrorHandler.java | 0 .../domain/network/SymphonyVPDCNetwork.java | 0 .../internal/SymphonyVPDCNetworkImpl.java | 0 .../savvis/xml/SymphonyVPDCNetworkHandler.java | 0 .../savvis/xml/SymphonyVPDCVAppHandler.java | 0 .../savvis/SymphonyVPDCAsyncClientTest.java | 9 ++++----- .../savvis/SymphonyVPDCClientLiveTest.java | 0 .../handlers/SymphonyVPDCErrorHandlerTest.java | 0 .../SymphonyVPDCComputeServiceLiveTest.java | 0 16 files changed, 16 insertions(+), 11 deletions(-) rename sandbox-providers/{savvis => savvis-symphony-vpdc}/pom.xml (94%) rename sandbox-providers/{savvis => savvis-symphony-vpdc}/src/main/java/org/jclouds/savvis/SymphonyVPDCAsyncClient.java (99%) rename sandbox-providers/{savvis => savvis-symphony-vpdc}/src/main/java/org/jclouds/savvis/SymphonyVPDCClient.java (100%) rename sandbox-providers/{savvis => savvis-symphony-vpdc}/src/main/java/org/jclouds/savvis/SymphonyVPDCContextBuilder.java (100%) rename sandbox-providers/{savvis => savvis-symphony-vpdc}/src/main/java/org/jclouds/savvis/SymphonyVPDCPropertiesBuilder.java (100%) rename sandbox-providers/{savvis => savvis-symphony-vpdc}/src/main/java/org/jclouds/savvis/compute/config/SymphonyVPDCComputeServiceContextModule.java (100%) rename sandbox-providers/{savvis => savvis-symphony-vpdc}/src/main/java/org/jclouds/savvis/config/SymphonyVPDCRestClientModule.java (100%) rename sandbox-providers/{savvis => savvis-symphony-vpdc}/src/main/java/org/jclouds/savvis/handlers/SymphonyVPDCErrorHandler.java (100%) rename sandbox-providers/{savvis => savvis-symphony-vpdc}/src/main/java/org/jclouds/vcloud/domain/network/SymphonyVPDCNetwork.java (100%) rename sandbox-providers/{savvis => savvis-symphony-vpdc}/src/main/java/org/jclouds/vcloud/domain/network/internal/SymphonyVPDCNetworkImpl.java (100%) rename sandbox-providers/{savvis => savvis-symphony-vpdc}/src/main/java/org/jclouds/vcloud/savvis/xml/SymphonyVPDCNetworkHandler.java (100%) rename sandbox-providers/{savvis => savvis-symphony-vpdc}/src/main/java/org/jclouds/vcloud/savvis/xml/SymphonyVPDCVAppHandler.java (100%) rename sandbox-providers/{savvis => savvis-symphony-vpdc}/src/test/java/org/jclouds/savvis/SymphonyVPDCAsyncClientTest.java (99%) rename sandbox-providers/{savvis => savvis-symphony-vpdc}/src/test/java/org/jclouds/savvis/SymphonyVPDCClientLiveTest.java (100%) rename sandbox-providers/{savvis => savvis-symphony-vpdc}/src/test/java/org/jclouds/savvis/handlers/SymphonyVPDCErrorHandlerTest.java (100%) rename sandbox-providers/{savvis => savvis-symphony-vpdc}/src/test/java/org/jclouds/vcloud/savvis/compute/SymphonyVPDCComputeServiceLiveTest.java (100%) diff --git a/sandbox-providers/savvis/pom.xml b/sandbox-providers/savvis-symphony-vpdc/pom.xml similarity index 94% rename from sandbox-providers/savvis/pom.xml rename to sandbox-providers/savvis-symphony-vpdc/pom.xml index 9b739298d0..d9c357c863 100644 --- a/sandbox-providers/savvis/pom.xml +++ b/sandbox-providers/savvis-symphony-vpdc/pom.xml @@ -31,7 +31,7 @@ ../../project/pom.xml org.jclouds.provider - savvis + savvis-symphony-vpdc jclouds savvis core jclouds components to access savvis @@ -59,13 +59,13 @@ - org.jclouds - jclouds-vcloud + org.jclouds.api + vcloudexpress ${project.version} - org.jclouds - jclouds-core + org.jclouds.api + vcloudexpress ${project.version} test-jar test @@ -84,6 +84,13 @@ test-jar test + + org.jclouds + jclouds-core + ${project.version} + test-jar + test + org.jclouds.driver jclouds-jsch diff --git a/sandbox-providers/savvis/src/main/java/org/jclouds/savvis/SymphonyVPDCAsyncClient.java b/sandbox-providers/savvis-symphony-vpdc/src/main/java/org/jclouds/savvis/SymphonyVPDCAsyncClient.java similarity index 99% rename from sandbox-providers/savvis/src/main/java/org/jclouds/savvis/SymphonyVPDCAsyncClient.java rename to sandbox-providers/savvis-symphony-vpdc/src/main/java/org/jclouds/savvis/SymphonyVPDCAsyncClient.java index 867f000d1f..09d81b1942 100644 --- a/sandbox-providers/savvis/src/main/java/org/jclouds/savvis/SymphonyVPDCAsyncClient.java +++ b/sandbox-providers/savvis-symphony-vpdc/src/main/java/org/jclouds/savvis/SymphonyVPDCAsyncClient.java @@ -30,7 +30,6 @@ import org.jclouds.rest.annotations.RequestFilters; import org.jclouds.rest.annotations.XMLResponseParser; import org.jclouds.rest.functions.ReturnNullOnNotFoundOr404; import org.jclouds.vcloud.CommonVCloudClient; -import org.jclouds.vcloud.VCloudClient; import org.jclouds.vcloud.VCloudExpressAsyncClient; import org.jclouds.vcloud.domain.Org; import org.jclouds.vcloud.domain.VCloudExpressVApp; diff --git a/sandbox-providers/savvis/src/main/java/org/jclouds/savvis/SymphonyVPDCClient.java b/sandbox-providers/savvis-symphony-vpdc/src/main/java/org/jclouds/savvis/SymphonyVPDCClient.java similarity index 100% rename from sandbox-providers/savvis/src/main/java/org/jclouds/savvis/SymphonyVPDCClient.java rename to sandbox-providers/savvis-symphony-vpdc/src/main/java/org/jclouds/savvis/SymphonyVPDCClient.java diff --git a/sandbox-providers/savvis/src/main/java/org/jclouds/savvis/SymphonyVPDCContextBuilder.java b/sandbox-providers/savvis-symphony-vpdc/src/main/java/org/jclouds/savvis/SymphonyVPDCContextBuilder.java similarity index 100% rename from sandbox-providers/savvis/src/main/java/org/jclouds/savvis/SymphonyVPDCContextBuilder.java rename to sandbox-providers/savvis-symphony-vpdc/src/main/java/org/jclouds/savvis/SymphonyVPDCContextBuilder.java diff --git a/sandbox-providers/savvis/src/main/java/org/jclouds/savvis/SymphonyVPDCPropertiesBuilder.java b/sandbox-providers/savvis-symphony-vpdc/src/main/java/org/jclouds/savvis/SymphonyVPDCPropertiesBuilder.java similarity index 100% rename from sandbox-providers/savvis/src/main/java/org/jclouds/savvis/SymphonyVPDCPropertiesBuilder.java rename to sandbox-providers/savvis-symphony-vpdc/src/main/java/org/jclouds/savvis/SymphonyVPDCPropertiesBuilder.java diff --git a/sandbox-providers/savvis/src/main/java/org/jclouds/savvis/compute/config/SymphonyVPDCComputeServiceContextModule.java b/sandbox-providers/savvis-symphony-vpdc/src/main/java/org/jclouds/savvis/compute/config/SymphonyVPDCComputeServiceContextModule.java similarity index 100% rename from sandbox-providers/savvis/src/main/java/org/jclouds/savvis/compute/config/SymphonyVPDCComputeServiceContextModule.java rename to sandbox-providers/savvis-symphony-vpdc/src/main/java/org/jclouds/savvis/compute/config/SymphonyVPDCComputeServiceContextModule.java diff --git a/sandbox-providers/savvis/src/main/java/org/jclouds/savvis/config/SymphonyVPDCRestClientModule.java b/sandbox-providers/savvis-symphony-vpdc/src/main/java/org/jclouds/savvis/config/SymphonyVPDCRestClientModule.java similarity index 100% rename from sandbox-providers/savvis/src/main/java/org/jclouds/savvis/config/SymphonyVPDCRestClientModule.java rename to sandbox-providers/savvis-symphony-vpdc/src/main/java/org/jclouds/savvis/config/SymphonyVPDCRestClientModule.java diff --git a/sandbox-providers/savvis/src/main/java/org/jclouds/savvis/handlers/SymphonyVPDCErrorHandler.java b/sandbox-providers/savvis-symphony-vpdc/src/main/java/org/jclouds/savvis/handlers/SymphonyVPDCErrorHandler.java similarity index 100% rename from sandbox-providers/savvis/src/main/java/org/jclouds/savvis/handlers/SymphonyVPDCErrorHandler.java rename to sandbox-providers/savvis-symphony-vpdc/src/main/java/org/jclouds/savvis/handlers/SymphonyVPDCErrorHandler.java diff --git a/sandbox-providers/savvis/src/main/java/org/jclouds/vcloud/domain/network/SymphonyVPDCNetwork.java b/sandbox-providers/savvis-symphony-vpdc/src/main/java/org/jclouds/vcloud/domain/network/SymphonyVPDCNetwork.java similarity index 100% rename from sandbox-providers/savvis/src/main/java/org/jclouds/vcloud/domain/network/SymphonyVPDCNetwork.java rename to sandbox-providers/savvis-symphony-vpdc/src/main/java/org/jclouds/vcloud/domain/network/SymphonyVPDCNetwork.java diff --git a/sandbox-providers/savvis/src/main/java/org/jclouds/vcloud/domain/network/internal/SymphonyVPDCNetworkImpl.java b/sandbox-providers/savvis-symphony-vpdc/src/main/java/org/jclouds/vcloud/domain/network/internal/SymphonyVPDCNetworkImpl.java similarity index 100% rename from sandbox-providers/savvis/src/main/java/org/jclouds/vcloud/domain/network/internal/SymphonyVPDCNetworkImpl.java rename to sandbox-providers/savvis-symphony-vpdc/src/main/java/org/jclouds/vcloud/domain/network/internal/SymphonyVPDCNetworkImpl.java diff --git a/sandbox-providers/savvis/src/main/java/org/jclouds/vcloud/savvis/xml/SymphonyVPDCNetworkHandler.java b/sandbox-providers/savvis-symphony-vpdc/src/main/java/org/jclouds/vcloud/savvis/xml/SymphonyVPDCNetworkHandler.java similarity index 100% rename from sandbox-providers/savvis/src/main/java/org/jclouds/vcloud/savvis/xml/SymphonyVPDCNetworkHandler.java rename to sandbox-providers/savvis-symphony-vpdc/src/main/java/org/jclouds/vcloud/savvis/xml/SymphonyVPDCNetworkHandler.java diff --git a/sandbox-providers/savvis/src/main/java/org/jclouds/vcloud/savvis/xml/SymphonyVPDCVAppHandler.java b/sandbox-providers/savvis-symphony-vpdc/src/main/java/org/jclouds/vcloud/savvis/xml/SymphonyVPDCVAppHandler.java similarity index 100% rename from sandbox-providers/savvis/src/main/java/org/jclouds/vcloud/savvis/xml/SymphonyVPDCVAppHandler.java rename to sandbox-providers/savvis-symphony-vpdc/src/main/java/org/jclouds/vcloud/savvis/xml/SymphonyVPDCVAppHandler.java diff --git a/sandbox-providers/savvis/src/test/java/org/jclouds/savvis/SymphonyVPDCAsyncClientTest.java b/sandbox-providers/savvis-symphony-vpdc/src/test/java/org/jclouds/savvis/SymphonyVPDCAsyncClientTest.java similarity index 99% rename from sandbox-providers/savvis/src/test/java/org/jclouds/savvis/SymphonyVPDCAsyncClientTest.java rename to sandbox-providers/savvis-symphony-vpdc/src/test/java/org/jclouds/savvis/SymphonyVPDCAsyncClientTest.java index 3855497930..6941b70844 100644 --- a/sandbox-providers/savvis/src/test/java/org/jclouds/savvis/SymphonyVPDCAsyncClientTest.java +++ b/sandbox-providers/savvis-symphony-vpdc/src/test/java/org/jclouds/savvis/SymphonyVPDCAsyncClientTest.java @@ -50,8 +50,10 @@ import org.jclouds.rest.internal.RestAnnotationProcessor; import org.jclouds.savvis.config.SymphonyVPDCRestClientModule; import org.jclouds.util.Strings2; import org.jclouds.vcloud.CommonVCloudClient; -import org.jclouds.vcloud.VCloudAsyncClient; +import org.jclouds.vcloud.VCloudExpressAsyncClient; +import org.jclouds.vcloud.VCloudExpressLoginAsyncClient; import org.jclouds.vcloud.VCloudExpressMediaType; +import org.jclouds.vcloud.VCloudVersionsAsyncClient; import org.jclouds.vcloud.domain.Org; import org.jclouds.vcloud.domain.ReferenceType; import org.jclouds.vcloud.domain.Task; @@ -85,9 +87,6 @@ import com.google.inject.Injector; import com.google.inject.Module; import com.google.inject.TypeLiteral; -import domain.VCloudExpressLoginAsyncClient; -import domain.VCloudVersionsAsyncClient; - /** * Tests annotation parsing of {@code SymphonyVPDCAsyncClient} * @@ -453,7 +452,7 @@ public class SymphonyVPDCAsyncClientTest extends RestClientTest