{"action":"created","issue":{"url":"https://api.github.com/repos/apache/libcloud/issues/481","labels_url":"https://api.github.com/repos/apache/libcloud/issues/481/labels{/name}","comments_url":"https://api.github.com/repos/apache/libcloud/issues/481/comments","events_url":"https://api.github.com/repos/apache/libcloud/issues/481/events","html_url":"https://github.com/apache/libcloud/pull/481","id":60211924,"number":481,"title":"[WIP] Support for AWS signature algorithm v4 (continuation)","user":{"login":"Kami","id":125088,"avatar_url":"https://avatars.githubusercontent.com/u/125088?v=3","gravatar_id":"","url":"https://api.github.com/users/Kami","html_url":"https://github.com/Kami","followers_url":"https://api.github.com/users/Kami/followers","following_url":"https://api.github.com/users/Kami/following{/other_user}","gists_url":"https://api.github.com/users/Kami/gists{/gist_id}","starred_url":"https://api.github.com/users/Kami/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kami/subscriptions","organizations_url":"https://api.github.com/users/Kami/orgs","repos_url":"https://api.github.com/users/Kami/repos","events_url":"https://api.github.com/users/Kami/events{/privacy}","received_events_url":"https://api.github.com/users/Kami/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-07T15:59:43Z","updated_at":"2015-03-07T16:00:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/libcloud/pulls/481","html_url":"https://github.com/apache/libcloud/pull/481","diff_url":"https://github.com/apache/libcloud/pull/481.diff","patch_url":"https://github.com/apache/libcloud/pull/481.patch"},"body":"Continuation from https://github.com/apache/libcloud/pull/444/files#r25956437\r\n\r\nThe pull request is not finished yet, but it now works correctly with the \"region\" argument.\r\n\r\n```bash\r\n# -------- begin 140069208370896 request ----------\r\ncurl -i -X GET -H 'Host: ec2.us-east-1.amazonaws.com' -H 'X-LC-Request-ID: 140069208370896' -H 'Accept-Encoding: gzip,deflate' -H 'User-Agent: libcloud/0.17.1-dev (Amazon EC2) ' --compress 'https://ec2.us-east-1.amazonaws.com:443/?SignatureVersion=2&...&Action=DescribeInstances'\r\n# -------- begin 140069208370896:140069213157064 response ----------\r\nHTTP/1.1 200 OK\r\nContent-Encoding: gzip\r\nTransfer-Encoding: chunked\r\nVary: Accept-Encoding\r\nServer: AmazonEC2\r\nDate: Sat, 07 Mar 2015 15:44:39 GMT\r\nContent-Type: text/xml;charset=UTF-8\r\n\r\ne6\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<DescribeInstancesResponse xmlns=\"http://ec2.amazonaws.com/doc/2013-10-15/\">\r\n    <requestId>59272782-d9ee-4367-91ee-c84dc782003f</requestId>\r\n    <reservationSet/>\r\n</DescribeInstancesResponse>\r\n0\r\n\r\n# -------- begin 140696717963408 request ----------\r\ncurl -i -X GET -H 'Host: ec2.eu-central-1.amazonaws.com' -H 'Accept-Encoding: gzip,deflate' -H 'X-AMZ-Date: 20150307T155439Z' -H 'X-LC-Request-ID: 140696717963408' -H 'Authorization: AWS4-HMAC-SHA256 Credential=.../eu-central-1/ec2/aws4_request, SignedHeaders=accept-encoding;host;user-agent;x-amz-date, Signature...' -H 'User-Agent: libcloud/0.17.1-dev (Amazon EC2) ' --compress 'https://ec2.eu-central-1.amazonaws.com:443/?Action=DescribeInstances&Version=2013-10-15'\r\n# -------- begin 140696717963408:140696722668144 response ----------\r\nHTTP/1.1 200 OK\r\nContent-Encoding: gzip\r\nTransfer-Encoding: chunked\r\nVary: Accept-Encoding\r\nServer: AmazonEC2\r\nDate: Sat, 07 Mar 2015 15:54:39 GMT\r\nContent-Type: text/xml;charset=UTF-8\r\n\r\ne6\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<DescribeInstancesResponse xmlns=\"http://ec2.amazonaws.com/doc/2013-10-15/\">\r\n    <requestId>f4b4b62c-23ab-4347-85a6-3d0cea18eea7</requestId>\r\n    <reservationSet/>\r\n</DescribeInstancesResponse>\r\n0\r\n```\r\n\r\nTODO:\r\n\r\n- [ ] Update affected tests\r\n- [ ] Update affected code\r\n- [ ] Add new tests\r\n- [ ] Verify it works with non EC2 AWS services (storage, etc.)"},"comment":{"url":"https://api.github.com/repos/apache/libcloud/issues/comments/77695203","html_url":"https://github.com/apache/libcloud/pull/481#issuecomment-77695203","issue_url":"https://api.github.com/repos/apache/libcloud/issues/481","id":77695203,"user":{"login":"Kami","id":125088,"avatar_url":"https://avatars.githubusercontent.com/u/125088?v=3","gravatar_id":"","url":"https://api.github.com/users/Kami","html_url":"https://github.com/Kami","followers_url":"https://api.github.com/users/Kami/followers","following_url":"https://api.github.com/users/Kami/following{/other_user}","gists_url":"https://api.github.com/users/Kami/gists{/gist_id}","starred_url":"https://api.github.com/users/Kami/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kami/subscriptions","organizations_url":"https://api.github.com/users/Kami/orgs","repos_url":"https://api.github.com/users/Kami/repos","events_url":"https://api.github.com/users/Kami/events{/privacy}","received_events_url":"https://api.github.com/users/Kami/received_events","type":"User","site_admin":false},"created_at":"2015-03-07T16:00:51Z","updated_at":"2015-03-07T16:00:51Z","body":"@gertjanol This includes changes mentioned in #444, notably a84f57826fdf73c34b8ef6e98738f971dcc9a912 and 35ddbe17cab6fedc03718128b13298e7b64bb1de.\r\n\r\nDo you guys still use \"class per region\" approach? If so, those changes will break it..."}}