You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jclouds.apache.org by ad...@apache.org on 2014/10/05 01:11:41 UTC

[3/3] git commit: Remove opsource-servers, which hasn't been published in over a year.

Remove opsource-servers, which hasn't been published in over a year.


Project: http://git-wip-us.apache.org/repos/asf/jclouds-labs/repo
Commit: http://git-wip-us.apache.org/repos/asf/jclouds-labs/commit/3020b95e
Tree: http://git-wip-us.apache.org/repos/asf/jclouds-labs/tree/3020b95e
Diff: http://git-wip-us.apache.org/repos/asf/jclouds-labs/diff/3020b95e

Branch: refs/heads/master
Commit: 3020b95ee2accda9f7995917374dd5b31c76e5d7
Parents: 94c58b2
Author: Adrian Cole <ac...@twitter.com>
Authored: Sat Oct 4 12:28:21 2014 -0700
Committer: Adrian Cole <ad...@apache.org>
Committed: Sat Oct 4 16:11:28 2014 -0700

----------------------------------------------------------------------
 opsource-servers/pom.xml                        | 118 ---
 .../opsource/servers/OpSourceNameSpaces.java    |  24 -
 .../opsource/servers/OpSourceServersApi.java    |  49 -
 .../servers/OpSourceServersApiMetadata.java     |  81 --
 .../servers/OpSourceServersAsyncApi.java        |  49 -
 .../config/OpSourceServersRestClientModule.java |  71 --
 .../opsource/servers/domain/Account.java        | 100 --
 .../opsource/servers/domain/BaseServer.java     |  72 --
 .../opsource/servers/domain/DataCenter.java     | 218 ----
 .../servers/domain/DataCentersList.java         | 101 --
 .../opsource/servers/domain/DeployedServer.java | 222 -----
 .../servers/domain/DeployedServersList.java     | 101 --
 .../servers/domain/MachineSpecification.java    | 145 ---
 .../servers/domain/OperatingSystem.java         | 107 --
 .../servers/domain/PendingDeployServer.java     | 168 ----
 .../domain/PendingDeployServersList.java        | 101 --
 .../opsource/servers/domain/ServerImage.java    | 216 ----
 .../servers/domain/ServerImagesList.java        | 101 --
 .../jclouds/opsource/servers/domain/Status.java | 172 ----
 .../jclouds/opsource/servers/domain/Step.java   | 117 ---
 .../opsource/servers/features/AccountApi.java   |  45 -
 .../servers/features/AccountAsyncApi.java       |  56 --
 .../opsource/servers/features/ServerApi.java    |  40 -
 .../servers/features/ServerAsyncApi.java        |  56 --
 .../servers/features/ServerImageApi.java        |  34 -
 .../servers/features/ServerImageAsyncApi.java   |  45 -
 .../handlers/OpSourceServersErrorHandler.java   |  61 --
 .../services/org.jclouds.apis.ApiMetadata       |   1 -
 .../OpSourceServersApiExperimentLiveTest.java   |  31 -
 .../servers/features/AccountApiExpectTest.java  |  49 -
 .../servers/features/AccountApiLiveTest.java    |  42 -
 .../servers/features/ServerApiLiveTest.java     |  45 -
 .../features/ServerImageApiExpectTest.java      |  49 -
 .../features/ServerImageApiLiveTest.java        |  34 -
 .../OpSourceServersErrorHandlerTest.java        |  96 --
 .../BaseOpSourceServersApiLiveTest.java         |  54 -
 .../BaseOpSourceServersRestApiExpectTest.java   |  39 -
 .../src/test/resources/dataCenters.xml          |  25 -
 .../src/test/resources/deployedServers.xml      | 216 ----
 opsource-servers/src/test/resources/images.xml  | 995 -------------------
 opsource-servers/src/test/resources/log4j.xml   | 151 ---
 .../src/test/resources/myaccount.xml            |  32 -
 .../src/test/resources/pendingDeployServers.xml |   2 -
 .../src/test/resources/serverDetails.xml        |  21 -
 44 files changed, 4552 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jclouds-labs/blob/3020b95e/opsource-servers/pom.xml
----------------------------------------------------------------------
diff --git a/opsource-servers/pom.xml b/opsource-servers/pom.xml
deleted file mode 100644
index 9a0f0b0..0000000
--- a/opsource-servers/pom.xml
+++ /dev/null
@@ -1,118 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
-    Licensed to the Apache Software Foundation (ASF) under one or more
-    contributor license agreements.  See the NOTICE file distributed with
-    this work for additional information regarding copyright ownership.
-    The ASF 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.apache.jclouds.labs</groupId>
-    <artifactId>jclouds-labs</artifactId>
-    <version>2.0.0-SNAPSHOT</version>
-  </parent>
-
-  <!-- TODO: when out of labs, switch to org.jclouds.provider -->
-  <groupId>org.apache.jclouds.labs</groupId>
-  <artifactId>opsource-servers</artifactId>
-  <name>jclouds opsource-servers provider</name>
-  <description>jclouds components to access an implementation of OpSource Cloud Servers</description>
-  <packaging>bundle</packaging>
-
-  <properties>
-    <test.opsource-servers.endpoint>https://api.opsourcecloud.net/oec/${jclouds.api-version}</test.opsource-servers.endpoint>
-    <test.opsource-servers.api-version>0.9</test.opsource-servers.api-version>
-    <test.opsource-servers.build-version />
-    <test.opsource-servers.identity>FIXME_USERNAME</test.opsource-servers.identity>
-    <test.opsource-servers.credential>FIXME_PASSWORD</test.opsource-servers.credential>
-    <test.opsource-servers.template />
-    <jclouds.osgi.export>org.jclouds.vcloud.director.v1_5*;version="${project.version}"</jclouds.osgi.export>
-    <jclouds.osgi.import>
-      org.jclouds.compute.internal;version="${project.version}",
-      org.jclouds.rest.internal;version="${project.version}",
-      org.jclouds*;version="${project.version}",
-      *
-    </jclouds.osgi.import>
-  </properties>
-
-  <dependencies>
-    <dependency>
-      <groupId>org.apache.jclouds</groupId>
-      <artifactId>jclouds-compute</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jclouds</groupId>
-      <artifactId>jclouds-core</artifactId>
-      <version>${project.version}</version>
-      <type>test-jar</type>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jclouds</groupId>
-      <artifactId>jclouds-compute</artifactId>
-      <version>${project.version}</version>
-      <type>test-jar</type>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jclouds.driver</groupId>
-      <artifactId>jclouds-sshj</artifactId>
-      <version>${project.version}</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jclouds.driver</groupId>
-      <artifactId>jclouds-log4j</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.opsource-servers.endpoint>${test.opsource-servers.endpoint}</test.opsource-servers.endpoint>
-                    <test.opsource-servers.api-version>${test.opsource-servers.api-version}</test.opsource-servers.api-version>
-                    <test.opsource-servers.build-version>${test.opsource-servers.build-version}</test.opsource-servers.build-version>
-                    <test.opsource-servers.identity>${test.opsource-servers.identity}</test.opsource-servers.identity>
-                    <test.opsource-servers.credential>${test.opsource-servers.credential}</test.opsource-servers.credential>
-                    <test.opsource-servers.template>${test.opsource-servers.template}</test.opsource-servers.template>
-                  </systemPropertyVariables>
-                </configuration>
-              </execution>
-            </executions>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-  </profiles>
-
-</project>

http://git-wip-us.apache.org/repos/asf/jclouds-labs/blob/3020b95e/opsource-servers/src/main/java/org/jclouds/opsource/servers/OpSourceNameSpaces.java
----------------------------------------------------------------------
diff --git a/opsource-servers/src/main/java/org/jclouds/opsource/servers/OpSourceNameSpaces.java b/opsource-servers/src/main/java/org/jclouds/opsource/servers/OpSourceNameSpaces.java
deleted file mode 100644
index 0ec420f..0000000
--- a/opsource-servers/src/main/java/org/jclouds/opsource/servers/OpSourceNameSpaces.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF 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.opsource.servers;
-
-
-public interface OpSourceNameSpaces {
-   public static final String DIRECTORY = "http://oec.api.opsource.net/schemas/directory";
-   public static final String DATACENTER = "http://oec.api.opsource.net/schemas/datacenter";
-   public static final String SERVER = "http://oec.api.opsource.net/schemas/server";
-}

http://git-wip-us.apache.org/repos/asf/jclouds-labs/blob/3020b95e/opsource-servers/src/main/java/org/jclouds/opsource/servers/OpSourceServersApi.java
----------------------------------------------------------------------
diff --git a/opsource-servers/src/main/java/org/jclouds/opsource/servers/OpSourceServersApi.java b/opsource-servers/src/main/java/org/jclouds/opsource/servers/OpSourceServersApi.java
deleted file mode 100644
index 9f3a94a..0000000
--- a/opsource-servers/src/main/java/org/jclouds/opsource/servers/OpSourceServersApi.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF 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.opsource.servers;
-
-import org.jclouds.opsource.servers.features.AccountApi;
-import org.jclouds.opsource.servers.features.ServerApi;
-import org.jclouds.opsource.servers.features.ServerImageApi;
-import org.jclouds.rest.annotations.Delegate;
-
-/**
- * Provides synchronous access to OpSourceServers.
- * 
- * @see OpSourceServersAsyncApi
- */
-public interface OpSourceServersApi {
-
-   /**
-    * @return synchronous access to {@link Account} features
-    */
-   @Delegate
-   AccountApi getAccountApi();
-
-   /**
-    * @return synchronous access to {@link ServerImage} features
-    */
-   @Delegate
-   ServerImageApi getServerImageApi();
-   
-   /**
-    * @return synchronous access to server features
-    */
-   @Delegate
-   ServerApi getServerApi();
-   
-}

http://git-wip-us.apache.org/repos/asf/jclouds-labs/blob/3020b95e/opsource-servers/src/main/java/org/jclouds/opsource/servers/OpSourceServersApiMetadata.java
----------------------------------------------------------------------
diff --git a/opsource-servers/src/main/java/org/jclouds/opsource/servers/OpSourceServersApiMetadata.java b/opsource-servers/src/main/java/org/jclouds/opsource/servers/OpSourceServersApiMetadata.java
deleted file mode 100644
index 0ad3282..0000000
--- a/opsource-servers/src/main/java/org/jclouds/opsource/servers/OpSourceServersApiMetadata.java
+++ /dev/null
@@ -1,81 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF 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.opsource.servers;
-
-import java.net.URI;
-import java.util.Properties;
-
-import org.jclouds.apis.ApiMetadata;
-import org.jclouds.opsource.servers.config.OpSourceServersRestClientModule;
-import org.jclouds.rest.RestContext;
-import org.jclouds.rest.internal.BaseRestApiMetadata;
-
-import com.google.common.reflect.TypeToken;
-
-/**
- * Implementation of {@link ApiMetadata} for API
- */
-public class OpSourceServersApiMetadata extends BaseRestApiMetadata {
-   
-   public static final TypeToken<RestContext<OpSourceServersApi, OpSourceServersAsyncApi>> CONTEXT_TOKEN = new TypeToken<RestContext<OpSourceServersApi, OpSourceServersAsyncApi>>() {
-      private static final long serialVersionUID = 1L;
-   };
-
-   @Override
-   public Builder toBuilder() {
-      return new Builder().fromApiMetadata(this);
-   }
-
-   public OpSourceServersApiMetadata() {
-      this(new Builder());
-   }
-
-   protected OpSourceServersApiMetadata(Builder builder) {
-      super(builder);
-   }
-
-   public static Properties defaultProperties() {
-      Properties properties = BaseRestApiMetadata.defaultProperties();
-      return properties;
-   }
-
-   public static class Builder extends BaseRestApiMetadata.Builder<Builder> {
-
-      protected Builder() {
-         super(OpSourceServersApi.class, OpSourceServersAsyncApi.class);
-         id("opsource-servers")
-         .name("OpSourceServers API")
-         .identityName("Username")
-         .credentialName("API Key")
-         .documentation(URI.create("http://www.opsource.net/Services/Cloud-Hosting/Open-API"))
-         .version("0.9")
-         .defaultEndpoint("https://api.opsourcecloud.net/oec/${jclouds.api-version}")
-         .defaultProperties(OpSourceServersApiMetadata.defaultProperties())
-         .defaultModule(OpSourceServersRestClientModule.class);
-      }
-
-      @Override
-      public OpSourceServersApiMetadata build() {
-         return new OpSourceServersApiMetadata(this);
-      }
-
-      @Override
-      protected Builder self() {
-         return this;
-      }
-   }
-}

http://git-wip-us.apache.org/repos/asf/jclouds-labs/blob/3020b95e/opsource-servers/src/main/java/org/jclouds/opsource/servers/OpSourceServersAsyncApi.java
----------------------------------------------------------------------
diff --git a/opsource-servers/src/main/java/org/jclouds/opsource/servers/OpSourceServersAsyncApi.java b/opsource-servers/src/main/java/org/jclouds/opsource/servers/OpSourceServersAsyncApi.java
deleted file mode 100644
index d033aff..0000000
--- a/opsource-servers/src/main/java/org/jclouds/opsource/servers/OpSourceServersAsyncApi.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF 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.opsource.servers;
-
-import org.jclouds.opsource.servers.features.AccountAsyncApi;
-import org.jclouds.opsource.servers.features.ServerAsyncApi;
-import org.jclouds.opsource.servers.features.ServerImageAsyncApi;
-import org.jclouds.rest.annotations.Delegate;
-
-/**
- * Provides asynchronous access to OpSourceServers via their REST API.
- * 
- * @see OpSourceServersApi
- */
-public interface OpSourceServersAsyncApi {
-
-   /**
-    * @return asynchronous access to {@link Account} features
-    */
-   @Delegate
-   AccountAsyncApi getAccountApi();
-   
-   /**
-    * @return asynchronous access to {@link ServerImage} features
-    */
-   @Delegate
-   ServerImageAsyncApi getServerImageApi();
-   
-   /**
-    * @return asynchronous access to server features
-    */
-   @Delegate
-   ServerAsyncApi getServerApi();
-
-}

http://git-wip-us.apache.org/repos/asf/jclouds-labs/blob/3020b95e/opsource-servers/src/main/java/org/jclouds/opsource/servers/config/OpSourceServersRestClientModule.java
----------------------------------------------------------------------
diff --git a/opsource-servers/src/main/java/org/jclouds/opsource/servers/config/OpSourceServersRestClientModule.java b/opsource-servers/src/main/java/org/jclouds/opsource/servers/config/OpSourceServersRestClientModule.java
deleted file mode 100644
index 96d0c2f..0000000
--- a/opsource-servers/src/main/java/org/jclouds/opsource/servers/config/OpSourceServersRestClientModule.java
+++ /dev/null
@@ -1,71 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF 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.opsource.servers.config;
-
-import java.util.Map;
-
-import org.jclouds.http.HttpErrorHandler;
-import org.jclouds.http.annotation.ClientError;
-import org.jclouds.http.annotation.Redirection;
-import org.jclouds.http.annotation.ServerError;
-import org.jclouds.location.suppliers.ImplicitLocationSupplier;
-import org.jclouds.location.suppliers.implicit.OnlyLocationOrFirstZone;
-import org.jclouds.opsource.servers.OpSourceServersAsyncApi;
-import org.jclouds.opsource.servers.OpSourceServersApi;
-import org.jclouds.opsource.servers.features.AccountAsyncApi;
-import org.jclouds.opsource.servers.features.AccountApi;
-import org.jclouds.opsource.servers.features.ServerAsyncApi;
-import org.jclouds.opsource.servers.features.ServerApi;
-import org.jclouds.opsource.servers.features.ServerImageAsyncApi;
-import org.jclouds.opsource.servers.features.ServerImageApi;
-import org.jclouds.opsource.servers.handlers.OpSourceServersErrorHandler;
-import org.jclouds.rest.ConfiguresRestClient;
-import org.jclouds.rest.config.RestClientModule;
-
-import com.google.common.collect.ImmutableMap;
-import com.google.inject.Scopes;
-
-/**
- * Configures the OpSourceServers connection.
- */
-@ConfiguresRestClient
-public class OpSourceServersRestClientModule extends
-      RestClientModule<OpSourceServersApi, OpSourceServersAsyncApi> {
-
-   public static final Map<Class<?>, Class<?>> DELEGATE_MAP = ImmutableMap.<Class<?>, Class<?>> builder()//
-         .put(AccountApi.class, AccountAsyncApi.class)
-         .put(ServerImageApi.class, ServerImageAsyncApi.class)
-         .put(ServerApi.class, ServerAsyncApi.class)
-         .build();
-
-   public OpSourceServersRestClientModule() {
-      super(DELEGATE_MAP);
-   }
-
-   @Override
-   protected void bindErrorHandlers() {
-      bind(HttpErrorHandler.class).annotatedWith(Redirection.class).to(OpSourceServersErrorHandler.class);
-      bind(HttpErrorHandler.class).annotatedWith(ClientError.class).to(OpSourceServersErrorHandler.class);
-      bind(HttpErrorHandler.class).annotatedWith(ServerError.class).to(OpSourceServersErrorHandler.class);
-   }
-
-   @Override
-   protected void installLocations() {
-      super.installLocations();
-      bind(ImplicitLocationSupplier.class).to(OnlyLocationOrFirstZone.class).in(Scopes.SINGLETON);
-   }
-}

http://git-wip-us.apache.org/repos/asf/jclouds-labs/blob/3020b95e/opsource-servers/src/main/java/org/jclouds/opsource/servers/domain/Account.java
----------------------------------------------------------------------
diff --git a/opsource-servers/src/main/java/org/jclouds/opsource/servers/domain/Account.java b/opsource-servers/src/main/java/org/jclouds/opsource/servers/domain/Account.java
deleted file mode 100644
index 0cb7f0f..0000000
--- a/opsource-servers/src/main/java/org/jclouds/opsource/servers/domain/Account.java
+++ /dev/null
@@ -1,100 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF 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.opsource.servers.domain;
-
-import static com.google.common.base.Objects.equal;
-import static org.jclouds.opsource.servers.OpSourceNameSpaces.DIRECTORY;
-
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlRootElement;
-
-import com.google.common.base.MoreObjects;
-import com.google.common.base.Objects;
-
-@XmlRootElement(name = "Account", namespace = DIRECTORY)
-public class Account {
-   public static Builder builder() {
-      return new Builder();
-   }
-
-   public Builder toBuilder() {
-      return new Builder().fromAccount(this);
-   }
-
-   public static class Builder {
-
-      private String orgId;
-
-      /**
-       * @see Account#getOrgId()
-       */
-      public Builder orgId(String orgId) {
-         this.orgId = orgId;
-         return this;
-      }
-
-      public Account build() {
-         return new Account(orgId);
-      }
-
-      public Builder fromAccount(Account in) {
-         return orgId(in.getOrgId());
-      }
-   }
-
-   private Account() {
-      // For JAXB and builder use
-   }
-
-   @XmlElement(namespace = DIRECTORY)
-   protected String orgId;
-
-   private Account(String orgId) {
-      this.orgId = orgId;
-   }
-
-   /**
-    * 
-    * @return your Organization ID that will be used as the basis for subsequent
-    *         API interactions
-    * 
-    */
-   public String getOrgId() {
-      return orgId;
-   }
-
-   @Override
-   public boolean equals(Object o) {
-      if (this == o)
-         return true;
-      if (o == null || getClass() != o.getClass())
-         return false;
-      Account that = Account.class.cast(o);
-      return equal(orgId, that.orgId);
-   }
-
-   @Override
-   public int hashCode() {
-      return Objects.hashCode(orgId);
-   }
-
-   @Override
-   public String toString() {
-      return MoreObjects.toStringHelper("").add("orgId", orgId).toString();
-   }
-
-}

http://git-wip-us.apache.org/repos/asf/jclouds-labs/blob/3020b95e/opsource-servers/src/main/java/org/jclouds/opsource/servers/domain/BaseServer.java
----------------------------------------------------------------------
diff --git a/opsource-servers/src/main/java/org/jclouds/opsource/servers/domain/BaseServer.java b/opsource-servers/src/main/java/org/jclouds/opsource/servers/domain/BaseServer.java
deleted file mode 100644
index 4bfae1f..0000000
--- a/opsource-servers/src/main/java/org/jclouds/opsource/servers/domain/BaseServer.java
+++ /dev/null
@@ -1,72 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF 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.opsource.servers.domain;
-
-import static com.google.common.base.Objects.equal;
-
-import com.google.common.base.MoreObjects;
-import com.google.common.base.Objects;
-
-public abstract class BaseServer {
-
-   protected BaseServer() {
-      // For JAXB and builder use
-   }
-
-   private String id;
-   private String name;
-   private String description;
-
-   protected BaseServer(String id, String name, String description) {
-      this.id = id;
-      this.name = name;
-      this.description = description;
-   }
-
-   public String getId() {
-      return id;
-   }
-
-   public String getName() {
-		return name;
-	}
-	
-	public String getDescription() {
-		return description;
-	}
-   
-   @Override
-   public boolean equals(Object o) {
-      if (this == o)
-         return true;
-      if (o == null || getClass() != o.getClass())
-         return false;
-      BaseServer that = BaseServer.class.cast(o);
-      return equal(id, that.id);
-   }
-
-   @Override
-   public int hashCode() {
-      return Objects.hashCode(id, name, description);
-   }
-
-   @Override
-   public String toString() {
-      return MoreObjects.toStringHelper("").toString();
-   }
-
-}

http://git-wip-us.apache.org/repos/asf/jclouds-labs/blob/3020b95e/opsource-servers/src/main/java/org/jclouds/opsource/servers/domain/DataCenter.java
----------------------------------------------------------------------
diff --git a/opsource-servers/src/main/java/org/jclouds/opsource/servers/domain/DataCenter.java b/opsource-servers/src/main/java/org/jclouds/opsource/servers/domain/DataCenter.java
deleted file mode 100644
index 27a64e8..0000000
--- a/opsource-servers/src/main/java/org/jclouds/opsource/servers/domain/DataCenter.java
+++ /dev/null
@@ -1,218 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF 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.opsource.servers.domain;
-
-import static com.google.common.base.Objects.equal;
-import static org.jclouds.opsource.servers.OpSourceNameSpaces.DATACENTER;
-
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlRootElement;
-
-import com.google.common.base.MoreObjects;
-import com.google.common.base.Objects;
-
-@XmlRootElement(namespace = DATACENTER, name = "datacenterWithLimits")
-public class DataCenter {
-   public static Builder builder() {
-      return new Builder();
-   }
-
-   public Builder toBuilder() {
-      return new Builder().fromDataCenter(this);
-   }
-
-   public static class Builder {
-
-	  private String location;
-	  private String displayName;
-	  private String city;
-	  private String state;
-	  private String country;
-	  private String vpnUrl;
-	  private boolean isDefault;
-	  private int maxCpu;
-	  private long maxRamMb;
-	  
-      /**
-       * @see DataCenter#getOrgId()
-       */
-      public Builder location(String location) {
-    	  this.location = location;
-    	  return this;
-      }
-
-      public Builder displayName(String displayName) {
-    	  this.displayName = displayName;
-    	  return this;
-      }
-
-      public Builder city(String city) {
-    	  this.city = city;
-    	  return this;
-      }
-
-      public Builder state(String state) {
-    	  this.state = state;
-    	  return this;
-      }
-
-      public Builder country(String country) {
-    	  this.country = country;
-    	  return this;
-      }
-
-      public Builder vpnUrl(String vpnUrl) {
-    	  this.vpnUrl = vpnUrl;
-    	  return this;
-      }
-
-      public Builder isDefault(boolean isDefault) {
-    	  this.isDefault = isDefault;
-    	  return this;
-      }
-
-      public Builder maxCpu(int maxCpu) {
-    	  this.maxCpu = maxCpu;
-    	  return this;
-      }
-
-      public Builder maxRamMb(long maxRamMb) {
-    	  this.maxRamMb = maxRamMb;
-    	  return this;
-      }
-
-      public DataCenter build() {
-         return new DataCenter(location, displayName, city, state, country, vpnUrl, isDefault, maxCpu, maxRamMb);
-      }
-
-      public Builder fromDataCenter(DataCenter in) {
-         return new Builder().location(location).displayName(displayName).city(city).state(state)
-         	.country(country).vpnUrl(vpnUrl).isDefault(isDefault).maxCpu(maxCpu).maxRamMb(maxRamMb);
-      }
-   }
-
-   private DataCenter() {
-      // For JAXB and builder use
-   }
-
-   @XmlElement(namespace = DATACENTER, name="location")
-   private String location;
-   @XmlElement(namespace = DATACENTER, name="displayName")
-   private String displayName;
-   @XmlElement(namespace = DATACENTER, name="city")
-   private String city;
-   @XmlElement(namespace = DATACENTER, name="state")
-   private String state;
-   @XmlElement(namespace = DATACENTER, name="country")
-   private String country;
-   @XmlElement(namespace = DATACENTER, name="vpnUrl")
-   private String vpnUrl;
-   @XmlElement(namespace = DATACENTER, name="isDefault")
-   private boolean isDefault;
-   @XmlElement(namespace = DATACENTER, name="maxCpu")
-   private long maxCpu;
-   @XmlElement(namespace = DATACENTER, name="maxRamMb")
-   private long maxRamMb;
-
-   private DataCenter(String location, String displayName, String city, String state, String country,
-		   String vpnUrl, boolean isDefault, long maxCpu, long maxRamMb) {
-      this.location = location;
-      this.displayName = displayName;
-      this.city = city;
-      this.state = state;
-      this.country = country;
-      this.vpnUrl = vpnUrl;
-      this.isDefault = isDefault;
-      this.maxCpu = maxCpu;
-      this.maxRamMb = maxRamMb;
-   }
-
-   	public String getLocation() {
-   		return location;
-   	}
-
-	public String getDisplayName() {
-		return displayName;
-	}
-	
-	public String getCity() {
-		return city;
-	}
-	
-	public String getState() {
-		return state;
-	}
-	
-	public String getCountry() {
-		return country;
-	}
-	
-	/**
-	 * VPN URL corresponding to this data center's location
-	 * @return
-	 */
-	public String getVpnUrl() {
-		return vpnUrl;
-	}
-	
-	public boolean isDefault() {
-		return isDefault;
-	}
-	
-	/**
-	 * defines the upper ceiling for the
-	 * number of CPUs permitted respectively for Customer Servers deployed at this data
-	 * center.
-	 * @return
-	 */
-	public long getMaxCpu() {
-		return maxCpu;
-	}
-	
-	/**
-	 * defines the upper ceiling for the
-	 * quantity of RAM permitted respectively for Customer Servers deployed at this data
-	 * center.
-	 * @return
-	 */
-	public long getMaxRamMb() {
-		return maxRamMb;
-	}
-
-	@Override
-   	public boolean equals(Object o) {
-		if (this == o)
-			return true;
-		if (o == null || getClass() != o.getClass())
-			return false;
-		DataCenter that = DataCenter.class.cast(o);
-		return equal(location, that.location);
-	}
-
-	@Override
-	public int hashCode() {
-      	return Objects.hashCode(location);
-	}
-
-	@Override
-   	public String toString() {
-		return MoreObjects.toStringHelper("").add("location", location).add("displayName", displayName).add("city", city).
-			add("state", state).add("country", country).add("vpnUrl", vpnUrl).add("isDefault", isDefault).
-			add("maxCpu", maxCpu).add("maxRamMb", maxRamMb).toString();
-	}
-
-}

http://git-wip-us.apache.org/repos/asf/jclouds-labs/blob/3020b95e/opsource-servers/src/main/java/org/jclouds/opsource/servers/domain/DataCentersList.java
----------------------------------------------------------------------
diff --git a/opsource-servers/src/main/java/org/jclouds/opsource/servers/domain/DataCentersList.java b/opsource-servers/src/main/java/org/jclouds/opsource/servers/domain/DataCentersList.java
deleted file mode 100644
index ba7ab3e..0000000
--- a/opsource-servers/src/main/java/org/jclouds/opsource/servers/domain/DataCentersList.java
+++ /dev/null
@@ -1,101 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF 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.opsource.servers.domain;
-
-import static com.google.common.base.Objects.equal;
-import static com.google.common.base.Preconditions.checkNotNull;
-import static org.jclouds.opsource.servers.OpSourceNameSpaces.DATACENTER;
-
-import java.util.Set;
-
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlRootElement;
-
-import com.google.common.base.MoreObjects;
-import com.google.common.base.Objects;
-import com.google.common.collect.ImmutableSet;
-import com.google.common.collect.Sets;
-
-/**
- * Represents list of data centers for an account
- */
-@XmlRootElement(namespace = DATACENTER, name = "DatacentersWithLimits")
-public class DataCentersList {
-   public static Builder builder() {
-      return new Builder();
-   }
-
-   public Builder toBuilder() {
-      return new Builder();
-   }
-
-   public static class Builder {
-
-	  Set<DataCenter> dataCenters = Sets.newLinkedHashSet();;
-	  
-      public Builder dataCenters(Set<DataCenter> dataCenters) {
-    	  this.dataCenters = Sets.newLinkedHashSet(checkNotNull(dataCenters, "dataCenters"));
-    	  return this;
-      }
-      
-      public Builder dataCenter(DataCenter dataCenter) {
-	      this.dataCenters.add(checkNotNull(dataCenter, "dataCenter"));
-	      return this;
-	  }
-      
-      public DataCentersList build() {
-         return new DataCentersList(dataCenters);
-      }
-
-   }
-
-   private DataCentersList() {
-      // For JAXB and builder use
-   }
-   
-   @XmlElement(name = "datacenterWithLimits", namespace = DATACENTER)
-   private Set<DataCenter> dataCenters = Sets.newLinkedHashSet();
-
-   private DataCentersList(Set<DataCenter> dataCenters) {
-	   this.dataCenters = ImmutableSet.copyOf(dataCenters);
-   }
-
-	public Set<DataCenter> getDataCenters() {
-		return dataCenters;
-	}
-
-	@Override
-   	public boolean equals(Object o) {
-		if (this == o)
-			return true;
-		if (o == null || getClass() != o.getClass())
-			return false;
-		DataCentersList that = DataCentersList.class.cast(o);
-		return super.equals(that) && equal(dataCenters, that.dataCenters);
-	}
-
-	@Override
-	public int hashCode() {
-		return Objects.hashCode(dataCenters);
-	}
-
-	@Override
-   	public String toString() {
-		return MoreObjects.toStringHelper("").add("dataCenters", dataCenters).toString();
-	}
-
-}

http://git-wip-us.apache.org/repos/asf/jclouds-labs/blob/3020b95e/opsource-servers/src/main/java/org/jclouds/opsource/servers/domain/DeployedServer.java
----------------------------------------------------------------------
diff --git a/opsource-servers/src/main/java/org/jclouds/opsource/servers/domain/DeployedServer.java b/opsource-servers/src/main/java/org/jclouds/opsource/servers/domain/DeployedServer.java
deleted file mode 100644
index 715c16d..0000000
--- a/opsource-servers/src/main/java/org/jclouds/opsource/servers/domain/DeployedServer.java
+++ /dev/null
@@ -1,222 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF 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.opsource.servers.domain;
-
-import static org.jclouds.opsource.servers.OpSourceNameSpaces.SERVER;
-
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlRootElement;
-
-import com.google.common.base.MoreObjects;
-import com.google.common.base.Objects;
-
-@XmlRootElement(namespace = SERVER, name = "DeployedServer")
-public class DeployedServer extends BaseServer{
-   public static Builder builder() {
-      return new Builder();
-   }
-
-   public Builder toBuilder() {
-      return new Builder().fromDeployedServer(this);
-   }
-
-   public static class Builder {
-
-	  private String id;
-	  private String name;
-	  private String description;
-	  private MachineSpecification machineSpecification;
-	  private String sourceImageId;
-	  private String networkId;
-	  private String privateIpAddress;
-	  private String publicIpAddress;
-	  private String machineName;
-	  private boolean isStarted;
-	  private String deployedTime;
-	  private Status status;
-	  
-      public Builder id(String id) {
-    	  this.id = id;
-    	  return this;
-      }
-
-      public Builder name(String name) {
-    	  this.name = name;
-    	  return this;
-      }
-
-      public Builder description(String description) {
-    	  this.description = description;
-    	  return this;
-      }
-      
-      public Builder machineSpecification(MachineSpecification machineSpecification) {
-    	  this.machineSpecification = machineSpecification;
-    	  return this;
-      }
-      
-      public Builder sourceImageId(String sourceImageId) {
-    	  this.sourceImageId = sourceImageId;
-    	  return this;
-      }
-      
-      public Builder networkId(String networkId) {
-    	  this.networkId = networkId;
-    	  return this;
-      }
-      
-      public Builder privateIpAddress(String privateIpAddress) {
-    	  this.privateIpAddress = privateIpAddress;
-    	  return this;
-      }
-
-      public Builder publicIpAddress(String publicIpAddress) {
-    	  this.publicIpAddress = publicIpAddress;
-    	  return this;
-      }
-      
-      public Builder machineName(String machineName) {
-    	  this.machineName = machineName;
-    	  return this;
-      }
-      
-      public Builder isStarted(boolean isStarted) {
-    	  this.isStarted = isStarted;
-    	  return this;
-      }
-      
-      public Builder deployedTime(String deployedTime) {
-    	  this.deployedTime = deployedTime;
-    	  return this;
-      }
-      
-      public Builder status(Status status) {
-    	  this.status = status;
-    	  return this;
-      }
-
-      public DeployedServer build() {
-         return new DeployedServer(id, name, description, machineSpecification, sourceImageId, networkId, privateIpAddress, 
-        		 publicIpAddress, machineName, isStarted, deployedTime, status);
-      }
-
-      public Builder fromDeployedServer(DeployedServer in) {
-         return new Builder().id(id).name(name).description(description).machineSpecification(machineSpecification)
-         	.sourceImageId(sourceImageId).networkId(networkId).privateIpAddress(privateIpAddress).publicIpAddress(publicIpAddress)
-         	.machineName(machineName).isStarted(isStarted).deployedTime(deployedTime).status(status);
-      }
-   }
-
-   private DeployedServer() {
-      // For JAXB and builder use
-   }
-
-   @XmlElement(namespace = SERVER, name="id")
-   private String id;
-   @XmlElement(namespace = SERVER, name="name")
-   private String name;
-   @XmlElement(namespace = SERVER, name="description")
-   private String description;
-   @XmlElement(namespace = SERVER, name="machineSpecification")
-   private MachineSpecification machineSpecification;
-   @XmlElement(namespace = SERVER, name="sourceImageId")
-   private String sourceImageId;
-   @XmlElement(namespace = SERVER, name="networkId")
-   private String networkId;
-   @XmlElement(namespace = SERVER, name="privateIpAddress")
-   private String privateIpAddress;
-   @XmlElement(namespace = SERVER, name="publicIpAddress")
-   private String publicIpAddress;
-   @XmlElement(namespace = SERVER, name="machineName")
-   private String machineName;
-   @XmlElement(namespace = SERVER, name="isStarted")
-   private boolean isStarted;
-   @XmlElement(namespace = SERVER, name="deployedTime")
-   private String deployedTime;
-   @XmlElement(namespace = SERVER, name="status")
-   private Status status;
-
-   private DeployedServer(String id, String name, String description, MachineSpecification machineSpecification, String sourceImageId,
-		   String networkId, String privateIpAddress, String publicIpAddress, String machineName, boolean isStarted, String deployedTime, Status status) {
-	  super(id, name, description);
-      this.machineSpecification = machineSpecification;
-      this.sourceImageId = sourceImageId;
-      this.networkId = networkId;
-      this.privateIpAddress = privateIpAddress;
-      this.publicIpAddress = publicIpAddress;
-      this.machineName = machineName;
-      this.isStarted = isStarted;
-      this.deployedTime = deployedTime;
-      this.status = status;
-   }
-
-	public MachineSpecification getMachineSpecification() {
-		return machineSpecification;
-	}
-	
-	public String getSourceImageId() {
-		return sourceImageId;
-	}
-	
-	public String getNetworkId() {
-		return networkId;
-	}
-	
-	public String getPrivateIpAddress() {
-		return privateIpAddress;
-	}
-	
-	public String getPublicIpAddress() {
-		return publicIpAddress;
-	}
-	
-	public String getMachineName() {
-		return machineName;
-	}
-	
-	public boolean isStarted() {
-		return isStarted;
-	}
-	
-	public String getDeployedTime() {
-		return deployedTime;
-	}
-	
-	public Status getStatus() {
-		return status;
-	}
-
-	@Override
-   	public boolean equals(Object o) {
-		return super.equals(o);
-	}
-
-	@Override
-	public int hashCode() {
-      	return super.hashCode() + Objects.hashCode(id, name, description, machineSpecification, sourceImageId, networkId, 
-      			privateIpAddress, publicIpAddress, machineName, isStarted, deployedTime, status);
-	}
-
-	@Override
-   	public String toString() {
-		return MoreObjects.toStringHelper("").add("id", id).add("name", name).add("description", description).
-			add("machineSpecification", machineSpecification).add("sourceImageId", sourceImageId).add("networkId", networkId).
-			add("privateIpAddress", privateIpAddress).add("publicIpAddress", publicIpAddress).add("machineName", machineName).
-			add("isStarted", isStarted).add("deployedTime", deployedTime).add("status", status).toString();
-	}
-
-}

http://git-wip-us.apache.org/repos/asf/jclouds-labs/blob/3020b95e/opsource-servers/src/main/java/org/jclouds/opsource/servers/domain/DeployedServersList.java
----------------------------------------------------------------------
diff --git a/opsource-servers/src/main/java/org/jclouds/opsource/servers/domain/DeployedServersList.java b/opsource-servers/src/main/java/org/jclouds/opsource/servers/domain/DeployedServersList.java
deleted file mode 100644
index e6efa4e..0000000
--- a/opsource-servers/src/main/java/org/jclouds/opsource/servers/domain/DeployedServersList.java
+++ /dev/null
@@ -1,101 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF 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.opsource.servers.domain;
-
-import static com.google.common.base.Objects.equal;
-import static com.google.common.base.Preconditions.checkNotNull;
-import static org.jclouds.opsource.servers.OpSourceNameSpaces.SERVER;
-
-import java.util.Set;
-
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlRootElement;
-
-import com.google.common.base.MoreObjects;
-import com.google.common.base.Objects;
-import com.google.common.collect.ImmutableSet;
-import com.google.common.collect.Sets;
-
-/**
- * Represents list of data centers for an account
- */
-@XmlRootElement(namespace = SERVER, name = "DeployedServers")
-public class DeployedServersList {
-   public static Builder builder() {
-      return new Builder();
-   }
-
-   public Builder toBuilder() {
-      return new Builder();
-   }
-
-   public static class Builder {
-
-	  Set<DeployedServer> deployedServers = Sets.newLinkedHashSet();;
-	  
-      public Builder deployedServers(Set<DeployedServer> deployedServers) {
-    	  this.deployedServers = Sets.newLinkedHashSet(checkNotNull(deployedServers, "deployedServers"));
-    	  return this;
-      }
-      
-      public Builder deployedServer(DeployedServer deployedServer) {
-	      this.deployedServers.add(checkNotNull(deployedServer, "deployedServer"));
-	      return this;
-	  }
-      
-      public DeployedServersList build() {
-         return new DeployedServersList(deployedServers);
-      }
-
-   }
-
-   private DeployedServersList() {
-      // For JAXB and builder use
-   }
-   
-   @XmlElement(name = "DeployedServer", namespace = SERVER)
-   private Set<DeployedServer> deployedServers = Sets.newLinkedHashSet();
-
-   private DeployedServersList(Set<DeployedServer> deployedServers) {
-	   this.deployedServers = ImmutableSet.copyOf(deployedServers);
-   }
-
-	public Set<DeployedServer> getDeployedServers() {
-		return deployedServers;
-	}
-
-	@Override
-   	public boolean equals(Object o) {
-		if (this == o)
-			return true;
-		if (o == null || getClass() != o.getClass())
-			return false;
-		DeployedServersList that = DeployedServersList.class.cast(o);
-		return super.equals(that) && equal(deployedServers, that.deployedServers);
-	}
-
-	@Override
-	public int hashCode() {
-		return Objects.hashCode(deployedServers);
-	}
-
-	@Override
-   	public String toString() {
-		return MoreObjects.toStringHelper("").add("deployedServers", deployedServers).toString();
-	}
-
-}

http://git-wip-us.apache.org/repos/asf/jclouds-labs/blob/3020b95e/opsource-servers/src/main/java/org/jclouds/opsource/servers/domain/MachineSpecification.java
----------------------------------------------------------------------
diff --git a/opsource-servers/src/main/java/org/jclouds/opsource/servers/domain/MachineSpecification.java b/opsource-servers/src/main/java/org/jclouds/opsource/servers/domain/MachineSpecification.java
deleted file mode 100644
index 67236d4..0000000
--- a/opsource-servers/src/main/java/org/jclouds/opsource/servers/domain/MachineSpecification.java
+++ /dev/null
@@ -1,145 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF 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.opsource.servers.domain;
-
-import static com.google.common.base.Objects.equal;
-import static org.jclouds.opsource.servers.OpSourceNameSpaces.SERVER;
-
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlRootElement;
-
-import com.google.common.base.MoreObjects;
-import com.google.common.base.Objects;
-
-@XmlRootElement(name = "machineSpecification", namespace = SERVER)
-public class MachineSpecification {
-   public static Builder builder() {
-      return new Builder();
-   }
-
-   public Builder toBuilder() {
-      return new Builder().fromMachineSpecification(this);
-   }
-
-   public static class Builder {
-
-      private int cpuCount;
-      private long memoryMb;
-      private long osStorageGb;
-      private long additionalLocalStorageGb;
-      private OperatingSystem operatingSystem;
-
-      public Builder cpuCount(int cpuCount) {
-         this.cpuCount = cpuCount;
-         return this;
-      }
-
-      public Builder memoryMb(long memoryMb) {
-         this.memoryMb = memoryMb;
-         return this;
-      }      
-     
-      public Builder osStorageGb(long osStorageGb) {
-         this.osStorageGb = osStorageGb;
-         return this;
-      }
-
-      public Builder additionalLocalStorageGb(long additionalLocalStorageGb) {
-         this.additionalLocalStorageGb = additionalLocalStorageGb;
-         return this;
-      }
-      
-      public Builder operatingSystem(OperatingSystem operatingSystem) {
-         this.operatingSystem = operatingSystem;
-         return this;
-      }
-      
-      public MachineSpecification build() {
-         return new MachineSpecification(cpuCount, memoryMb, osStorageGb, additionalLocalStorageGb, operatingSystem);
-      }
-
-      public Builder fromMachineSpecification(MachineSpecification in) {
-         return new Builder().cpuCount(cpuCount).memoryMb(memoryMb).osStorageGb(osStorageGb).additionalLocalStorageGb(additionalLocalStorageGb)
-         	.operatingSystem(operatingSystem);
-      }
-   }
-
-   private MachineSpecification() {
-      // For JAXB and builder use
-   }
-
-   @XmlElement(namespace = SERVER)
-   private int cpuCount;
-   @XmlElement(namespace = SERVER)
-   private long memoryMb;
-   @XmlElement(namespace = SERVER)
-   private long osStorageGb;
-   @XmlElement(namespace = SERVER)
-   private long additionalLocalStorageGb;
-   @XmlElement(namespace = SERVER)
-   private OperatingSystem operatingSystem;
-
-   private MachineSpecification(int cpuCount, long memoryMb, long osStorageGb, long additionalLocalStorageGb, OperatingSystem operatingSystem) {
-      this.cpuCount = cpuCount;
-      this.memoryMb = memoryMb;
-      this.osStorageGb = osStorageGb;
-      this.additionalLocalStorageGb = additionalLocalStorageGb;
-      this.operatingSystem = operatingSystem;
-   }
-
-   public int getCpuCount() {
-      return cpuCount;
-   }
-   
-   public long getMemoryMb() {
-      return memoryMb;
-   }
-
-   public long getOsStorageGb() {
-      return osStorageGb;
-   }
-   
-   public long getAdditionalLocalStorageGb() {
-      return additionalLocalStorageGb;
-   }  
-   
-   public OperatingSystem getOperatingSystem() {
-      return operatingSystem;
-   }
-   
-   @Override
-   public boolean equals(Object o) {
-      if (this == o)
-         return true;
-      if (o == null || getClass() != o.getClass())
-         return false;
-      MachineSpecification that = MachineSpecification.class.cast(o);
-      return equal(this, that);
-   }
-
-   @Override
-   public int hashCode() {
-      return Objects.hashCode(cpuCount, memoryMb, osStorageGb, additionalLocalStorageGb, operatingSystem);
-   }
-
-   @Override
-   public String toString() {
-      return MoreObjects.toStringHelper("").add("cpuCount", cpuCount).add("memoryMb", memoryMb).add("osStorageGb", osStorageGb)
-      	.add("additionalLocalStorageGb", additionalLocalStorageGb).add("operatingSystem", operatingSystem).toString();
-   }
-
-}

http://git-wip-us.apache.org/repos/asf/jclouds-labs/blob/3020b95e/opsource-servers/src/main/java/org/jclouds/opsource/servers/domain/OperatingSystem.java
----------------------------------------------------------------------
diff --git a/opsource-servers/src/main/java/org/jclouds/opsource/servers/domain/OperatingSystem.java b/opsource-servers/src/main/java/org/jclouds/opsource/servers/domain/OperatingSystem.java
deleted file mode 100644
index 2894763..0000000
--- a/opsource-servers/src/main/java/org/jclouds/opsource/servers/domain/OperatingSystem.java
+++ /dev/null
@@ -1,107 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF 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.opsource.servers.domain;
-
-import static com.google.common.base.Objects.equal;
-import static org.jclouds.opsource.servers.OpSourceNameSpaces.SERVER;
-
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlRootElement;
-
-import com.google.common.base.MoreObjects;
-import com.google.common.base.Objects;
-
-/**
- * Holds operating system information for {@link ServerImage}
- */
-@XmlRootElement(name = "operatingSystem", namespace = SERVER)
-public class OperatingSystem {
-   public static Builder builder() {
-      return new Builder();
-   }
-
-   public Builder toBuilder() {
-      return new Builder().fromOperatingSystem(this);
-   }
-
-   public static class Builder {
-
-      private String osType;
-      private String displayName;
-
-      public Builder osType(String osType) {
-         this.osType = osType;
-         return this;
-      }
-      
-      public Builder displayName(String displayName) {
-          this.displayName = displayName;
-          return this;
-       }
-
-      public OperatingSystem build() {
-         return new OperatingSystem(osType, displayName);
-      }
-
-      public Builder fromOperatingSystem(OperatingSystem in) {
-         return new Builder().osType(in.getOsType()).displayName(in.getDisplayName());
-      }
-   }
-
-   private OperatingSystem() {
-      // For JAXB and builder use
-   }
-
-   @XmlElement(namespace = SERVER, name="type")
-   private String osType;
-   @XmlElement(namespace = SERVER, name="displayName")
-   private String displayName;
-
-   private OperatingSystem(String osType, String displayName) {
-      this.osType = osType;
-      this.displayName = displayName;
-   }
-
-   public String getOsType() {
-      return osType;
-   }
-   
-   public String getDisplayName() {
-	  return displayName;
-   }
-
-   @Override
-   public boolean equals(Object o) {
-      if (this == o)
-         return true;
-      if (o == null || getClass() != o.getClass())
-         return false;
-      OperatingSystem that = OperatingSystem.class.cast(o);
-      return equal(osType, that.osType) && equal(displayName, that.displayName);
-   }
-
-   @Override
-   public int hashCode() {
-      return Objects.hashCode(osType, displayName);
-   }
-
-   @Override
-   public String toString() {
-      return MoreObjects.toStringHelper("").add("osType", osType).add("displayName", displayName).toString();
-   }
-
-}

http://git-wip-us.apache.org/repos/asf/jclouds-labs/blob/3020b95e/opsource-servers/src/main/java/org/jclouds/opsource/servers/domain/PendingDeployServer.java
----------------------------------------------------------------------
diff --git a/opsource-servers/src/main/java/org/jclouds/opsource/servers/domain/PendingDeployServer.java b/opsource-servers/src/main/java/org/jclouds/opsource/servers/domain/PendingDeployServer.java
deleted file mode 100644
index 3d362cc..0000000
--- a/opsource-servers/src/main/java/org/jclouds/opsource/servers/domain/PendingDeployServer.java
+++ /dev/null
@@ -1,168 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF 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.opsource.servers.domain;
-
-import static org.jclouds.opsource.servers.OpSourceNameSpaces.SERVER;
-
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlRootElement;
-
-import com.google.common.base.MoreObjects;
-import com.google.common.base.Objects;
-
-@XmlRootElement(namespace = SERVER, name = "PendingDeployServer")
-public class PendingDeployServer extends BaseServer{
-   public static Builder builder() {
-      return new Builder();
-   }
-
-   public Builder toBuilder() {
-      return new Builder().fromPendingDeployServer(this);
-   }
-
-   public static class Builder {
-
-	  private String id;
-	  private String name;
-	  private String description;
-	  private MachineSpecification machineSpecification;
-	  private String sourceImageId;
-	  private String networkId;
-	  private String privateIpAddress;
-	  private Status status;
-	  
-      public Builder id(String id) {
-    	  this.id = id;
-    	  return this;
-      }
-
-      public Builder name(String name) {
-    	  this.name = name;
-    	  return this;
-      }
-
-      public Builder description(String description) {
-    	  this.description = description;
-    	  return this;
-      }
-      
-      public Builder machineSpecification(MachineSpecification machineSpecification) {
-    	  this.machineSpecification = machineSpecification;
-    	  return this;
-      }
-      
-      public Builder sourceImageId(String sourceImageId) {
-    	  this.sourceImageId = sourceImageId;
-    	  return this;
-      }
-      
-      public Builder networkId(String networkId) {
-    	  this.networkId = networkId;
-    	  return this;
-      }
-      
-      public Builder privateIpAddress(String privateIpAddress) {
-    	  this.privateIpAddress = privateIpAddress;
-    	  return this;
-      }
-
-      public Builder status(Status status) {
-    	  this.status = status;
-    	  return this;
-      }
-
-      public PendingDeployServer build() {
-         return new PendingDeployServer(id, name, description, machineSpecification, sourceImageId, networkId,
-        		 privateIpAddress, status);
-      }
-
-      public Builder fromPendingDeployServer(PendingDeployServer in) {
-         return new Builder().id(id).name(name).description(description).machineSpecification(machineSpecification)
-         	.sourceImageId(sourceImageId).networkId(networkId).privateIpAddress(privateIpAddress).status(status);
-      }
-   }
-
-   private PendingDeployServer() {
-      // For JAXB and builder use
-   }
-
-   @XmlElement(namespace = SERVER, name="id")
-   private String id;
-   @XmlElement(namespace = SERVER, name="name")
-   private String name;
-   @XmlElement(namespace = SERVER, name="description")
-   private String description;
-   @XmlElement(namespace = SERVER, name="machineSpecification")
-   private MachineSpecification machineSpecification;
-   @XmlElement(namespace = SERVER, name="sourceImageId")
-   private String sourceImageId;
-   @XmlElement(namespace = SERVER, name="networkId")
-   private String networkId;
-   @XmlElement(namespace = SERVER, name="privateIpAddress")
-   private String privateIpAddress;
-   @XmlElement(namespace = SERVER, name="status")
-   private Status status;
-
-   private PendingDeployServer(String id, String name, String description, MachineSpecification machineSpecification, String sourceImageId,
-		   String networkId, String privateIpAddress, Status status) {
-	  super(id, name, description);
-      this.machineSpecification = machineSpecification;
-      this.sourceImageId = sourceImageId;
-      this.networkId = networkId;
-      this.privateIpAddress = privateIpAddress;
-      this.status = status;
-   }
-
-	public MachineSpecification getMachineSpecification() {
-		return machineSpecification;
-	}
-	
-	public String getSourceImageId() {
-		return sourceImageId;
-	}
-	
-	public String getNetworkId() {
-		return networkId;
-	}
-	
-	public String getPrivateIpAddress() {
-		return privateIpAddress;
-	}
-	
-	public Status getStatus() {
-		return status;
-	}
-
-	@Override
-   	public boolean equals(Object o) {
-		return super.equals(o);
-	}
-
-	@Override
-	public int hashCode() {
-      	return super.hashCode() + Objects.hashCode(id, name, description, machineSpecification, sourceImageId, networkId, 
-      			privateIpAddress, status);
-	}
-
-	@Override
-   	public String toString() {
-		return MoreObjects.toStringHelper("").add("id", id).add("name", name).add("description", description).
-			add("machineSpecification", machineSpecification).add("sourceImageId", sourceImageId).add("networkId", networkId).
-			add("privateIpAddress", privateIpAddress).add("status", status).toString();
-	}
-
-}

http://git-wip-us.apache.org/repos/asf/jclouds-labs/blob/3020b95e/opsource-servers/src/main/java/org/jclouds/opsource/servers/domain/PendingDeployServersList.java
----------------------------------------------------------------------
diff --git a/opsource-servers/src/main/java/org/jclouds/opsource/servers/domain/PendingDeployServersList.java b/opsource-servers/src/main/java/org/jclouds/opsource/servers/domain/PendingDeployServersList.java
deleted file mode 100644
index f5abed4..0000000
--- a/opsource-servers/src/main/java/org/jclouds/opsource/servers/domain/PendingDeployServersList.java
+++ /dev/null
@@ -1,101 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF 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.opsource.servers.domain;
-
-import static com.google.common.base.Objects.equal;
-import static com.google.common.base.Preconditions.checkNotNull;
-import static org.jclouds.opsource.servers.OpSourceNameSpaces.SERVER;
-
-import java.util.Set;
-
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlRootElement;
-
-import com.google.common.base.MoreObjects;
-import com.google.common.base.Objects;
-import com.google.common.collect.ImmutableSet;
-import com.google.common.collect.Sets;
-
-/**
- * Represents list of data centers for an account
- */
-@XmlRootElement(namespace = SERVER, name = "PendingDeployServers")
-public class PendingDeployServersList {
-   public static Builder builder() {
-      return new Builder();
-   }
-
-   public Builder toBuilder() {
-      return new Builder();
-   }
-
-   public static class Builder {
-
-	  Set<PendingDeployServer> pendingDeployServers = Sets.newLinkedHashSet();;
-	  
-      public Builder pendingDeployServers(Set<PendingDeployServer> pendingDeployServers) {
-    	  this.pendingDeployServers = Sets.newLinkedHashSet(checkNotNull(pendingDeployServers, "pendingDeployServers"));
-    	  return this;
-      }
-      
-      public Builder pendingDeployServer(PendingDeployServer pendingDeployServer) {
-	      this.pendingDeployServers.add(checkNotNull(pendingDeployServer, "pendingDeployServer"));
-	      return this;
-	  }
-      
-      public PendingDeployServersList build() {
-         return new PendingDeployServersList(pendingDeployServers);
-      }
-
-   }
-
-   private PendingDeployServersList() {
-      // For JAXB and builder use
-   }
-   
-   @XmlElement(name = "PendingDeployServer", namespace = SERVER)
-   private Set<PendingDeployServer> pendingDeployServers = Sets.newLinkedHashSet();
-
-   private PendingDeployServersList(Set<PendingDeployServer> pendingDeployServers) {
-	   this.pendingDeployServers = ImmutableSet.copyOf(pendingDeployServers);
-   }
-
-	public Set<PendingDeployServer> getPendingDeployServers() {
-		return pendingDeployServers;
-	}
-
-	@Override
-   	public boolean equals(Object o) {
-		if (this == o)
-			return true;
-		if (o == null || getClass() != o.getClass())
-			return false;
-		PendingDeployServersList that = PendingDeployServersList.class.cast(o);
-		return super.equals(that) && equal(pendingDeployServers, that.pendingDeployServers);
-	}
-
-	@Override
-	public int hashCode() {
-		return Objects.hashCode(pendingDeployServers);
-	}
-
-	@Override
-   	public String toString() {
-		return MoreObjects.toStringHelper("").add("pendingDeployServers", pendingDeployServers).toString();
-	}
-
-}

http://git-wip-us.apache.org/repos/asf/jclouds-labs/blob/3020b95e/opsource-servers/src/main/java/org/jclouds/opsource/servers/domain/ServerImage.java
----------------------------------------------------------------------
diff --git a/opsource-servers/src/main/java/org/jclouds/opsource/servers/domain/ServerImage.java b/opsource-servers/src/main/java/org/jclouds/opsource/servers/domain/ServerImage.java
deleted file mode 100644
index 0b6163d..0000000
--- a/opsource-servers/src/main/java/org/jclouds/opsource/servers/domain/ServerImage.java
+++ /dev/null
@@ -1,216 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF 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.opsource.servers.domain;
-
-import static com.google.common.base.Objects.equal;
-import static org.jclouds.opsource.servers.OpSourceNameSpaces.SERVER;
-
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlRootElement;
-
-import com.google.common.base.MoreObjects;
-import com.google.common.base.Objects;
-
-@XmlRootElement(namespace = SERVER, name = "ServerImage")
-public class ServerImage {
-   public static Builder builder() {
-      return new Builder();
-   }
-
-   public Builder toBuilder() {
-      return new Builder().fromServerImage(this);
-   }
-
-   public static class Builder {
-
-	  private String id;
-	  private String resourcePath;
-	  private String name;
-	  private String description;
-	  private OperatingSystem operatingSystem;
-	  private String location;
-	  private int cpuCount;
-	  private long memory;
-	  private long osStorage;
-	  private long additionalLocalStorage;
-	  
-      public Builder id(String id) {
-    	  this.id = id;
-    	  return this;
-      }
-
-      public Builder resourcePath(String resourcePath) {
-    	  this.resourcePath = resourcePath;
-    	  return this;
-      }
-
-      public Builder name(String name) {
-    	  this.name = name;
-    	  return this;
-      }
-
-      public Builder description(String description) {
-    	  this.description = description;
-    	  return this;
-      }
-
-      public Builder operatingSystem(OperatingSystem operatingSystem) {
-    	  this.operatingSystem = operatingSystem;
-    	  return this;
-      }
-      
-      public Builder location(String location) {
-    	  this.location = location;
-    	  return this;
-      }
-      
-      public Builder cpuCount(int cpuCount) {
-    	  this.cpuCount = cpuCount;
-    	  return this;
-      }
-
-      public Builder memory(long memory) {
-    	  this.memory = memory;
-    	  return this;
-      }
-      
-      public Builder osStorage(long osStorage) {
-    	  this.osStorage = osStorage;
-    	  return this;
-      }
-      
-      public Builder additionalLocalStorage(long additionalLocalStorage) {
-    	  this.additionalLocalStorage = additionalLocalStorage;
-    	  return this;
-      }
-
-      public ServerImage build() {
-         return new ServerImage(id, resourcePath, name, description, operatingSystem, location, cpuCount, 
-        		 memory, osStorage, additionalLocalStorage);
-      }
-
-      public Builder fromServerImage(ServerImage in) {
-         return new Builder().id(id).resourcePath(resourcePath).name(name).description(description)
-         	.operatingSystem(operatingSystem).location(location).cpuCount(cpuCount).memory(memory)
-         	.osStorage(osStorage).additionalLocalStorage(additionalLocalStorage);
-      }
-   }
-
-   private ServerImage() {
-      // For JAXB and builder use
-   }
-
-   @XmlElement(namespace = SERVER, name="id")
-   private String id;
-   @XmlElement(namespace = SERVER, name="resourcePath")
-   private String resourcePath;
-   @XmlElement(namespace = SERVER, name="name")
-   private String name;
-   @XmlElement(namespace = SERVER, name="description")
-   private String description;
-   @XmlElement(namespace = SERVER, name="operatingSystem")
-   private OperatingSystem operatingSystem;
-   @XmlElement(namespace = SERVER, name="location")
-   private String location;
-   @XmlElement(namespace = SERVER, name="cpuCount")
-   private long cpuCount;
-   @XmlElement(namespace = SERVER, name="memory")
-   private long memory;
-   @XmlElement(namespace = SERVER, name="osStorage")
-   private long osStorage;
-   @XmlElement(namespace = SERVER, name="additionalLocalStorage")
-   private long additionalLocalStorage;
-
-   private ServerImage(String id, String resourcePath, String name, String description, OperatingSystem operatingSystem,
-		   String location, long cpuCount, long memory, long osStorage, long additionalLocalStorage) {
-      this.id = id;
-      this.resourcePath = resourcePath;
-      this.name = name;
-      this.description = description;
-      this.operatingSystem = operatingSystem;
-      this.location = location;
-      this.cpuCount = cpuCount;
-      this.memory = memory;
-      this.osStorage = osStorage;
-      this.additionalLocalStorage = additionalLocalStorage;
-   }
-
-   	public String getId() {
-   		return id;
-   	}
-
-	public String getResourcePath() {
-		return resourcePath;
-	}
-	
-	public String getName() {
-		return name;
-	}
-	
-	public String getDescription() {
-		return description;
-	}
-	
-	public OperatingSystem getOperatingSystem() {
-		return operatingSystem;
-	}
-	
-	public String getLocation() {
-		return location;
-	}
-	
-	public long getCpuCount() {
-		return cpuCount;
-	}
-	
-	public long getMemory() {
-		return memory;
-	}
-	
-	public long getOsStorage() {
-		return osStorage;
-	}
-	
-	public long getAdditionalLocalStorage() {
-		return additionalLocalStorage;
-	}
-
-	@Override
-   	public boolean equals(Object o) {
-		if (this == o)
-			return true;
-		if (o == null || getClass() != o.getClass())
-			return false;
-		ServerImage that = ServerImage.class.cast(o);
-		return equal(id, that.id);
-	}
-
-	@Override
-	public int hashCode() {
-      	return Objects.hashCode(id, resourcePath, name, description, operatingSystem, location, 
-      			cpuCount, memory, osStorage, additionalLocalStorage);
-	}
-
-	@Override
-   	public String toString() {
-		return MoreObjects.toStringHelper("").add("id", id).add("resourcePath", resourcePath).add("name", name).
-			add("description", description).add("operatingSystem", operatingSystem).add("location", location).
-			add("cpuCount", cpuCount).add("memory", memory).add("osStorage", osStorage).
-			add("additionalLocalStorage", additionalLocalStorage).toString();
-	}
-
-}

http://git-wip-us.apache.org/repos/asf/jclouds-labs/blob/3020b95e/opsource-servers/src/main/java/org/jclouds/opsource/servers/domain/ServerImagesList.java
----------------------------------------------------------------------
diff --git a/opsource-servers/src/main/java/org/jclouds/opsource/servers/domain/ServerImagesList.java b/opsource-servers/src/main/java/org/jclouds/opsource/servers/domain/ServerImagesList.java
deleted file mode 100644
index 8f5fe4e..0000000
--- a/opsource-servers/src/main/java/org/jclouds/opsource/servers/domain/ServerImagesList.java
+++ /dev/null
@@ -1,101 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF 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.opsource.servers.domain;
-
-import static com.google.common.base.Objects.equal;
-import static com.google.common.base.Preconditions.checkNotNull;
-import static org.jclouds.opsource.servers.OpSourceNameSpaces.SERVER;
-
-import java.util.Set;
-
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlRootElement;
-
-import com.google.common.base.MoreObjects;
-import com.google.common.base.Objects;
-import com.google.common.collect.ImmutableSet;
-import com.google.common.collect.Sets;
-
-/**
- * Represents set of OS Server Images from which servers may be deployed
- */
-@XmlRootElement(namespace = SERVER, name = "ServerImages")
-public class ServerImagesList {
-   public static Builder builder() {
-      return new Builder();
-   }
-
-   public Builder toBuilder() {
-      return new Builder();
-   }
-
-   public static class Builder {
-
-	  Set<ServerImage> serverImages = Sets.newLinkedHashSet();;
-	  
-      public Builder dataCenters(Set<ServerImage> serverImages) {
-    	  this.serverImages = Sets.newLinkedHashSet(checkNotNull(serverImages, "serverImages"));
-    	  return this;
-      }
-      
-      public Builder serverImage(ServerImage serverImage) {
-	      this.serverImages.add(checkNotNull(serverImage, "serverImage"));
-	      return this;
-	  }
-      
-      public ServerImagesList build() {
-         return new ServerImagesList(serverImages);
-      }
-
-   }
-
-   private ServerImagesList() {
-      // For JAXB and builder use
-   }
-   
-   @XmlElement(name = "ServerImage", namespace = SERVER)
-   private Set<ServerImage> serverImages = Sets.newLinkedHashSet();
-
-   private ServerImagesList(Set<ServerImage> serverImages) {
-	   this.serverImages = ImmutableSet.copyOf(serverImages);
-   }
-
-	public Set<ServerImage> getServerImages() {
-		return serverImages;
-	}
-
-	@Override
-   	public boolean equals(Object o) {
-		if (this == o)
-			return true;
-		if (o == null || getClass() != o.getClass())
-			return false;
-		ServerImagesList that = ServerImagesList.class.cast(o);
-		return super.equals(that) && equal(serverImages, that.serverImages);
-	}
-
-	@Override
-	public int hashCode() {
-		return Objects.hashCode(serverImages);
-	}
-
-	@Override
-   	public String toString() {
-		return MoreObjects.toStringHelper("").add("serverImages", serverImages).toString();
-	}
-
-}

http://git-wip-us.apache.org/repos/asf/jclouds-labs/blob/3020b95e/opsource-servers/src/main/java/org/jclouds/opsource/servers/domain/Status.java
----------------------------------------------------------------------
diff --git a/opsource-servers/src/main/java/org/jclouds/opsource/servers/domain/Status.java b/opsource-servers/src/main/java/org/jclouds/opsource/servers/domain/Status.java
deleted file mode 100644
index e1ddb81..0000000
--- a/opsource-servers/src/main/java/org/jclouds/opsource/servers/domain/Status.java
+++ /dev/null
@@ -1,172 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF 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.opsource.servers.domain;
-
-import static com.google.common.base.Objects.equal;
-import static org.jclouds.opsource.servers.OpSourceNameSpaces.SERVER;
-
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlRootElement;
-
-import com.google.common.base.MoreObjects;
-import com.google.common.base.Objects;
-
-@XmlRootElement(namespace = SERVER, name = "status")
-public class Status {
-   public static Builder builder() {
-      return new Builder();
-   }
-
-   public Builder toBuilder() {
-      return new Builder().fromStatus(this);
-   }
-
-   public static class Builder {
-
-	  private String action;
-	  private String requestTime;
-	  private String userName;
-	  private int numberOfSteps;
-	  private String updateTime;
-	  private Step step;
-	  private String failureReason;
-	  
-      public Builder action(String action) {
-    	  this.action = action;
-    	  return this;
-      }
-
-      public Builder requestTime(String requestTime) {
-    	  this.requestTime = requestTime;
-    	  return this;
-      }
-
-      public Builder userName(String userName) {
-    	  this.userName = userName;
-    	  return this;
-      }
-
-      public Builder numberOfSteps(int numberOfSteps) {
-    	  this.numberOfSteps = numberOfSteps;
-    	  return this;
-      }
-
-      public Builder updateTime(String updateTime) {
-    	  this.updateTime = updateTime;
-    	  return this;
-      }
-
-      public Builder step(Step step) {
-    	  this.step = step;
-    	  return this;
-      }
-
-      public Builder failureReason(String failureReason) {
-    	  this.failureReason = failureReason;
-    	  return this;
-      }
-
-      public Status build() {
-         return new Status(action, requestTime, userName, numberOfSteps, updateTime, step, failureReason);
-      }
-
-      public Builder fromStatus(Status in) {
-         return new Builder().action(action).requestTime(requestTime).userName(userName).numberOfSteps(numberOfSteps)
-         	.updateTime(updateTime).step(step).failureReason(failureReason);
-      }
-   }
-
-   private Status() {
-      // For JAXB and builder use
-   }
-
-   @XmlElement(namespace = SERVER, name="action")
-   private String action;
-   @XmlElement(namespace = SERVER, name="requestTime")
-   private String requestTime;
-   @XmlElement(namespace = SERVER, name="userName")
-   private String userName;
-   @XmlElement(namespace = SERVER, name="numberOfSteps")
-   private int numberOfSteps;
-   @XmlElement(namespace = SERVER, name="updateTime")
-   private String updateTime;
-   @XmlElement(namespace = SERVER, name="step")
-   private Step step;
-   @XmlElement(namespace = SERVER, name="failureReason")
-   private String failureReason;
-
-   private Status(String action, String requestTime, String userName, int numberOfSteps, String updateTime,
-		   Step step, String failureReason) {
-      this.action = action;
-      this.requestTime = requestTime;
-      this.userName = userName;
-      this.numberOfSteps = numberOfSteps;
-      this.updateTime = updateTime;
-      this.step = step;
-      this.failureReason = failureReason;
-   }
-
-   	public String getAction() {
-   		return action;
-   	}
-
-	public String getRequestTime() {
-		return requestTime;
-	}
-	
-	public String getUserName() {
-		return userName;
-	}
-	
-	public int getNumberOfSteps() {
-		return numberOfSteps;
-	}
-	
-	public String getUpdateTime() {
-		return updateTime;
-	}
-	
-	public Step getStep() {
-		return step;
-	}
-	
-	public String getFailureReason() {
-		return failureReason;
-	}
-	
-	@Override
-   	public boolean equals(Object o) {
-		if (this == o)
-			return true;
-		if (o == null || getClass() != o.getClass())
-			return false;
-		Status that = Status.class.cast(o);
-		return equal(this, that);
-	}
-
-	@Override
-	public int hashCode() {
-      	return Objects.hashCode(action, requestTime, userName, numberOfSteps, updateTime, step, failureReason);
-	}
-
-	@Override
-   	public String toString() {
-		return MoreObjects.toStringHelper("").add("action", action).add("requestTime", requestTime).add("userName", userName).
-			add("numberOfSteps", numberOfSteps).add("updateTime", updateTime).add("step", step).add("failureReason", failureReason).toString();
-	}
-
-}