Issue 550: Cleaned up a few minor formatting nits and implemented linked services for Eucalyptus.

[in providers]

* aws-s3/src/main/java/org/jclouds/aws/s3/AWSS3ProviderMetadata.java: Fixed a javadoc link.

* aws-s3/src/test/java/org/jclouds/aws/s3/AWSS3ProviderTest.java: Fixed a javadoc link
   and fixed an erroneous full-qualified class reference.

* eucalyptus-partnercloud-ec2/src/main/java/org/jclouds/epc/EucalyptusPartnerCloudEC2ProviderMetadata.java,
  eucalyptus-partnercloud-s3/src/main/java/org/jclouds/epc/EucalyptusPartnerCloudS3ProviderMetadata.java
  (getLinkedServices): Implemented.
This commit is contained in:
Jeremy Whitlock 2011-06-03 00:06:38 -06:00
parent 17db25cceb
commit 63cd9d0535
4 changed files with 19 additions and 2 deletions

View File

@ -27,7 +27,7 @@ import org.jclouds.providers.BaseProviderMetadata;
import org.jclouds.providers.ProviderMetadata; import org.jclouds.providers.ProviderMetadata;
/** /**
* Implementation of @ link org.jclouds.types.ProviderMetadata} for Amazon's Simple Storage Service * Implementation of {@link org.jclouds.types.ProviderMetadata} for Amazon's Simple Storage Service
* (S3) provider. * (S3) provider.
* *
* @author Adrian Cole * @author Adrian Cole

View File

@ -23,7 +23,7 @@ import org.jclouds.providers.ProviderMetadata;
import org.testng.annotations.Test; import org.testng.annotations.Test;
/** /**
* The AWSS3ProviderTest tests the org.jclouds.providers.AWSS3Provider class. * The AWSS3ProviderTest tests the {@link org.jclouds.aws.s3.AWSS3ProviderMetadata} class.
* *
* @author Adrian Cole * @author Adrian Cole
*/ */
@ -33,4 +33,5 @@ public class AWSS3ProviderTest extends BaseProviderMetadataTest {
public AWSS3ProviderTest() { public AWSS3ProviderTest() {
super(new AWSS3ProviderMetadata(), ProviderMetadata.BLOBSTORE_TYPE); super(new AWSS3ProviderMetadata(), ProviderMetadata.BLOBSTORE_TYPE);
} }
} }

View File

@ -97,6 +97,14 @@ public class EucalyptusPartnerCloudEC2ProviderMetadata extends BaseProviderMetad
return URI.create("http://open.eucalyptus.com/wiki/IntroducingEucalyptus_v2.0"); return URI.create("http://open.eucalyptus.com/wiki/IntroducingEucalyptus_v2.0");
} }
/**
* {@inheritDoc}
*/
@Override
public Set<String> getLinkedServices() {
return ImmutableSet.of("eucalyptus-partnercloud-ec2", "eucalyptus-partnercloud-s3");
}
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */

View File

@ -97,6 +97,14 @@ public class EucalyptusPartnerCloudS3ProviderMetadata extends BaseProviderMetada
return URI.create("http://open.eucalyptus.com/wiki/IntroducingEucalyptus_v2.0"); return URI.create("http://open.eucalyptus.com/wiki/IntroducingEucalyptus_v2.0");
} }
/**
* {@inheritDoc}
*/
@Override
public Set<String> getLinkedServices() {
return ImmutableSet.of("eucalyptus-partnercloud-ec2", "eucalyptus-partnercloud-s3");
}
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */