Commit Graph

290 Commits

Author SHA1 Message Date
Shawn Falkner-Horine
22e6166e4e Route Tables / Routes: Initial implementation. 2014-09-04 16:23:59 -07:00
Bobby Impollonia
8ac549569e Add support for filtering spot instance requests 2014-09-04 12:39:14 -07:00
Bobby Impollonia
f029fe672d Add support for getting spot instance request tags 2014-09-04 12:38:09 -07:00
Bobby Impollonia
4403ea955f Support filtering instances by tag 2014-09-04 07:30:19 -07:00
Rory-Finnegan
bf996f1461 Fixed py26 errors related to using assert_raises in tests. 2014-09-03 19:24:05 -04:00
Rory-Finnegan
665beda466 Added support to get_all_security_groups endpoint to actually filter groups.
- Filters by groupnames, group_ids and a filters. However, the filters option doesn't
   support owner-id and tags since neither attribute was readily available via the SecurityGroup object.

 - Also included a basic test to confirm it works.
2014-09-03 16:57:51 -04:00
Rory-Finnegan
a3b02f3f8b Added get_user and delete_access_key endpoints. 2014-09-03 16:57:51 -04:00
Rory-Finnegan
ac74af4085 Added several new endpoints for accessing iam groups and users,
include unit tests.
2014-09-03 16:57:03 -04:00
David Baumgold
eedb4c4b73 Support Python 3 using six 2014-08-28 10:57:43 -04:00
Steve Pulec
cfda83dcba Merge pull request #180 from DreadPirateShawn/AMIsModifyAndDescribe
AMIs: Added ModifyImageAttribute and DescribeImages filtering.
2014-08-27 21:28:15 -04:00
Steve Pulec
ca13c141d3 Merge pull request #176 from singingwolfboy/unicode_literals
Unicode literals
2014-08-27 21:19:50 -04:00
Shawn Falkner-Horine
f9246def75 AMIs: Added ModifyImageAttribute and DescribeImages filtering. 2014-08-27 11:53:44 -07:00
Shawn Falkner-Horine
acaad7026b Remove VIM swap files. 2014-08-27 08:59:51 -07:00
David Baumgold
b4205cf267 Fix tests that fail due to bad unicode support 2014-08-27 11:58:03 -04:00
David Baumgold
4201e6b430 from __future__ import unicode_literals 2014-08-27 11:33:55 -04:00
Steve Pulec
b69179818c Merge pull request #175 from DreadPirateShawn/SnapshotAttributes
Implementation for ModifySnapshotAttribute and DescribeSnapshotAttribute.
2014-08-26 20:53:46 -04:00
Steve Pulec
8f79d71f3f Merge pull request #172 from DreadPirateShawn/CreateSubnetVPCValidation
Create subnet vpc validation
2014-08-26 20:36:26 -04:00
Steve Pulec
1846f28b41 Merge pull request #170 from DreadPirateShawn/DescribeSubnetsFiltering
DescribeSubnets: Added support for 'filters' parameter.
2014-08-26 20:35:19 -04:00
Hugo Lopes Tavares
55400038a8 Change test_regions.py to work with old boto versions 2014-08-26 18:44:19 -04:00
Shawn Falkner-Horine
ebc0037659 Implementation for ModifySnapshotAttribute and DescribeSnapshotAttribute. 2014-08-26 15:16:58 -07:00
Hugo Lopes Tavares
7e69c69ae0 Add multi-region support to Autoscaling 2014-08-26 17:56:56 -04:00
Hugo Lopes Tavares
82eef28937 Add multi-region support to EC2 Instances 2014-08-26 17:56:56 -04:00
Shawn Falkner-Horine
0ecae450a1 CreateSubnet: Added VPC ID validation. 2014-08-26 14:04:34 -07:00
Shawn Falkner-Horine
d683c3b291 DescribeSubnets: Added support for 'filters' parameter. 2014-08-26 13:25:37 -07:00
Shawn Falkner-Horine
5b56e89b60 Error handling: Model-level validations, proper error responses. (fixed typo) 2014-08-25 15:14:45 -07:00
Shawn Falkner-Horine
c97417d8e7 Error handling: Model-level validations, proper error responses. (backport assert_raises as context manager for Python 2.6) 2014-08-25 15:09:38 -07:00
Shawn Falkner-Horine
9938995e05 Error handling: Model-level validations, proper error responses. (added coverage for new instance status call) 2014-08-25 14:00:35 -07:00
Shawn Falkner-Horine
5c46898b17 Merge remote-tracking branch 'upstream/master'
Conflicts:
	moto/ec2/responses/instances.py
2014-08-25 13:43:23 -07:00
Shawn Falkner-Horine
071c03e216 Error handling: Model-level validations, proper error responses. 2014-08-25 10:54:47 -07:00
Andres Riancho
c65ff170b2 Fix NotImplementedError: The describe_instance_status action has not been implemented #163 2014-08-20 14:52:23 -03:00
Steve Pulec
195505948b Merge pull request #162 from andresriancho/master
Fix block device mapping #160
2014-08-20 07:39:24 -04:00
Steve Pulec
9d06ccf0cd Merge pull request #156 from DreadPirateShawn/VPCPeeringConnections
Add support for VPCPeeringConnections.
2014-08-20 07:38:28 -04:00
Andres Riancho
9c1032da58 Fix #160, implemented blockDeviceMapping modify_attribute set 2014-08-20 08:20:08 -03:00
Andres Riancho
e94a7ed6ff First, we make it crash #160 2014-08-20 08:20:06 -03:00
Shawn Falkner-Horine
bfafaf70df Update support for VPCPeeringConnections. (New boto version in Travis matrix and gte threshold for tests.) 2014-08-18 11:54:11 -07:00
Steve Pulec
64ed605c14 Ignore S3 ACL for now since we do not implement it. 2014-08-13 22:13:23 -04:00
Steve Pulec
d2fc7bb7f9 Merge pull request #139 from kouk/backendaccess
general support for access to backend models
2014-08-02 10:43:35 -04:00
Shawn Falkner-Horine
42a305239c Add support for VPCPeeringConnections. 2014-07-31 14:41:30 -07:00
Konstantinos Koukopoulos
955bd6feef add a test for model accessor 2014-07-29 15:29:52 +03:00
Steve Pulec
63799f3af8 Restrict tests to new version since we have change the behavior. 2014-07-22 21:53:54 -04:00
Steve Pulec
12d61ede41 Updating dynamodb2 tests for newer boto. 2014-07-22 21:47:56 -04:00
Steve Pulec
1d2bf48e40 Remove dupe line. 2014-07-18 20:56:02 -04:00
Steve Pulec
4b5b072b27 Merge pull request #150 from kevgliss/enhanced_ssl_support
Enhanced ssl support
2014-07-18 20:55:02 -04:00
Kevin Glisson
fc30f5ba1f adding tests 2014-07-18 17:31:57 -07:00
Steve Pulec
3a063862a7 Merge pull request #148 from mrucci/fix-describe-asg
Fix retrieval of autoscaling group instances.
2014-07-14 20:37:26 -04:00
Marco Rucci
ada20cea61 Fix retrieval of autoscaling group instances. 2014-07-13 20:47:35 +02:00
Marco Rucci
9f092e6192 Route 53 GET request honors the Name parameter.
Now record sets can be retrieved by name via get_all_rrsets.
2014-07-13 19:48:20 +02:00
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
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
049b73485f test changing visibility improperly 2014-06-20 16:29:40 -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
Steve Pulec
aec7d8e998 Merge pull request #138 from IlyaSukhanov/master
Implement internet gateway mocking
2014-06-17 22:28:16 -04:00
Ilya Sukhanov
bcb0e7a3d4 Implement internet gateway mocking 2014-06-08 09:45:18 -04:00
Christian Wittwer
6f3a056171 add test for instance filtering by instance-id 2014-06-05 11:12:55 +02: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
Steve Pulec
8182b3baa8 Extend security group testing for VPC. 2014-05-11 17:13:48 -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
ce31b0200a Fix tests when using a working boto version 2014-04-25 16:18:26 -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
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