Steve Pulec
5e35348c0d
Cleanup S3 model methods to better deal with missing buckets.
2014-07-08 21:20:29 -04:00
Steve Pulec
be25a2ba99
Fix S3 to work with other regions.
2014-07-08 20:35:48 -04:00
Steve Pulec
dc11f71ff0
Add NextToken element to appropriate SNS responses. cc #144
2014-07-01 21:14:28 -04:00
Richard Eames
4cc45c3ac5
Implementation of bucket.list_versions
2014-06-27 16:21:32 -06:00
Richard Eames
e972000bb4
Keep track of previous versions of keys
2014-06-27 15:37:51 -06:00
Richard Eames
5409d99ca2
Added basic implementation of key/bucket versioning
2014-06-27 11:34:00 -06:00
Clint Ecker
ca6a9bad4f
use proper message encoding
2014-06-23 13:53:46 -05:00
Clint Ecker
a9ef2eaaf4
typos
2014-06-22 13:34:32 -05:00
Clint Ecker
67933574b9
Formatting indices for python2.6
2014-06-22 13:33:49 -05:00
Clint Ecker
0d2991d733
forgot to add new exceptions file
2014-06-20 16:31:19 -05:00
Clint Ecker
049b73485f
test changing visibility improperly
2014-06-20 16:29:40 -05:00
Clint Ecker
cb52ad6da3
get total seconds that works in >2.3
2014-06-20 16:14:22 -05:00
Clint Ecker
c18e0cc82e
Enhanced SQS support
...
- Support for delaying messages
- Support for visibility timeouts
- Support for actually deleting messages
- Support for message bodies longer than 27 characters
- Support for message attributes
- Support for accurate queue attributes
Caveats:
- All message attributes are returned regardless of whether or not
attributes were requested when reading messages
- I’m not sure why messages longer than 27 characters were breaking in
my tests. Boto seems to expect the body to be base64 encoded and bodies
less than 27 characters would be fine, but if I attempted to use a
larger body it would mangle the content. I now base64 encode the body
if the raw string is longer than 27 characters and all is fine.
2014-06-20 15:00:36 -05:00
Konstantinos Koukopoulos
fa8485b599
provide SpotRequestBackend with model accessor
2014-06-18 10:46:58 +03:00
Konstantinos Koukopoulos
76a6a86eac
add Model metaclass to collect model accessor methods from backend classes
2014-06-18 10:46:20 +03:00
Steve Pulec
aec7d8e998
Merge pull request #138 from IlyaSukhanov/master
...
Implement internet gateway mocking
2014-06-17 22:28:16 -04:00
Konstantinos Koukopoulos
60bba47624
switch to using boto's SpotInstanceRequest in backend
2014-06-17 19:04:38 +03:00
Ilya Sukhanov
bcb0e7a3d4
Implement internet gateway mocking
2014-06-08 09:45:18 -04:00
Christian Wittwer
96843fdfe8
Attribute instance-id added to filter dict
2014-06-05 10:52:41 +02:00
Kevin Glisson
d2029c3fa3
adding - get all certificates, get certificate, and upload certificates endpoints
2014-05-29 14:25:26 -07:00
Steve Pulec
0fbe7a3940
Merge pull request #133 from kouk/server_response_headers
...
don't provide request headers as response headers in server
2014-05-20 08:48:48 -04:00
Konstantinos Koukopoulos
2b186511e8
don't provide request headers as response headers in server
2014-05-20 14:43:57 +03:00
Steve Pulec
e38f7d4662
Fix string formatting for py26
2014-05-11 23:07:05 -04:00
Steve Pulec
216750c05b
Add basic SNS support.
2014-05-11 22:56:44 -04:00
Steve Pulec
955b4c6c4a
Add tagging to all applicable EC2 objects. Closes #66 .
2014-05-11 19:00:28 -04:00
Steve Pulec
06481ebe7e
Require a GroupDescription for security group creation. Closes #112 .
2014-05-11 17:37:00 -04:00
Chris St. Pierre
fab37942c4
Consistent _get_multi_param() function in responses
...
This abstracts _get_multi_param() into BaseResponse and makes it
always ensure that the string it has been given ends with a '.'. It
had been implemented in three different places, and in use it rarely
postpended a trailing period, which could make it match parameters it
shouldn't have.
2014-05-08 10:44:41 -04:00
Chris St. Pierre
745368242e
Allow passing security groups by ID when creating instances
2014-05-07 10:04:07 -04:00
Chris St. Pierre
b244457c4f
Added key_name support to instances
2014-05-07 10:04:07 -04:00
Chris St. Pierre
4ba4dd5e26
Added subnet_id support to instances
2014-05-07 10:04:07 -04:00
Chris St. Pierre
5ba2b3cb9a
Added instance_type support to instances
2014-05-07 10:04:07 -04:00
Gabe Rives-Corbett
9f912e7a1f
Implemeted bucket.delete_keys closes #124
2014-05-06 17:21:33 -04:00
Andrew Gross
dbe17d059f
Fix some merge issues, add block device parsing
2014-04-25 15:44:55 -04:00
Andrew Gross
a0e48a6cf5
[Block Device] Add block device mapping to launch config backend
2014-04-24 16:49:16 -04:00
Ilya Sukhanov
15b750a277
Implement ec2 dhcp_options
2014-04-22 17:47:40 -04:00
Ilya Sukhanov
e76b4c1250
Fix: Preseve status code in header when != 200
...
before:
reply: 'HTTP/1.1 400 Bad Request\n'
header: date: Wed, 16 Apr 2014 00:30:07 GMT
header: content-type: text/plain; charset=utf-8
header: content-length: 286
header: server: Python/HTTPretty
header: status: 200
header: connection: close
after:
reply: 'HTTP/1.1 400 Bad Request\n'
header: date: Wed, 16 Apr 2014 00:32:45 GMT
header: content-type: text/plain; charset=utf-8
header: content-length: 286
header: server: Python/HTTPretty
header: status: 400
header: connection: close
Note how status and reply http did not match before but do now.
2014-04-22 17:35:15 -04:00
Ilya Sukhanov
aa644b4340
Allow returning http errors with exceptions
...
before:
def my_response_method(self):
...
if error:
return template, {'status'=400}
after:
def my_response_method(self):
...
if error:
raise MyResponseError("bad thing happened")
where MyResponseError inherits from HTTPException
2014-04-22 17:35:15 -04:00
Konstantinos Koukopoulos
d4602b9cae
support listing all multipart uploads
2014-04-02 19:09:48 +03:00
Konstantinos Koukopoulos
9954612035
add format field numbers for python 2.6 support
2014-04-02 16:34:29 +03:00
Konstantinos Koukopoulos
84ec801a52
refactor etag calculation to support a correct multipart key etag
2014-04-02 14:40:04 +03:00
Steve Pulec
1767d17018
Cleanup S3 a bit and add more coverage
2014-03-30 11:50:36 -04:00
Steve Pulec
815bb8846c
Change subnets to only have a reference to the vpc_id.
2014-03-28 16:37:55 -04:00
Steve Pulec
1c10d887c0
Fix bug with Gateway Id not being required for Routes
2014-03-28 16:17:43 -04:00
Steve Pulec
ef876dd27e
Fix merge conflicts. Add basic cloudformation support. Closes #111 .
2014-03-27 19:12:53 -04:00
Steve Pulec
069c48b43a
Merge pull request #115 from kouk/s3restore
...
RRD and restore support
2014-03-27 08:40:18 -04:00
Konstantinos Koukopoulos
11938dae7a
fix restore header formatting
2014-03-27 10:00:50 +02:00
Konstantinos Koukopoulos
8ada1d7829
support restore operation on s3 keys
2014-03-26 19:15:08 +02:00
Konstantinos Koukopoulos
c9d5dffa24
support reduced redundancy storage
2014-03-26 17:52:31 +02:00
Konstantinos Koukopoulos
1f49148a64
when copying keys create new objects using deepcopy
2014-03-26 17:41:07 +02:00
Konstantinos Koukopoulos
2ba64e1322
support replacing key metadata when copying
2014-03-26 16:02:14 +02:00