Commit Graph

1729 Commits

Author SHA1 Message Date
Steve Pulec
630c668651 Merge pull request #556 from spulec/fixboto
Fixboto
2016-03-02 15:39:49 -05:00
Steve Pulec
6b0f92c230 unpin dev requirements. 2016-03-02 15:20:58 -05:00
Steve Pulec
75a40e4571 Wrap botocore patching in tyr/except since we do not require it to be installed. 2016-03-02 15:20:35 -05:00
Steve Pulec
aaaddf13e8 add integraiton test. 2016-03-02 15:18:11 -05:00
Steve Pulec
d8a277ed55 Merge pull request #555 from yannlambret/fix-describe-route-tables-response
Fix a typo in DESCRIBE_ROUTE_TABLES_RESPONSE
2016-03-02 15:10:33 -05:00
Steve Pulec
8f80d0ecaa Merge pull request #554 from bcavagnolo/master
add dynamodb pagination
2016-03-02 15:10:12 -05:00
Steve Pulec
9c3b0fb5cf Merge pull request #553 from spulec/feature/nat-gateway
Implement NAT Gateways
2016-03-02 15:09:20 -05:00
Yann Lambret
a06fa082a4 Add two tests for both boto and boto3 as the problem only affects boto3 client 2016-03-02 12:15:47 +01:00
Steve Pulec
a737fbed48 create methods 2016-03-01 18:50:06 -05:00
Yann Lambret
3afd4e0ea9 Correct a typo in DESCRIBE_ROUTE_TABLES_RESPONSE string (duplicate tagSet) that causes buggy responses 2016-03-02 00:34:45 +01:00
Brian Cavagnolo
6bab725b36 add dynamodb pagination 2016-03-01 15:00:23 -08:00
Hugo Lopes Tavares
6222f335f3 Refactor NatGateways methods to use _get_param() 2016-03-01 13:57:41 -05:00
Steve Pulec
45f92fb4c7 base rest api endpoints. 2016-03-01 12:03:59 -05:00
Hugo Lopes Tavares
c689816337 Add CloudFormation support to NatGateway model 2016-03-01 12:02:57 -05:00
Hugo Lopes Tavares
21fb961c6a Implement NAT Gateway resource 2016-03-01 12:02:57 -05:00
Steve Pulec
9b0be24b28 Merge pull request #550 from 2rs2ts/boto3-cloudformation
Add XML support for cloudformation commands that lacked it
2016-03-01 11:36:23 -05:00
Steve Pulec
2e27e9edfb remove apigateway 2016-02-29 17:11:32 -05:00
Steve Pulec
ca6ec4478d try out unpinning boto. 2016-02-29 17:09:54 -05:00
Andrew Garrett
39d9fbcd02 Added resource deletion upon stack deletion
Only implemented for ASGs and LCs since they're all we cared about for
our particular problem. It should be easy to follow this pattern for
other resource types, though.

Signed-off-by: Scott Greene <scott.greene@getbraintree.com>
2016-02-29 19:50:29 +00:00
Andrew Garrett
993087f2bb Fix AutoScalingGroup tags in DescribeAutoScalingGroups
I'm not certain that this is the approach that's desired. It'd be nice
to dynamically convert the keys one way or the other. Looking for
feedback.

Signed-off-by: Scott Greene <scott.greene@getbraintree.com>
2016-02-29 19:50:28 +00:00
Andrew Garrett
99af8bdb79 Convert VPCZoneIdentifier list in template resource to csv
Although the boto docs say to use a csv, CloudFormation templates use a
list instead:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#aws-properties-as-group-prop

Without this change, templates specifying VPCZoneIdentifier will break
as the identifier will be the repr of the list.

Signed-off-by: Scott Greene <scott.greene@getbraintree.com>
2016-02-29 19:50:27 +00:00
Andrew Garrett
da98052b18 Add support for DescribeStackResource
Signed-off-by: Scott Greene <scott.greene@getbraintree.com>
2016-02-29 19:50:25 +00:00
Andrew Garrett
ec10699c38 Add XML support for cloudformation commands that lacked it
This lets boto3's cloudformation API work with moto.

fixes #444

Signed-off-by: Scott Greene <scott.greene@getbraintree.com>
2016-02-29 19:50:23 +00:00
Andrew Garrett
06b173abe4 Pin boto3 and botocore
botocore 1.3.29 (new as of yesterday) breaks a few of the s3 and
lambda tests; something about a StringIO being closed prematurely.

¯\_(ツ)_/¯

boto3 doesn't pin the botocore version; as a result the new version of
botocore gets pulled in transitively, breaking today's builds.

Signed-off-by: Scott Greene <scott.greene@getbraintree.com>
2016-02-29 19:50:14 +00:00
Steve Pulec
2d471ecf9d Merge pull request #551 from 2rs2ts/pin-botocore
Pin boto3 and botocore (fix the builds!)
2016-02-27 20:44:21 -05:00
Steve Pulec
274a7f48a2 Merge pull request #549 from beeva-antonioirizar/remove_nexttoken_list_function
remove NextMarker in response list_functions (Lambda)
2016-02-27 20:28:24 -05:00
Steve Pulec
b719032279 Merge pull request #546 from scttl/sqs_attribs_fix
boto3 SQS set attributes fix.
2016-02-27 20:27:33 -05:00
Steve Pulec
7ec468b988 Merge pull request #545 from beeva-antonioirizar/cloudwatch_support_multiple_regions
Cloudwatch support multiple regions
2016-02-27 20:26:47 -05:00
Steve Pulec
cc1b7ce158 Merge pull request #543 from koobs/patch-1
Include tests module and test files in sdist
2016-02-27 20:23:22 -05:00
Steve Pulec
941d057146 sort querystring so that tags will get matched up properly for later zip. Closes #541. 2016-02-27 20:22:46 -05:00
Andrew Garrett
f66aee733b Pin boto3 and botocore
botocore 1.3.29 (new as of yesterday) breaks a few of the s3 and
lambda tests; something about a StringIO being closed prematurely.

¯\_(ツ)_/¯

boto3 doesn't pin the botocore version; as a result the new version of
botocore gets pulled in transitively, breaking today's builds.

Signed-off-by: Scott Greene <scott.greene@getbraintree.com>
2016-02-24 22:40:27 +00:00
beeva-antonioirizar
143a8f85ee remove NextMarker in response list_functions 2016-02-23 17:34:49 +01:00
Scott Leishman
3fd33c03bf boto3 SQS set attributes fix. 2016-02-19 23:32:01 -08:00
beeva-antonioirizar
4bbd2a11a7 Cloudwatch support multiple regions 2016-02-18 18:35:32 +01:00
Steve Pulec
a9d161e58e 0.4.22 2016-02-17 16:44:57 -05:00
Steve Pulec
e051fa779d Merge pull request #544 from beeva-antonioirizar/fix_route53
Fix route53
2016-02-17 16:43:33 -05:00
Steve Pulec
dba038683b Merge pull request #542 from spulec/feature/lambda
AWS Lambda basic support: ListFunctions, CreateFunction, GetFunction, DeleteFunction
2016-02-17 16:40:57 -05:00
Hugo Lopes Tavares
7d0dae1fb7 [lambda] Add @mock_lambda to the README file 2016-02-17 16:33:32 -05:00
Hugo Lopes Tavares
8f586d8637 [lambda] Use S3Key to figure out code size and SHA256 2016-02-17 16:24:17 -05:00
Hugo Lopes Tavares
b8d8844286 [lambda] Renamed test file to follow the convention 2016-02-17 16:16:50 -05:00
Hugo Lopes Tavares
39a57195a2 [lambda] Make JSON load python 3-compatible 2016-02-17 16:13:58 -05:00
Hugo Lopes Tavares
2d744c6626 [lambda] Do not duplicate defaults for LambdaFunction objects.
The duplication caused a bug before and this commit is a bugfix and will prevent similar bugs in the future.
2016-02-17 16:13:58 -05:00
Hugo Lopes Tavares
45d91bf963 [lambda] Do not use ZipFile as a context manager (it is not supported in Python 2.6) 2016-02-17 16:13:58 -05:00
Hugo Lopes Tavares
ac66a8eb87 [lambda] Change string format to use {0} instead of {} 2016-02-17 16:13:58 -05:00
Hugo Lopes Tavares
482751f731 [lambda] Add S3 validation for Code["S3Bucket"] and Code["S3Key"].
TODO: validate region.
2016-02-17 16:13:58 -05:00
Hugo Lopes Tavares
4c10e54a36 [lambda] Add 404 test for DeleteFunction 2016-02-17 16:13:58 -05:00
Hugo Lopes Tavares
7c36fca1dd [lambda] Add VpcConfig to the responses 2016-02-17 16:13:58 -05:00
Hugo Lopes Tavares
5f7ea2b77f [lambda] Fix HTTP code of CreateFunction 2016-02-17 16:13:58 -05:00
Hugo Lopes Tavares
5a29ec4986 [lambda] Add support to upload functions with ZipFile 2016-02-17 16:13:58 -05:00
Hugo Lopes Tavares
9c4d07fb6a [lambda] Add more meaningful names to tests 2016-02-17 16:13:58 -05:00