Commit Graph

863 Commits

Author SHA1 Message Date
Steve Pulec
d3e4c2c4b5 Add ability for specific backends to enable template escaping. Closes #441. 2015-11-03 09:25:47 -05:00
Steve Pulec
73452c79f7 Add milliseconds to EC2 launch time. Closes #445. 2015-11-02 23:33:39 -05:00
Steve Pulec
d9faab3e5e Fix error for describing kinesis stream that has not been created. 2015-11-02 13:25:31 -05:00
Steve Pulec
99a4bcf98f 0.4.17 2015-11-02 10:11:14 -05:00
Steve Pulec
fcaa8fbce7 0.4.16 2015-11-02 10:09:17 -05:00
Steve Pulec
1d58aae42a Merge pull request #438 from ZuluPro/instancetypes
Added describe instance types
2015-11-01 14:30:32 -05:00
Steve Pulec
976c470fa3 Merge pull request #443 from gvlproject/master
When adding security group rules, allow a source group only to be spe…
2015-11-01 14:25:42 -05:00
Steve Pulec
1b1cf40af8 handle optional compression format. 2015-10-30 14:18:29 -04:00
Steve Pulec
1c95de421d Merge pull request #446 from spulec/firehose
firest draft of firehose support.
2015-10-30 10:55:25 -04:00
Steve Pulec
7fcf84b32a easier fallback. 2015-10-30 10:13:57 -04:00
Steve Pulec
127625bdc3 fix typo. 2015-10-30 10:10:49 -04:00
Steve Pulec
015e7ea9a2 py3 fix. 2015-10-30 10:05:53 -04:00
Steve Pulec
ac1bb336c8 firest draft of firehose support. 2015-10-30 09:59:57 -04:00
Enis Afgan
e07894c6e4 When adding security group rules, allow a source group only to be specified - as per boto docs & functionality 2015-10-29 07:27:35 +01:00
Yoriyasu Yano
f0cc561aa7 Use correct kwarg when creating database 2015-10-20 09:12:59 -07:00
Steve Pulec
3622fd172e Merge pull request #437 from gvlproject/master
Set snapshots to be in a completed state after being created and added
2015-10-17 23:10:14 -04:00
nuwan_ag
0b3ad166c0 Set snapshots to be in a completed state after being created and added
test case
2015-10-14 02:34:36 +11:00
Mike Kaplinskiy
131d44f0ad Add S3 ACL supprt. 2015-10-07 00:14:37 -07:00
Steve Pulec
96cf5eabc4 Merge pull request #434 from milesoc/master
Add tag support on create/read for autoscaling groups
2015-10-06 20:29:05 -04:00
Steve Pulec
11cb2fba16 0.4.15 2015-10-06 15:20:21 -04:00
milesoc
b3096af098 Set tags in response, fix tests for tags 2015-10-06 18:07:58 +00:00
Miles O'Connell
3c38a551b2 Adding tags to AutoScalingGroups 2015-10-06 09:21:26 -07:00
Steve Pulec
123d1e3965 Merge pull request #431 from araines/master
Fixes #430: MD5 hashing should be done to the real body, not an escaped one
2015-10-05 18:28:34 -04:00
Steve Pulec
37f86626cc Merge pull request #425 from ZuluPro/random_key_pair
Remade ec2.utils.random_key_pair for be really random
2015-10-05 18:25:17 -04:00
Steve Pulec
507c03a0c7 Merge pull request #424 from ZuluPro/keypairs
Implemented import key pair
2015-10-05 18:24:21 -04:00
Hugo Lopes Tavares
e5675e9533 Change CloudFormationResponse.get_template() to return GetTemplateResponse/GetTemplateResult/TemplateBody 2015-10-05 15:21:30 -04:00
Andy Raines
76bce7954a Fixes #430: MD5 hashing should be done to the real body, not an escaped one 2015-10-05 14:14:56 +01:00
ZuluPro
b85b415977 Implemented import key pair 2015-09-24 17:34:08 +02:00
Anthony Monthe
0999a49b5b Added describe instance types 2015-09-23 14:50:47 +02:00
Steve Pulec
f72613cc47 Fix queue urls for other regions. Closes #411. 2015-09-19 09:18:16 -04:00
Steve Pulec
bee2b5a891 Merge pull request #414 from 2mf/master
DynamoDB2 is overwriting the table instead of returning an error
2015-09-19 09:05:08 -04:00
Steve Pulec
5a8f3bd616 Merge pull request #412 from ybastide/master
Tweak ResponseObject to let bucket.delete_keys work with s3bucket_path.
2015-09-19 09:04:17 -04:00
Steve Pulec
d58afc13fd Merge pull request #413 from jszwedko/master
Add support for latency based route53 records
2015-09-19 09:03:38 -04:00
Steve Pulec
967c778390 0.4.14 2015-09-17 17:21:57 -04:00
Hugo Lopes Tavares
dafddb094b Implement CloudFormation's physical_resource_id for Data Pipeline 2015-09-17 15:29:14 -04:00
Hugo Lopes Tavares
8623483c0f Change data pipeline responses to start with lowercase characters 2015-09-17 15:26:35 -04:00
Steve Pulec
65dd7f7639 Change fields to be start with lower case based on examing of real AWS calls. 2015-09-16 18:13:44 -04:00
Hugo Lopes Tavares
25f9e8b588 Change CloudFormation to support Data Pipelines 2015-09-16 17:49:13 -04:00
Hugo Lopes Tavares
0cef332840 Add support to ListPipelines 2015-09-16 15:49:15 -04:00
Steve Pulec
1b811e6949 0.4.13 2015-09-16 11:29:03 -04:00
Steve Pulec
db23b7d24c Fix state to start as PENDING and only become SCHEDULED on activation. 2015-09-16 11:22:52 -04:00
Steve Pulec
b0ea9f2859 Fix tests for server mode. 2015-09-16 10:11:43 -04:00
Steve Pulec
95169c6011 First version of datapipelines. 2015-09-16 10:00:38 -04:00
ZuluPro
23c2e7835e Remade ec2.utils.random_key_pair for be really random 2015-09-15 20:09:35 -04:00
Michael
31d30c8ea4 return the correct response tryin to re-create a table 2015-09-10 11:31:46 +02:00
Jesse Szwedko
14ec3531ff Add support for latency based route53 records
Store and marshal the region field of records

Signed-off-by: Kevin Donnelly <kevin.donnelly@getbraintree.com>
2015-09-08 21:36:32 +00:00
zeb
b59a77d5bb Tweak bucket.delete_keys for s3bucket_path. 2015-09-04 19:02:26 +02:00
Steve Pulec
8b0f42afed 0.4.12 2015-08-31 16:56:07 -04:00
Steve Pulec
1dcfcbca57 Add cloudformation tags. 2015-08-31 16:48:36 -04:00
Dustin J. Mitchell
00e40c487e Return messages once they are gathered
If one or more messages are available, stop waiting and return them.
2015-08-31 11:27:42 -04:00
Steve Pulec
b55600ce42 0.4.11 2015-08-26 22:58:34 -04:00
Steve Pulec
984e221cab Merge pull request #408 from pitluga/elb_boto3_support
Make all existing ELB endpoints compatible with boto3
2015-08-26 22:55:29 -04:00
Tony Pitluga
1d8252feea Make all existing ELB endpoints compatible with boto3 2015-08-24 15:07:14 +00:00
Pior Bastida
43ceb8b06a Fix incorrect dynamodb2 delete_item response
Attribute field must be a mapping (not a list)
2015-08-20 17:06:10 -04:00
Pior Bastida
2650eab295 Implement XML responses for SNS (for Boto3) 2015-08-20 14:57:17 -04:00
Jot
178d1c3a93 Added support for WaitTimeSeconds in SQS #392 2015-08-13 02:58:14 +02:00
Steve Pulec
73f03d1ccf Add redshift support for cloudformation. 2015-08-08 13:29:37 -04:00
Steve Pulec
323f720cb5 Fix S3 bucket policy delete. Closes #396. 2015-08-07 22:43:24 -04:00
Steve Pulec
6b2f54604e 0.4.10 2015-08-03 22:17:19 -04:00
Steve Pulec
df6ff57d24 Fix ASG instance_type. 2015-08-03 21:52:43 -04:00
Steve Pulec
1814db3dfb Fix launch configuration instance types. 2015-08-03 21:48:17 -04:00
Steve Pulec
92c96b6788 Fix bug in creating SecurityGroups for nics. Closes #391. 2015-08-03 20:56:05 -04:00
Steve Pulec
ed38a296db Merge pull request #390 from jotes/iam_sns_server
Added server backends with tests for IAM and SNS services.
2015-08-03 18:58:53 -04:00
Jot
930ac58a4d Added sns backend to servers, added some tests to check backend 2015-08-04 00:20:04 +02:00
Ilya Sukhanov
9904193d66 Merge branch 'master' into sns_regions 2015-08-03 10:22:55 -04:00
Ilya Sukhanov
e08796bcf4 Keep current region when creating SNS ARN topic 2015-08-03 10:19:04 -04:00
Jot
42b95023f5 Added iam backend to servers, added some tests to check backend 2015-08-03 00:31:36 +02:00
Steve Pulec
84c9dd03d2 Merge pull request #387 from jotes/server_cloudformation
Enabled cloudformation in server mode, added some tests
2015-08-02 11:34:46 -04:00
Steve Pulec
4576f2873e Allow passing of region name to s3bucket_path url for eu-central-1. cc ##348. 2015-08-02 11:26:29 -04:00
Jot
b2570d901e Enabled cloudformation in server mode with some tests 2015-08-02 16:31:16 +02:00
Steve Pulec
8573333932 0.4.8 2015-08-02 10:04:13 -04:00
Steve Pulec
519726a70a Cleaning up SQS for boto3. Closes #385. 2015-08-02 09:45:40 -04:00
Steve Pulec
ac4aef87a1 Unused exception. 2015-08-01 19:44:37 -04:00
Steve Pulec
4543db567c Merge pull request #384 from rocky4570/volmods
volmods
2015-08-01 19:37:25 -04:00
Steve Pulec
e4408152d1 Add KeyConditionExpression to dynamo. 2015-08-01 19:32:33 -04:00
Rob Walker
e33777b60c tidy up imports. 2015-07-26 09:51:37 +10:00
Rob Walker
2bb79824ce Volume attachments to show in instance.
Volumes and Snapshots to be searchable by their id
Placement of instance to match region connection
Times for creation and attachment to show based on api call
2015-07-26 09:37:20 +10:00
Steve Pulec
9c81b7340c Merge pull request #383 from spg/s3_policy
S3: Bucket policy
2015-07-25 17:09:00 -04:00
Steve Pulec
1e195d0e7a Merge pull request #381 from spg/kms/alias
KMS: aliases
2015-07-25 17:06:05 -04:00
Simon-Pierre Gingras
dc0557205d S3: Bucket policy 2015-07-23 17:33:52 -04:00
Simon-Pierre Gingras
6b501a39a7 KMS: aliases 2015-07-23 10:56:33 -04:00
Steve Pulec
3a81982cce 0.4.7 2015-07-22 22:01:11 -04:00
Ilya Sukhanov
9bf5c2e706 CloudWatch DescribeAlarm filters.
Adds support for filtering by:
action_prefix
alarm_name_prefix
alarm_names

And throw NotImplementedError when filtering by:
state_value
2015-07-22 21:08:39 -04:00
Steve Pulec
9f02da4c56 Update ELBs to use newer querystring querying methods. 2015-07-18 09:08:27 -04:00
Andrew Harris
ea2fe6f290 change usages of long conversion to int for python3 2015-07-16 18:23:13 -07:00
Steve Pulec
a611010f86 Revert "Move RRSet parsing inside models so that cloudformation works better."
This reverts commit c7090a2b54.
2015-07-16 15:33:00 -07:00
Steve Pulec
e47147510b Move RRSet parsing inside models so that cloudformation works better. 2015-07-16 15:33:00 -07:00
Steve Pulec
c8bf862826 Fix for dynamodb2 attribute response. Closes #374. 2015-07-16 15:33:00 -07:00
Steve Pulec
b67e02cceb Better value error 2015-07-16 15:33:00 -07:00
Steve Pulec
75461cb110 Fix dynamo item not found. 2015-07-16 15:33:00 -07:00
Andrew Harris
bbb021d06d implement mocking for lb policies 2015-07-16 15:32:51 -07:00
Steve Pulec
7f2abc41a5 0.4.6 2015-07-13 19:31:23 -04:00
Steve Pulec
4020141478 Fix cloudformation subnet tagging. 2015-07-13 19:27:00 -04:00
Steve Pulec
de29762a65 Cleanup parsing. 2015-07-13 15:28:29 -04:00
Steve Pulec
53fff2eb84 Add UpdateStack functionality for Cloudformation. 2015-07-13 13:56:46 -04:00
Steve Pulec
7f73d7e26d Add cloudformation list_stack_resources. 2015-07-13 11:05:36 -04:00
Steve Pulec
8b41af84a8 0.4.5 2015-07-13 10:51:56 -04:00
Steve Pulec
c45968b79f Template in the ASG instance lifecycle states. 2015-07-13 10:47:45 -04:00
Akira Chiku
91edbb21bf Make EMR multi-region 2015-07-12 19:32:16 +09:00
Steve Pulec
af45424b9e Merge pull request #371 from apjaffe/master
Adds the ConditionalCheckFailedException to put_item
2015-07-08 20:54:53 -04:00
Shulman Evgeny
e498c95807 feature emr: set_termination_protection call implementation
feature emr: support for instance_groups param in run_jobflow
2015-07-08 10:26:58 +03:00
Alan Jaffe
690402ccb3 Python 3 compatibility 2015-07-07 15:38:08 -04:00
Alan Jaffe
e3c859868c Adds the ConditionalCheckFailedException to put_item
If the Item‘s original data is inconsistent with what's in DynamoDB,
the request should fail (unless overwrite is set to True).

http://boto.readthedocs.org/en/latest/ref/dynamodb2.html#boto.dynamodb2.table.Table.put_item
2015-07-07 15:07:32 -04:00
Steve Pulec
abb3357925 Merge pull request #369 from MurphyMarkW/byteranges
Improves range request support.
2015-07-06 21:27:43 -04:00
Steve Pulec
ff5161ebf9 Fix for py26. 2015-06-30 05:55:43 -04:00
Steve Pulec
70aafc1fd3 Add basic KMS key endpoints. 2015-06-30 05:44:39 -04:00
MurphyMarkW
b82d0264dc Fixes suffix range requests to truncate ranges. 2015-06-30 02:04:30 -05:00
MurphyMarkW
723b743381 Modifies check for last-byte-pos. 2015-06-30 00:26:42 -05:00
MurphyMarkW
2cdab4cab9 Fixes last-byte-pos interpretation. 2015-06-29 20:25:22 -05:00
Steve Pulec
0ec6f87268 0.4.4 2015-06-29 21:03:09 -04:00
Steve Pulec
a3d5c771ef Merge pull request #367 from spg/fix/iam_get_role
IAM: unnecessary check for role
2015-06-29 21:00:48 -04:00
Simon-Pierre Gingras
9a2e7ad8b0 IAM: unnecessary check for role 2015-06-29 11:04:40 -04:00
Steve Pulec
185b49ad66 Merge pull request #366 from spg/fix/iam_get_role
IAM: get_role should thrown when role is unexisting
2015-06-29 10:51:47 -04:00
Simon-Pierre Gingras
db7d7a9330 IAM: get_role should thrown when role is unexisting 2015-06-29 10:46:05 -04:00
Marco Rucci
6e97bec006 Add support for alias records in Route53. 2015-06-28 17:27:24 +02:00
Steve Pulec
3ed9428cb0 Cleanup class decorator. Closes #363. 2015-06-27 19:01:01 -04:00
Steve Pulec
5ee1525cd8 Fix S3 missing key error. Closes #364. 2015-06-27 17:56:37 -04:00
Steve Pulec
20306c9b24 Set more default datetimes. 2015-06-22 17:02:10 -04:00
Steve Pulec
640cd2ce44 Better EC2 NIC Attachment datetimes. 2015-06-22 16:52:12 -04:00
Daniel O'Connell
5cc8f9ed21 S3_BUCKET_VERSIONING and S3_BUCKET_GET_VERSIONING were generating invalid XML, as the '<?xml version="1.0" encoding="UTF-8"?>' bit must be on the first line. 2015-06-12 08:56:14 +02:00
Steve Pulec
77af26987f 0.4.3 2015-06-09 22:03:50 -04:00
Steve Pulec
62f82cea03 Python3 fix. 2015-06-05 21:37:47 -04:00
Steve Pulec
57f1199b35 Fix route53 multiple values bug. Closes #358. 2015-06-05 21:29:20 -04:00
Steve Pulec
1177985e19 Python 3 fixes. 2015-06-05 19:56:43 -04:00
Steve Pulec
625b1d2ac6 Add basics of Glacier. 2015-06-05 19:36:43 -04:00
Steve Pulec
7156df1a63 Add vault operations. 2015-06-03 22:55:07 -04:00
Steve Pulec
91fffbb83b Add basics for S3 bucket lifecycles. 2015-06-02 23:11:23 -04:00
Steve Pulec
72dbd349ac Merge pull request #355 from deuxpi/cloudwatch-put-metric-data
Add put_metric_data and list_metrics
2015-05-29 23:36:23 -04:00
Steve Pulec
6a0e8df189 Merge pull request #354 from silveregg/0.4.1-threadsafe
threadsafe fix
2015-05-29 23:34:55 -04:00
Steve Pulec
8fa80b87e2 Add version to moto.__init__ Closes #353. 2015-05-29 23:32:29 -04:00
Steve Pulec
0195e04053 Allow deleting of SQS invisible messages. Closes #352. 2015-05-29 23:26:43 -04:00
Steve Pulec
6b44e41249 Add SQS purge_queue action. Closes #349. 2015-05-29 23:21:14 -04:00
Philippe Gauthier
d5d9c13975 Add put_metric_data and list_metrics 2015-05-29 17:34:36 -04:00
Jeffrey Gelens
450d14b4eb Fix ValueError for Python 2.6 2015-05-29 11:43:24 +02:00
Jeffrey Gelens
e722b67f36 Merge branch 'master' of https://github.com/spulec/moto into 0.4.1-threadsafe
* 'master' of https://github.com/spulec/moto: (25 commits)
  Add @zkourouma to authors.
  0.4.2
  Fix bug where listener certificate was not being saved correctly when creating an elb. Added test to cover that case.
  [dynamodb2] adds lookup method to Table class
  Add IAM list_groups and list_groups_for_user. Closes #343.
  Fix for deleting Route53 record sets with set identifiers. Closes #342.
  Use dummy date instead of an invalid date
  Adding support for comments on hosted zones.
  Add availability zone support to Subnets created via CloudFormation
  Make availability zone dynamic in Subnet Response templates
  Add filter "availabilityZone" to DescribeSubnets and add availability zone support too
  allow starting without reseting
  Fix bug with empty string for instance vpc_id. Closes #337.
  Fix default security group description.
  Update responses.py
  Add @mrucci to authors.
  Fix merge conflicts.
  Add support for ELB attributes.
  cast to int when doing math.
  General cleanup.
  ...
2015-05-29 11:35:14 +02:00
Jeffrey Gelens
f5c4ac0b44 Merge branch 'master' of https://github.com/silveregg/moto into 0.4.1-threadsafe
* 'master' of https://github.com/silveregg/moto: (22 commits)
  filtering the items is needed because of defaultdict is not threadsafe and returns an empty dict which results in an exception here
  add tests for list_endpoints_by_platform_application
  add mock for list_endpoints_by_platform_application method
  [S3]Only add multipart part_id to partlist if it is not already in there. Closes #324.
  Fix etag for reduced min part size.
  Add test_multipart_duplicate_upload
  Fix reduced_min_part_size so that tests run
  Fix authors
  Add @mikegrima to authors
  Fixed how parameters are passed in following clarification on GitHub comments.
  Added in test for the boto IAM method: list_instance_profiles_for_role()
  Change SecurityGroupBackend.{authorize,revoke}_security_group_ingress() methods to receive group name or id, never both
  Add support to AWS::EC2::SecurityGroupIngress creation
  Add @aaltepet to authors.
  Add publish command.
  Add support to tag filtering to Security Groups
  slight change in formatting
  fix test for ec2 instance type filter
  Update minimum support boto version.
  support 'instance_type' filter
  ...
2015-05-29 11:34:23 +02:00
Kevin Donnelly
3c75e0ef2e Fix bug where listener certificate was not being saved correctly when
creating an elb. Added test to cover that case.

Paired with @jszwedko
2015-05-20 19:42:58 +00:00
Zack Kourouma
f03ded7e90 [dynamodb2] adds lookup method to Table class
includes additional test coverage
2015-05-20 11:20:16 -04:00
Michael
5da5c571a9 filtering the items is needed because of defaultdict is not threadsafe and returns an empty dict which results in an exception here 2015-05-20 09:36:40 +02:00
Steve Pulec
be5f041416 Add IAM list_groups and list_groups_for_user. Closes #343. 2015-04-30 19:32:53 -04:00
Steve Pulec
d1c823e0d8 Fix for deleting Route53 record sets with set identifiers. Closes #342. 2015-04-30 18:51:01 -04:00
Francisco De Freitas
e320190b42 Use dummy date instead of an invalid date 2015-04-28 13:39:48 +02:00
Philip Corliss
b27f3c3d9f Adding support for comments on hosted zones.
Paired with @kpdonn
2015-04-23 19:01:20 +00:00
Steve Pulec
7382201dd7 Merge pull request #339 from porterjamesj/allow-start-without-reset
allow starting without reseting
2015-04-09 23:04:44 -04:00
Hugo Lopes Tavares
5160fac9b7 Add availability zone support to Subnets created via CloudFormation 2015-04-08 16:48:02 -04:00
Hugo Lopes Tavares
65d51a5844 Make availability zone dynamic in Subnet Response templates 2015-04-08 16:47:43 -04:00
Hugo Lopes Tavares
56cb06041c Add filter "availabilityZone" to DescribeSubnets and add availability zone support too 2015-04-08 15:07:29 -04:00
James Porter
fae22fd872 allow starting without reseting 2015-04-02 22:47:11 -05:00
Steve Pulec
82214d2bc2 Fix bug with empty string for instance vpc_id. Closes #337. 2015-03-28 14:30:30 -04:00
Steve Pulec
bdfbdd8b1c Fix default security group description. 2015-03-28 14:13:28 -04:00