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/4.2 to e6ce4da
Date Sun, 28 Jul 2013 06:57:23 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/b19b549d
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/b19b549d
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/b19b549d

Branch: refs/heads/4.2
Commit: b19b549d5ab39e87060e2f2f5fba94903e7e81aa
Parents: a0a5f67
Author: Likitha Shetty <likitha.shetty@citrix.com>
Authored: Fri Jun 28 09:43:42 2013 +0530
Committer: Likitha Shetty <likitha.shetty@citrix.com>
Committed: Sun Jul 28 12:19:20 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/b19b549d/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