You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Jayant Kaushal (JIRA)" <ji...@apache.org> on 2013/11/14 20:07:21 UTC

[jira] [Created] (JCLOUDS-380) Where have EC2Client and AWSKeyPairClient gone from aws providers

Jayant Kaushal created JCLOUDS-380:
--------------------------------------

             Summary: 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)