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
Joe Rickerby
73602958ed
Fix bug with POST uploads returning 400 client error
2014-03-26 13:53:14 +00:00
Steve Pulec
140f1c2000
Add ability to launch instances with security groups.
2014-03-22 14:02:47 -04:00
Steve Pulec
a9b48ed836
Merge pull request #109 from StartTheShift/fix_vpc_grant_permission_issue
...
Fix vpc grant permission to groups issue
2014-03-21 17:06:18 -04:00
Jon Haddad
77ab6d2022
removed unnecessary itertools chain.
...
added success test case around authorize & revoke
2014-03-21 13:31:00 -07:00
Steve Pulec
2cd5418ffa
Merge pull request #110 from kouk/multipart-copy
...
support x-amz-copy-source in multipart uploads
2014-03-21 15:50:54 -04:00
Konstantinos Koukopoulos
c68a1d3e9d
support x-amz-copy-source in multipart uploads
2014-03-21 17:33:51 +02:00
Konstantinos Koukopoulos
b3608cac66
remove whitespace in sample responses in STS get_federation_token response
2014-03-21 13:08:31 +02:00
Konstantinos Koukopoulos
bcc2aa3394
fix querystring handling in get_federation_token
2014-03-21 13:08:08 +02:00
Jon Haddad
ecaf53fd28
fix for VPC revoking of rules related to groups
2014-03-20 17:53:39 -07:00
Jon Haddad
2b4fe552d1
VPC support for adding rules improving
2014-03-20 17:52:49 -07:00
Jon Haddad
cbdc8ba183
We're getting back the correct group from get_security_group_from_id,
...
but hitting another issue with the source_group_name also using an id
rather than a name
2014-03-20 17:26:08 -07:00
Konstantinos Koukopoulos
fb558bb1ca
add support for sts get_federation_token
2014-03-20 18:29:39 +02:00
Steve Pulec
60cd79c6e2
S3 Mock should return an HTTP 409 if trying to create a bucket that
...
already exists. Closes #94 .
2014-03-16 21:25:54 -04:00
jexhson
8612e9d782
Use hash_key in query to filter returned items
2014-03-14 16:37:01 +01:00
Steve Pulec
2e10f46e96
Merge pull request #101 from kouk/keypairs
...
Basic support for KeyPairs
2014-03-04 17:53:52 -05:00
Hugo Lopes Tavares
8b6facf133
Add support to launch configuration AssociatePublicIpAddress parameter
2014-03-04 17:39:19 -05:00
Jeff Gregory
598c22528f
added support for ScanIndexForward and actual range ordering on range items and not just the dictionaries
2014-03-03 13:41:07 -08:00
Konstantinos Koukopoulos
8db4097861
raise NotImplementedError when Filters are used in describe_key_pairs
2014-02-24 16:35:03 +02:00
Konstantinos Koukopoulos
e19967b7d5
support names in DescribeKeyPairs
2014-02-24 15:22:08 +02:00
Konstantinos Koukopoulos
72ae98128c
really delete key pair
2014-02-24 13:38:46 +02:00
Konstantinos Koukopoulos
e7d2c2687a
implement delete_key_pair, test zero case
2014-02-24 13:34:39 +02:00
Konstantinos Koukopoulos
99c6b8acbe
test DescribeKeyPairs with more than one key pair
2014-02-24 13:20:47 +02:00
Konstantinos Koukopoulos
35063ca743
make duplicate key pair test pass
2014-02-24 13:13:23 +02:00
Konstantinos Koukopoulos
ddfe478479
implement test for create_key_pair
2014-02-24 13:03:26 +02:00
Konstantinos Koukopoulos
65beb30054
create KeyPairBackend in ec2 model, use in keypair test
2014-02-24 12:42:50 +02:00
Konstantinos Koukopoulos
d438b05d41
return empty key pairs response
2014-02-24 12:18:52 +02:00
Jeff Gregory
76856aadc7
Query sort keying on index values and not index hashes which was causing unexpected ording results
2014-02-23 03:11:54 -08:00
Jeff Gregory
372e2d8729
Query order/limit enforced. Scan limit enforced
2014-02-21 13:33:46 -08:00
Michael Ossareh
470ade25eb
support QueueNamePrefix in the SQS Backend
2014-02-20 11:28:53 -08:00
Gilles Dartiguelongue
49ecfad6b1
Implement HEAD method due to changes in boto 2.25, closes : #91
2014-02-10 12:18:12 +01:00
Steve Pulec
403250e919
Fix S3 URL Regex to allow slashes in key names.
2014-02-06 20:47:56 -05:00
Steve Pulec
ec2de04c20
Merge pull request #84 from vrivellino/master
...
moto.route53.responses.rrset_response() fix for spulec/moto#83
2014-02-06 20:37:10 -05:00
sgarcialaguna
e1366165d1
Fixed typo in REQUEST_POST_INSTANCES_TEMPLATE
2014-01-29 19:41:47 +01:00
Hugo Lopes Tavares
4e88d79da2
Refactor AmiBackend.describe_images: make logic of missing image simpler
2014-01-28 18:53:12 -05:00
Hugo Lopes Tavares
90aa87d53e
Fix DescribeImages to throw error if AMI requested does not exist
2014-01-28 18:15:29 -05:00
Vincent Rivellino
eb93a2bcd1
Route53 Zone.update_record() fix [ spulec/moto#83 ]
...
* Zone.update_record() issues what is essentially a batched update to
the AWS Route53 API: It's a DELETE followed by a CREATE. This fix
allow moto to handle that batched update.
2014-01-24 14:34:53 -05:00
Steve Pulec
262b698149
Fix for security groups with other security source groups. Closes #80 .
2014-01-19 06:54:25 -05:00
Steve Pulec
f6e166c96d
Merge pull request #79 from Zulunko/master
...
Enables the usage of special characters in keys when using s3bucket_path
2014-01-11 17:25:56 -08:00
Eric Lang
fcb2542410
Special characters now allowed in s3bucket_path keys. Fixes issue #78 .
2014-01-07 13:25:14 -08:00
Sorin
776e1bc65a
Merge branch 'master' into dynamov2_no_indexes
2014-01-07 11:10:24 +02:00
Steve Pulec
5e7936123c
Add comments for optional argparse positional argument
2013-12-30 13:32:07 -05:00
Steve Pulec
f0c6d1124c
Make service argument optional so that you can actually use all services
2013-12-30 13:30:11 -05:00
Steve Pulec
c4c342c570
Fix bug with backend_name vs backend.
2013-12-30 12:33:31 -05:00
Steve Pulec
8b278eb05d
Clean up querystring logic.
2013-12-29 21:50:25 -05:00
Andres Riancho
ffcbaf366e
Remove debug print
2013-12-29 21:50:05 -05:00
Andres Riancho
c6515af8bf
Now we have a stand-alone server which can provide services for more than one backend at the same time
2013-12-29 21:50:05 -05:00
Andres Riancho
56357d344c
Making URL a little bit more strict
2013-12-29 21:49:17 -05:00
Steve Pulec
c1f224954e
Cleanup some style
2013-12-29 08:59:07 -05:00
Steve Pulec
74e2c19865
Cleanup unused imports
2013-12-29 08:40:38 -05:00
Steve Pulec
f3890ffc31
Fix for EC2Response MRO
2013-12-29 08:34:07 -05:00
Steve Pulec
ec938ef904
Convert all EC2Response Mixins to subclasses.
2013-12-29 08:25:13 -05:00
Steve Pulec
2073dc769a
Clean up querystring logic.
2013-12-28 20:15:42 -05:00
Andres Riancho
d58f406de4
Fixes https://github.com/spulec/moto/issues/74
2013-12-28 20:15:42 -05:00
Andres Riancho
186b40de54
All tests pass! Fixes https://github.com/spulec/moto/issues/72
2013-12-26 13:52:03 -03:00
Andres Riancho
748fa52cca
Fix for https://github.com/spulec/moto/issues/72
...
Need to run the whole test suite to make sure no regressions were added
2013-12-26 13:12:50 -03:00
creyer
48cfd19fe6
dynamodb v2 no indexes
2013-12-10 11:51:54 +02:00
Jon Haddad
48ee4b600b
updated SC methods to work with a group_id, which must be used if it's a group in a VPC
2013-12-06 14:34:13 -08:00
Jon Haddad
0e316d8fc3
fixed spot instances creation
2013-12-05 16:45:18 -08:00
Jon Haddad
0712d40f71
added vpc_id to deletion
2013-12-05 16:39:25 -08:00
Jon Haddad
4fc7317804
Merge branch 'master' of https://github.com/spulec/moto into sg_vpc_support
2013-12-05 16:26:07 -08:00
Steve Pulec
8cc9b1acc3
Merge pull request #65 from jjofseattle/master
...
add route53 support
2013-11-23 07:30:45 -08:00
jjofseattle
38b26f038f
handle double deletion caused by httpretty
2013-11-20 14:45:44 -08:00
jjofseattle
2d6e649245
improve coverage
2013-11-15 16:20:25 -08:00
jjofseattle
08777e4b18
pep8
2013-11-15 15:35:46 -08:00