Likitha Shetty
26f9cc6475
CS-14632 Not able to deploy VM in security groups using -g option for ec2-run-instances
...
Resolved. Updated the request and response for ec2-run-instances to
deploy VM in multiple security groups and output the corresponding security groups.
reviewed by: Prachi
2012-05-10 11:54:45 +05:30
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
Rajesh Battala
44f3846168
Modified S3RestServlet to turn down request if enable.s3.api is false. Changed upgrade script for S3 API Feature
2012-05-09 15:25:39 +05:30
prachi
82af66cc5d
CS-14704 ec2-describe-keypairs - Not able to list the keypairs.
...
Changes:
- Response name that awsapi looks for was wrong.
- Filter matching improved.
2012-05-08 17:46:49 -07:00
prachi
48573deb1f
Change in awsapi to get Default Zone for the account during runInstances, CreateVolume etc.
...
- If zoneName is specified we use that
- If not, we choos the default zone marked for the account
- If no such default zone is found, fall back to choosing the first available zone.
2012-05-08 15:50:58 -07:00
JohnZ
2242ec0ca3
Correction to cloud-bridge-register and S3RestServlet to use parameter Action in POST
2012-05-08 17:54:53 +01: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
0ca7bbe89f
CS-14682 - When invalid filter name is provided in ec2-describe-instances command , java.lang.reflect.InvocationTargetException is thrown.
...
Changes:
- AxisFault was not being constructed in some cases
2012-05-07 17:21:15 -07:00
prachi
4c163bfab0
CS-14687: When a valid instance id that does not belong to the current user is passed to ec2-stop-instances,ec2-start-instances,ec2-terminate-instances, api does not return anythin
...
Changes:
Throw error if LookUpInstances fails to list the Vm by id.
2012-05-07 16:07:06 -07:00
prachi
da884e18ef
CS-14775: When trying to vms when there is enough capacity for only Vms between the min and max range , we donot respect the min count.
...
Changes:
Deploy minimum instances if the max allowed is less than the specified max. number in the request.
2012-05-07 14:31:50 -07:00
prachi
dcbd098ab0
CS-14777- Not able to retrieve password of a VM using ec2-get-password command.
...
Resolved. The response parsing in awsapi was broken.
2012-05-07 12:43:11 -07:00
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
prachi
43f0d0df35
Logging related Changes overwritten by S3 Merger
...
Also did changes to not log the hibernate SQL
2012-05-07 11:40:01 -07:00
JohnZ
bc5ea30dfc
Revert 07e3632b59 removing change to awsapi-lib
2012-05-06 18:49:43 +01:00
JohnZ
07e3632b59
Revert "cloud-jasypt-1.8.jar into deps/awsapi-lib"
...
This reverts commit 7702a2da85 .
2012-05-06 18:35:45 +01:00
JohnZ
7702a2da85
cloud-jasypt-1.8.jar into deps/awsapi-lib
2012-05-04 16:08:44 +01:00
prachi
01fdcd5d00
Changes overwritten by S3 Merge
2012-05-03 16:45:19 -07:00
prachi
2986d31e04
Adding back code that S3 merge overwrote
2012-05-03 16:45:17 -07:00
JohnZ
e1c1e8fae1
awsapi-setup-db executable
2012-05-03 16:52:02 +01:00
JohnZ
4b0d7ccb31
Core S3 classes up to date
2012-05-03 15:06:30 +01:00
JohnZ
b89841ee4a
S3AccessControlList, SHost, SAcl updates and fixes
2012-05-02 22:28:00 +01:00
JohnZ
ef2c7423f1
S3 API merged branch
2012-05-02 15:51:10 +01:00
JohnZ
f8864fbbdd
S3 Result changes using MTOMAwareResultStreamWriter
2012-05-02 12:20:48 +01: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
7140bab73c
Files missing after cloudbridge-ec2-integration branch merge
2012-04-30 17:08:38 -07:00
prachi
9a4f5f90a2
Fix error from merge
2012-04-30 17:08:36 -07:00
prachi
7c61b8c7f6
Reverting changes in UserCredentialsDao becuse hibernate session is not handled well in REST part of code.
2012-04-30 17:08:33 -07: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
35d3c279db
CS-14634: AWS API related logging should happen in awsapi.log.
...
Changes:
- Added awsapi logging to log4j-cloud.xml
- Having two log4j configurations caused problems when two webapps were deployed in tomcat
2012-04-30 17:08:28 -07:00
prachi
5ffc9990c3
Corrected the encryption key path
2012-04-30 17:08:27 -07:00
prachi
42728c7f78
Fixed the Encryption util to not do anything when db.properties do not use encryption.
2012-04-30 17:08:26 -07:00
prachi
3207ef6b78
CS-14611 : Not able to connect to cloudbridge db
...
changes:
- Added the util code that CloudStack uses to decrypt the password
2012-04-30 17:08:24 -07:00
prachi
e9ae32f172
Call CS to get the ServiceOffering name for the SvcOfferingId
2012-04-30 17:08:20 -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
0f33c7c056
Cs-14524 - Change hardcode DB properties in hibernate cfg file of CloudBridge to dynamical reading from db.properties
...
Changes to read from DB host, user credentials from cloudStack's db.properties file instead of ec2-service.properties
2012-04-30 17:08:11 -07:00
prachi
75c4446494
Renaming cloud-bridge to awsapi
...
src folder
2012-04-30 17:07:40 -07:00