mirror of https://github.com/apache/jclouds.git
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:
parent
17db25cceb
commit
63cd9d0535
|
@ -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
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -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}
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -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}
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue