[
https://issues.apache.org/jira/browse/JCLOUDS-380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Bayer resolved JCLOUDS-380.
----------------------------------
Resolution: Not A Problem
They've been renamed to *Api, and are now all in org.jclouds.ec2.features for
apis/ec2 and org.jclouds.aws.ec2.features for providers/aws-ec2.
> Where have EC2Client and AWSKeyPairClient gone from aws providers
> -----------------------------------------------------------------
>
> Key: JCLOUDS-380
> URL: https://issues.apache.org/jira/browse/JCLOUDS-380
> Project: jclouds
> Issue Type: Bug
> Components: jclouds-compute, jclouds-labs-aws
> Affects Versions: 1.7.0
> Reporter: Jayant Kaushal
> Fix For: 1.7.0
>
>
> I am migrating jclouds version to 1.7 snapshot from 1.6.0,previously my code
> was working fine for creating and importing keypairs.
> but with latest update i cant find the AWSKeyPairClient and EC2Client classes.
> Like this
> AWSKeyPairClient keyPairClient =
> computeService.getContext().unwrap().getApi().getKeyPairServices();
> Set<KeyPair> existingKeyPairs =
> keyPairClient.describeKeyPairsInRegion(regionName, keyPairName);
> keyPair = keyPairClient.createKeyPairInRegion(regionName, keyPairName);
> This is my repo
> <repository>
> <id>apache-snapshot-repository</id>
> <url>https://repository.apache.org/content/repositories/snapshots</url>
> <releases>
> <enabled>false</enabled>
> </releases>
> <snapshots>
> <enabled>true</enabled>
> </snapshots>
>
> </repository>
> This is my dependency
> <dependency>
> <groupId>org.apache.jclouds.provider</groupId>
> <artifactId>aws-ec2</artifactId>
> <version>1.7.0-SNAPSHOT</version>
> </dependency>
> but with this
> <repository>
> <id>apache-snapshots</id>
> <url>http://oss.sonatype.org/content/repositories/snapshots</url>
> <releases>
> <enabled>false</enabled>
> </releases>
> <snapshots>
> <enabled>true</enabled>
> </snapshots>
> </repository>
> and dependecy
> <dependency>
> <groupId>org.apache.jclouds.provider</groupId>
> <artifactId>aws-ec2</artifactId>
> <version>1.7.0-SNAPSHOT</version>
> </dependency>
> i am able to refer EC2Client
> is there something i am missing
--
This message was sent by Atlassian JIRA
(v6.1#6144)