cloudstack/plugins
Remi Bergsma 7665bdc815 Merge pull request #1083 from borisroman/CLOUDSTACK-9062
CLOUDSTACK-9062: Improve S3 implementation.The S3 implementation is far from finished, this commit focuses on the bases.

 - Upgrade AWS SDK to latest version.
 - Rewrite S3 Template downloader.
 - Rewrite S3Utils utility class.
 - Improve addImageStoreS3 API command.
 - Split various classes for convenience.
 - Various minor improvements and code optimizations.

A side effect of the new AWS SDK is that it, by default, uses the V4 signature. Therefore I added an option to specify the Signer, so it stays compatible with previous versions.

Please review thoroughly, both code inspection and (automated) integration tests. Currently no integration tests are available specifically for S3. Therefore the implementation is needed to be tested manually, for now...

What I tested:
 - Greenfield install -> will download latest systemvm template automatically to S3.
 - Upload a template/iso
 - Download a template/iso
 - Restart of management server -> list available templates -> doesn't download them again if available.

* pr/1083:
  CLOUDSTACK-9062: Improve S3 implementation.

Signed-off-by: Remi Bergsma <github@remi.nl>
2015-11-20 22:27:17 +01:00
..
acl/static-role-based Updating pom.xml version numbers for release 4.7.0-SNAPSHOT 2015-11-15 18:54:13 +01:00
affinity-group-processors Updating pom.xml version numbers for release 4.7.0-SNAPSHOT 2015-11-15 18:54:13 +01:00
alert-handlers Updating pom.xml version numbers for release 4.7.0-SNAPSHOT 2015-11-15 18:54:13 +01:00
api Updating pom.xml version numbers for release 4.7.0-SNAPSHOT 2015-11-15 18:54:13 +01:00
database/mysql-ha Updating pom.xml version numbers for release 4.7.0-SNAPSHOT 2015-11-15 18:54:13 +01:00
dedicated-resources Updating pom.xml version numbers for release 4.7.0-SNAPSHOT 2015-11-15 18:54:13 +01:00
deployment-planners Updating pom.xml version numbers for release 4.7.0-SNAPSHOT 2015-11-15 18:54:13 +01:00
event-bus Updating pom.xml version numbers for release 4.7.0-SNAPSHOT 2015-11-15 18:54:13 +01:00
file-systems/netapp Updating pom.xml version numbers for release 4.7.0-SNAPSHOT 2015-11-15 18:54:13 +01:00
ha-planners/skip-heurestics Updating pom.xml version numbers for release 4.7.0-SNAPSHOT 2015-11-15 18:54:13 +01:00
host-allocators/random Updating pom.xml version numbers for release 4.7.0-SNAPSHOT 2015-11-15 18:54:13 +01:00
hypervisors Merge pull request #1083 from borisroman/CLOUDSTACK-9062 2015-11-20 22:27:17 +01:00
network-elements Merge pull request #935 from nvazquez/from4.5.1 2015-11-18 13:11:25 +01:00
storage CLOUDSTACK-9062: Improve S3 implementation. 2015-11-19 15:29:10 +01:00
storage-allocators/random Updating pom.xml version numbers for release 4.7.0-SNAPSHOT 2015-11-15 18:54:13 +01:00
user-authenticators Updating pom.xml version numbers for release 4.7.0-SNAPSHOT 2015-11-15 18:54:13 +01:00
pom.xml Updating pom.xml version numbers for release 4.7.0-SNAPSHOT 2015-11-15 18:54:13 +01:00