cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From likit...@apache.org
Subject [55/71] [abbrv] git commit: updated refs/heads/master-6-17-stable to 7e862be
Date Thu, 04 Jul 2013 06:52:03 GMT
CLOUDSTACK-1444. Fixing cloudstack-aws-api-register to set ec2 api version to the latest. [Support
for EC2 API version 2012-08-15]

Signed-off-by: Likitha Shetty <likitha.shetty@citrix.com>


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

Branch: refs/heads/master-6-17-stable
Commit: 6d6c33c65290987d64f3c21dde3e202060799569
Parents: 8fc515e
Author: Likitha Shetty <likitha.shetty@citrix.com>
Authored: Fri Jun 28 09:43:42 2013 +0530
Committer: Likitha Shetty <likitha.shetty@citrix.com>
Committed: Thu Jul 4 12:09:03 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/6d6c33c6/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