> +import org.jclouds.domain.LoginCredentials;
> +import org.jclouds.json.internal.GsonWrapper;
> +import org.jclouds.logging.Logger;
> +
> +import com.google.common.base.Predicate;
> +import com.google.common.collect.Iterables;
> +import com.google.common.collect.Lists;
> +import com.google.common.collect.Sets;
> +import org.jclouds.util.Predicates2;
> +
> +/**
> + * Defines the connection between the {@link AzureComputeApi} implementation
> and the jclouds
> + * {@link org.jclouds.compute.ComputeService}.
> + */
> +@Singleton
> +public class AzureComputeServiceAdapter implements
> ComputeServiceAdapter<VMDeployment, VMSize, ImageReference, Location> {
This should extend the `BaseComputeService` instead of directly implement the
interface. That base class performs many needed operations such as maintaining
the credential store, polling the status of nodes, and much more.
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/267/files/bae5d6dfcdb26e31057db4551c5996836666a31b#r63963424