Commit Graph

1232 Commits

Author SHA1 Message Date
Collin RM Stocks
1b65c45b56 ALWAYS use utcnow(), never now() 2016-09-07 14:40:52 -04:00
imran
478e791c39 Fix unicode S3 key listing in Python 2 2016-09-04 04:31:03 +06:00
Michael De La Rue
bf2fdbba76 Make server use 127.0.0.1 as default address. 2016-09-01 12:14:38 +01:00
Georges Chaudy
dc75e5d6ad add ecs tasks methods 2016-08-30 00:26:13 +01:00
Steve Pulec
ea319698aa Merge pull request #669 from netors/feature/implement-iam-list-users-for-boto3
implemented iam list users (Closes #668)
2016-08-27 21:13:53 -04:00
Steve Pulec
0a11db6a8c Merge pull request #686 from mervynrussell/feature/ami_creation_date
Feature/ami creation date
2016-08-27 21:06:13 -04:00
Steve Pulec
18b6197bf2 Merge pull request #674 from IlyaSukhanov/master
Preserve Namespace and MetricName when creating cloudwatch alarm.
2016-08-27 21:05:31 -04:00
Mervyn Russell
27495e01e5 Added support for creation date to Ami 2016-08-26 13:43:17 +01:00
Waldemar Hummer
db275a1573 initial support for apigateway stages, in particular the update_stage method 2016-08-22 13:36:19 +10:00
Steve Pulec
e92a8b7492 Merge pull request #680 from SplunkStorm/setup_s3_cfn_parsing
Setup s3 cfn parsing
2016-08-19 17:29:58 -04:00
Steve Pulec
18d1bb1079 Merge pull request #681 from ronin13/queue-arn
Use region from ctor to set queue_arn.
2016-08-19 17:29:01 -04:00
Steve Pulec
811c95381a Merge pull request #679 from phobologic/master
Causes get_server_certificate to fail correctly
2016-08-19 17:28:31 -04:00
Steve Pulec
346c094007 Merge pull request #676 from whummer/feature/apigateway-req-templates
Add support for requestTemplates parameter in apigateway integrations mock
2016-08-19 17:26:45 -04:00
Raghavendra Prabhu
34a28b0fd5 Use region from ctor to set queue_arn.
Without this, any region passed to boto3.resource is ignored and unit
tests depending on it break.
2016-08-17 22:12:00 +01:00
Declan Shanaghy
1441087e5c Add S3 parsing for CloudFormation 2016-08-15 10:57:40 -07:00
Michael Barrett
4bfbcf4d03 Causes get_server_certificate to fail correctly
When no certificate with the name exists, the API should return a 404
(NoSuchEntity).
2016-08-14 17:40:39 -07:00
rocky4570fft
0161422d21 additional filters to get_all_vpcs 2016-08-14 16:58:35 +10:00
Waldemar Hummer
5075f6684f add support for requestTemplates parameter in apigateway mock 2016-08-10 13:55:59 +10:00
Ilya Sukhanov
a37838b638 Preserve Namespace and MetricName when creating cloudwatch alarm. 2016-08-01 17:31:08 -04:00
Steve Pulec
ececa8009b Merge pull request #665 from macheins/fix-broken-sqs-queue-arn-attribute
Fix broken SQS QueueArn attribute
2016-07-24 09:28:47 -04:00
Steve Pulec
d20906fcd7 Merge pull request #622 from nfvs/boto3_get_queue
Fix retrieving inexistent queue errors when using boto3
2016-07-24 09:18:32 -04:00
Andrew Gross
b4176050e2 Add volume attachment status 2016-07-22 14:23:42 -04:00
Ernesto Ruy Sanchez
e84dad6509 implemented iam list users 2016-07-20 15:12:02 -07:00
macheins
ef8b6c1f28 Fix broken format of SQS QueueArn attribute 2016-07-19 14:15:16 +02:00
Nuno Santos
8ffd4e51ec Fix retrieving inexistent queue errors when using boto3.
Handle 404 errors when trying to retrieve a SQS queue that does not
exist. Add get_queue and get_inexistent_queue tests for boto3.
2016-07-16 12:09:34 +01:00
Steve Pulec
1c8458080a Merge branch 'lambda_invoke' of https://github.com/mikegrima/moto into mikegrima-lambda_invoke 2016-07-09 21:29:41 -04:00
Steve Pulec
9d281844cd Merge pull request #661 from braintreeps/fix-s3-errors
Update format of S3 client errors
2016-07-09 21:12:57 -04:00
Steve Pulec
3e797d9c50 Merge pull request #658 from kierandoonan/master
Add encrypted attribute to Volumes/Snapshots
2016-07-09 21:11:52 -04:00
Steve Pulec
c34481a476 Merge pull request #659 from kierandoonan/fix-tag-filter
Fix tag filter
2016-07-09 21:11:12 -04:00
Steve Pulec
84d0c44bd3 Merge pull request #653 from 2rs2ts/describe-stack-events
Add CloudFormation:DescribeStackEvents
2016-07-09 21:09:37 -04:00
Steve Pulec
219ed703fb Merge pull request #645 from paulci/describe_security_groups_boto3
Support Filters in describe_security_groups() for boto3
2016-07-09 20:56:43 -04:00
Jesse Szwedko
ef10df0636 Update format of S3 client errors
To match
http://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#RESTErrorResponses
which documents that it should be at the top level rather than nested
under `Errors`.
2016-07-08 19:32:34 +00:00
Kieran Doonan
619255e25a tag-key and tag-value filters now do a regex match 2016-07-05 11:44:39 +01:00
Kieran Doonan
d3dcb8d3b5 tag_filter_matches now uses regex for key/value matches 2016-07-05 11:28:35 +01:00
Kieran Doonan
af0007ad2b volumes are now encrypted if snapshots are encrypted 2016-07-04 14:40:13 +01:00
Kieran Doonan
44195a9151 added encrypted attribute to snapshots 2016-07-04 14:29:33 +01:00
Kieran Doonan
a3c16bcc77 updated ebs response 2016-07-04 14:09:41 +01:00
Kieran Doonan
f9f0d4b7d9 encrypted attribute now respected in create_volume 2016-07-04 11:30:17 +01:00
Kieran Doonan
957678d33d create volume response updated 2016-07-04 11:25:51 +01:00
Kieran Doonan
9ea06399ba describe instances response now shows encrypted status 2016-07-04 11:24:13 +01:00
Kieran Doonan
e8a564b6b4 ebs model now supports encrpyted volumes 2016-07-04 11:23:46 +01:00
Andrew Garrett
542248158f Implement the meat for DescribeStackEvents
Right now this just adds events for the stack itself via the lifecycle
methods of the FakeStack object, but it is possible to add other kinds
of events (I left a method for that should someone need inspiration
later.)
2016-06-29 21:56:39 +00:00
Andrew Garrett
2a6f607ae5 Add DescribeStackEvents endpoint
It returns nothing right now because there's no backend implementation
for events (yet.)
2016-06-29 18:41:16 +00:00
Paul Cieslar
706868c7f8 describe_security_groups() support for Boto3
Support for list of filters
2016-06-23 11:59:58 +01:00
Mike Grima
bfa079ec4e Added Lambda invoke capability. 2016-06-22 12:24:46 -07:00
Victor Blaga
69888c3baa update_item takes into account ExpressionAttributeNames and ExpressionAttributeValues
ExpressionAttributeNames and ExpressionAttributeValues
are no longer ignored during update_item.
2016-06-21 17:45:22 +02:00
Steve Pulec
a9e54482fc Merge pull request #631 from hummus/route53-private-zone-support
Route53 private zone support
2016-06-20 15:10:49 -04:00
Steve Pulec
5ed874cd6e 0.4.25 2016-06-18 20:47:49 -04:00
Steve Pulec
da14b75d0a Merge pull request #632 from jcastillocano/master
Updating RDS instance status after deleting it
2016-06-18 19:41:28 -04:00
Steve Pulec
0b8de6772d Merge pull request #639 from jessechahal/autoscale_update_and_create_tags
Autoscale update and create tags
2016-06-17 22:00:22 -04:00
Jesse Chahal
1d2042876e added update_and_create_tags() to autoscale groups 2016-06-17 18:51:28 -07:00
Steve Pulec
57167b1890 Merge pull request #635 from riccardomc/master
Introduce ContainerInstance handling in ECS
2016-06-17 18:06:04 -04:00
Steve Pulec
37ccdf02b4 Merge pull request #636 from CloverHealth/copy_result_headers_and_body
Return headers and response matching AWS specification for copy_from …
2016-06-17 18:04:01 -04:00
Steve Pulec
b6d7260f7f Merge pull request #634 from SplunkStorm/fix_cfn_error_message_and_delete_stack
Fix cfn error message and delete stack
2016-06-17 18:03:23 -04:00
Steve Pulec
ea43f41470 Merge pull request #625 from nfvs/fix_whitespace
Strip extra whitespace and newlines from SQS response templates.
2016-06-17 17:51:07 -04:00
Steve Pulec
b7a2f55afe Merge pull request #624 from mvantellingen/store-sns-message
Save the sns messages in the PlatformEndpoint
2016-06-17 17:50:37 -04:00
Jesse Chahal
0efea0af2b Implemented autoscale method create_or_update_tags 2016-06-16 17:24:50 -07:00
Riccardo M. Cefala
57f4f4aa9b itervalues() has been dropped in python 3 2016-06-15 09:24:52 +02:00
Riccardo M. Cefala
5f2255833f use ids instead of full arn to index ContainerInstances 2016-06-15 08:41:26 +02:00
Riccardo M. Cefala
dd7ae027cc rename class Failure to ContainerInstanceFailure 2016-06-15 08:40:31 +02:00
Riccardo M. Cefala
b652256c43 simplify cluster existence check in register_container_instance 2016-06-14 17:58:49 +02:00
Riccardo M. Cefala
137791e960 add ECS describe_container_instances 2016-06-14 17:58:11 +02:00
Juan Carlos Castillo Cano
2c744f2a59 Adding current date as InstanceCreateTime parameter (RDS) 2016-06-14 16:45:31 +01:00
George Leslie-Waksman
48c57384c5 Return headers and response matching AWS specification for copy_from requests. 2016-06-13 13:24:09 -07:00
Riccardo M. Cefala
115f9513f6 add ECS ContainerInstance register and list actions 2016-06-11 12:52:19 +02:00
Riccardo M. Cefala
19fab4ca25 add ContainerInstance class in ecs models 2016-06-11 12:49:08 +02:00
Riccardo M. Cefala
0ea9823397 add generate_instance_identity_document in ec2 utils 2016-06-11 12:48:01 +02:00
Hitesh Ghia
d8baa957e9 Fix cfn delete stack functionality 2016-06-09 16:23:55 -07:00
Juan Carlos Castillo Cano
cae86a8eeb Updating RDS instance status after deleting it 2016-06-09 11:33:28 +01:00
Declan Shanaghy
773a49c40d Fix typo in message variable 2016-06-03 16:30:34 -07:00
hummus
8fa53c1453 support route53 HostedZone PrivateZone=True #627 2016-06-03 11:10:04 -04:00
Nuno Santos
68eeb5948b Strip extra whitespace and newlines from SQS response templates.
Fixes #623
2016-06-02 12:26:50 +02:00
Michael van Tellingen
45ce0615e1
Save the sns messages in the PlatformEndpoint
This makes it easier to test the correct sns messages are sent
2016-06-02 11:02:43 +02:00
Matt Long
9b7902018f Respect VisibilityTimeout when calling receive_message
Previously, receive_message would always use the queue's default
visibility timeout instead of the value passed as a query parameter when
calling the receive_message method on an SQS connection.
2016-05-31 15:13:49 -07:00
Steve Pulec
4372c346d9 Merge pull request #618 from mrucci/asg-delete-after-elb
ELBs can now be deleted before their autoscaling groups.
2016-05-17 21:02:13 -04:00
Steve Pulec
00becdbed4 Merge pull request #617 from mrucci/elb-duplicate-name-exception
Disallow creation of ELBs with duplicate names.
2016-05-17 21:01:45 -04:00
Steve Pulec
d4895d588a Merge pull request #616 from mnussbaum/cloudformation_kms
Adds KMS support to mock_cloudformation
2016-05-17 21:01:12 -04:00
Marco Rucci
a330b1d346 ELBs can now be deleted before their autoscaling groups.
Also, fix name clash in autoscaling tests.
2016-05-15 21:17:59 +02:00
Marco Rucci
e47fc4cafc Disallow creation of ELBs with duplicate names. 2016-05-15 20:04:00 +02:00
mnussbaum
01e5c3a384 Adds KMS support to mock_cloudformation 2016-05-13 21:36:24 +00:00
Yann Lambret
52a5346c9e Add support for VPC attributes management, and fix a bug about the default - not default status of a VPC 2016-05-12 22:36:09 +02:00
Steve Pulec
076a6a7055 Better defaults for AMIs. 2016-05-11 18:28:34 -04:00
Steve Pulec
bd7327fca2 Fix issues around S3 deletion. Closes #606. 2016-05-08 17:14:35 -04:00
Steve Pulec
5415091d14 Merge pull request #608 from yannlambret/add-filtering-to-network-interfaces
Extend filtering support for elastic network interfaces
2016-05-08 16:41:22 -04:00
Yann Lambret
fdadd24ad3 Extend filtering support for elastic network interfaces 2016-05-08 00:19:01 +02:00
Steve Pulec
196e5a7d8d Fix dynamodb2 comparisons. Closes #601. 2016-05-05 23:39:14 -04:00
Steve Pulec
3dd44245f7 Merge pull request #604 from njl/restore_sent_messages
Add sent_messages back to SESBackend
2016-05-05 23:03:26 -04:00
Ned Jackson Lovely
93aed94bc7 Add sent_messages back to SESBackend 2016-05-05 23:01:24 -04:00
Steve Pulec
79addb8926 Add S3 functionality to copy range. Closes #526. 2016-05-05 22:52:12 -04:00
Steve Pulec
6803444d61 Fix Dynamodb table key name. Closes #524. 2016-05-05 22:14:23 -04:00
Steve Pulec
68de6feb01 Add iam remove_role_from_instance_profile. Closes #563. 2016-05-04 22:25:46 -04:00
Steve Pulec
8ce2d3c8bf Cleanup updating ASGs. Closes #603. 2016-05-04 22:10:11 -04:00
Michael van Tellingen
d34dd5b08a
Implement support for sns delete_endpoint() 2016-05-02 14:34:51 +02:00
Steve Pulec
9c176671d0 0.4.24 2016-05-01 22:35:49 -04:00
Steve Pulec
c308ef4364 Fix update_auto_scaling_group. Closes #596. 2016-05-01 22:34:16 -04:00
Steve Pulec
d82d64b8bd Add EBS snapshot filter. Closes #525. 2016-05-01 22:24:49 -04:00
Steve Pulec
0a10b2f738 Fix issues with unicode and slashes for S3. Closes #521. 2016-05-01 22:03:52 -04:00
Steve Pulec
15dc619fb2 More liberal regrex for S3 region matching. Closes #580. 2016-05-01 21:17:06 -04:00
Steve Pulec
b932343fec Break out MissingKey as separate exception. Closes #571. 2016-05-01 17:04:09 -04:00
Dan Felix
1988c957e0 Pass query to _key_response_head for versioning support. 2016-04-28 13:16:25 -07:00