Likitha Shetty
52b81f8bff
CLOUDSTACK-1127: [EC2 Query API] DescribeSecurityGroups, support for additional filters
...
Add support for filters ip-permission.group-name and ip-permission.user-id
2013-02-11 15:26:49 -08:00
Likitha Shetty
06fd21bd44
CLOUDSTACK-1126: [EC2 Query API] RunInstances ignores the UserData input parameter
...
When EC2RunInstances is called with UserData parameter, the parameter is not propogated to CS
2013-02-11 14:20:40 -08:00
Likitha Shetty
41f6585754
CLOUDSTACK-1136: [EC2 Query API] AssociateAdress, DisassociateAddress and ReleaseAddress fail with NPE
...
When invalid parameter is provided as input for any of these API's we get an NPE
2013-02-11 12:05:03 -08:00
Likitha Shetty
1e8648c92d
CLOUDSTACK-1124 [EC2 Query API] Improve the logging. Having empty response objects is harmless to functionality
...
This is observed in the awsapi.log for all Describe* EC2 commands when the response object returned by CS has no elements. But with EC2DescribeImages command it is always observed. This is because every time DescribeImage is fired, we call CS listTemplates command multiple times, each time setting a different value for the templateFilter parameter (e.g. featured, executable, community etc.). And for some of these CS calls made we obtain am empty response and hence the message in the logs.
2013-02-11 11:50:13 -08:00
Likitha Shetty
5d09b9fd3a
CLOUDSTACK-1112 [EC2 Query API] DescribeSnapshots fails, when an invalid 'snapshotId' parameter is provided
2013-02-11 11:37:57 -08:00
Likitha Shetty
f839ad7b53
CLOUDSTACK-1121: [EC2 Query API] RunInstances, instance is always deployed in the default security group
...
During EC2RunInstances, even if the security group the instance is to be deployed in specified the instance gets deployed in the default security group
2013-02-11 11:19:55 -08:00
Likitha Shetty
05280976e5
CLOUDSTACK-1120 [EC2 Query API] Parameter 'keynames' is not honoured by DescribeKeyPairs
...
When EC2DesribeKeyPairs is called with filter 'keynames' it ignored the key-name provided and lists all the key-pairs
2013-02-11 11:09:36 -08:00
Likitha Shetty
2364ada4df
CLOUDSTACK-1119 [EC2 Query API] Add filter support for DecsribeAddresses
...
EC2DescribeAddresses doesn't have filter support.
Support will be available for filters -> instance-id and public-ip
2013-02-07 18:32:48 -08:00
Likitha Shetty
b5e28038cb
[EC2 Query API] DescribeAvailabilityZones doesn't have any filter support.
...
CLOUDSTACK-1118
Support will be available for filters - zone-name and message
2013-02-07 18:00:35 -08:00
Likitha Shetty
12ad296b6c
CLOUDSTACK-1117 [EC2 Query API] DescribeImageAttribute fails
...
EC2DescribeImageAttribute fails with 'Unsupported - only description supported' error. And this is observed for both the supported attributes 'Description' and 'LaunchPermission'
2013-02-07 17:54:02 -08:00
Prachi Damle
4e4edc9e42
CLOUDSTACK-1116 [EC2 Query API] Support for ModifyImageAttribute and ResetImageAttribute
...
https://reviews.apache.org/r/9213
Add support for EC2 ApiI's ModifyImageAttribute and ResetImageAttribute.
Attributes supported are Description and LaunchPermission.
2013-02-07 17:22:16 -08:00
Kelven Yang
7bd8bec68a
Sync javelin with master up to 894cb8f7d9
2013-01-31 17:20:19 -08:00
Likitha Shetty
64b00d0b34
[EC2 Query API] Remove the registration step since query API does not require the certificate
...
https://reviews.apache.org/r/8742/
While checking if the user keys exists and also while retrieving the secret-key for signature generation (Query API only), make a change to directly check in the 'cloud' DB instead of the 'cloudbridge' DB.
With this change user will not require to register the keys before making EC2 Query API calls against CS. The registration process to make EC2 SOAP API calls will remain the same.
2013-01-31 12:00:39 -08:00
Likitha Shetty
f18828d7d8
[EC2 Query API] AttachVolume fails with 'Permission Denied: Invalid Signature' error.
...
https://reviews.apache.org/r/8480/
In AWSAPI while forming the signature to validate an API, url-encode every parameter name with UTF-8 encoding scheme.
2013-01-31 12:00:37 -08:00
Likitha Shetty
61f24d8a16
[EC2 Query API] RunInstance and DescribeInstances throw NumberFormatException error when called using AWS Java SDK
...
https://reviews.apache.org/r/8483/
AWS Java SDK doesn't expect a string value in the AmiLaunchIndex response element for RunInstances and DescribeInstances response.
2013-01-31 12:00:35 -08:00
Likitha Shetty
d738c81a46
[EC2 Query API] DescribeAddresses fails with Null Pointer Exception.
...
https://reviews.apache.org/r/8492/
As a part of EC2 Query API support, resolve the NPE obtained when DescribeAddresses is called
In EC2Engine modify DescribeAddresses implementation to be consistent with the other Describe* API implementation
2013-01-31 12:00:32 -08:00
Likitha Shetty
de517d95b0
[EC2 Query API] AuthorizeSecurityGroupIngress and RevokeSecurityGroupIngress return false even when the request is successful.
...
https://reviews.apache.org/r/8513
If the response is not null and if all the ruleid's(permissions) are present return true.
2013-01-31 12:00:30 -08:00
Likitha Shetty
b514735c7b
[EC2 Query API] AuthorizeSecurityGroupIngress fails with 'Server.InternalError 431 Invalid protocol' error.
...
https://reviews.apache.org/r/8468
Before making the AuthorizeSecurityGroupIngress CloudStack API call, parse the string arguments 'FromPort' and 'ToPort' as an integer.
2013-01-31 12:00:28 -08:00
Likitha Shetty
bea669d091
[EC2 Query API] RevokeSecurityGroupIngress fails with 'EC2ResponseError'.
...
https://reviews.apache.org/r/8466/
[EC2 Query API] Provide DescribeKeyPairs Query API support in CS AWSAPI.
https://reviews.apache.org/r/8465/
2013-01-31 12:00:25 -08:00
Prachi Damle
3c75d53f2f
more change to fix awsapi deployment with maven and jetty and Spring
2013-01-30 18:16:45 -08:00
Kelven Yang
526bb01b04
Fix awsapi issues in Spring wiring
2013-01-30 16:43:40 -08:00
Prachi Damle
4dc63f50a7
Spring hack for Ec2RestServlet
2013-01-30 15:56:56 -08:00
Kelven Yang
176523254e
Improve component lifecycle management with system run-level concept
2013-01-30 15:21:02 -08:00
Kelven Yang
da2e6461a6
Remove temporary hacking and use Official way to wire-up servlet with injection under Spring
2013-01-30 15:21:01 -08:00
Kelven Yang
b5deb52fba
Put a tempoary fix to awsapi to workaround an issue with jetty/Spring integration limitation
2013-01-28 17:45:16 -08:00
Prachi Damle
2bfdce02f1
Spring changes in awsapi
2013-01-28 16:01:50 -08:00
Alex Huang
f40e7b7511
removed componentlocator and inject
2013-01-10 11:05:20 -08:00
Alex Huang
cf8de7ee17
Removed all the .project files
2013-01-08 14:11:00 -08:00
Alex Huang
30f2565d98
Merge branch 'api_refactoring' into javelin
2013-01-08 12:36:04 -08:00
Noa Resare
0055d80211
CLOUDSTACK-771: maven: add mysql version reference to enable non-snapshot builds
...
If you update your build to build a version with a name not ending in -SNAPSHOT,
you are required to declare versions on all your depdendencies. There is already
a cs.mysql.version property, this patch makes sure it is used where appropriate.
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-01-04 12:20:06 -05:00
Noa Resare
42f3804fbd
Work around maven dependency problems
...
Disable the transitive dependency from axis2-webapp to xercesImpl
and from all rampart artifacts to opensaml. This fixes reproducible
problem where maven tries to download artifacts from the wrong
repositories.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
Reviewed-by: Likitha Shetty <Likitha.Shetty@citrix.com>
2013-01-03 22:13:32 -08:00
Hiroaki Kawai
a28f4cac3c
HttpClient needs releaseConnection method call
...
reviewboard: https://reviews.apache.org/r/8186/
Signed-off-by: Hugo Trippaers <trippie@gmail.com>
2012-11-29 20:23:30 +01:00
adefanti
2a0d0104bd
maven : declare mysql-connector-java dependency into dependencyManagement section of cloudstack pom and use the version 5.1.21 only
...
Signed-off-by: Hugo Trippaers <trippie@gmail.com>
2012-11-20 09:27:07 +01:00
Hiroaki Kawai
c8832cd4b6
Commit https://reviews.apache.org/r/8075/
...
Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2012-11-19 12:02:26 +01:00
Kelven Yang
cea8f3bf37
Switch inject annotation to javax and let ComponentLocator to recognize both the new and original inject annotation
2012-11-07 15:03:22 -08:00
Kelven Yang
aab02e2743
Add Spring annotation to major components
2012-11-07 14:53:39 -08:00
Hugo Trippaers
a3d468dae7
Summary: No more copy-dependencies for awsapi
...
This was also required for package building using ant/waf and should be
completely replaced with the war build in maven.
2012-11-07 15:59:09 +01:00
Alex Huang
91e68b5f2c
A bunch of .project changes again
2012-11-04 19:25:03 -08:00
Alex Huang
f92ce72639
Correct dependency errors
2012-10-24 11:12:40 -07:00
Edison Su
059f605ace
add more interfaces
2012-10-22 17:50:51 -07:00
Chip Childers
7090c10311
CLOUDSTACK-327: Correcting license header
...
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2012-10-12 11:59:33 -04:00
Chip Childers
9c89e44963
CLOUDSTACK-326: Removing unneeded legal doc files
...
I'm removing the awsapi/README.txt file, since it's
not required at all, and is actually from Axis.
I'm also removing the deps/XenServerJava/LICENSE.txt
and README.txt files, since the license is covered
by our top level LICENSE and the README.txt is
not for our project itself.
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2012-10-12 11:10:13 -04:00
Kelven Yang
5fee891162
merge from master
2012-10-11 17:42:25 -07:00
Rohit Yadav
32f4257416
awsapi: Fix axiom-impl duplicate dependency
...
Maven warns that we're duplicate dependency block for axiom-impl.
Patch rename one of the axiom-impl dependencies to axiom-api
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-10-11 13:56:14 +05:30
Rohit Yadav
e8a737ec49
CLOUDSTACK-292: Add missing jars to cloud-deps
...
- fixes axiom-impl version to avoid class load exception
- with copying of libs is not done in cloud.spec anymore, add jars to
cloud-deps
- make aws-api package depend on cloud-deps
2012-10-09 18:40:54 +05:30
frank
428f8ae152
add missing jar for awsapi as maven dependency
...
Fixed conflicts between:
2f9941d85f
5c3ec15410
on:
awsapi/pom.xml
2012-10-09 18:38:54 +05:30
Hugo Trippaers
b71acbc29b
include db.properties
2012-10-02 13:27:23 -07:00
Hugo Trippaers
f11a16379c
Stick to the versions the amazon classes were originally generated with
2012-10-02 11:35:29 -07:00
Hugo Trippaers
46be0537bf
Core should not depend on xapi, only the xen and ovm plugin.
...
Awsapi needs axis2-adb
2012-10-02 10:19:15 -07:00
Hugo Trippaers
3343362328
Better to print an error message than to die with a npe.
2012-10-02 07:35:10 -07:00
Hugo Trippaers
28bfaea0d1
Fix some dependencies for awsapi. Axis2 and rampart versions should be
...
equal otherwise there will be conflicts with dependencies.
Small change to EC2MainServlet, pass along the rootcause for easier
debugging
2012-10-01 21:36:27 -07:00
Hugo Trippaers
f16b5103d8
Merge some stuff from maven-waf branch into master
2012-10-01 15:04:08 -07:00
Hugo Trippaers
aa6355ffe6
Updated master to 4.1.0
...
mvn release:update-versions -DautoVersionSubmodules=true -Dnonoss -P
client,deps,developer -DdevelopmentVersion=4.1.0-SNAPSHOT
2012-10-01 11:00:55 -07:00
Chiradeep Vittal
d1bc54fc84
Avoid m2e complaining about unsupported plugins (according to http://s.apache.org/lZ0 )
2012-09-26 14:54:22 -07:00
Sebastien Goasquen
56b4ac184f
Initial AWS EC2 docs
2012-09-23 09:13:45 -04:00
Prachi Damle
b7d9fce564
CLOUDSTACK-51
...
Outdated docs and license data present in awsapi
2012-09-20 14:02:56 -07:00
Edison Su
2abeac11c7
fix mvn install: org.apache.xalan doesn't work
2012-09-18 11:40:10 -07:00
Alex Huang
387c6fc135
Merge branch 'master' into javelin
2012-09-17 15:31:37 -07:00
Rohit Yadav
4bf16f8d31
Maven: Fix rampart version in awsapi
...
Signed-off-by: Hugo Trippaers <hugo@apache.org>
2012-09-17 13:27:18 +02:00
Jie Feng
c9aa08350a
[DOC] docbook conversion - choosing a deployment architecture
2012-09-13 16:12:06 -04:00
Alex Huang
db9cc97ab3
Brought over new changes from master
2012-09-13 11:43:22 -07:00
Manikanta Kattamuri
cfc2b85651
Removing eclipse .classpath and .project files as they are configured to ant build and adding the entries into .gitignore to stop further comitting of the files
...
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2012-09-13 14:18:14 -04:00
Edison Su
29df8d8b8e
remove bcprov-jdk14
2012-09-12 13:46:12 -07:00
Alex Huang
298d224f83
Added extra maven files
2012-09-11 18:14:42 -07:00
Prachi Damle
a7d2a08c5e
CLOUDSTACK-51: Outdated docs and license data present in awsapi
...
CLOUDSTACK-53: CloudBridge installation pieces present, deprecated?
2012-09-11 17:38:26 -07:00
Prachi Damle
335bb6f687
CLOUDSTACK-53: CloudBridge installation pieces present, deprecated?
...
CLOUDSTACK-51: Outdated docs and license data present in awsapi
Removing content that is not used by awsapi.
2012-09-11 17:38:25 -07:00
Edison.Su
5437bfc607
fix rpm build
2012-09-11 17:38:07 -07:00
Edison Su
7ea8706046
fix the build, hope
2012-09-11 17:38:01 -07:00
Chip Childers
0503d9a703
Fixed rampart group ID in the awsapi/pom.xml file.
2012-09-11 17:37:54 -07:00
Chip Childers
516dd173fe
Partial fix for awsapi deploy-server issues that I introduced when trying to fix CLOUDSTACK-26
2012-09-11 17:37:52 -07:00
Chip Childers
a9f69dadce
CLOUDSTACK-26 and CLOUDSTACK-47: Removing *.war, *.jar, and deps/awsapi-lib/rampart-lib/*.txt files.
...
I realize that this might be destructive to the stability of the
tree, but these files have to be removed.
I tested the build, and it appears to still function without any of these
binary files being in the source tree.
2012-09-11 17:37:45 -07:00
Mice Xia
c86711a5a9
CLOUDSTACK-69 Hibernate jars should be removed
2012-09-11 17:37:10 -07:00
Rajesh Battala
2dd45a5095
CLOUDSTACK-52 Fix for AWSAPI contains hibernate configurations https://reviews.apache.org/r/6967/diff/
...
Signed-off-by: Mice Xia <mice_xia@tcloudcomputing.com>
2012-09-11 17:37:07 -07:00
Chip Childers
31fc02e5c2
CLOUDSTACK-56 : fixing license headers
2012-09-11 17:33:22 -07:00
Prachi Damle
bfcc31d9ed
CLOUDSTACK-51: Outdated docs and license data present in awsapi
...
CLOUDSTACK-53: CloudBridge installation pieces present, deprecated?
2012-09-11 15:26:28 -07:00
Prachi Damle
6ead90ab3b
CLOUDSTACK-53: CloudBridge installation pieces present, deprecated?
...
CLOUDSTACK-51: Outdated docs and license data present in awsapi
Removing content that is not used by awsapi.
2012-09-11 15:17:20 -07:00
Edison.Su
52d8849003
fix rpm build
2012-09-10 22:33:41 -04:00
Edison Su
176c340492
fix the build, hope
2012-09-10 16:29:38 -07:00
Chip Childers
fae3ce3ebd
Fixed rampart group ID in the awsapi/pom.xml file.
2012-09-10 16:00:44 -04:00
Chip Childers
b1ae7c732c
Partial fix for awsapi deploy-server issues that I introduced when trying to fix CLOUDSTACK-26
2012-09-10 14:42:08 -04:00
Chip Childers
cbd4cb3fb9
CLOUDSTACK-26 and CLOUDSTACK-47: Removing *.war, *.jar, and deps/awsapi-lib/rampart-lib/*.txt files.
...
I realize that this might be destructive to the stability of the
tree, but these files have to be removed.
I tested the build, and it appears to still function without any of these
binary files being in the source tree.
2012-09-10 10:26:26 -04:00
Mice Xia
0d02e33d31
CLOUDSTACK-69 Hibernate jars should be removed
2012-09-10 21:15:35 +08:00
Rajesh Battala
d9c03a55cf
CLOUDSTACK-52 Fix for AWSAPI contains hibernate configurations https://reviews.apache.org/r/6967/diff/
...
Signed-off-by: Mice Xia <mice_xia@tcloudcomputing.com>
2012-09-10 17:58:16 +08:00
Chip Childers
8746e902e4
CLOUDSTACK-56 : fixing license headers
2012-09-07 17:03:53 -04:00
Alex Huang
a1bd6d7eb7
Merge branch 'master' into javelin
2012-09-06 16:31:32 -07:00
Prachi Damle
f57f96f7b7
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cloudstack
2012-09-06 11:23:50 -07:00
Prachi Damle
e73d4334d1
- Removing the AWS wsdl file
...
- Adding license to the services.xml
2012-09-06 11:23:13 -07:00
Jamshid Afshar
5d208a5c95
Add initial support for Caringo CAStor object store as backing store for S3 API
...
Signed-off-by: Chiradeep Vittal <chiradeep@apache.org>
2012-09-05 23:35:09 -07:00
Alex Huang
1d0a10c69e
Merged master over to javelin to get new poms and maven build
2012-09-05 14:31:24 -07:00
Edison Su
c4955e82e8
fix rpmbuild
2012-09-04 21:34:52 -07:00
Hugo Trippaers
79004fc7bc
Fix RPM build using waf (oss only) and maven. With the exception of awsapi most of the rpms are build. Not the neatest way to do it, but a good base for improvement.
2012-09-04 15:16:18 +02:00
Hugo Trippaers
378c98cb7e
awsapi depends on cloud-utils
2012-08-31 21:48:24 +02:00
Hugo Trippaers
cd869f122d
awsapi depends on cloud-utils
2012-08-31 21:47:30 +02:00
Rajesh Battala
39aa7d86af
Moved Awsapi (EC2/S3) from Hibernate framework to CloudStack Generic Dao Framework
...
Created/Modified new VO's and Dao Impl classes to use Generic Dao Framework
2012-08-31 11:44:58 -07:00
Alex Huang
6309253de1
Deleted some useless files
2012-08-30 09:59:25 -07:00
Kelven Yang
2300310243
Messaging facility initials for new architecture
2012-08-28 17:58:45 -07:00
olivier lamy
f218003607
Merge branch 'maven-final' of git://github.com/ibuildthecloud/incubator-cloudstack
2012-08-28 23:30:57 +02:00
Likitha Shetty
8c3450b503
CS-14770. ec2-run-instances and ec2-describe-instances don't return keypair information. Component: AWSAPI.
2012-08-28 13:52:42 -07:00
Darren Shepherd
590f52df82
Include some missing resources in the jars
2012-08-28 08:59:20 -07:00
Likitha Shetty
fef8f6d4af
CS-15703: EC2 tag support, improve error handling. Component: AWSAPI.
...
Handle exceptions thrown when invalid syntax is used to create or delete tags.
2012-08-27 15:56:13 -07:00