Commit Graph

570 Commits

Author SHA1 Message Date
Steve Pulec
6c9bba2ca1 Cleanup EC2 classic default security group. 2015-03-14 18:50:41 -04:00
Steve Pulec
82f19952dd Add Dynamodb2 global indexes. Closes #329. 2015-03-14 15:02:43 -04:00
Steve Pulec
706c60175b Add SNS applications and endpoints. 2015-03-14 09:06:31 -04:00
Jair Henrique
bdb0f1e315 add tests for list_endpoints_by_platform_application 2015-03-06 14:35:17 -03:00
Steve Pulec
bf32bdc042 Merge pull request #326 from jraby/patch-2
Add test_multipart_duplicate_upload
2015-03-05 19:30:40 -05:00
Steve Pulec
3ac97318e1 Fix etag for reduced min part size. 2015-03-05 19:05:06 -05:00
jraby
4a14d8d3b3 Add test_multipart_duplicate_upload
Test to make sure we do not duplicate data when uploading the same part twice
2015-02-27 18:48:51 -05:00
jraby
5ba8421242 Fix reduced_min_part_size so that tests run 2015-02-27 18:42:37 -05:00
Steve Pulec
2cd633e27d Merge pull request #323 from mikegrima/mgrima-add-boto-test-list_instance_profiles_for_role
Added in test for the boto IAM method: list_instance_profiles_for_role()
2015-02-27 15:32:16 -05:00
Mike Grima
3a357c0fe3 Added in test for the boto IAM method: list_instance_profiles_for_role() 2015-02-26 21:28:15 -08:00
Hugo Lopes Tavares
4beda26007 Change SecurityGroupBackend.{authorize,revoke}_security_group_ingress() methods to receive group name or id, never both 2015-02-25 18:11:00 -05:00
Hugo Lopes Tavares
dc351dfc9e Add support to AWS::EC2::SecurityGroupIngress creation 2015-02-25 12:20:25 -05:00
Steve Pulec
c0e80de4d3 Merge pull request #317 from spulec/ec2-security-group-tag-filtering
Add support to tag filtering to Security Groups
2015-02-24 18:00:51 -05:00
Hugo Lopes Tavares
20d8318997 Add support to tag filtering to Security Groups 2015-02-24 17:56:26 -05:00
Andy Altepeter
b987914c72 slight change in formatting 2015-02-24 07:43:43 -06:00
Andy Altepeter
b66ee09abe fix test for ec2 instance type filter 2015-02-24 07:39:50 -06:00
Andy Altepeter
e17c7bbd7a support 'instance_type' filter 2015-02-23 11:03:59 -06:00
Andy Altepeter
d2d82333f9 support tag-value instance filter 2015-02-23 10:52:47 -06:00
Andy Altepeter
53ec30e3ba support 'tag-key' instance type 2015-02-23 10:45:16 -06:00
John Lynn
19d12d3bc3 Add failing test for bucket versioning 2015-02-22 22:22:32 +07:00
Konstantinos Koukopoulos
f46c2508c0 allow running mock_s3 and mock_s3bucket_path one after the other 2015-02-20 21:50:49 +02:00
Konstantinos Koukopoulos
86cba4e82c create a new connection after exiting context manager in test_decorator_calls 2015-02-20 21:39:26 +02:00
Konstantinos Koukopoulos
04b86fe362 add missing decorator to cloudformation test 2015-02-20 17:28:49 +02:00
Steve Pulec
747563e4ff Cleanup tag escape testing. 2015-02-17 22:18:40 -05:00
Hugo Lopes Tavares
8d25aa2529 Add support to create AWS::EC2::VPCPeeringConnection through the CloudFormation interface 2015-02-17 14:40:48 -05:00
Steve Pulec
136873d49e Cleanup public IPs for EC2 classic instances and fix some default ENI things. 2015-02-14 14:42:20 -05:00
Steve Pulec
556394c68e No native dict comprehensions in py26. 2015-02-14 12:21:53 -05:00
Steve Pulec
95b1fa42b2 Add EMR clusters and tagging. 2015-02-14 12:00:14 -05:00
Steve Pulec
5ededbb297 Fix security group tags. Closes #301. 2015-02-14 08:57:14 -05:00
Steve Pulec
53a6d2466b Merge pull request #298 from kouk/ranged_get
support ranged get in S3
2015-02-14 08:35:23 -05:00
Steve Pulec
4d4cb39769 Merge pull request #297 from kouk/multipart_errors
Support for client supplied part order in multipart uploads
2015-02-14 08:30:10 -05:00
Steve Pulec
2bc771349a Merge pull request #302 from spulec/fix-cloudformation-vpc-gateway-attachment-creation
Attach internet gateway to VPC when it is created through CloudFormation
2015-02-11 18:26:00 -05:00
Hugo Lopes Tavares
1546635fcd Attach internet gateway to VPC when it is created through CloudFormation 2015-02-11 18:19:40 -05:00
Konstantinos Koukopoulos
b2904fe849 add byte specifier for py3 2015-02-11 11:08:00 +02:00
Konstantinos Koukopoulos
297c730932 speed up multipart tests by temporarily reducing min part size 2015-02-11 11:05:26 +02:00
Konstantinos Koukopoulos
e1163e5223 fix some boundary conditions 2015-02-10 19:43:24 +02:00
Konstantinos Koukopoulos
261328d449 set content-range header so boto knows this is a ranged response 2015-02-10 19:15:10 +02:00
Konstantinos Koukopoulos
418a6a118e return proper status codes in range get, fix suffix range 2015-02-10 19:14:47 +02:00
Konstantinos Koukopoulos
9efd12c43c support more range specifiers in ranged gets 2015-02-10 17:55:44 +02:00
Konstantinos Koukopoulos
27a022f695 fix field names for py26 in s3 test 2015-02-10 17:31:40 +02:00
Konstantinos Koukopoulos
dbf1e64d44 support ranged get in S3 2015-02-10 17:28:18 +02:00
Konstantinos Koukopoulos
8ad39449be add a test for completing an upload with an invalid part order 2015-02-10 16:55:32 +02:00
Konstantinos Koukopoulos
4ef484d908 add test for uploading parts out of order in S3 multipart upload 2015-02-10 16:42:50 +02:00
Mike Fuller
abae19d273 fixing up base64 encoding for python 3 back to using base64 module 2015-02-05 17:07:08 +11:00
Mike Fuller
d0a60d8702 fixing up base64 encoding for python 3 2015-02-05 17:03:11 +11:00
Mike Fuller
5547a917a6 use should.match instead of should.contain as string is not an interable. 2015-02-04 12:50:18 +11:00
Mike Fuller
d1f82b83ec Merge remote-tracking branch 'upstream/master' into adding_iam_credentials_report 2015-02-04 12:40:36 +11:00
Steve Pulec
ea07dd1cc7 Merge pull request #292 from mfulleratlassian/adding_rds2_support
Adding rds2 support
2015-02-03 20:26:25 -05:00
Hugo Lopes Tavares
7eb969fb00 Remove requires_boto_lte and add comment about StorageType vs storage_type 2015-02-03 16:57:12 -05:00
Hugo Lopes Tavares
c40437398f Add StorageType and Iops elements to DBInstance XML response 2015-02-03 16:50:14 -05:00
Mike Fuller
96e5f2875d Merge remote-tracking branch 'upstream/master' into adding_iam_credentials_report 2015-02-03 09:43:55 +11:00
Mike Fuller
5eab1901e4 added get/generate credential report to mock_iam 2015-02-03 09:42:57 +11:00
Hugo Lopes Tavares
c0cbd59167 Make RDS interface work with us-east-1 region 2015-02-02 16:37:57 -05:00
Mike Fuller
618c2a7013 Turned off tests on python 3 2015-01-30 19:28:07 +11:00
Mike Fuller
d350ac438e Merge remote-tracking branch 'upstream/master' into adding_rds2_support 2015-01-30 17:14:13 +11:00
Mike Fuller
0d958e9b1c Added read replica support 2015-01-30 17:12:51 +11:00
Mike Fuller
42ab9312bb Added db_subnet_group support 2015-01-30 08:18:15 +11:00
Jeff Balogh
c7bf6ffc91 Folder results should include the delimiter. 2015-01-29 09:20:40 -08:00
Mike Fuller
8614b50898 Added DB Security Group Create/List/Delete/Authorize 2015-01-29 17:25:39 +11:00
Mike Fuller
884bd51604 Added tests add/remove/list tags on option groups 2015-01-29 07:24:03 +11:00
Mike Fuller
e42046aeda extended the list/add/delete tags functions to support more resource types. 2015-01-29 07:15:03 +11:00
Mike Fuller
10c0ffc2f2 Added remove_tags_from_resource for rds db and add_tags_to_resource for rds db. 2015-01-28 10:17:55 +11:00
Chris Henry
9e2a577324 Tweak tests. 2015-01-27 01:59:55 -05:00
Mike Fuller
2dde94c9be Storing tags on create db instance and getting tags back in list_tags_for_resource 2015-01-27 09:04:39 +11:00
Mike Fuller
6559d11dd5 Merge remote-tracking branch 'upstream/master' into adding_rds2_support 2015-01-27 08:24:54 +11:00
Mike Fuller
6232abfe2d Added reboot instance and list_tags_for_resource. Still need to get the tags populated. 2015-01-27 08:21:48 +11:00
Chris Henry
bcf4e97752 Uncomment existing subnet groups test and add more assertions. 2015-01-26 15:39:34 -05:00
dreadpirateshawn
d631f869c1 ModifyImageAttribute: Added support for user permissions. 2015-01-23 09:43:54 -08:00
Mike Fuller
8671f1e29f Merge remote-tracking branch 'upstream/master' into adding_rds2_support 2015-01-22 07:22:50 +11:00
Mike Fuller
242e29a7c1 rds2 modify_db_instance, small code tidy ups 2015-01-22 07:21:49 +11:00
Mike Fuller
6fad81aabf I have delete options for the modify_option_group method but for the life of me. I cannot work out how to use this function to add options to an option_group. 2015-01-21 07:15:47 +11:00
Mike Fuller
dfb33aaad3 Started implementing modify_option_group. 2015-01-20 21:01:34 +11:00
Mike Fuller
a43b002c3a Added describe_option_group_options. 2015-01-20 07:18:52 +11:00
Steve Pulec
b1c41820f7 Cleanup EC2 launch time code a bit. 2015-01-19 13:44:15 -05:00
Mike Fuller
503d46d36a Added decribe_option_groups and delete_option_group support 2015-01-19 20:29:32 +11:00
Mike Fuller
40db44f2cd Added Exceptions on create_option_group 2015-01-19 17:03:14 +11:00
Chris Henry
1f2a913d3a Merge branch 'master' of github.com:behanceops/moto into feature-instance-launch-time
Conflicts:
	moto/ec2/models.py
2015-01-18 16:37:27 -05:00
Chris Henry
40b97d1bb2 Test that launch_time is a iso 8601 string. 2015-01-18 16:30:39 -05:00
Mike Fuller
e2ed5ed733 Merge remote-tracking branch 'upstream/master' into adding_rds2_support 2015-01-19 08:22:27 +11:00
Mike Fuller
c6437930de fixed up tests for create_option_group, fixed return json to have major_version correct 2015-01-19 08:06:37 +11:00
Mike Fuller
8c16517f10 building out new RDS2 Mock.
completed:
 * create_db_instance()
 * create_option_group()
2015-01-19 07:38:10 +11:00
Steve Pulec
c22ea3014b Add SNS topics to cloudformation. 2015-01-17 19:48:08 -05:00
Steve Pulec
585ef7b768 Add route53 health checks. 2015-01-17 19:06:43 -05:00
Steve Pulec
adb26986eb Add route53 ResourceSet to Cloudformation. 2015-01-17 15:37:46 -05:00
Steve Pulec
42cd333d51 Refactor Route53 record sets. 2015-01-17 14:50:19 -05:00
Steve Pulec
5d5f241b99 Add route53 support to cloudformation. 2015-01-17 10:17:25 -05:00
Steve Pulec
1ca651e106 Skip some tests for py3 since boto is not compatible yet. 2015-01-11 16:39:39 -05:00
Steve Pulec
ae6a05af72 Add missing fixture. 2015-01-11 16:17:53 -05:00
Steve Pulec
166f4893ba Add cloudformation for RDS. 2015-01-11 16:15:08 -05:00
Steve Pulec
12118374bd Add database replicas. 2015-01-10 13:50:37 -05:00
Steve Pulec
7559fbe0d1 Add RDS Subnet groups 2015-01-09 00:17:20 -05:00
Steve Pulec
809046e00e Add RDS security groups. 2015-01-08 23:44:05 -05:00
Steve Pulec
dbe3eb5459 Add database CRUD. 2015-01-08 22:18:06 -05:00
Steve Pulec
e05a061993 Add support for Cloudformation Mappings. 2015-01-07 22:32:51 -05:00
Steve Pulec
8da6437689 Add some support for Cloudformation Conditions. Closes #285. 2015-01-07 21:37:12 -05:00
Steve Pulec
1e4df18c42 Allow actual use of cloudformation input parameters. 2014-12-31 14:21:47 -05:00
Steve Pulec
186ee6a5a4 Add cloudformation stack parsing for S3 keys. 2014-12-29 22:12:23 -05:00
Steve Pulec
4ab3b318eb Add S3 location response. Closes #279. 2014-12-10 20:44:00 -05:00
Steve Pulec
a2e56afef8 Add special S3 bucket create logic for us-east-1. Closes #273. 2014-12-10 20:20:51 -05:00
Steve Pulec
845c468f32 Merge pull request #278 from cameron-r/master
Add filtering of instances by security group id
2014-12-10 20:11:25 -05:00
Cameron Rowshanbin
573a73aa01 With @ethome, add filtering of instances by security group id 2014-12-10 11:53:40 -06:00
Tyler Sanders
b513d69313 Add support for route table routes to target virtual private gateways. 2014-12-09 12:07:14 -06:00
Steve Pulec
3a82f089a2 Cleanup metadata setting and add fix for multipart uploads. Closes #274. 2014-12-07 12:43:14 -05:00
Steve Pulec
7b81a0cb95 Merge branch 'enhancedIamRoleSupport' of https://github.com/kevgliss/moto into kevgliss-enhancedIamRoleSupport 2014-12-06 19:31:18 -05:00
Tyler Sanders
db7757347a Detach virtual private gateway support 2014-12-02 10:40:05 -06:00
Tyler Sanders
166fd69515 Virtual Private Gateway functionality 2014-12-02 10:28:09 -06:00
Kevin Glisson
cc312d29fc Adding put_role_policy, get_role_policy, and list_role_policies, update_assume_role_policy 2014-11-30 20:11:13 -08:00
Kevin Glisson
7f6af025f3 Create role does not allow for document policies to be passed to it 2014-11-30 11:16:29 -08:00
Steve Pulec
1a015d0e39 Cleanup some incorrect date formats. 2014-11-29 23:34:40 -05:00
Steve Pulec
d24099c401 Add proper SNS paging. Closes #144, #145. 2014-11-29 22:37:48 -05:00
Steve Pulec
e66916d5f1 Start to add basic support for dynamodb2 item updating. Closes #16. 2014-11-29 22:03:29 -05:00
Tyler Sanders
7476c63119 Update upstream branch 'master' into instance_modify_security_groups 2014-11-27 11:14:46 -06:00
Tyler Sanders
9cbe8d57f4 Support instance security group/groupSet attribute modification and description 2014-11-27 11:05:39 -06:00
Steve Pulec
e88e3d5372 S3 Fixes for special metadata headers. 2014-11-27 10:43:10 -05:00
Steve Pulec
06a635aeaa Remove dynamodb Py3 boto restrictions since we only test newer boto now. 2014-11-27 08:03:47 -05:00
Steve Pulec
57d45aa4b8 Add more shard iterator types. 2014-11-26 20:49:21 -05:00
Steve Pulec
da15fb711d Basic Kinesis Stream CRUD. 2014-11-26 10:55:58 -05:00
Steve Pulec
50b80b68f0 Add invalid subnet test. 2014-11-23 23:20:02 -05:00
Steve Pulec
5bbcc4505f Add cluster parameter groups. 2014-11-23 23:03:10 -05:00
Steve Pulec
2418c83252 Fixes for VPC security groups. 2014-11-23 22:33:53 -05:00
Steve Pulec
2e484a895b Fix for default security group. 2014-11-23 22:21:29 -05:00
Steve Pulec
25a31ee88a Add cluster security groups. 2014-11-23 22:17:36 -05:00
Steve Pulec
ef3e5448ea Add cluster subnet group CRUD. 2014-11-23 21:36:19 -05:00
Steve Pulec
72a7946126 Cleanup default parameters. 2014-11-23 18:16:22 -05:00
Steve Pulec
93bd852419 Fix redshift test. Drop old boto version from testing. 2014-11-23 17:59:38 -05:00
Steve Pulec
aceb30e530 Add basic CRUD. 2014-11-22 14:03:09 -05:00
Steve Pulec
ad80eba311 Decode S3 value manually instead of using new boto feature. 2014-11-22 10:42:43 -05:00
Steve Pulec
9024066957 Fixes for some S3 Unicode issues. Closes #158. 2014-11-22 10:19:56 -05:00
Tyler Sanders
1fc32fa5cb Add support for Route Table tagging 2014-11-20 14:08:38 -06:00
Tyler Sanders
d511fd829b Add support for Network ACL tagging 2014-11-20 12:04:34 -06:00
Steve Pulec
8d6868f9d3 For S3 Key Head requests, just return the real body for now so that key length works. Closes #131. 2014-11-19 21:06:23 -05:00
Steve Pulec
8954242086 Better is_public support for AMIs including filtering. Closes #263. 2014-11-19 20:09:46 -05:00
Tyler Sanders
2a6c4c89bf Fix conflict with subnet/network ACL association during subnet creation. 2014-11-17 09:37:38 -06:00
Steve Pulec
828ed13bde Allow for class-based decorator. Closes #157 2014-11-16 19:05:28 -05:00
Steve Pulec
16660ab72b Allow message passing to SQS queues in different regions from SNS. 2014-11-16 18:42:53 -05:00
Steve Pulec
53acdf6c76 Make SNS multi-region. 2014-11-16 18:35:11 -05:00
Steve Pulec
2b775aa075 Add multi-region ELB test. 2014-11-16 18:00:04 -05:00
Steve Pulec
aa7233a2db Fixes for multi-region SQS. 2014-11-16 17:57:46 -05:00
Steve Pulec
2a61ef6f91 Cleanup some tests to work across regions. cc #232 2014-11-15 13:50:58 -05:00
Steve Pulec
bd847bd941 Cleanup multi-region support for ELB, SQS, Cloudformation, EC2, Autoscaling. 2014-11-15 13:34:52 -05:00
Steve Pulec
b39861052b Make AMI test more explicit with region. 2014-11-15 10:06:14 -05:00
Tyler Sanders
400d12b175 Add default Network ACL during VPC creation. Associate default Network ACL with a new subnet. Add support for associating a new Network ACL with a subnet. 2014-11-14 17:23:56 -06:00
Tyler Sanders
0f18dd597c Add basic Network ACL create, describe support 2014-11-12 15:33:31 -06:00
Peter Van Bouwel
f28ad8ee29 Alter get_tags to use the backend associated with the taggable object. Also give volume and snapshot an additional backend attribute. 2014-11-11 10:26:02 +01:00
Peter Van Bouwel
2f1f993793 Extend the DESCRIBE_SNAPSHOTS_RESPONSE to include the tagSet as documented by AWS. Also refactor the names of the tests I introduced in previous commits to be more descriptive. Finally some code cleanup, removing the get_tags method from classes and instead inherit from the TaggedEC2Resource class. 2014-11-09 15:00:40 +01:00
Peter Van Bouwel
53fdf330ee Tests are added that verify that when a tag is being set on an (EBS) volume or on an instance that upon retrieval
from the resource, the tag are set on the instance.  Important is that the tags are set using create_tags but that
the presence is validated by getting the resource using either (get_all_volumes or get_all_instances).

When running the tests using nosetests it shows that the tags for the instances are correctly retrieved but the tags
for the volume are missing
2014-11-08 12:12:20 +01:00
Hugo Lopes Tavares
32af875386 Implement InternetGateway filters support
More information about IGW filters: http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeInternetGateways.html#query-DescribeInternetGateways-filters
2014-11-05 12:26:29 -05:00
Hugo Lopes Tavares
faa55efe21 Implement vpc-id Instance filter 2014-11-05 11:06:14 -05:00
Steve Pulec
41282c9e48 Merge pull request #251 from joekiller/cfn_eni
enable cloudformation of NetworkInterface
2014-11-04 17:22:32 -05:00
Hugo Lopes Tavares
8a0a10b0d1 Add support to filtering instances by source-dest-check 2014-11-04 16:56:56 -05:00