Commit Graph

17 Commits

Author SHA1 Message Date
Likitha Shetty 5b4b596023 CS-15771. ec2-run-instances fails with error "Unable to find service offering by id".
Add a check in EC2Engine to verify if the service offering returned by CloudStack
has not been deleted.
Reviewed by: Prachi
2012-08-06 13:21:11 +05:30
Likitha Shetty ddcb3d7b30 CS-14770. ec2-run-instances and ec2-describe-instances don't return keypair information.
Changing CS deployVirtualMachine and listVirtualMachine api response to include ssh keypair information.
Component: AWSAPI.
2012-07-30 11:50:04 +05:30
Likitha Shetty 5de0e5717a CS-15702: ec2-delete-tags, changing the response-name. Component:AWSAPI. 2012-07-26 19:35:07 +05:30
Likitha Shetty 2bf8026ea8 Adding tags support to the 4 EC2 Describe* API's(DescribeImages, DescribeInstances, DescribeVolumes, DescribeSnapshots) in AWSAPI.
Reviewed by: Prachi
2012-07-13 12:09:05 +05:30
Likitha Shetty 44079c7180 CS-15167. AWS API calls do not honor the "admin" accounts ability to view
the resources(VirtualMachines and SecurityGroups) owned by regular users.
Component: AWSAPI.
reviewed-by: Prachi
2012-07-09 11:41:54 +05:30
Likitha Shetty 9afd31f74f Providing support in AWSAPI for CloudStack API's that implement the tags feature by
adding implementation for 3 ec2 commands: ec2-create-tags, ec2-delete-tags and ec2-decribe-tags.
2012-07-06 15:55:10 +05:30
prachi ba4f35add6 CS-14684 - ec2-describe-instances - Not able to use ip-address filter to list an instance with the provided ip-address.
Changes:
- awsapi was using a wrong name for the public ip field in response, so the ip address was not getting parsed out of the json response.
2012-05-10 16:50:32 -07:00
prachi 96dffa2155 CS-14837 [ec2-describe-snapshots] Unable to find responseObjName:[snapshot]. Returning null! Exception: java.lang.NumberFormatException: For input string: <job-id>
- Changing JobId to String since CS 3.0.x uses String Ids now.
2012-05-09 23:20:51 -07:00
Likitha Shetty 9228a70913 Changes in CloudBridge to lookup defaultZoneId(marked for an account) from CloudStack DB.
reviewed by: Prachi
2012-05-08 13:10:29 +05:30
prachi 31bf4eb426 EC2 API fidelity: Implement support for image attribute - launchPermission
Now SOAP EC2 API supports launchPermission attribute for following commands:
- ec2-describe-image-attribute
- ec2-modify-image-attribute
- ec2-reset-image-attribute

Note:
- REST API is not changed.
- ec2 tools have some validation for userId to be AWS account id (8 digits). SO its is not possible to test adding or removing individual userIds in  ec2-modify-image-attribute command.
2012-05-07 11:40:09 -07:00
Salvatore Orlando 4643e403ff Finishing merge with 3.0.x 2012-05-01 15:08:51 +01:00
Salvatore Orlando 6257af95ed Now really adding the renamed files! 2012-05-01 13:59:16 +01:00
prachi 74a152df8d - Changes to Configuring hibernate to connect to multiple databases: cloudbridge and cloudstack
- This avoids making multiple API calls just to list ServiceOfferings
2012-04-30 17:08:29 -07:00
prachi 38fffccb58 - Changes to EC2MainServlet to turn down request in enable.ec2.api is 'false'
- runInstances now calls CS to get the matching serviceOffering for the EC2 instanceType
2012-04-30 17:08:19 -07:00
Likitha Shetty 860aa58540 Fix RevokeSecurityGroupIngressCmd in AWSAPI to use responsename returned by CloudStack
reviewed by: prachi
2012-04-30 17:08:18 -07:00
Likitha Shetty c130768b94 DescribeSecurityGroup: Use String instead of Long for RuleId
RevokeSecurityGroupIngress: Match the response name that CloudBridge uses with that provided by Cloudstack
2012-04-30 17:08:15 -07:00
prachi 75c4446494 Renaming cloud-bridge to awsapi
src folder
2012-04-30 17:07:40 -07:00