...
All tests are written keeping regions in mind. Null value have been passed for region. To get the endpoint it was making call to describeRegions, which is not supported by Cloudstack so code changes have been made for that.
A new project cloudsatck-query-ec2 have been created in jclouds. These The changes are in ec2 project. These changes are on repo in cloudstack-ec2-queryapi branch and in cloudstack-query-ec2 project .
In summary 13 34 API calls in tests scenarios are passing. Some failing/skipped ones are dependent on failed tests which are expected to pass once the failed test is ok. The APIs which are passing are as follows
- describeImages
- describeInstances
- describeAddresses
- createVolume
- describeVolumes
- describeSnapshots
- describeAvailabilityZones
- createKeyPair
- describeKeyPairs
- deleteKeyPair
- createSecurityGroup
- deleteSecurityGroup
- describeSecurityGroups
These tests are failing or skipped(dependent on failed tests)
- authorizeSecurityGroupIngress
- revokeSecurityGroupIngress
- createSnapshot
- createVolumeFromSnapshot
- deleteVolumeattachVolume
- detachVolume
- runInstances
- terminateInstances
- deleteSnapshot
...
The API calls which are working fine with jclouds parser after my changes
- attachVolume
- detachVolume
- StopInstances
- StartInstances
- RebootInstances
- DescribeInstanceAttribute
- CreateImage
- DeregisterImage
- DescribeImageAttributeModifyImageAttribute
- ResetImageAttribute
- RegisterImage
- ImportKeyPair
- AllocateAddress
- AssociateAddress
- DisassociateAddress
- ReleaseAddress
These tests are failing or skipped(dependent on failed tests) on jclouds as some API call is broken in jclouds
- authorizeSecurityGroupIngress
- revokeSecurityGroupIngress
These tests are not implemented in jclouds
- ModifyImageAttribute
- GetPassword
- createTags
- describeTags
- deleteTags
- ImportKeyPair
Below things are in following format
...
- test scenario
- EC2 API Calls made in this scenario (parameters passed)
Below information describe the API calls covered with what parameters. For Example
...
- )
- testDescribeImages test scenario tests following API call
- describeImagesInRegion API call is made and returns the correct response i.e. parsed successfully by jclouds
- describeImagesInRegion API call is made with parameter imageid and returns the correct response i.e. parsed successfully by jclouds.
Example 2. CloudStackQueryEC2KeyPairClientLiveTest
- testDescribeImages test scenario tests following API call
- createKeyPairInRegion API call is made with parameter keyName and returns the correct response i.e. parsed successfully by jclouds
- describeKeyPairsInRegion API call is made with parameter keyName and returns the correct response i.e. parsed successfully by jclouds
- deleteKeyPairInRegion API call is made with parameter keyName and returns the correct response i.e. parsed successfully by jclouds
Tests which are passing
CloudStackQueryEC2AMIClientLiveTest
...
API Calls which are not called in any tests
...
- DeregisterImage
- DescribeImageAttribute
- ModifyImageAttribute
- ResetImageAttribute
- RegisterImage
- ImportKeyPair
- AllocateAddress
- AssociateAddress
- DisassociateAddress
- ReleaseAddress
- GetPassword
...