cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From likit...@apache.org
Subject [54/55] [abbrv] git commit: updated refs/heads/awsapi-ec2-version-update to f74b243
Date Fri, 28 Jun 2013 05:34:12 GMT
CLOUDSTACK-1444. Fixing cloudstack-aws-api-register to set ec2 api version to the latest.
[Support for EC2 API version 2012-08-15]


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/cefd70e7
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/cefd70e7
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/cefd70e7

Branch: refs/heads/awsapi-ec2-version-update
Commit: cefd70e711e94f9c438e7db697b89dfbb1237a4c
Parents: 96d466d
Author: Likitha Shetty <likitha.shetty@citrix.com>
Authored: Fri Jun 28 09:43:42 2013 +0530
Committer: Likitha Shetty <likitha.shetty@citrix.com>
Committed: Fri Jun 28 10:46:33 2013 +0530

----------------------------------------------------------------------
 awsapi-setup/setup/cloudstack-aws-api-register | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/cefd70e7/awsapi-setup/setup/cloudstack-aws-api-register
----------------------------------------------------------------------
diff --git a/awsapi-setup/setup/cloudstack-aws-api-register b/awsapi-setup/setup/cloudstack-aws-api-register
index ea57d0b..07eacf1 100644
--- a/awsapi-setup/setup/cloudstack-aws-api-register
+++ b/awsapi-setup/setup/cloudstack-aws-api-register
@@ -40,7 +40,7 @@ def get_signature(key, url, query):
 
 def get_url(url, api_key, secret_key, action, query):
     amzn_string = 'AWSAccessKeyId=' + api_key + '&Action=' + action + '&SignatureMethod=HmacSHA1'
-    amzn_string += '&SignatureVersion=2&Timestamp='+ datetime.now().isoformat()[:19]
+'Z&Version=2010-11-15'
+    amzn_string += '&SignatureVersion=2&Timestamp='+ datetime.now().isoformat()[:19]
+'Z&Version=2012-08-15'
     query = amzn_string + '&' + query
     url = url + '?' + query + '&Signature=' + get_signature(secret_key, url, query)
     try:


Mime
View raw message