Commit Graph

221 Commits

Author SHA1 Message Date
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
Konstantinos Koukopoulos
d4602b9cae support listing all multipart uploads 2014-04-02 19:09:48 +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
f764e9e0f3 Add more test coverage for the server. 2014-03-30 12:05:38 -04:00
Steve Pulec
1767d17018 Cleanup S3 a bit and add more coverage 2014-03-30 11:50:36 -04:00
Steve Pulec
ef876dd27e Fix merge conflicts. Add basic cloudformation support. Closes #111. 2014-03-27 19:12:53 -04: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
2ba64e1322 support replacing key metadata when copying 2014-03-26 16:02:14 +02: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
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
Jon Haddad
1480f8b44a test which verifies authorizing rules within a VPC is broken see issue #108 2014-03-20 16:22:37 -07:00
Konstantinos Koukopoulos
8e541ae9f8 add unit tests for get_federation_token 2014-03-20 18:46:03 +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
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
94abf90920 [tests] Update boto version for the AssociatePublicIpAddress boto fix. Refs #82 2014-03-04 17:40:36 -05:00
Hugo Lopes Tavares
8b6facf133 Add support to launch configuration AssociatePublicIpAddress parameter 2014-03-04 17:39:19 -05:00
Jeff Gregory
9f14d13163 tests for reverse query order 2014-03-03 13:49:08 -08:00
Konstantinos Koukopoulos
e19967b7d5 support names in DescribeKeyPairs 2014-02-24 15:22:08 +02:00
Konstantinos Koukopoulos
38fa8de4b4 test for delete_key_pair 2014-02-24 13:35:42 +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
8b7c3a3312 add test for creating already existing keypair 2014-02-24 13:06:53 +02:00
Konstantinos Koukopoulos
ddfe478479 implement test for create_key_pair 2014-02-24 13:03:26 +02:00
Konstantinos Koukopoulos
c688e43a9a add test for create_key_pair 2014-02-24 12:24:46 +02:00
Konstantinos Koukopoulos
390d3b900c add a first failing unit test for keypairs 2014-02-24 12:08:00 +02:00
Jeff Gregory
1e011d93d1 Test query search ordre
Test that the order comes out as expected when doing a query
2014-02-23 23:38:04 -08:00
Michael Ossareh
470ade25eb support QueueNamePrefix in the SQS Backend 2014-02-20 11:28:53 -08: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
Vincent Rivellino
1971af9032 Updated test_route53.test_rrset() for batch update
* This should provide a test for [spulec/moto#84].
 * Prior to deleting the existing A record, it sends a batch update that
   includes DELETE and a CREATE, which is what boto performs when
   updating a ResourceRecord.
2014-02-03 12:37:57 -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
Hugo Lopes Tavares
32f0d7e16c Make tests.helpers.requires_boto_gte() return the test function rather than calling it 2014-01-24 10:45:39 -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
6277f72c07 add try catch for missing package in old boto versions 2014-01-07 12:59:36 +02:00
Sorin
637fef1302 port changes from commit/8b278eb05d8c72ab11d48bc3bddf65b3b7b08279 2014-01-07 11:17:11 +02:00
Sorin
776e1bc65a Merge branch 'master' into dynamov2_no_indexes 2014-01-07 11:10:24 +02:00
Sorin
b31c3ab8a5 use requires_boto_gte instead of removing the earlier versions 2014-01-07 10:56:51 +02:00
Steve Pulec
8b278eb05d Clean up querystring logic. 2013-12-29 21:50:25 -05: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
1eac424bf5 missed a commit 2013-12-05 17:56:46 -08:00
Jon Haddad
8781714f5c security group deletion 2013-12-05 17:00:35 -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
2d6e649245 improve coverage 2013-11-15 16:20:25 -08:00
jjofseattle
08777e4b18 pep8 2013-11-15 15:35:46 -08:00
jjofseattle
8da1d31432 fix style issues 2013-11-15 15:29:01 -08:00
Konstantinos Koukopoulos
85e32102fa break multipart test in two 2013-11-15 11:59:30 +02:00
jjofseattle
a11c80fe20 add route53 2013-11-14 11:14:14 -08:00
Konstantinos Koukopoulos
3628e40f3c Merge remote-tracking branch 'spulec/master'
Conflicts:
	moto/s3/responses.py
2013-11-14 17:17:35 +02:00
Brock Pytlik
5a475881d2 support bucket names in url paths in s3bucket_path 2013-11-08 15:36:38 -05:00
Mike Attili
b64dbcaa12 Remove ()'s on complete_upload since should.throw requires a 'callable'. 2013-11-07 17:07:56 -05:00
Jon Haddad
9cbac9bbf4 reworked internals, groups is now a dict of dicts. need to fix errors coming back from revoking and deleting groups 2013-10-30 20:11:15 -07:00
Jon Haddad
c3e4b5401c added new vpc security group test. failing 2013-10-30 17:55:13 -07:00
Ilya Sukhanov
f8f8d25426 Implement Elastic IP 2013-10-08 22:30:21 -04:00
Ilya Sukhanov
b5a454e0da When manipulating instance save end states instead of transitional
When starting an instance it should eventually enter running state. At
least in the normal case. So we report pending but save running, this
way when client requests state of instance a second time, we reply with
running.

Similar thing for stop/terminate/reboot.
2013-10-08 22:30:21 -04:00
Steve Pulec
d8ca75deaa Merge pull request #48 from spulec/py26
Now supporting Python 2.6 as long as we're using the very latest HTTPretty
2013-10-03 17:43:37 -07:00
Steve Pulec
3bddbb4af3 Test out py26 with new HTTPretty 2013-10-03 20:34:13 -04:00
Konstantinos Koukopoulos
6e65b5f6d4 fix part numbering in multipart tests 2013-09-30 16:37:50 +03:00
Konstantinos Koukopoulos
f25caa872d Merge branch 'master' of github.com:spulec/moto
Conflicts:
	moto/s3/models.py
	moto/s3/responses.py
2013-09-30 11:02:25 +03:00
Marcus Ahle
766fed9767 Adding test for sending html email 2013-09-26 09:17:38 -04:00
Sylvain Fraïssé
0fd4a5a6f8 Updates a test to show the ltrip use problem 2013-09-24 00:00:52 +02:00
Steve Pulec
a49bc57279 Adding more boto versions to testing 2013-09-16 21:24:32 -04:00
Steve Pulec
1e11bb1b27 Skip tests for ebs_optimized since it is only in 2.12 2013-09-10 17:04:56 -04:00
Steve Pulec
afad0bed14 Add ebs_optimized parameter to launch configurations 2013-09-10 16:54:57 -04:00
Steve Pulec
dc2802a238 Set __wrapped__ on MockAWS decorator to be the test function. cc #41. 2013-09-10 08:27:28 -04:00
Steve Pulec
a0e2cb3d98 Add EC2 spot instances 2013-08-17 18:11:29 -04:00
Steve Pulec
62b72377bd Add visibletoallusers and normalizedinstancehours to EMR 2013-08-10 20:03:57 -04:00
Steve Pulec
1f83e6feea job_flow_role is not available in boto 2.7 2013-08-08 10:55:02 -04:00
Steve Pulec
e251fd8930 Add job_flow_role param or EMR 2013-08-08 10:40:29 -04:00
Steve Pulec
cea25e75c5 basic emr done 2013-08-07 20:32:29 -04:00
Steve Pulec
02fa630a3c Fix dynamo batch length 2013-08-03 17:27:34 -04:00
Steve Pulec
59fe1abfdf Cleanup flake8 2013-08-03 17:21:25 -04:00
Steve Pulec
161a5744d1 Add more autoscaling params 2013-08-03 17:09:36 -04:00
Steve Pulec
d57157e749 Merge in autoscaling 2013-07-27 16:24:38 -04:00
Lincoln de Sousa
2d51e38eab Using argparse instead of using sys.argv directly 2013-07-26 14:46:14 -04:00
Steve Pulec
befcadc7fc Add ELB server test 2013-07-22 22:56:02 -04:00
Steve Pulec
b40d3a5629 Basic ELB support 2013-07-22 22:50:58 -04:00
Steve Pulec
421a5e60af Fix EC2 response tags. Closes #37. 2013-07-17 12:48:21 -04:00
Steve Pulec
af31744dbd If ec2 filtering exclude all instances for a reservation, remove the reservation from the results. 2013-07-08 22:25:25 -04:00
Steve Pulec
46f9430bdd Fix bug with modifying original reservations 2013-07-08 22:20:55 -04:00
Steve Pulec
257ca9f771 Add ec2 filtering by instance state 2013-07-08 21:18:05 -04:00
Steve Pulec
dda5b2f145 Add tests for instance metadata 2013-07-08 19:40:24 -04:00
Steve Pulec
fda5f83f87 Properly implement ec2.get_all_instances filtering by instance id 2013-07-08 19:25:47 -04:00
Steve Pulec
c6d6a0273d Fix for iam credentials in boto version < 2.9 2013-06-27 00:01:33 -04:00
Steve Pulec
eb70174ed5 Add port option. 2013-06-25 12:42:24 -04:00
Steve Pulec
212d9c7abe core sts endpoints completed 2013-05-24 17:22:34 -04:00
Steve Pulec
3bc975188f more s3 tests for posting 2013-05-17 19:41:39 -04:00
Steve Pulec
9f19662d1c allow passing user data to run_instances 2013-05-17 19:35:53 -04:00
Steve Pulec
c14b8cae74 Merge pull request #31 from Memoto/master
Support for metadata in S3 and POST:ing to a bucket
2013-05-17 06:47:30 -07:00
Dan Berglund
7de4399b93 Added tests and made current tests pass 2013-05-17 11:43:09 +02:00
Steve Pulec
549cb23b7f Better error messaging for dynamodb table gets for range key tables without range keys used. cc #28 2013-05-16 22:24:26 -04:00
Steve Pulec
755fe6563b Fix missing dynamodb key status code to fix has_item. Closes #20 2013-05-07 00:19:04 -04:00
Steve Pulec
4c8244b755 Clean up code for listing s3 keys. Fix #14. 2013-05-07 00:03:05 -04:00
Steve Pulec
caf73557cd Fix issue with large S3 values. Closes #11. 2013-05-06 23:33:59 -04:00