Commit Graph

894 Commits

Author SHA1 Message Date
Dan Tenenbaum
ffa6b1d9c1 should pass unit tests 2016-11-03 14:24:47 -07:00
Steve Pulec
2e33e2be90 Merge pull request #735 from rocky4570/dryrun-ec2
Add dry_run to a number of EC2 services
2016-10-16 19:14:57 -04:00
Steve Pulec
5dbb22265c Merge pull request #732 from JackDanger/jack/implement-kms-encryption
Implementing KMS encrypt/decrypt
2016-10-16 19:12:43 -04:00
rocky4570fft
95e9ce2d42 fixup merge issue with test_elastic_ip_addresses.py 2016-10-16 00:37:14 +10:00
rocky4570fft
d6f76cbb43 Add dry_run to a number of EC2 services 2016-10-16 00:34:52 +10:00
rocky4570fft
015c92ac44 Add dry_run to a number of EC2 services 2016-10-15 23:08:44 +10:00
Jack Danger Canty
ea24376131 Implementing KMS encrypt/decrypt
This adds support for testing the /encrypt and /decrypt endpoints
of Amazon KMS
2016-10-14 01:04:14 -07:00
Taro Sato
7cd404808b Better EMR coverage and boto3 request/response handling
This revision includes:

- A handler for requests for which content-type is JSON (from boto3).

- A decorator (generate_boto3_response) to convert XML responses to
  JSON (for boto3). This way, existing response templates for boto can
  be shared for generating boto3 response.

- Utility class/functions to use botocore's service specification data
  (accessible under botocore.data) for type casting, from query
  parameters to Python objects and XML to JSON.

- Updates to response handlers/models to cover more EMR end points and
  mockable parameters
2016-10-13 16:48:07 -07:00
Steve Pulec
27f1bece9b Fix assigning public ip to instances. Closes #729. 2016-10-12 22:02:13 -04:00
Rene Martin
bd9e7deb95 Merge branch 'master' of https://github.com/spulec/moto 2016-10-10 07:47:11 +01:00
Steve Pulec
fef3437db2 Throw error on terminating empty instance list. Closes #697. 2016-10-09 21:20:53 -04:00
Steve Pulec
ddf2f5a754 Fix firehose to work without Redshift config. 2016-10-09 20:24:09 -04:00
Steve Pulec
768a58671a Merge pull request #723 from rocky4570/awslambda-mods
lambderize the moto lambda
2016-10-09 19:13:02 -04:00
Steve Pulec
b3b538bbef Merge pull request #721 from rocky4570/kms-fixes
Add ARN and Alias functionality to KMS
2016-10-09 19:01:26 -04:00
Steve Pulec
81d489ce46 Merge pull request #710 from kryptek/master
Fix Route53 tagging code
2016-10-09 18:58:17 -04:00
Steve Pulec
f7ea66c248 Merge pull request #711 from skygeo/fix_dynamodb2_conditions
fix: dynamodb2 conditions
2016-10-09 18:55:38 -04:00
rocky4570fft
dc98cf6f64 argh 2 days trying to work python3 into working python2 :( 2016-10-10 01:13:52 +10:00
Rene Martin
b06d439a81 Set the right dhcp_options id in the response
If the vpc has a dhcp_options associated with it the response should
include the right association.
2016-10-08 10:34:55 +01:00
rocky4570fft
7c3005e582 attmpt 2 to resolve StringIO not being within Python 3 anymore 2016-10-07 00:14:47 +10:00
rocky4570fft
6c577091da lambderize the moto lambda 2016-10-06 19:52:23 +10:00
rocky4570fft
3a7fec4032 Add ARN and Alias functionality to KMS 2016-10-03 01:33:59 +11:00
Georges Chaudy
6b74487b31 fix: dynamodb2 conditions 2016-09-23 16:14:17 +01:00
Alfred Moreno
40ad92b4bc Add a unit test to make sure multiple tags were actually associated with a resourceId 2016-09-22 18:44:07 -07:00
Steve Pulec
79fe9df6cc Merge pull request #706 from kryptek/add-route53-tagging
Add support and unittests for Route53 tags
2016-09-21 21:32:22 -04:00
Alfred Moreno
9a7556b3af Add support and unittests for Route53 tags 2016-09-20 17:41:23 -07:00
Taro Sato
bdb9d59e46 Update response headers with response_dict from key; add tests 2016-09-20 15:42:21 -07:00
Steve Pulec
ea0b587791 Merge pull request #699 from tootedom/apigateway
added more api gateway coverage
2016-09-16 18:34:27 -04:00
dominictootell
dd85f35f5a don't set cacheClusterSize if cache not enabled 2016-09-14 10:04:51 +01:00
Steve Pulec
fca0d3885b Merge pull request #698 from SpoonMeiser/fix-trailing-slash
Stop stripping the trailing slash off keys listed from s3 buckets
2016-09-13 21:57:03 -04:00
Steve Pulec
59be70d0e4 Merge pull request #693 from swipetospin/master
ALWAYS use utcnow(), never now()
2016-09-13 21:55:40 -04:00
Steve Pulec
4d9a0f7dc6 Merge pull request #692 from imran2140/fix-unicode-s3-key-listing
Fix unicode S3 key listing in Python 2
2016-09-13 21:54:28 -04:00
Steve Pulec
8a92cc2924 Merge pull request #689 from michael-dev2rights/master
Make testing a bit safer binding to 127.0.0.1
2016-09-13 21:53:13 -04:00
Steve Pulec
65047ce102 Merge pull request #687 from skygeo/ecs_tasks
Add support for ECS tasks
2016-09-13 21:51:42 -04:00
dominictootell
1aaafc5f07 added more api gateway coverage
added: get_stages, stage not found exception, update stage configuration, descriptions on deployments, setting stage variables on deployments and stage creating
2016-09-13 12:44:17 +01:00
Oliver Jeeves
b297b1410c Stop stripping the trailing slash off keys listed from s3 buckets
fixes #684
2016-09-13 12:21:22 +01:00
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
9062c654cf Hopefully break build by testing for local only default server 2016-09-01 12:05:34 +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
43ff874b68 Amended test_ami_create_and_delete to include test for existence of creation date 2016-08-26 15:14:04 +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
e8d245f6a1 Fix tests for python3 2016-08-15 12:36:39 -07:00